mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01:00
Fixed some Nyquist bugs, eliminate some compiler and wipro checker warnings
This commit is contained in:
@@ -861,7 +861,8 @@ sample_block_type SND_flush(sound_type snd, long * cnt)
|
||||
{
|
||||
long mycnt;
|
||||
sample_block_type block = SND_get_first(snd, &mycnt);
|
||||
while (snd->current < 0) {
|
||||
/* changed from < to <= because we want to read at least the first sample */
|
||||
while (snd->current <= 0) {
|
||||
block = SND_get_next(snd, &mycnt);
|
||||
}
|
||||
/* at this point, we've read to and including the block with
|
||||
|
||||
Reference in New Issue
Block a user