mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 00:19:27 +02:00
Previous bug fix to add.c introduced a declaration after statements, rejected by some compilers. This new add.c should compile everywhere.
This commit is contained in:
parent
e76bfa39ef
commit
c389f0348b
@ -565,10 +565,12 @@ D nyquist_printf("add_s_nn_fetch: special return, susp %p\n", susp);
|
||||
/* check if we've seen the logical stop from s2. If so then
|
||||
log_stop_cnt is max of s1 and s2 stop times */
|
||||
(susp->logical_stop_bits & 2)) {
|
||||
/* (some compilers don't like statements before declarations)
|
||||
D nyquist_printf("add_s2_nn_fetch: susp->susp.log_stop_cnt %d\n",
|
||||
susp->susp.log_stop_cnt);
|
||||
D nyquist_printf("add_s2_nn_fetch: susp->susp.current %d\n",
|
||||
susp->susp.current);
|
||||
*/
|
||||
int to_stop = susp->susp.log_stop_cnt - susp->susp.current;
|
||||
// to_stop can be less than zero if we've been adding in sounds with
|
||||
// t0 less than the time when the sound is added. E.g. if the user
|
||||
|
Loading…
x
Reference in New Issue
Block a user