1
0
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:
rbdannenberg
2010-09-27 05:42:28 +00:00
parent c159d469d6
commit f37b4ab344
10 changed files with 76 additions and 11 deletions

View File

@@ -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