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

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

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

revision 1686 by schoenebeck, Thu Feb 14 14:58:50 2008 UTC revision 1761 by iliev, Fri Aug 29 15:42:06 2008 UTC
# Line 33  Line 33 
33  namespace LinuxSampler {  namespace LinuxSampler {
34    
35      // just symbol prototyping      // just symbol prototyping
36        class Sampler;
37        class SamplerChannel;
38      class AudioOutputDevice;      class AudioOutputDevice;
39      class MidiInputPort;      class MidiInputPort;
40      class FxSend;      class FxSend;
# Line 70  namespace LinuxSampler { Line 72  namespace LinuxSampler {
72              virtual bool    StatusChanged(bool bNewStatus = false) = 0;              virtual bool    StatusChanged(bool bNewStatus = false) = 0;
73              virtual float   Volume() = 0;              virtual float   Volume() = 0;
74              virtual void    Volume(float f) = 0;              virtual void    Volume(float f) = 0;
75                virtual float   Pan() = 0;
76                virtual void    Pan(float f) = 0;
77              virtual uint    Channels() = 0;              virtual uint    Channels() = 0;
78              virtual void    Connect(AudioOutputDevice* pAudioOut) = 0;              virtual void    Connect(AudioOutputDevice* pAudioOut) = 0;
79              virtual void    DisconnectAudioOutputDevice() = 0;              virtual void    DisconnectAudioOutputDevice() = 0;
# Line 297  namespace LinuxSampler { Line 301  namespace LinuxSampler {
301               */               */
302              void SetDiskStreamCount(uint Streams);              void SetDiskStreamCount(uint Streams);
303    
304              int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM)              SamplerChannel* GetSamplerChannel();
305                
306                void SetSamplerChannel(SamplerChannel* pChannel);
307    
308                /** Returns the sampler to which this channel belongs */
309                Sampler* GetSampler();
310    
311          protected:          protected:
312              EngineChannel();              EngineChannel();
# Line 328  namespace LinuxSampler { Line 337  namespace LinuxSampler {
337              int     iMidiInstrumentMap;              int     iMidiInstrumentMap;
338              uint    uiVoiceCount;              uint    uiVoiceCount;
339              uint    uiDiskStreamCount;              uint    uiDiskStreamCount;
340                SamplerChannel* pSamplerChannel;
341              ListenerList<FxSendCountListener*> llFxSendCountListeners;              ListenerList<FxSendCountListener*> llFxSendCountListeners;
342      };      };
343    

Legend:
Removed from v.1686  
changed lines
  Added in v.1761

  ViewVC Help
Powered by ViewVC