I am trying to find out how to get the output sample data. So I can supply it to one of my encoders(for live streaming).
The first option I have looked at is using a custom DSP. It seems the sample rate is supplied with the callbacks in FMOD_DSP_STATE. I guess this is to encourage user to not assume a fixed sample rate? Now the issue is, is there a good way to get the samples along with essential information like the sample rate? Because the output stream needs a fixed rate.
Another option I checked is System::setOutput. This allows writing to files. But is it possible to have regular audio as well? It would be best to just have something like callbacks for output data.