AudioBuffermyBuffer; float* samples = myBuffer.getSamples(0); // get samples from channel 0
AudioBufferThis example retrieves the audio samples from channel 1 of the buffer and stores them in a double pointer. This function belongs to the JUCE library package.myBuffer; double* samples = myBuffer.getSamples(1); // get samples from channel 1