/[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 2611 by schoenebeck, Mon Jun 9 19:20:37 2014 UTC revision 2879 by schoenebeck, Tue Apr 19 14:07:53 2016 UTC
# Line 35  Line 35 
35  #include "../common/ResourceManager.h"  #include "../common/ResourceManager.h"
36  #include "../drivers/audio/AudioOutputDevice.h"  #include "../drivers/audio/AudioOutputDevice.h"
37  #include "common/Event.h"  #include "common/Event.h"
38    #include "common/Note.h"
39  #include "common/SignalUnitRack.h"  #include "common/SignalUnitRack.h"
40  #include "common/InstrumentScriptVM.h"  #include "common/InstrumentScriptVM.h"
41    
# Line 74  namespace LinuxSampler { Line 75  namespace LinuxSampler {
75              /**              /**
76               * Returns event with the given event ID.               * Returns event with the given event ID.
77               */               */
78              RTList<Event>::Iterator EventByID(int id) {              RTList<Event>::Iterator EventByID(event_id_t id) {
79                  return pEventPool->fromID(id);                  return pEventPool->fromID(id);
80              }              }
81    
82                virtual NoteBase* NoteByID(note_id_t id) = 0;
83    
84              float Random() {              float Random() {
85                  RandomSeed = RandomSeed * 1103515245 + 12345; // classic pseudo random number generator                  RandomSeed = RandomSeed * 1103515245 + 12345; // classic pseudo random number generator
86                  return RandomSeed / 4294967296.0f;                  return RandomSeed / 4294967296.0f;
# Line 149  namespace LinuxSampler { Line 152  namespace LinuxSampler {
152              virtual void ProcessChannelPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itChannelPressureEvent) = 0;              virtual void ProcessChannelPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itChannelPressureEvent) = 0;
153              virtual void ProcessPolyphonicKeyPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNotePressureEvent) = 0;              virtual void ProcessPolyphonicKeyPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNotePressureEvent) = 0;
154              virtual int  GetMinFadeOutSamples() = 0;              virtual int  GetMinFadeOutSamples() = 0;
155                virtual note_id_t LaunchNewNote(LinuxSampler::EngineChannel* pEngineChannel, Event* pNoteOnEvent) = 0;
156              virtual void CreateInstrumentScriptVM();              virtual void CreateInstrumentScriptVM();
157    
158          private:          private:

Legend:
Removed from v.2611  
changed lines
  Added in v.2879

  ViewVC Help
Powered by ViewVC