--- linuxsampler/trunk/src/engines/sf2/Voice.cpp 2011/07/09 16:44:27 2203 +++ linuxsampler/trunk/src/engines/sf2/Voice.cpp 2011/07/11 17:52:01 2205 @@ -29,7 +29,7 @@ namespace LinuxSampler { namespace sf2 { - Voice::Voice() { + Voice::Voice(): SignalRack(this) { pEngine = NULL; pEG1 = &EG1; pEG2 = &EG2; @@ -39,6 +39,10 @@ } + void Voice::AboutToTrigger() { + + } + EngineChannel* Voice::GetSf2EngineChannel() { return static_cast(pEngineChannel); } @@ -401,6 +405,10 @@ }*/ // TODO: ^^^ bLFO3Enabled = false; } + + SignalUnitRack* Voice::GetSignalUnitRack() { + return static_cast (&SignalRack); + } float Voice::CalculateCutoffBase(uint8_t MIDIKeyVelocity) { /*float cutoff = pRegion->GetVelocityCutoff(MIDIKeyVelocity);