64 |
*/ |
*/ |
65 |
class Plugin { |
class Plugin { |
66 |
protected: |
protected: |
67 |
Plugin(); |
Plugin(bool bDoPreInit = true); |
68 |
~Plugin(); |
virtual ~Plugin(); |
69 |
void Init(int SampleRate, int FragmentSize); |
void PreInit(); |
70 |
|
void Init(int SampleRate, int FragmentSize, int Channels = -1); |
71 |
|
|
72 |
void InitState(); |
void InitState(); |
73 |
String GetState(); |
String GetState(); |
74 |
bool SetState(String State); |
bool SetState(String State); |
75 |
|
void RemoveChannels(); |
76 |
|
|
77 |
AudioOutputDevicePlugin* pAudioDevice; |
AudioOutputDevicePlugin* pAudioDevice; |
78 |
MidiInputDevicePlugin* pMidiDevice; |
MidiInputDevicePlugin* pMidiDevice; |
79 |
static PluginGlobal* global; |
static PluginGlobal* global; |
80 |
|
|
81 |
private: |
private: |
82 |
void RemoveChannels(); |
bool bPreInitDone; |
83 |
}; |
}; |
84 |
} |
} |
85 |
|
|