I searched the forum but I couldn’t find anything about multiplexing. Does FMOD support multiplexing?
I would like to play multiple audio streams at the same time, without spoiling too much CPU. Other suggestions or ways to solve this efficiently with FMOD are also welcome.
- MocoN asked 14 years ago
No that’s not really the question.
I would like to combine multiple audio streams to one single audio stream which sounds exactly the same.
I know this is not an easy job but if it’s not possible with fmod, I’ll try something else.
Thanks for your time anyway
if i understand you correctly you want to mix multiple streams into one stream????
then you can play multiple streams at once and capture the output with a DSP callback. Then you can do with it what you want. (for example: encode to MP3 or write a WAV file to disk). But you will get 1 mixed stream so you can’t split them later.
See FSOUND_DSP_Create in the docs.
- Chris answered 14 years ago
I’m sorry for the bad explanation 😳
But Chris understands my question.
With ‘I would like to play multiple audio streams at the same time’, I actually meant that I would like to mix the streams to one stream. Like the title of my post says, I would like to multiplex the streams to one stream. With voice it is also known as voice bridging.
But chris’s answer will do fine I guess. I don’t need to split the streams afterwards. The only important point is that it are streams and not files that have to be mixed and the mixing needs to be done on the fly.
I’m sorry again for the bad explanation and thank you both for the answers.
Please login first to submit.