mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-28 14:53:16 +00:00
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:
parent
54076d1a07
commit
06b06abc74
1 changed files with 2 additions and 1 deletions
|
@ -298,6 +298,7 @@ void SNDDMA_Submit(void)
|
|||
avail = buffer_size;
|
||||
if (count > avail)
|
||||
count = avail;
|
||||
if (count)
|
||||
snd_pcm_mmap_forward (pcm, count);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue