/[svn]/linuxsampler/trunk/src/engines/sf2/Voice.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/sf2/Voice.cpp

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

revision 2203 by persson, Sat Jul 9 16:44:27 2011 UTC revision 2205 by iliev, Mon Jul 11 17:52:01 2011 UTC
# Line 29  Line 29 
29    
30  namespace LinuxSampler { namespace sf2 {  namespace LinuxSampler { namespace sf2 {
31    
32      Voice::Voice() {      Voice::Voice(): SignalRack(this) {
33          pEngine = NULL;          pEngine = NULL;
34          pEG1 = &EG1;          pEG1 = &EG1;
35          pEG2 = &EG2;          pEG2 = &EG2;
# Line 39  namespace LinuxSampler { namespace sf2 { Line 39  namespace LinuxSampler { namespace sf2 {
39    
40      }      }
41    
42        void Voice::AboutToTrigger() {
43            
44        }
45    
46      EngineChannel* Voice::GetSf2EngineChannel() {      EngineChannel* Voice::GetSf2EngineChannel() {
47          return static_cast<EngineChannel*>(pEngineChannel);          return static_cast<EngineChannel*>(pEngineChannel);
48      }      }
# Line 401  namespace LinuxSampler { namespace sf2 { Line 405  namespace LinuxSampler { namespace sf2 {
405          }*/ // TODO: ^^^          }*/ // TODO: ^^^
406           bLFO3Enabled = false;           bLFO3Enabled = false;
407      }      }
408        
409        SignalUnitRack* Voice::GetSignalUnitRack() {
410            return static_cast<SignalUnitRack*> (&SignalRack);
411        }
412    
413      float Voice::CalculateCutoffBase(uint8_t MIDIKeyVelocity) {      float Voice::CalculateCutoffBase(uint8_t MIDIKeyVelocity) {
414          /*float cutoff = pRegion->GetVelocityCutoff(MIDIKeyVelocity);          /*float cutoff = pRegion->GetVelocityCutoff(MIDIKeyVelocity);

Legend:
Removed from v.2203  
changed lines
  Added in v.2205

  ViewVC Help
Powered by ViewVC