mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-22 15:20:15 +02:00
Linear preview flag for Nyquist plug-ins.
This commit is contained in:
parent
d0634be6bf
commit
0dbaa76a7b
@ -1354,6 +1354,11 @@ void NyquistEffect::Parse(wxString line)
|
|||||||
if (len >= 2 && tokens[0] == wxT("preview")) {
|
if (len >= 2 && tokens[0] == wxT("preview")) {
|
||||||
if (tokens[1] == wxT("enabled") || tokens[1] == wxT("true")) {
|
if (tokens[1] == wxT("enabled") || tokens[1] == wxT("true")) {
|
||||||
mEnablePreview = true;
|
mEnablePreview = true;
|
||||||
|
SetLinearEffectFlag(false);
|
||||||
|
}
|
||||||
|
else if (tokens[1] == wxT("linear")) {
|
||||||
|
mEnablePreview = true;
|
||||||
|
SetLinearEffectFlag(true);
|
||||||
}
|
}
|
||||||
else if (tokens[1] == wxT("disabled") || tokens[1] == wxT("false")) {
|
else if (tokens[1] == wxT("disabled") || tokens[1] == wxT("false")) {
|
||||||
mEnablePreview = false;
|
mEnablePreview = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user