1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2008 Christian Schoenebeck * |
4 |
* * |
* * |
5 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
6 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
26 |
#include "../drivers/midi/midi.h" |
#include "../drivers/midi/midi.h" |
27 |
#include "../drivers/midi/MidiInputDevice.h" |
#include "../drivers/midi/MidiInputDevice.h" |
28 |
#include "../drivers/midi/MidiInputPort.h" |
#include "../drivers/midi/MidiInputPort.h" |
29 |
|
#include "../drivers/midi/VirtualMidiDevice.h" |
30 |
#include "Engine.h" |
#include "Engine.h" |
31 |
#include "FxSend.h" |
#include "FxSend.h" |
32 |
|
|
90 |
virtual FxSend* GetFxSend(uint FxSendIndex) = 0; |
virtual FxSend* GetFxSend(uint FxSendIndex) = 0; |
91 |
virtual uint GetFxSendCount() = 0; |
virtual uint GetFxSendCount() = 0; |
92 |
virtual void RemoveFxSend(FxSend* pFxSend) = 0; |
virtual void RemoveFxSend(FxSend* pFxSend) = 0; |
93 |
|
virtual void Connect(VirtualMidiDevice* pDevice) = 0; |
94 |
|
virtual void Disconnect(VirtualMidiDevice* pDevice) = 0; |
95 |
|
|
96 |
|
|
97 |
///////////////////////////////////////////////////////////////// |
///////////////////////////////////////////////////////////////// |
277 |
*/ |
*/ |
278 |
int GetMidiRpnController(); |
int GetMidiRpnController(); |
279 |
|
|
280 |
|
/** |
281 |
|
* Gets the current number of active voices. |
282 |
|
*/ |
283 |
|
uint GetVoiceCount(); |
284 |
|
|
285 |
|
/** |
286 |
|
* Sets the current number of active voices. |
287 |
|
*/ |
288 |
|
void SetVoiceCount(uint Voices); |
289 |
|
|
290 |
|
/** |
291 |
|
* Gets the current number of active disk streams. |
292 |
|
*/ |
293 |
|
uint GetDiskStreamCount(); |
294 |
|
|
295 |
|
/** |
296 |
|
* Sets the current number of active disk streams. |
297 |
|
*/ |
298 |
|
void SetDiskStreamCount(uint Streams); |
299 |
|
|
300 |
int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM) |
int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM) |
301 |
|
|
302 |
protected: |
protected: |
326 |
bool bProgramChangeReceived; |
bool bProgramChangeReceived; |
327 |
bool bMidiRpnReceived; |
bool bMidiRpnReceived; |
328 |
int iMidiInstrumentMap; |
int iMidiInstrumentMap; |
329 |
|
uint uiVoiceCount; |
330 |
|
uint uiDiskStreamCount; |
331 |
ListenerList<FxSendCountListener*> llFxSendCountListeners; |
ListenerList<FxSendCountListener*> llFxSendCountListeners; |
332 |
}; |
}; |
333 |
|
|