--- linuxsampler/trunk/src/engines/sfz/SfzSignalUnitRack.h 2019/09/30 17:35:43 3611 +++ linuxsampler/trunk/src/engines/sfz/SfzSignalUnitRack.h 2019/09/30 18:03:43 3612 @@ -238,7 +238,7 @@ public: virtual float Render() = 0; virtual void Update(const uint16_t& ExtControlValue) = 0; - virtual void Trigger(float Frequency, start_level_t StartLevel, uint16_t InternalDepth, uint16_t ExtControlDepth, bool FlipPhase, unsigned int SampleRate) = 0; + virtual void Trigger(float Frequency, LFO::start_level_t StartLevel, uint16_t InternalDepth, uint16_t ExtControlDepth, bool FlipPhase, unsigned int SampleRate) = 0; virtual void SetPhase(float phase) = 0; virtual void SetFrequency(float Frequency, unsigned int SampleRate) = 0; }; @@ -252,7 +252,7 @@ virtual void Update(const uint16_t& ExtControlValue) { T::updateByMIDICtrlValue(ExtControlValue); } virtual void Trigger ( - float Frequency, start_level_t StartLevel, uint16_t InternalDepth, + float Frequency, LFO::start_level_t StartLevel, uint16_t InternalDepth, uint16_t ExtControlDepth, bool FlipPhase, unsigned int SampleRate ) { T::trigger(Frequency, StartLevel, InternalDepth, ExtControlDepth, FlipPhase, SampleRate); @@ -320,13 +320,13 @@ protected: FixedArray lfos; LfoBase lfo0; // triangle - LfoBase > lfo1; // sine - LfoBase > lfo2; // pulse 75% - LfoBase > lfo3; // square - LfoBase > lfo4; // pulse 25% - LfoBase > lfo5; // pulse 12,5% - LfoBase > lfo6; // saw up - LfoBase > lfo7; // saw down + LfoBase > lfo1; // sine + LfoBase > lfo2; // pulse 75% + LfoBase > lfo3; // square + LfoBase > lfo4; // pulse 25% + LfoBase > lfo5; // pulse 12,5% + LfoBase > lfo6; // saw up + LfoBase > lfo7; // saw down public: