We’ve been getting a crash in our Oscilloscope project (crash inside an fmod thread). I duplicated the crash in the ‘record_realtimeplayback’ sample project that came with FMOD. If I change FMOD_SOUND_FORMAT_PCM16 to FMOD_SOUND_FORMAT_PCMFLOAT and the sizeof(short) to sizeof(float), it will cause a crash. However, it will not crash if I change the number of channels to 2 instead of 1. I queried the recording device driver capabilities, and the FMOD_CAPS_OUTPUT_FORMAT_PCMFLOAT flag is set, which means it should support this format. Any ideas on what is causing this? If it is related to the number of channels, and for some reason PCMFLOAT requires 2, how do I query that information? Thanks!
- Trevor.Sundberg asked 5 years ago
- You must login to post comments