mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-01 14:21:41 +00:00

This was a bad idea from the beginning (see https://github.com/scummvm/scummvm/pull/4687/files#r1096804842) but fortunately there is an easy and safe workaround: providing a buffer with zero length. That way mixCallback() is always called while mixing is avoided. Also rename "output_samples" to "audio_buffer_size" to be on par with the official documentation: https://docs.scummvm.org/en/latest/advanced_topics/understand_audio.html#buffer.