0
0

Hi,

We are using FMOD 3.70 (statis libraries) in our VC++ 6.0 created product (multimedia development app).

We are in a beta testing period now and are having some users reporting problems with our sound engine (FMOD). The problems occur on different types of systems. Basically the user is told by our program that it can’t initialize the sound engine. Here is the code that produces the error:

[code:1rf8t2ct]
if(!FSOUND_Init(44100, 11, 0))
{
FSOUND_Close();
FSOUND_SetOutput(FSOUND_OUTPUT_WINMM);
if(!FSOUND_Init(44100, 11, 0))
{
FSOUND_Close();
FSOUND_SetOutput(FSOUND_OUTPUT_DSOUND);
if(!FSOUND_Init(44100, 11, 0))
{
//Error Initialising FMod
CString strError;
strError.Format("Failed to initialize sound system: %s"
,FMOD_ErrorString(FSOUND_GetError()));
AfxMessageBox(strError);
m_bSoundInitialized = FALSE;
}
}

}
[/code:1rf8t2ct]

The strange thing is that we have a user who says that it gives them this error, but then the sounds work properly during the running of the program. We have other users that get this error (all on Windows BTW) if they are running Musicmatch.

I don’t know exactly what my questions is beyond seeing if there are any ideas out there. Why, in general, would FSOUND_Init fail? What are possible causes that we can look at?

Thanks.

  • You must to post comments
0
0

Oh yeah, and in the case where it says it fails but then the sound works, they get this error from FMOD:

Error initializing output device

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.