I have my own audio mixer that used to work fine using the old callback method. I followed the example in the README-migration.md but can’t get it to work.
The problem I am having is that this new callback is always requesting 0 bytes. When I use SDL_PutAudioStreamData to add audio data I do get sound but but the callback is continually requesting 0 bytes and sound played in not automatically being removed from the audio stream as it plays? What am I missing?
How exactly would I emulate the old callback behavior?