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

More work on the AU base classes.

This commit is contained in:
jules 2013-08-20 09:07:20 +01:00
parent f8e71023a4
commit 8f5c194228

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..