I’ve been playing with the Looping audio tutorial as a basis for the application I’m writing, and I’ve noticed that it doesn’t take into account different sample rates. Could someone suggest how I could implement that? It seems like just changing the buffer size would do the trick, but I’m not seeing how to easily do that. I tried:
setup.sampleRate = fileSampleRate;
But it didn’t seem to do anything.