must not call snd_pcm_mmap_forward with a count of 0

this fixes the alsa assert at slower rates
This commit is contained in:
Bill Currie 2001-04-13 08:08:41 +00:00
parent bffe67977c
commit 475a0b0d4a

View file

@ -304,7 +304,8 @@ SNDDMA_Submit (void)
avail = buffer_size;
if (count > avail)
count = avail;
snd_pcm_mmap_forward (pcm, count);
if (count)
snd_pcm_mmap_forward (pcm, count);
}
break;
default: