android-opus-codec
android-opus-codec copied to clipboard
Two OPUS instances mixing audio
I have two decoders running in my application (both mono) and they work great individually, but as soon as I try to use them at the same time the output on both are garbled, and you can clearly hear audio leaking between the decoders. Is there a singleton decoder in the core of this library? Is this to be expected?
Thanks.
Ahh it's because the wrapper class only holds one instance to the OpusCodec. I re-wrote the wrapper c++ and Java and it works now. Would that be helpful to make a pull request or is it needed?