FMOD save to disk

In android, you must set the 'system - > setOutput (FMOD_OUTPUTTYPE_OPENSL)'To the recording,But I need to save this recording so I want sytem - > setOutput (FMOD_OUTPUTTYPE_WAVWRITER). How do you resolve the two conflicts

Hello,

In order to play and record at the same time, you will need to set your project to be using the FMOD_OUTPUTTYPE_OPENSL to get the playback from your game to the speakers, but then you will need a custom DSP in order to use FMOD_OUTPUTTYPE_WAVWRITER to capture your output.

Please see our documentation for creating custom DSPs:
https://www.fmod.org/documentation#content/generated/overview/plugin_api_dsp.html

I hope this helped.

Thanks,
Richard

1 Like