aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pcm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pcm.c b/src/pcm.c
index 289b426..3c08cad 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -549,7 +549,6 @@ static int pcm_hw_mmap_status(struct pcm *pcm)
pcm->mmap_status = NULL;
goto mmap_error;
}
- pcm->mmap_control->avail_min = 1;
return 0;
@@ -560,8 +559,6 @@ mmap_error:
return -ENOMEM;
pcm->mmap_status = &pcm->sync_ptr->s.status;
pcm->mmap_control = &pcm->sync_ptr->c.control;
- pcm->mmap_control->avail_min = 1;
- pcm_sync_ptr(pcm, 0);
return 0;
}