/[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 1686 by schoenebeck, Thu Feb 14 14:58:50 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 89  namespace LinuxSampler { Line 90  namespace LinuxSampler {
90              virtual FxSend* GetFxSend(uint FxSendIndex) = 0;              virtual FxSend* GetFxSend(uint FxSendIndex) = 0;
91              virtual uint    GetFxSendCount() = 0;              virtual uint    GetFxSendCount() = 0;
92              virtual void    RemoveFxSend(FxSend* pFxSend) = 0;              virtual void    RemoveFxSend(FxSend* pFxSend) = 0;
93                virtual void    Connect(VirtualMidiDevice* pDevice) = 0;
94                virtual void    Disconnect(VirtualMidiDevice* pDevice) = 0;
95    
96    
97              /////////////////////////////////////////////////////////////////              /////////////////////////////////////////////////////////////////
# Line 274  namespace LinuxSampler { Line 277  namespace LinuxSampler {
277               */               */
278              int GetMidiRpnController();              int GetMidiRpnController();
279    
280                /**
281                 * Gets the current number of active voices.
282                 */
283                uint GetVoiceCount();
284    
285                /**
286                 * Sets the current number of active voices.
287                 */
288                void SetVoiceCount(uint Voices);
289    
290                /**
291                 * Gets the current number of active disk streams.
292                 */
293                uint GetDiskStreamCount();
294    
295                /**
296                 * Sets the current number of active disk streams.
297                 */
298                void SetDiskStreamCount(uint Streams);
299    
300              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)
301    
302          protected:          protected:
# Line 303  namespace LinuxSampler { Line 326  namespace LinuxSampler {
326              bool    bProgramChangeReceived;              bool    bProgramChangeReceived;
327              bool    bMidiRpnReceived;              bool    bMidiRpnReceived;
328              int     iMidiInstrumentMap;              int     iMidiInstrumentMap;
329                uint    uiVoiceCount;
330                uint    uiDiskStreamCount;
331              ListenerList<FxSendCountListener*> llFxSendCountListeners;              ListenerList<FxSendCountListener*> llFxSendCountListeners;
332      };      };
333    

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

  ViewVC Help
Powered by ViewVC