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

Build: Add GarageBand info to plugin templates

This commit is contained in:
reuk 2020-12-02 13:55:21 +00:00
parent f2e0552ba7
commit 4494c96760
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 4 additions and 0 deletions

View file

@ -105,6 +105,8 @@ bool AudioPluginAudioProcessor::isBusesLayoutSupported (const BusesLayout& layou
#else
// This is the place where you check if the layout is supported.
// In this template code we only support mono or stereo.
// Some plugin hosts, such as certain GarageBand versions, will only
// load plugins that support stereo bus layouts.
if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono()
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
return false;

View file

@ -111,6 +111,8 @@ bool %%filter_class_name%%::isBusesLayoutSupported (const BusesLayout& layouts)
#else
// This is the place where you check if the layout is supported.
// In this template code we only support mono or stereo.
// Some plugin hosts, such as certain GarageBand versions, will only
// load plugins that support stereo bus layouts.
if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono()
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
return false;