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

Diff of /linuxsampler/trunk/src/engines/common/AbstractVoice.h

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

revision 2114 by persson, Tue Aug 10 12:05:19 2010 UTC revision 2121 by schoenebeck, Tue Sep 14 17:09:08 2010 UTC
# Line 80  namespace LinuxSampler { Line 80  namespace LinuxSampler {
80    
81      class AbstractVoice : public Voice {      class AbstractVoice : public Voice {
82          public:          public:
83              type_t       Type;         ///< Voice Type              type_t       Type;         ///< Voice Type (bit field, a voice may have several types)
84              int          MIDIKey;      ///< MIDI key number of the key that triggered the voice              int          MIDIKey;      ///< MIDI key number of the key that triggered the voice
85    
86              AbstractVoice();              AbstractVoice();
# Line 188  namespace LinuxSampler { Line 188  namespace LinuxSampler {
188               */               */
189              virtual double CalculateCrossfadeVolume(uint8_t MIDIKeyVelocity) = 0;              virtual double CalculateCrossfadeVolume(uint8_t MIDIKeyVelocity) = 0;
190    
191                virtual MidiKeyBase* GetMidiKeyInfo(int MIDIKey) = 0;
192    
193              virtual int   OrderNewStream() = 0;              virtual int   OrderNewStream() = 0;
194    
195              virtual PitchInfo CalculatePitchInfo(int PitchBend);              virtual PitchInfo CalculatePitchInfo(int PitchBend);

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

  ViewVC Help
Powered by ViewVC