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:
parent
f8e71023a4
commit
8f5c194228
1 changed files with 8 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue