diff options
author | Ricardo Biehl Pasquali <pasqualirb@gmail.com> | 2018-12-18 22:57:22 -0200 |
---|---|---|
committer | Ricardo Biehl Pasquali <pasqualirb@gmail.com> | 2019-01-08 13:06:19 -0200 |
commit | 7a286f6499128bfbba8ab831cc8ffdbf82330857 (patch) | |
tree | 7ac43495316fb4f117b44eeb3e2584155ad0a0e3 /src | |
parent | 7a512de1fb2c43212b368ad85b4d1388e38639b9 (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |