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:
parent
c86a3104b2
commit
a0c18acb1e
15 changed files with 32 additions and 37 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue