0
0

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[9] = FSOUND_Sample_Alloc(9, MAX_RECORD_LENGTH, FSOUND_STEREO | FSOUND_16BITS | FSOUND_SIGNED, 44100, 255, FSOUND_STEREOPAN, 255);

// Snap to 44100 khz
FSOUND_SetFrequency(9, 44100);

// Start the recording sample
FSOUND_Record_StartSample(g_ptrSample[9], FALSE);

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. ๐Ÿ˜›

Thank alot!
codeStar ๐Ÿ˜†

  • You must to post comments
0
0

I forgot the add that, I tried to the record example that comes with the FMOD library, and it also crashes. The old FMOD library (v3.61) did not have this problem.

Thanks again ๐Ÿ˜† ,
codeStar

  • You must to post comments
0
0

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.

Hmm…

I really appreciate your reply,
Thank you :)
codeStar

  • You must to post comments
0
0

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).

Hmmmmm….

Thanks again ๐Ÿ˜€
latezz,
codeStar

  • You must to post comments
0
0

Okay great! Hmm, I just downloaded the FMOD zip twice and Winzip says it’s a corrupted file.

Perhaps a re-upload?

  • You must to post comments
0
0

Haha, sorry.
I think when I downloaded it twice, I just got the cached version the second time. It works, thanks again!

codeStar :)

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.