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

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

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

revision 411 by schoenebeck, Sat Feb 26 02:01:14 2005 UTC revision 412 by schoenebeck, Sat Feb 26 22:44:51 2005 UTC
# Line 32  Line 32 
32  #include "../common/EngineChannel.h"  #include "../common/EngineChannel.h"
33  #include "EngineGlobals.h"  #include "EngineGlobals.h"
34  #include "Engine.h"  #include "Engine.h"
35    #include "Voice.h"
36  #include "InstrumentResourceManager.h"  #include "InstrumentResourceManager.h"
37    
38  namespace LinuxSampler { namespace gig {  namespace LinuxSampler { namespace gig {
39    
40        // just symbol prototyping
41      class midi_key_info_t;      class midi_key_info_t;
42        class Voice;
43    
44      class EngineChannel : public LinuxSampler::EngineChannel, public InstrumentConsumer {      class EngineChannel : public LinuxSampler::EngineChannel, public InstrumentConsumer {
45          public:          public:
# Line 44  namespace LinuxSampler { namespace gig { Line 47  namespace LinuxSampler { namespace gig {
47              virtual ~EngineChannel();                          virtual ~EngineChannel();            
48                        
49              // implementation of abstract methods derived from interface class 'LinuxSampler::EngineChannel'              // implementation of abstract methods derived from interface class 'LinuxSampler::EngineChannel'
             virtual int     RenderAudio(uint Samples);  
50              virtual void    PrepareLoadInstrument(const char* FileName, uint Instrument);              virtual void    PrepareLoadInstrument(const char* FileName, uint Instrument);
51              virtual void    LoadInstrument();              virtual void    LoadInstrument();
52              virtual void    SendNoteOn(uint8_t Key, uint8_t Velocity);              virtual void    SendNoteOn(uint8_t Key, uint8_t Velocity);
# Line 87  namespace LinuxSampler { namespace gig { Line 89  namespace LinuxSampler { namespace gig {
89              String                  InstrumentFile;              String                  InstrumentFile;
90              int                     InstrumentIdx;              int                     InstrumentIdx;
91              String                  InstrumentIdxName;              String                  InstrumentIdxName;
92              int                     InstrumentStat;                          int                     InstrumentStat;
93                RTList<Voice>::Iterator itLastStolenVoice;        ///< Only for voice stealing: points to the last voice which was theft in current audio fragment, NULL otherwise.
94                RTList<uint>::Iterator  iuiLastStolenKey;         ///< Only for voice stealing: key number of last key on which the last voice was theft in current audio fragment, NULL otherwise.
95    
96              friend class Engine;              friend class Engine;
97              friend class Voice;              friend class Voice;

Legend:
Removed from v.411  
changed lines
  Added in v.412

  ViewVC Help
Powered by ViewVC