Closed Yohannfra closed 3 years ago
SAMPLERATE is
#define SAMPLERATE 48000
The issue was that we used a samplerate of 48000 and stereo sounds which is apparently too much for the downmix.
We fixed it by using mono sounds and switching the mixer to ESP_DOWNMIX_OUTPUT_TYPE_ONE_CHANNEL
Hello, I try to mix opus files with the downmix api.
When the downmix is in ESP_DOWNMIX_WORK_MODE_BYPASS the sound works well but as soon as I add a second sound and start mixing (so the mixer in ESP_DOWNMIX_WORK_MODE_SWITCH_ON) it behave strangely, the first sound continues to play well but the second sound playin is really buggy/jerky.
Before switching to opus I tried with .wav files and it worked great, is downmixing even possible with opus ?
Here is the code I use for to init the mixer (c++)
It works well and all when playing only one sound but not when I start a second one so idk where could be the issue.
Thanks,
Yohann