0
0

I’ve read this in FMOD doc:
signed char F_API FSOUND_Init(
int mixrate,
int maxsoftwarechannels,
unsigned int flags
);

Parameters
mixrate Output rate in hz between 4000 and 65535. Any thing outside this will cause the function to fail and return FALSE.

It seems that my system doesn’t support outputrate under 11025Hz for playing a recorded sample, wheras it works for an mp3 sample…

Any possibility to fix it, so that it works also for a recorded sample?

  • You must to post comments
0
0

hmmmmm, interesting.
I’m having the same problem. My program which performs spectrum analysis and display of a sample recorded with a guitar plugged on line in or mic in crashes when I launch it with a lower than 10000 output rate.
Does anyone know where it could come from?

  • You must to post comments
0
0

Check the returned value by FSOUND_Init with FMOD_ErrorString, it can be indeed a driver problem.

  • You must to post comments
0
0

it could be but the fact that it works for another kind of sample makes think that the problem isn’t exactly my driver but maybe the fact that it is not recorded to be played @ 4000Hz… Maybe a few correct settings for recording might help…

  • You must to post comments
0
0

Sorry brett i’m a bit tired… Is it FSOUND_DSP_MixBuffers you’re talkin’ about ?

  • You must to post comments
0
0

I totally agree with you, but the Get_Spectrum function reacts with the sample being played and not being recorded… So that i thought i had to reduce the mix quality through fmod_init while playing it…

So if i summarize, now you’re telling me to use a mix unit or something?

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.