33 |
namespace LinuxSampler { |
namespace LinuxSampler { |
34 |
|
|
35 |
// just symbol prototyping |
// just symbol prototyping |
36 |
|
class Sampler; |
37 |
|
class SamplerChannel; |
38 |
class AudioOutputDevice; |
class AudioOutputDevice; |
39 |
class MidiInputPort; |
class MidiInputPort; |
40 |
class FxSend; |
class FxSend; |
301 |
*/ |
*/ |
302 |
void SetDiskStreamCount(uint Streams); |
void SetDiskStreamCount(uint Streams); |
303 |
|
|
304 |
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) |
SamplerChannel* GetSamplerChannel(); |
305 |
|
|
306 |
|
void SetSamplerChannel(SamplerChannel* pChannel); |
307 |
|
|
308 |
|
/** Returns the sampler to which this channel belongs */ |
309 |
|
Sampler* GetSampler(); |
310 |
|
|
311 |
protected: |
protected: |
312 |
EngineChannel(); |
EngineChannel(); |
337 |
int iMidiInstrumentMap; |
int iMidiInstrumentMap; |
338 |
uint uiVoiceCount; |
uint uiVoiceCount; |
339 |
uint uiDiskStreamCount; |
uint uiDiskStreamCount; |
340 |
|
SamplerChannel* pSamplerChannel; |
341 |
ListenerList<FxSendCountListener*> llFxSendCountListeners; |
ListenerList<FxSendCountListener*> llFxSendCountListeners; |
342 |
}; |
}; |
343 |
|
|