mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Previously, the AudioProcessorPlayer would attempt to find a supported layout that matched the audio device's output channel count, and would force the processor to use the audio device's i/o channel counts if no better and compatible alternative could be found. This change allows the AudioProcessor to retain its current i/o configuration if no better alternative can be found. This may lead to the AudioProcessor having different numbers of inputs and outputs to the audio device. If there's only one audio device input, this will be copied to all of the AudioProcessor's inputs. Otherwise, each audio device input channel will be copied to the corresponding AudioProcessor input channel. If there are more device inputs than AudioProcessor inputs, then some device inputs will be discarded. AudioProcessor inputs without a corresponding device input will be cleared/silenced. Similar rules apply to the output channels. If there are more device outputs than AudioProcessor outputs, then device outputs without a corresponding AudioProcessor output will be cleared. If there are more AudioProcessor outputs than device outputs, some AudioProcessor outputs will be discarded. |
||
|---|---|---|
| .. | ||
| audio_cd | ||
| gui | ||
| native | ||
| players | ||
| juce_audio_utils.cpp | ||
| juce_audio_utils.h | ||
| juce_audio_utils.mm | ||