Browse Source

More work on the AU base classes.

tags/2021-05-28
jules 12 years ago
parent
commit
8f5c194228
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm

+ 8
- 1
modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm View File

@@ -94,7 +94,13 @@ static const AudioUnitPropertyID juceFilterObjectPropertyID = 0x1a45ffe9;
static const short channelConfigs[][2] = { JucePlugin_PreferredChannelConfigurations };
static const int numChannelConfigs = sizeof (channelConfigs) / sizeof (*channelConfigs);
// Avoids some multiple inheritance complications in the Apple base class code.
#if JucePlugin_IsSynth
class JuceAUBaseClass : public MusicDeviceBase
{
public:
JuceAUBaseClass (AudioComponentInstance comp) : MusicDeviceBase (comp, 0, 1) {}
};
#else
class JuceAUBaseClass : public AUMIDIEffectBase
{
public:
@@ -110,6 +116,7 @@ public:
return AUMIDIBase::SysEx (inData, inLength);
}
};
#endif
// This macro can be set if you need to override this internal name for some reason..


Loading…
Cancel
Save