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

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

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

revision 2121 by schoenebeck, Tue Sep 14 17:09:08 2010 UTC revision 2296 by iliev, Thu Dec 8 20:03:47 2011 UTC
# Line 33  Line 33 
33  #include "../common/RingBuffer.h"  #include "../common/RingBuffer.h"
34  #include "../drivers/audio/AudioOutputDevice.h"  #include "../drivers/audio/AudioOutputDevice.h"
35  #include "common/Event.h"  #include "common/Event.h"
36    #include "common/SignalUnitRack.h"
37    
38  namespace LinuxSampler {  namespace LinuxSampler {
39    
# Line 64  namespace LinuxSampler { Line 65  namespace LinuxSampler {
65    
66              void SetVoiceCount(uint Count);// Simple array wrapper just to make sure memory is freed              void SetVoiceCount(uint Count);// Simple array wrapper just to make sure memory is freed
67              // when liblinuxsampler is unloaded              // when liblinuxsampler is unloaded
68                
69              class FloatTable {              class FloatTable {
70              private:              private:
71                  const float* array;                  const float* array;
# Line 103  namespace LinuxSampler { Line 105  namespace LinuxSampler {
105              int                        ActiveVoiceCountMax;   ///< the maximum voice usage since application start              int                        ActiveVoiceCountMax;   ///< the maximum voice usage since application start
106              atomic_t                   ActiveVoiceCount;      ///< number of currently active voices              atomic_t                   ActiveVoiceCount;      ///< number of currently active voices
107              int                        VoiceSpawnsLeft;       ///< We only allow CONFIG_MAX_VOICES voices to be spawned per audio fragment, we use this variable to ensure this limit.              int                        VoiceSpawnsLeft;       ///< We only allow CONFIG_MAX_VOICES voices to be spawned per audio fragment, we use this variable to ensure this limit.
108                EqSupport*                 pEq;                   ///< Used for per voice equalization
109    
110              void RouteAudio(EngineChannel* pEngineChannel, uint Samples);              void RouteAudio(EngineChannel* pEngineChannel, uint Samples);
111              void RouteDedicatedVoiceChannels(EngineChannel* pEngineChannel, optional<float> FxSendLevels[2], uint Samples);              void RouteDedicatedVoiceChannels(EngineChannel* pEngineChannel, optional<float> FxSendLevels[2], uint Samples);

Legend:
Removed from v.2121  
changed lines
  Added in v.2296

  ViewVC Help
Powered by ViewVC