i have small problem.I have last stable version of FMOD and i tried recording examples.I tested recording and recordtodisk examples, but both of them throw error FMOD_ERR_FORMAT.
Can anyone help me,how correct set sound format for FMOD_System_RecordStart???
In recording example is :
memset(&exinfo, 0, sizeof(FMOD_CREATESOUNDEXINFO));
exinfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
exinfo.numchannels = 1;
exinfo.format = FMOD_SOUND_FORMAT_PCM16;
exinfo.defaultfrequency = 44100;
exinfo.length = exinfo.defaultfrequency * sizeof(short) * exinfo.numchannels * 5;
result = FMOD_System_CreateSound(system, 0, FMOD_2D | FMOD_SOFTWARE | FMOD_OPENUSER, &exinfo, &sound);
Thx for any help
- Dj_Oggy asked 9 years ago
- You must login to post comments