OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5988bb3
)
pcm: ioplug - fix the delay calculation for old plugins
author
Jaroslav Kysela
<perex@perex.cz>
Sun, 3 Jan 2021 16:13:50 +0000
(17:13 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
Sun, 3 Jan 2021 16:16:11 +0000
(17:16 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_ioplug.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_ioplug.c
b/src/pcm/pcm_ioplug.c
index
f2315a1
..
e141b1f
100644
(file)
--- a/
src/pcm/pcm_ioplug.c
+++ b/
src/pcm/pcm_ioplug.c
@@
-116,7
+116,7
@@
static int snd_pcm_ioplug_delay(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp)
return io->data->callback->delay(io->data, delayp);
else {
snd_pcm_ioplug_hw_ptr_update(pcm);
- *delayp = snd_pcm_mmap_
hw_avail
(pcm);
+ *delayp = snd_pcm_mmap_
delay
(pcm);
}
return 0;
}