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:
parent
f2e0552ba7
commit
4494c96760
2 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,8 @@ bool AudioPluginAudioProcessor::isBusesLayoutSupported (const BusesLayout& layou
|
||||||
#else
|
#else
|
||||||
// This is the place where you check if the layout is supported.
|
// This is the place where you check if the layout is supported.
|
||||||
// In this template code we only support mono or stereo.
|
// 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()
|
if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono()
|
||||||
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
|
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,8 @@ bool %%filter_class_name%%::isBusesLayoutSupported (const BusesLayout& layouts)
|
||||||
#else
|
#else
|
||||||
// This is the place where you check if the layout is supported.
|
// This is the place where you check if the layout is supported.
|
||||||
// In this template code we only support mono or stereo.
|
// 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()
|
if (layouts.getMainOutputChannelSet() != juce::AudioChannelSet::mono()
|
||||||
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
|
&& layouts.getMainOutputChannelSet() != juce::AudioChannelSet::stereo())
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue