How can I use audioRecord and Fmod together

I recently encountered a new requirement that made me a little bit unable to start.
We need to develop a recording voice-changing effect on Android devices, which can be achieved according to the record in the demo.
However, due to some restrictions, we must use the audioRecord that comes with the Android system to record the input data. The demo directly uses system->startRecord to start recording, which encapsulates the operation of the data. Is there a solution for this demand?

We cannot advise about the usage of the Android platform audioRecord, however from the FMOD side you would need to do something similar to our user_created_sound example. You would buffer up the audio from audioRecord, then as the FMOD sound plays the readCallback can be filled with your buffered audio.