mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-28 01:40:08 -05:00
Completed renaming drain->stop, flush->drain (PCM). Done renaming drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap
This commit is contained in:
parent
7088f19233
commit
2ea3fd4bb3
22 changed files with 86 additions and 86 deletions
|
|
@ -49,7 +49,7 @@ static int snd_pcm_mmap_capture_ready(snd_pcm_t *pcm)
|
|||
int ret = 0;
|
||||
if (pcm->mmap_status->state == SND_PCM_STATE_XRUN) {
|
||||
ret = -EPIPE;
|
||||
if (pcm->setup.xrun_act == SND_PCM_XRUN_ACT_DRAIN)
|
||||
if (pcm->setup.xrun_act == SND_PCM_XRUN_ACT_DROP)
|
||||
return -EPIPE;
|
||||
}
|
||||
if (snd_pcm_mmap_capture_avail(pcm) >= pcm->setup.avail_min)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue