0
0

Hi

I have Delta410 sound card and OSS drivers (Linux). When I’m trying to init with FSOUND_Init(44100,32,0) it hands.

Some code:
int AudioClient::Audio_playMp3(int player_nr, QString *file){
PlayerInfo *info;
int b=-1;
AudioClient::streamStat ss;
FSOUND_STREAM *stream;
FSOUND_SAMPLE *sptr;
int channel;

if (!FSOUND_SetDriver(info->device))
{
return -1;
}

if (!FSOUND_Init(44100,32,0))
{
return -1;
}

int maxChannels=FSOUND_GetMaxChannels();

stream = FSOUND_Stream_OpenFile(file->latin1(), FSOUND_NORMAL | FSOUND_MPEGACCURATE | FSOUND_LOOP_OFF, 0);

Pls help.

  • You must to post comments
0
0

hi

It happend when I am trying to set another driver (change sound card) is the same thread. When you build fmod for linux with so instance as for windows system ? :)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.