I'm new to using ALSA, or at least to the internals of it. I'm trying
to create a Icecast stream encoding computer for two audio streams.
The computer as a single stereo line in, so I'm planning on feeding
each mono stream through the single stereo input. I've looked at the
asoundrc guide, but I'm not sure I understand it entirely: there's no
documentation for some things, like "ttable". Will the config below
work for splitting the stereo input in to two mono devices? Also, how
do I know what the input device name is? Is it plughw? arecord -L only
seems to list outputs. Thanks!
pcm.dshare {
type dmix
ipc_key 2048
slave {
pcm "plughw:0"
rate 44100
period_time 0
period_size 1024
buffer_size 8192
channels 2
}
bindings {
0 0
1 1
}
}
pcm.leftx {
type plug
slave {
pcm "dshare"
channels 2
}
ttable.0.0 1
}
pcm.rightx {
type plug
slave {
pcm "dshare"
channels 2
}
ttable.0.1 1
}
------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user