ResamplingAudioSource and AudioSampleBuffer?


#1

I was wondering if there is a way to use ResamplingAudioSource on a block of AudioSampleBuffer without needing to use AudioTransportSource? ResamplingAudioSource requires an audiosource, so how can I do this? Code example would be appreciated. Cheers.


#2

Well yes - you'd just need to call prepareToPlay and getNextAudioBlock to do the processing, just like you would on a live buffer.