44 |
#include "../../network/lscp.h" |
#include "../../network/lscp.h" |
45 |
#include "EngineChannel.h" |
#include "EngineChannel.h" |
46 |
|
|
47 |
|
// identifier of this sampler engine |
48 |
|
#define LS_GIG_ENGINE_NAME "GigEngine" |
49 |
|
|
50 |
namespace LinuxSampler { namespace gig { |
namespace LinuxSampler { namespace gig { |
51 |
|
|
52 |
// just symbol prototyping |
// just symbol prototyping |
125 |
void ProcessControlChange(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itControlChangeEvent); |
void ProcessControlChange(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itControlChangeEvent); |
126 |
void ProcessSysex(Pool<Event>::Iterator& itSysexEvent); |
void ProcessSysex(Pool<Event>::Iterator& itSysexEvent); |
127 |
Pool<Voice>::Iterator LaunchVoice(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent, int iLayer, bool ReleaseTriggerVoice, bool VoiceStealing); |
Pool<Voice>::Iterator LaunchVoice(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent, int iLayer, bool ReleaseTriggerVoice, bool VoiceStealing); |
128 |
void StealVoice(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent); |
int StealVoice(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNoteOnEvent); |
129 |
void FreeVoice(EngineChannel* pEngineChannel, Pool<Voice>::Iterator& itVoice); |
void FreeVoice(EngineChannel* pEngineChannel, Pool<Voice>::Iterator& itVoice); |
130 |
void FreeKey(EngineChannel* pEngineChannel, midi_key_info_t* pKey); |
void FreeKey(EngineChannel* pEngineChannel, midi_key_info_t* pKey); |
131 |
void ResetSynthesisParameters(Event::destination_t dst, float val); |
void ResetSynthesisParameters(Event::destination_t dst, float val); |
149 |
|
|
150 |
uint8_t GSCheckSum(const RingBuffer<uint8_t>::NonVolatileReader AddrReader, uint DataSize); |
uint8_t GSCheckSum(const RingBuffer<uint8_t>::NonVolatileReader AddrReader, uint DataSize); |
151 |
void AdjustScale(int8_t ScaleTunes[12]); |
void AdjustScale(int8_t ScaleTunes[12]); |
152 |
|
void ReleaseAllVoices(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itReleaseEvent); |
153 |
|
void KillAllVoices(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itKillEvent); |
154 |
}; |
}; |
155 |
|
|
156 |
}} // namespace LinuxSampler::gig |
}} // namespace LinuxSampler::gig |