mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 15:19:44 +02:00
Bug 425 - Win/Linux: Nyquist: (vector (aref s 0)(aref s 0)) not returned correctly to track
This commit is contained in:
parent
618106f1c3
commit
b53d06ed23
@ -1015,7 +1015,7 @@ int nyx_get_audio(nyx_audio_callback callback, void *userdata)
|
||||
else {
|
||||
snd = getsound(getelement(nyx_result, ch));
|
||||
}
|
||||
snds[ch] = snd;
|
||||
snds[ch] = sound_copy(snd);
|
||||
totals[ch] = 0;
|
||||
lens[ch] = nyx_input_length;
|
||||
}
|
||||
@ -1053,6 +1053,10 @@ int nyx_get_audio(nyx_audio_callback callback, void *userdata)
|
||||
}
|
||||
}
|
||||
|
||||
for (ch = 0 ; ch < num_channels; ch++) {
|
||||
sound_unref(snds[ch]);
|
||||
}
|
||||
|
||||
// This will unwind the xlisp context and restore internals to a point just
|
||||
// before we issued our xlbegin() above. This is important since the internal
|
||||
// xlisp stacks will contain pointers to invalid objects otherwise.
|
||||
|
Loading…
x
Reference in New Issue
Block a user