An .asoundrc for ice1712
It took me quite a while to figure enough of the .asoundrc format to do what I wanted - bundle 2 channels into 1 stereo channel for use with my receiver and my headphones. Therefore, I have put in on this page for you to use/get inspired from.
pcm.mix {
type dmix
ipc_key 75942365
ipc_key_add_uid true
slave {
pcm "hw:0"
format S32_LE
rate 48000
period_time 0
period_size 1024
buffer_size 4096
}
}
pcm_slave.default {
type plug
slave.pcm mix
slave.format S32_LE
}
pcm.all {
type plug
slave.pcm "default"
slave.channels 8
route_policy duplicate
}
pcm.headphones {
type route
slave.pcm "default"
slave.channels 8
ttable.0.2 1
ttable.1.3 1
}
pcm.hifi {
type route
slave.pcm "default"
slave.channels 8
ttable.0.0 1
ttable.1.1 1
}
pcm.snd_card {
type hw
card 0
}
pcm.samplerate48k {
type plug
slave {
pcm snd_card
format S32_LE
rate 48000
}
}
pcm.room1 {
type route
slave.pcm "samplerate48k"
slave.channels 8
ttable.0.0 1
ttable.0.1 1
}
pcm.room2 {
type route
slave.pcm "samplerate48k"
slave.channels 8
ttable.0.2 1
ttable.1.3 1
}
So feel free to use this config or any variants you might create and please forward then to me so I may learn from them.
Keywords: Advanced Linux Sound Architecture, Envy24, M-Audio, snd_ice1712, route, dmix

