mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fix fullduplex with dmix/dsnoop
Fixed the fullduplex of dmix and dsnoop plugins due to confliction of ipc keys.
This commit is contained in:
parent
67868a886f
commit
c002c69d52
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue