/[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 112 by senkov, Sun Jun 6 20:57:28 2004 UTC revision 225 by schoenebeck, Sun Aug 22 14:46:47 2004 UTC
# Line 69  namespace LinuxSampler { namespace gig { Line 69  namespace LinuxSampler { namespace gig {
69              virtual void   SendControlChange(uint8_t Controller, uint8_t Value);              virtual void   SendControlChange(uint8_t Controller, uint8_t Value);
70              virtual float  Volume();              virtual float  Volume();
71              virtual void   Volume(float f);              virtual void   Volume(float f);
72                virtual uint   Channels();
73              virtual void   Connect(AudioOutputDevice* pAudioOut);              virtual void   Connect(AudioOutputDevice* pAudioOut);
74              virtual void   DisconnectAudioOutputDevice();              virtual void   DisconnectAudioOutputDevice();
75                virtual void   SetOutputChannel(uint EngineAudioChannel, uint AudioDeviceChannel);
76                virtual int    OutputChannel(uint EngineAudioChannel);
77              virtual int    RenderAudio(uint Samples);              virtual int    RenderAudio(uint Samples);
78              virtual uint   VoiceCount();              virtual uint   VoiceCount();
79              virtual uint   VoiceCountMax();              virtual uint   VoiceCountMax();
# Line 84  namespace LinuxSampler { namespace gig { Line 87  namespace LinuxSampler { namespace gig {
87              virtual String EngineName();              virtual String EngineName();
88              virtual String InstrumentFileName();              virtual String InstrumentFileName();
89              virtual int    InstrumentIndex();              virtual int    InstrumentIndex();
90                virtual int    InstrumentStatus();
91    
92              // abstract methods derived from interface class 'InstrumentConsumer'              // abstract methods derived from interface class 'InstrumentConsumer'
93              virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg);              virtual void ResourceToBeUpdated(::gig::Instrument* pResource, void*& pUpdateArg);
# Line 100  namespace LinuxSampler { namespace gig { Line 104  namespace LinuxSampler { namespace gig {
104              static InstrumentResourceManager Instruments;              static InstrumentResourceManager Instruments;
105    
106              AudioOutputDevice*      pAudioOutputDevice;              AudioOutputDevice*      pAudioOutputDevice;
107                float*                  pOutputLeft;           ///< Audio output channel buffer (left)
108                float*                  pOutputRight;          ///< Audio output channel buffer (right)
109                int                     AudioDeviceChannelLeft;  ///< audio device channel number to which the left channel is connected to
110                int                     AudioDeviceChannelRight; ///< audio device channel number to which the right channel is connected to
111                uint                    SampleRate;            ///< Sample rate of the engines output audio signal (in Hz)
112                uint                    MaxSamplesPerCycle;    ///< Size of each audio output buffer
113              DiskThread*             pDiskThread;              DiskThread*             pDiskThread;
114              uint8_t                 ControllerTable[128];  ///< Reflects the current values (0-127) of all MIDI controllers for this engine / sampler channel.              uint8_t                 ControllerTable[128];  ///< Reflects the current values (0-127) of all MIDI controllers for this engine / sampler channel.
115              RingBuffer<Event>*      pEventQueue;           ///< Input event queue.              RingBuffer<Event>*      pEventQueue;           ///< Input event queue.
# Line 126  namespace LinuxSampler { namespace gig { Line 136  namespace LinuxSampler { namespace gig {
136              ConditionServer         EngineDisabled;              ConditionServer         EngineDisabled;
137              String                  InstrumentFile;              String                  InstrumentFile;
138              int                     InstrumentIdx;              int                     InstrumentIdx;
139                int                     InstrumentStat;
140    
141              void ProcessNoteOn(Event* pNoteOnEvent);              void ProcessNoteOn(Event* pNoteOnEvent);
142              void ProcessNoteOff(Event* pNoteOffEvent);              void ProcessNoteOff(Event* pNoteOffEvent);

Legend:
Removed from v.112  
changed lines
  Added in v.225

  ViewVC Help
Powered by ViewVC