Subject: Re: [linux-audio-user] Is there no way to split L+R channels for ALSA applications?
From: Clemens Ladisch (clemens_AT_ladisch.de)
Date: Thu Apr 29 2004 - 12:32:49 EEST
Malcolm Baldridge wrote:
> a way to specify just one channel of a given output device, i.e.,
> just the LEFT channel or the RIGHT channel of the main PCM output
> device.
pcm.left {
type plug
slave.pcm "hw:0"
slave.channels 2
ttable.0.0 1
}
pcm.right {
type plug
slave.pcm "hw:0"
slave.channels 2
ttable.0.1 1
}
If you want to use both devices at the same time, you have to use the
dshare plugin:
pcm.shared_left {
type plug
slave.pcm {
type dshare
ipc_key 123456
slave.pcm "hw:0"
slave.channels 2
bindings.0 0
}
}
pcm.shared_right {
type plug
slave.pcm {
type dshare
ipc_key 123456
slave.pcm "hw:0"
slave.channels 2
bindings.0 1
}
}
HTH
Clemens
This archive was generated by hypermail 2b28 : Thu Apr 29 2004 - 12:27:14 EEST