/[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 1130 by iliev, Sun Mar 25 18:59:14 2007 UTC revision 1723 by schoenebeck, Sun Apr 20 08:53:39 2008 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2   *                                                                         *   *                                                                         *
3   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *
4   *                                                                         *   *                                                                         *
5   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
6   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 26  Line 26 
26  #include "../drivers/midi/midi.h"  #include "../drivers/midi/midi.h"
27  #include "../drivers/midi/MidiInputDevice.h"  #include "../drivers/midi/MidiInputDevice.h"
28  #include "../drivers/midi/MidiInputPort.h"  #include "../drivers/midi/MidiInputPort.h"
29    #include "../drivers/midi/VirtualMidiDevice.h"
30  #include "Engine.h"  #include "Engine.h"
31  #include "FxSend.h"  #include "FxSend.h"
32    
# Line 69  namespace LinuxSampler { Line 70  namespace LinuxSampler {
70              virtual bool    StatusChanged(bool bNewStatus = false) = 0;              virtual bool    StatusChanged(bool bNewStatus = false) = 0;
71              virtual float   Volume() = 0;              virtual float   Volume() = 0;
72              virtual void    Volume(float f) = 0;              virtual void    Volume(float f) = 0;
73                virtual float   Pan() = 0;
74                virtual void    Pan(float f) = 0;
75              virtual uint    Channels() = 0;              virtual uint    Channels() = 0;
76              virtual void    Connect(AudioOutputDevice* pAudioOut) = 0;              virtual void    Connect(AudioOutputDevice* pAudioOut) = 0;
77              virtual void    DisconnectAudioOutputDevice() = 0;              virtual void    DisconnectAudioOutputDevice() = 0;
# Line 89  namespace LinuxSampler { Line 92  namespace LinuxSampler {
92              virtual FxSend* GetFxSend(uint FxSendIndex) = 0;              virtual FxSend* GetFxSend(uint FxSendIndex) = 0;
93              virtual uint    GetFxSendCount() = 0;              virtual uint    GetFxSendCount() = 0;
94              virtual void    RemoveFxSend(FxSend* pFxSend) = 0;              virtual void    RemoveFxSend(FxSend* pFxSend) = 0;
95                virtual void    Connect(VirtualMidiDevice* pDevice) = 0;
96                virtual void    Disconnect(VirtualMidiDevice* pDevice) = 0;
97    
98    
99              /////////////////////////////////////////////////////////////////              /////////////////////////////////////////////////////////////////
# Line 274  namespace LinuxSampler { Line 279  namespace LinuxSampler {
279               */               */
280              int GetMidiRpnController();              int GetMidiRpnController();
281    
282                /**
283                 * Gets the current number of active voices.
284                 */
285                uint GetVoiceCount();
286    
287                /**
288                 * Sets the current number of active voices.
289                 */
290                void SetVoiceCount(uint Voices);
291    
292                /**
293                 * Gets the current number of active disk streams.
294                 */
295                uint GetDiskStreamCount();
296    
297                /**
298                 * Sets the current number of active disk streams.
299                 */
300                void SetDiskStreamCount(uint Streams);
301    
302              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)              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)
303    
304          protected:          protected:
# Line 303  namespace LinuxSampler { Line 328  namespace LinuxSampler {
328              bool    bProgramChangeReceived;              bool    bProgramChangeReceived;
329              bool    bMidiRpnReceived;              bool    bMidiRpnReceived;
330              int     iMidiInstrumentMap;              int     iMidiInstrumentMap;
331                uint    uiVoiceCount;
332                uint    uiDiskStreamCount;
333              ListenerList<FxSendCountListener*> llFxSendCountListeners;              ListenerList<FxSendCountListener*> llFxSendCountListeners;
334      };      };
335    

Legend:
Removed from v.1130  
changed lines
  Added in v.1723

  ViewVC Help
Powered by ViewVC