AudioFormatReader buffer type


#1

I am bit confused in trying to use an AudioFormatReader in that this function

void read (AudioSampleBuffer* buffer, int startSampleInDestBuffer, int numSamples, int64 readerStartSample, bool useReaderLeftChan, bool useReaderRightChan);

and uses AudioSampleBuffer

which is typedef’d as a float version of AudioBuffer.

which means makes it tricky to use in the double version of the process function in an AudioProcessor.

I must be missing something.