Joe Nahmias wrote: > I have my custom HTPC hooked up to my receiver using HDMI for both audio > and video. Through some trial and error, I managed to find the correct > invocation to give me 5.1-channel sound using speaker-test: > > $ speaker-test -c 6 -D hdmi:0,1 -t wav > > I would like to know how to configure alsa (? using /etc/asound.conf ?) so > that all apps use the correct device by default Try these entries: defaults { ctl.card PCH pcm.card PCH pcm.device 7 } > with a 5.1 speaker setup. Usually, you should configure the receiver to expand audio data to 5.1 channels. If you really want to force the PC to do this, ensure that you have the alsa-plugins package installed, and try this instead: pcm.!default { type plug slave.pcm { type upmix slave.pcm { type hw card PCH device 7 } channels 6 } } Regards, Clemens ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user