mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
We now query the incoming buffers to see how many samples are available. If the callback's buffers will fit into our preallocated buffer (i.e. the length in samples is smaller or equal to the preallocated buffer), then we perform an audio callback with the provided data, even if the number of samples is smaller than expected. If the callback's buffers are larger than expected, we split the incoming buffer into chunks that are no larger than the prepared buffer-size. |
||
|---|---|---|
| .. | ||
| audio_io | ||
| midi_io | ||
| native | ||
| sources | ||
| juce_audio_devices.cpp | ||
| juce_audio_devices.h | ||
| juce_audio_devices.mm | ||