aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRicardo Biehl Pasquali <pasqualirb@gmail.com>2018-12-18 22:57:22 -0200
committerRicardo Biehl Pasquali <pasqualirb@gmail.com>2019-01-08 13:06:19 -0200
commit7a286f6499128bfbba8ab831cc8ffdbf82330857 (patch)
tree7ac43495316fb4f117b44eeb3e2584155ad0a0e3 /src
parent7a512de1fb2c43212b368ad85b4d1388e38639b9 (diff)
pcm: Remove HWSYNC before available calculation
Hardware pointer should not be updated in available calculation. Signed-off-by: Ricardo Biehl Pasquali <pasqualirb@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pcm.c b/src/pcm.c
index 3c08cad..8ef5a48 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -1252,7 +1252,6 @@ static inline int pcm_mmap_capture_avail(struct pcm *pcm)
static inline int pcm_mmap_avail(struct pcm *pcm)
{
- pcm_sync_ptr(pcm, SNDRV_PCM_SYNC_PTR_HWSYNC);
if (pcm->flags & PCM_IN)
return pcm_mmap_capture_avail(pcm);
else