Typo in tutorial: Processing audio input

As discussed here: https://www.reddit.com/r/JUCE/comments/hv2lrt/what_does_this_mean_in_this_tutorialreusing/

https://docs.juce.com/master/tutorial_processing_audio_input.html

" In the getNextAudioBlock() function, the number of channels in the AudioSampleBuffer object within the bufferToFill struct may be larger than the number input channels, the number of output channels, or both."

The AudioSourceChannelInfo struct does not contain an AudioSampleBuffer object as stated, but does contain an AudioBuffer<float> object.

AudioSampleBuffer is an alias for AudioBuffer<float> so they are really the same thing.

I still feel it’s a little misleading, especially since it’s in a tutorial that’s intended for beginners.

1 Like