From f8e71023a421335ea4ed97f485ecf1cc6123a313 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 19 Aug 2013 21:59:20 +0100 Subject: [PATCH] Different approach to AU base class overriding. --- .../juce_audio_plugin_client/AU/juce_AU_Wrapper.mm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm index 87aaa6c635..b4086685d0 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm @@ -100,8 +100,15 @@ class JuceAUBaseClass : public AUMIDIEffectBase public: JuceAUBaseClass (AudioComponentInstance comp) : AUMIDIEffectBase (comp, false) {} - using AUMIDIBase::MIDIEvent; - using AUMIDIBase::SysEx; + OSStatus MIDIEvent (UInt32 inStatus, UInt32 inData1, UInt32 inData2, UInt32 inOffsetSampleFrame) override + { + return AUMIDIBase::MIDIEvent (inStatus, inData1, inData2, inOffsetSampleFrame); + } + + OSStatus SysEx (const UInt8* inData, UInt32 inLength) override + { + return AUMIDIBase::SysEx (inData, inLength); + } };