0
0

FSOUND_Record_StartSample failed on Casio E 200.

Here is my sample code:

FSOUND_Init(44100, 32, FSOUND_INIT_ACCURATEVULEVELS);
FSOUND_Stream_SetBufferSize(200);
m_pRecordSample = FSOUND_Sample_Alloc(FSOUND_FREE, RECORDLEN, FSOUND_MONO | FSOUND_16BITS, 44100, 255, 128, 255);

The above code goes correctly and does not return failure.

However, a succeeding call to StartSmaple fails ( returns 0 ):
int iRet = FSOUND_Record_StartSample( m_pRecordSample, FALSE );

and FSOUND_GetError(); returns error code 3. And no sound is recorded.

Has any one recorded sounds using fmod on Casio E 200?

Any help is appreciated.

  • You must to post comments
0
0

After I changed the 44100 to 22050, it is working great.

Thanks a lot, Brett!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.