10#ifndef AUDACITY_AUCONTROL_H
11#define AUDACITY_AUCONTROL_H
14#include <Carbon/Carbon.h>
17#include <wx/osx/core/private.h>
18#include <wx/osx/cocoa/private.h>
19#include <wx/control.h>
21#include <AudioUnit/AudioComponent.h>
22#include <AudioUnit/AudioUnit.h>
32 bool Create(wxWindow *parent, AudioComponent comp, AudioUnit unit,
bool custom);
44 static pascal OSStatus ControlEventHandlerCallback(EventHandlerCallRef
handler,
48 AudioComponent mComponent{};
55 bool mSettingSize{
false };
58 AudioComponentInstance mInstance{};
59 WindowRef mWindowRef{};
bool Create(wxWindow *parent, AudioComponent comp, AudioUnit unit, bool custom)
void OnSize(wxSizeEvent &evt)
void CreateCarbonOverlay()
AuthorizationHandler handler