Sorry another noob..
I try this on a PC a different PC at work and I get from FSOUND_GetError() id 3.
if ( ::FSOUND_GetVersion() < FMOD_VERSION )
LOG(PR_ERROR,"Invalid fmod.dll version! %.02f\f", ::FSOUND_GetVersion() );
if( !FSOUND_Init(44100, 32, FSOUND_INIT_GLOBALFOCUS))
LOG(PR_ERROR,"%s id: %d", FMOD_ErrorString(FSOUND_GetError()), FSOUND_GetError());
Should I get 44100 from the hardware??
Anyone got any nice examples of a soundmanager
- tekjunkie asked 13 years ago
[quote="brett":3vxr7knx]do you have directx installed on that machine?
you can always try the safest output mode , which is winmm and is done with FSOUND_SetOutput(FSOUND_OUTPUT_WINMM);[/quote:3vxr7knx]
No I don’t think it has Directx installed, my software at this moment doesn’t need it and I tested on a clear win2000 install.
Should I always use FSOUND_SetOutput(FSOUND_OUTPUT_WINMM)?
[quote="brett":1usgc19b]you are checking if fsound_init is true, then print an error.
it is supposed to be if fsound_init is FALSE.[/quote:1usgc19b]
That was a typo above not in my code my code is checking for false!
I run it on my PC and it was fine played a sound.
I then when and played the same code on another PC(win2000) and I get back error id 3.
Sorry for the typo but I do get the error.
Do you have some nice demo code somewhere, else I’m going to be asking a lot of question.
I found a lot on the net but but I want something I know it the correct way of doing stuff.
[quote="brett":pwh6p3wr]there is plenty of sample code there.
If it doesnt work, then either your sound device is broken, or possibly due to the operating system being old, it doesnt allow a new program to open the sound device while another program is using it. See if anything else is running at the same time that might be using the soundcard.[/quote:pwh6p3wr]
One clue no DSOUND.DLL, can that?
Please login first to submit.