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

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

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

revision 2120 by persson, Sat Jan 30 10:30:02 2010 UTC revision 2121 by schoenebeck, Tue Sep 14 17:09:08 2010 UTC
# Line 227  namespace LinuxSampler { Line 227  namespace LinuxSampler {
227              S*  pSample;   ///< Pointer to the sample to be played back              S*  pSample;   ///< Pointer to the sample to be played back
228              R*  pRegion;   ///< Pointer to the articulation information of current region of this voice              R*  pRegion;   ///< Pointer to the articulation information of current region of this voice
229    
230                virtual MidiKeyBase* GetMidiKeyInfo(int MIDIKey) {
231                    EC* pChannel = static_cast<EC*>(pEngineChannel);
232                    return &pChannel->pMIDIKeyInfo[MIDIKey];
233                }
234    
235              virtual unsigned long GetNoteOnTime(int MIDIKey) {              virtual unsigned long GetNoteOnTime(int MIDIKey) {
236                  EC* pChannel = static_cast<EC*>(pEngineChannel);                  EC* pChannel = static_cast<EC*>(pEngineChannel);
237                  return pChannel->pMIDIKeyInfo[MIDIKey].NoteOnTime;                  return pChannel->pMIDIKeyInfo[MIDIKey].NoteOnTime;

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

  ViewVC Help
Powered by ViewVC