/[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 2594 by schoenebeck, Thu Jun 5 00:16:25 2014 UTC revision 2600 by schoenebeck, Sat Jun 7 00:16:03 2014 UTC
# Line 71  namespace LinuxSampler { Line 71  namespace LinuxSampler {
71    
72              void SetVoiceCount(uint Count);              void SetVoiceCount(uint Count);
73    
74                /**
75                 * Returns event with the given event ID.
76                 */
77                RTList<Event>::Iterator EventByID(int id) {
78                    return pEventPool->fromID(id);
79                }
80    
81              float Random() {              float Random() {
82                  RandomSeed = RandomSeed * 1103515245 + 12345; // classic pseudo random number generator                  RandomSeed = RandomSeed * 1103515245 + 12345; // classic pseudo random number generator
83                  return RandomSeed / 4294967296.0f;                  return RandomSeed / 4294967296.0f;
# Line 157  namespace LinuxSampler { Line 164  namespace LinuxSampler {
164              virtual void ProcessChannelPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itChannelPressureEvent) = 0;              virtual void ProcessChannelPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itChannelPressureEvent) = 0;
165              virtual void ProcessPolyphonicKeyPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNotePressureEvent) = 0;              virtual void ProcessPolyphonicKeyPressure(EngineChannel* pEngineChannel, Pool<Event>::Iterator& itNotePressureEvent) = 0;
166              virtual int  GetMinFadeOutSamples() = 0;              virtual int  GetMinFadeOutSamples() = 0;
167                virtual InstrumentScriptVM* CreateInstrumentScriptVM();
168    
169          private:          private:
170              static std::map<Format, std::map<AudioOutputDevice*,AbstractEngine*> > engines;              static std::map<Format, std::map<AudioOutputDevice*,AbstractEngine*> > engines;

Legend:
Removed from v.2594  
changed lines
  Added in v.2600

  ViewVC Help
Powered by ViewVC