1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Relaxed the requirement for AudioSampleBuffer to have more than zero channels, and gave it a default constructor.

This commit is contained in:
jules 2014-03-26 18:08:10 +00:00
parent c86a3104b2
commit a0c18acb1e
15 changed files with 32 additions and 37 deletions

View file

@ -31,7 +31,6 @@ BufferingAudioSource::BufferingAudioSource (PositionableAudioSource* s,
backgroundThread (thread),
numberOfSamplesToBuffer (jmax (1024, bufferSizeSamples)),
numberOfChannels (numChannels),
buffer (numChannels, 0),
bufferValidStart (0),
bufferValidEnd (0),
nextPlayPos (0),