1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

Fix missing parameters in chains for ChangeSpeed effect

This commit is contained in:
James Crook
2015-04-07 12:20:08 +01:00
parent 523cf08c03
commit cedc6975e8
2 changed files with 7 additions and 0 deletions

View File

@@ -124,6 +124,12 @@ bool EffectChangeSpeed::ProcessLabelTrack(Track *t)
return true;
}
bool EffectChangeSpeed::TransferParameters( Shuttle & shuttle )
{
shuttle.TransferDouble(wxT("Percentage"),m_PercentChange,0.0);
return true;
}
bool EffectChangeSpeed::Process()
{
// Similar to EffectSoundTouch::Process()

View File

@@ -55,6 +55,7 @@ class EffectChangeSpeed : public Effect
protected:
virtual bool Init();
virtual bool PromptUser();
virtual bool TransferParameters( Shuttle & shuttle );
virtual bool CheckWhetherSkipEffect() { return (m_PercentChange == 0.0); }
virtual bool Process();