/[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 2026 by iliev, Sun Oct 25 22:22:52 2009 UTC revision 2027 by iliev, Tue Nov 3 19:27:42 2009 UTC
# Line 92  namespace LinuxSampler { Line 92  namespace LinuxSampler {
92              EventGenerator*            pEventGenerator;              EventGenerator*            pEventGenerator;
93              RTList<Event>*             pGlobalEvents;         ///< All engine global events for the current audio fragment (usually only SysEx messages).              RTList<Event>*             pGlobalEvents;         ///< All engine global events for the current audio fragment (usually only SysEx messages).
94              Pool<Event>*               pEventPool;            ///< Contains all Event objects that can be used.              Pool<Event>*               pEventPool;            ///< Contains all Event objects that can be used.
95              RingBuffer<uint8_t,false>* pSysexBuffer;       ///< Input buffer for MIDI system exclusive messages.              RingBuffer<uint8_t,false>* pSysexBuffer;          ///< Input buffer for MIDI system exclusive messages.
96              uint                       SampleRate;            ///< Sample rate of the engines output audio signal (in Hz)              uint                       SampleRate;            ///< Sample rate of the engines output audio signal (in Hz)
97              uint                       MaxSamplesPerCycle;    ///< Size of each audio output buffer              uint                       MaxSamplesPerCycle;    ///< Size of each audio output buffer
98              unsigned long              FrameTime; ///< Time in frames of the start of the current audio fragment              unsigned long              FrameTime;             ///< Time in frames of the start of the current audio fragment
99              int                        ActiveVoiceCountMax;   ///< the maximum voice usage since application start              int                        ActiveVoiceCountMax;   ///< the maximum voice usage since application start
100              atomic_t                   ActiveVoiceCount; ///< number of currently active voices              atomic_t                   ActiveVoiceCount;      ///< number of currently active voices
101                int                        VoiceSpawnsLeft;       ///< We only allow CONFIG_MAX_VOICES voices to be spawned per audio fragment, we use this variable to ensure this limit.
102    
103              void RouteAudio(EngineChannel* pEngineChannel, uint Samples);              void RouteAudio(EngineChannel* pEngineChannel, uint Samples);
104              void ClearEventLists();              void ClearEventLists();

Legend:
Removed from v.2026  
changed lines
  Added in v.2027

  ViewVC Help
Powered by ViewVC