Hi, I’m creating a DJ sampling software, which uses the FMOD library. I was using the FMOD 3.61 version of the library and everything worked fine when recording a sample, but I recently updated to the new 3.62 version of the library, and my application runs fine except when you try to record samples. 😕
A snippet of my recorded code is:
g_ptrSample = FSOUND_Sample_Alloc(9, MAX_RECORD_LENGTH, FSOUND_STEREO | FSOUND_16BITS | FSOUND_SIGNED, 44100, 255, FSOUND_STEREOPAN, 255);
// Snap to 44100 khz
// Start the recording sample
Now at this last line “Start the recording sample”, is where the program crashes. 👿
I have no idea why this is happening with the new version.
My computer specs are: SoundBlaster Live! sound card, Pentium 2 350mhz, 448 SDRAM.
If anybody knows any way in which I can fix this problem, I would greatly appreciate the solution. 😛
- codeStar asked 14 years ago
Well, yea the 9 is there because I assigned a sample to each channel, so channel 9 is exclusively for the input sample channel.
The odd thing is that even the “record” example that comes with the fmod library doesn’t even work with the new version.
I really appreciate your reply,
I just tried FSOUND_SetOutput(FSOUND_OUTPUT_WINMM) and it works now!
Now is there any reason for DirectSound not working? Maybe FMOD 3.62 uses new features in DirectX 9 (I only have DirectX 8 currently installed).
Thanks again 😀
Please login first to submit.