mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
MIDI FX AudioUnits can retrieve their current sample rate from an output bus. However, it's reasonable for a JUCE MIDI FX plugin to require 0 output buses, in which case the correct sample rate cannot be retrieved. This patch modifies the AU wrapper to ensure that MIDI FX plugins will always have at least one output bus. This bus does not necessarily correspond to a matching bus in the AudioProcessor, and it will not be passed to AudioProcessor::processBlock. With the output bus in place, the correct sample rate is reported in `prepareToPlay`. |
||
|---|---|---|
| .. | ||
| AAX | ||
| AU | ||
| RTAS | ||
| Standalone | ||
| Unity | ||
| utility | ||
| VST | ||
| VST3 | ||
| AUResources.r | ||
| juce_audio_plugin_client.h | ||
| juce_audio_plugin_client_AAX.cpp | ||
| juce_audio_plugin_client_AAX.mm | ||
| juce_audio_plugin_client_AU.r | ||
| juce_audio_plugin_client_AU_1.mm | ||
| juce_audio_plugin_client_AU_2.mm | ||
| juce_audio_plugin_client_AUv3.mm | ||
| juce_audio_plugin_client_RTAS.r | ||
| juce_audio_plugin_client_RTAS_1.cpp | ||
| juce_audio_plugin_client_RTAS_2.cpp | ||
| juce_audio_plugin_client_RTAS_3.cpp | ||
| juce_audio_plugin_client_RTAS_4.cpp | ||
| juce_audio_plugin_client_RTAS_utils.cpp | ||
| juce_audio_plugin_client_RTAS_utils.mm | ||
| juce_audio_plugin_client_Standalone.cpp | ||
| juce_audio_plugin_client_Unity.cpp | ||
| juce_audio_plugin_client_utils.cpp | ||
| juce_audio_plugin_client_VST2.cpp | ||
| juce_audio_plugin_client_VST3.cpp | ||
| juce_audio_plugin_client_VST_utils.mm | ||