Hello,
I already tried to find help in IRC but I had no luck there.
What I want to do is the following:
I have 5.1 sound system which I want to use. Most of the files I want to
play just are stereo. So I need upmix to 5.1. I've already tried a lot
of .asoundrc configurations and I think I understood how they work. As
far as I understood it, I need an upmix to 5.1 and a 6 channel dmixer.
So I thought it must look like this:
# 6 channel dmix:
pcm.dmix6 {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,0"
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 5120
}
}
# upmixing:
pcm.ch51dup {
type route
slave.pcm dmix6
slave.channels 6
ttable.0.0 0.5
ttable.1.1 0.5
ttable.0.2 0.5
ttable.1.3 0.5
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
pcm.duplex {
type asym
playback.pcm "ch51dup" # upmix first
capture.pcm "hw:0"
}
# change default device:
pcm.!default {
type plug
slave.pcm "duplex"
}
If I run aplay now to play something it returns me this error:
ALSA lib pcm_params.c:2150:(snd1_pcm_hw_refine_slave) Slave PCM not usable
aplay: set_params:1031: invalid configuration for this device: no
suppported configuration
Any ideas?
------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user