/[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 460 by schoenebeck, Mon Mar 14 22:35:44 2005 UTC revision 660 by schoenebeck, Fri Jun 17 19:49:30 2005 UTC
# Line 41  namespace LinuxSampler { namespace gig { Line 41  namespace LinuxSampler { namespace gig {
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();
# Line 53  namespace LinuxSampler { namespace gig { Line 58  namespace LinuxSampler { namespace gig {
58              virtual void    SendNoteOff(uint8_t Key, uint8_t Velocity);              virtual void    SendNoteOff(uint8_t Key, uint8_t Velocity);
59              virtual void    SendPitchbend(int Pitch);              virtual void    SendPitchbend(int Pitch);
60              virtual void    SendControlChange(uint8_t Controller, uint8_t Value);              virtual void    SendControlChange(uint8_t Controller, uint8_t Value);
61                virtual bool    StatusChanged();
62              virtual float   Volume();              virtual float   Volume();
63              virtual void    Volume(float f);              virtual void    Volume(float f);
64              virtual uint    Channels();              virtual uint    Channels();
# Line 65  namespace LinuxSampler { namespace gig { Line 71  namespace LinuxSampler { namespace gig {
71              virtual int     InstrumentIndex();              virtual int     InstrumentIndex();
72              virtual int     InstrumentStatus();              virtual int     InstrumentStatus();
73              virtual LinuxSampler::Engine* GetEngine();              virtual LinuxSampler::Engine* GetEngine();
74                virtual String  EngineName();
75    
76              // implementation of abstract methods derived from interface class 'InstrumentConsumer'              // implementation of abstract methods derived from interface class 'InstrumentConsumer'
77              virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg);              virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg);
78              virtual void ResourceUpdated(::gig::Instrument* pOldResource, ::gig::Instrument* pNewResource, void* pUpdateArg);              virtual void ResourceUpdated(::gig::Instrument* pOldResource, ::gig::Instrument* pNewResource, void* pUpdateArg);
79                virtual void OnResourceProgress(float fProgress);
80    
81          //protected:          //protected:
82              Engine*                 pEngine;              Engine*                 pEngine;
# Line 96  namespace LinuxSampler { namespace gig { Line 104  namespace LinuxSampler { namespace gig {
104              String                  InstrumentIdxName;              String                  InstrumentIdxName;
105              int                     InstrumentStat;              int                     InstrumentStat;
106              int                     iEngineIndexSelf;         ///< Reflects the index of this EngineChannel in the Engine's ArrayList.              int                     iEngineIndexSelf;         ///< Reflects the index of this EngineChannel in the Engine's ArrayList.
107                bool                    bStatusChanged;           ///< true in case an engine parameter has changed (e.g. new instrument, another volumet)
108    
109                void ResetControllers();
110              void ClearEventLists();              void ClearEventLists();
111              void ImportEvents(uint Samples);              void ImportEvents(uint Samples);
112    

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

  ViewVC Help
Powered by ViewVC