0
0

Platform: Win32
C++, MFC, Unicode (port from PocketPC version)

Initialization of FMOD fails on one Win98 machine equipped with a Creative Soundblaster Live card.

The log files show us that everything goes fine until FSOUND_Init() is called. System freezes completely.
Has any one else noticed this kind of behaviour with a Creative SB Live card?

FSOUND_SetBufferSize(FSOUND_BUFFERSIZE);
FSOUND_SetOutput(setting_output);
FSOUND_SetDriver(setting_driver);
FSOUND_SetMixer(setting_mixer);
FSOUND_SetHWND(this->m_hWnd);

// Try to initialize the Audio library
int retrycount = 0;
int max_retrycount = 6;
while (!FSOUND_Init(outputfreq, NUMCHANNELS, FSOUND_INIT_GLOBALFOCUS) && (retrycount < max_retrycount)) {
Sleep(100);
retrycount++;
}

PS: We confirmed that the sample app (Win32, no MFC, no UNICODE) runs fine.

Peter

  • You must to post comments
0
0

Do you REALLY have the actual FMOD-DLL ?

There was a similar bug like this fixed with version 3.5 …

  • You must to post comments
0
0

Yep, we’re using version 3.6.2.0 (09/04/2003)

Since the sample was working fine, we played around with a UNICODE and non-UNICODE version of a test app today.

Here’s what we found out:
With this Creative SB Live card, FSOUND_GetNumDrivers() returns 2 for the UNICODE version, while it returns 0 for the normal MBCS version.

=> The normal MBCS version runs fine, while the UNICODE version crashes during intialization.

We continued playing with the UNICODE version and calling FSOUND_GetDriverName() learned us that the first driver is the primary (?) driver while the second one is the actual Creative SB driver.

Using FSOUND_SetDriver(0) or FSOUND_SetDriver(1) will make the blue screen of death appear during the FSOUND_Init() call, but calling FSOUND_SetDriver(2) seems to have solved our problem…

Any idea why FMOD does not automatically use the second driver? Could it be possible that it actually dies while checking the first one before reaching the second driver? Is it normal/abnormal that FSOUND_GetNumDrivers() returns 0 while FMOD is able to initialize and play just fine?

Peter

  • You must to post comments
0
0

Well some users of my player also experience a full system crash on Init().

One of them has 2 soundblaster live cards installed.

  • New one: crashes
  • Old one: works fine

So i think it has something to do with the chip and not the driver.

  • You must to post comments
0
0

[url:215lrkea]http://kxproject.lugosoft.com/686b.php?language=en[/url:215lrkea] Yep it’s VIA 😀

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.