[Pkg-alsa-devel] Bug#335046: .asoundrc?
Thomas Hood
jdthood at yahoo.co.uk
Tue Nov 15 18:00:57 UTC 2005
tags 335046 - unreproducible
stop
Marcel Sebek wrote:
> I investigated it a bit further and found this. Dmix uses IPC for
> communication, but there's only one IPC channel created. It can be used
> for one card, but not for more. If I change the system config file to
> have ipc_key different for each card, it works (it is terrible hack,
> nothing nice).
>
> I wonder how it can work for you. For me it seems impossible. Maybe you
> misunderstood me, I meant simultaneously playing something on both
> cards.
Ah! I didn't realize that you were playing to both simultaneously.
You do have to set the ipc_key differently for the two separate dmix
instances. You can do this by defining your own dmix plugins in
.asoundrc.
The documentation for the dmix plugin says:
ipc_key specfies the unique IPC key in integer. This number
must be unique for each different dmix definition, since
the shared memory is created with this key number. When
ipc_key_add_uid is set true, the uid value is added to the
value set in ipc_key. This will avoid the confliction of
the same IPC key with different users concurrently.
Do you think that there should be an 'ipc_key_add_card' option too?
--
Thomas
More information about the Pkg-alsa-devel
mailing list