/[svn]/linuxsampler/trunk/src/engines/gig/Engine.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/Engine.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 460 by schoenebeck, Mon Mar 14 22:35:44 2005 UTC revision 505 by schoenebeck, Tue May 3 01:00:25 2005 UTC
# Line 31  Line 31 
31  #endif // DEBUG_HEADERS  #endif // DEBUG_HEADERS
32    
33  #include <map>  #include <map>
34    #include <gig.h>
35    
36  #include "EngineGlobals.h"  #include "EngineGlobals.h"
37  #include "../../common/RingBuffer.h"  #include "../../common/RingBuffer.h"
# Line 40  Line 41 
41  #include "../common/Engine.h"  #include "../common/Engine.h"
42  #include "../common/Event.h"  #include "../common/Event.h"
43  #include "../common/BiquadFilter.h"  #include "../common/BiquadFilter.h"
 #include "../../lib/fileloader/libgig/gig.h"  
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
# Line 60  namespace LinuxSampler { namespace gig { Line 63  namespace LinuxSampler { namespace gig {
63          public:          public:
64              // methods              // methods
65              Engine();              Engine();
66             ~Engine();              virtual ~Engine();
67              void Connect(AudioOutputDevice* pAudioOut);              void Connect(AudioOutputDevice* pAudioOut);
68    
69              // implementation of abstract methods derived from class 'LinuxSampler::Engine'              // implementation of abstract methods derived from class 'LinuxSampler::Engine'
# Line 122  namespace LinuxSampler { namespace gig { Line 125  namespace LinuxSampler { namespace gig {
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);
# Line 146  namespace LinuxSampler { namespace gig { Line 149  namespace LinuxSampler { namespace gig {
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

Legend:
Removed from v.460  
changed lines
  Added in v.505

  ViewVC Help
Powered by ViewVC