41 |
class midi_key_info_t; |
class midi_key_info_t; |
42 |
class Voice; |
class Voice; |
43 |
|
|
44 |
|
/** @brief Engine Channel of a gig::Engine |
45 |
|
* |
46 |
|
* Encapsulates a engine channel for the Gigasampler format capable |
47 |
|
* sampler engine. |
48 |
|
*/ |
49 |
class EngineChannel : public LinuxSampler::EngineChannel, public InstrumentConsumer { |
class EngineChannel : public LinuxSampler::EngineChannel, public InstrumentConsumer { |
50 |
public: |
public: |
51 |
EngineChannel(); |
EngineChannel(); |
70 |
virtual int InstrumentIndex(); |
virtual int InstrumentIndex(); |
71 |
virtual int InstrumentStatus(); |
virtual int InstrumentStatus(); |
72 |
virtual LinuxSampler::Engine* GetEngine(); |
virtual LinuxSampler::Engine* GetEngine(); |
73 |
|
virtual String EngineName(); |
74 |
|
|
75 |
// implementation of abstract methods derived from interface class 'InstrumentConsumer' |
// implementation of abstract methods derived from interface class 'InstrumentConsumer' |
76 |
virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg); |
virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg); |
77 |
virtual void ResourceUpdated(::gig::Instrument* pOldResource, ::gig::Instrument* pNewResource, void* pUpdateArg); |
virtual void ResourceUpdated(::gig::Instrument* pOldResource, ::gig::Instrument* pNewResource, void* pUpdateArg); |
78 |
|
virtual void OnResourceProgress(float fProgress); |
79 |
|
|
80 |
//protected: |
//protected: |
81 |
Engine* pEngine; |
Engine* pEngine; |