mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Fix ToneGen automation.
This commit is contained in:
parent
93275b0ff8
commit
aff0e242ac
@ -262,6 +262,10 @@ bool EffectToneGen::DefineParams( ShuttleParams & S ){
|
||||
} else {
|
||||
S.SHUTTLE_PARAM( mFrequency[0], Frequency );
|
||||
S.SHUTTLE_PARAM( mAmplitude[0], Amplitude );
|
||||
// Slightly hacky way to set freq and ampl
|
||||
// since we do this whatever query to params was made.
|
||||
mFrequency[1] = mFrequency[0];
|
||||
mAmplitude[1] = mAmplitude[0];
|
||||
}
|
||||
wxArrayString waves( nWaveforms, kWaveStrings );
|
||||
wxArrayString interps( nInterpolations ,kInterStrings );
|
||||
|
Loading…
x
Reference in New Issue
Block a user