I’ve gone through the “Build an Audio Player” tutorial (and The Audio Programmer’s YouTube Version) and if I’m playing back a mono file - it’s playing back double speed.
To my understanding, this is happening because the mono file (of course) only has 1 channel of information and the output buffer has 2. I’ve tried to create a new AudioSourceChannelInfo with my own single channel buffer, and copy that buffer into bufferToFill so both channels get the same data - but it still plays back fast. Here’s the code:
I’m sure this is way easier than I’m making it out to be, but I’m not quite sure what to do. Both channels are getting the same information, so my understanding of how this works in JUCE has to be wrong.
Thanks for any help!