[DMIX Plugin] Using Different bindings for same Alsa card
Vijay Palaniswamy (RBEI/ECF3)
Vijay.Palaniswamy at in.bosch.com
Wed Jul 15 15:07:20 CEST 2020
Hi All,
I have two virtual device pointing to same Alsa card ,with different bindings
When audio played on both device [dmix_4_channels and dmix_2_channels] in parallel. Audio played on dmix_2_channels is getting corrupted.
Validated with alsa versio : 1.2.3
Please let me know how to make it work with below configuration.
Alsa configuration used for testing:
*************************************************
pcm.dmix_4_channels {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio
bindings [0 1 2 3]
slave {
pcm "hardware"
channels 4
periods 4
period_time 40000
}
}
pcm.dmix_2_channels {
type dmix
ipc_key 5678293
ipc_perm 0660
ipc_gid audio
bindings [0 1]
slave {
pcm "hardware"
channels 2
periods 4
period_time 40000
}
}
pcm.hardware {
type hw
card 0
channels 4
rate 48000
format S16_LE
}
*************************************************
Best regards
Palaniswamy Vijay
More information about the Alsa-devel
mailing list