I think I did not explain the problem clearly (sorry, my English is not very good). I understand that abruptly calling mixerSuspend(), while a sound is playing, may cause a pop sound. But this is not the case. The pop sound appears when I call update() after mixerResume(), when everything was in silence. It’s like some audio data has been kept in buffer, and it’s played when the mixer is resumed.
I’m attaching this image to explain the problem clearly:
I’m calling masterBus->setPaused(true) and system->mixerSuspend() while a sound is playing. And that’s ok, no problem with that. Then, I wait some time, and after that I call system->mixerResume() and system->update(), a pop sound appears. No other sound is heard (because I paused the masterBus before), only an annoying pop sound. I don’t think that this is the expected behavior.
