alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [DMIX Plugin] Using Different bindings for same Alsa card
@ 2020-07-15 13:07 Vijay Palaniswamy (RBEI/ECF3)
  0 siblings, 0 replies; only message in thread
From: Vijay Palaniswamy (RBEI/ECF3) @ 2020-07-15 13:07 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-15 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-15 13:07 [DMIX Plugin] Using Different bindings for same Alsa card Vijay Palaniswamy (RBEI/ECF3)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).