Hello all,
As a little side project (I have a lot of those) I’m working on a small voice chat application that may or may not become a larger entity. I have a few stumbling blocks that I’m trying to get passed, and so have some questions:
- If I call System::recordStart() and pass it a sound, how do I adjust the input volume of the microphone? Would I need to pass that to a channel, and if so, how would I get the channel volume of the microphone to go back into the sound for transmission over the network?
- A related question – is there any way I can add a DSP to an FMOD::Sound object? If I want my chat app to have sound effects on the users voice input stream, this would be very useful to be able to do, which is why I’m asking.
- If I receive audio data over the network (in this voice chat client), is it safe to lock the sound, requesting the length to be the size of the packet received, decode the audio, and override ptr1 with the received audio data, then unlock it? Or am I missing something critical?
I’m using the latest version of FMOD to my knowledge (1.10.10).