1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-27 15:50:10 +01:00

Update Nyquist to v3.09.

This commit is contained in:
Leland Lucius
2015-04-07 22:10:17 -05:00
parent f88b27e6d8
commit 9fb0ce5b82
358 changed files with 26327 additions and 7043 deletions

View File

@@ -47,7 +47,7 @@ static sample_type *create_buf(double floor, long lookahead)
}
")
(ARGUMENTS ("sound_type" "sndin") ("double" "floor") ("double" "risetime")
("double" "falltime") ("long" "lookahead"))
("double" "falltime") ("long" "lookahead"))
(START (MIN sndin))
(STATE ("long" "lookahead" "lookahead = lookahead + 1")
("sample_type *" "delaybuf" "create_buf(floor, lookahead)")
@@ -63,7 +63,7 @@ static sample_type *create_buf(double floor, long lookahead)
(NOT-REGISTER delaybuf)
(ALWAYS-SCALE sndin)
(TERMINATE (MIN sndin))
(INNER-LOOP " sample_type current = sndin;
(INNER-LOOP "sample_type current = sndin;
sample_type high = (sample_type) (*prevptr * rise_factor);
sample_type low = (sample_type) (*prevptr * fall_factor);
if (low < floor) low = (sample_type) floor;
@@ -100,7 +100,7 @@ static sample_type *create_buf(double floor, long lookahead)
}
prevptr = delayptr++;
if (delayptr == endptr) delayptr = susp->delaybuf;
output = *delayptr;")
output = *delayptr")
(FINALIZATION "free(susp->delaybuf);")
)