Hey there!
I am trying to add SDL2 as an audio backend to my toy ANSI C framework… currently I have Jack support set up in a way I am familiar with: one callback, with access to input and output buffers.
I have successfully set up either input or output callbacks in SDL2, but I’m not sure what the proper way to have a combined one (or even just parallel input and output buffers safely in one scope would be
I’ve experimented with using the dequeue API to pull input bytes within the output callback… it seemed to work but doesn’t feel very ideomatic to say the least!
Would very much appreciate some advice from anyone who has succesfully implemented an input > process > output audio program in SDL2!
<3