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:
67868a8
)
Fix fullduplex with dmix/dsnoop
author
Takashi Iwai
<tiwai@suse.de>
Fri, 17 Feb 2006 20:50:00 +0000
(20:50 +0000)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 17 Feb 2006 20:50:00 +0000
(20:50 +0000)
Fixed the fullduplex of dmix and dsnoop plugins due to confliction of
ipc keys.
src/pcm/pcm_direct.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_direct.c
b/src/pcm/pcm_direct.c
index
ff4bddb
..
a136caa
100644
(file)
--- a/
src/pcm/pcm_direct.c
+++ b/
src/pcm/pcm_direct.c
@@
-1345,7
+1345,7
@@
static int _snd_pcm_direct_get_slave_ipc_offset(snd_config_t *root,
device = 0;
if (subdevice < 0)
subdevice = 0;
- return
direction + (card << 1) + (device << 4) + (subdevice << 8
);
+ return
(direction << 1) + (device << 2) + (subdevice << 8) + (card << 12
);
}
int snd_pcm_direct_get_slave_ipc_offset(snd_config_t *root,