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 version : 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
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to