1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Modernize ';nyquist plug-in' header command.

Ref. QA topic: http://sourceforge.net/p/audacity/mailman/message/33193296/
This commit is contained in:
stevethefiddle@gmail.com 2015-01-02 15:24:11 +00:00
parent 0c00a5f463
commit a13cb99e67
5 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
;nyquist plug-in
;nyquist plugin
;version 4
;type process
;name "Spectral edit multi tool"

View File

@ -1,4 +1,4 @@
;nyquist plug-in
;nyquist plugin
;version 4
;type process
;preview enabled

View File

@ -1,4 +1,4 @@
;nyquist plug-in
;nyquist plugin
;version 4
;type process
;preview enabled

View File

@ -1,4 +1,4 @@
;nyquist plug-in
;nyquist plugin
;version 4
;type process
;name "Crossfade Tracks..."

View File

@ -1231,7 +1231,10 @@ void EffectNyquist::Parse(wxString line)
return;
}
if (len == 2 && tokens[0] == wxT("nyquist") && tokens[1] == wxT("plug-in")) {
// As of version 4 plugins ";nyquist plug-in" is depricated in favour of ";nyquist plugin".
// The hyphenated version must be maintained while we support plugin versions < 4.
if (len == 2 && tokens[0] == wxT("nyquist") &&
(tokens[1] == wxT("plugin") || tokens[1] == wxT("plug-in"))) {
mOK = true;
return;
}