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:
9ee3e43
)
pcm: add missing flags initialization for the fallback control data
author
Jaroslav Kysela
<perex@perex.cz>
Wed, 23 May 2018 08:33:40 +0000
(10:33 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Wed, 23 May 2018 08:33:40 +0000
(10:33 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_hw.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_hw.c
b/src/pcm/pcm_hw.c
index
a728b23
..
59a2420
100644
(file)
--- a/
src/pcm/pcm_hw.c
+++ b/
src/pcm/pcm_hw.c
@@
-1018,7
+1018,7
@@
static int map_status_and_control_data(snd_pcm_t *pcm, bool force_fallback)
snd_pcm_set_appl_ptr(pcm, &hw->mmap_control->appl_ptr, hw->fd,
SNDRV_PCM_MMAP_OFFSET_CONTROL);
if (hw->mmap_control_fallbacked) {
- unsigned int flags;
+ unsigned int flags
= 0
;
/* read appl_ptr and avail_min from kernel when device opened
* with SND_PCM_APPEND flag
*/