Nathan Allworth wrote: > Hi I recently setup sound card in alsa on fedora core > 1, however it only outputs to my front two speakers
> I've been playing around a checking out different sites and one > suggested that I can setup two sound cards to be multi channel. > > pcm.multi { > type multi; > ... > } > > pcm.ttable { > type route; > slave.pcm "multi"; > ttable.0.0 1; > ttable.1.1 1; > ttable.2.2 1; > ttable.3.3 1; > ttable.4.4 1; #subwoofer > } > > So I used alsaplayer to test it, here's what it spit > out. I recieve the same BS with "-d ttable". > > $ alsaplayer -d multi > error on set_channels (2) > Unavailable hw params: > CHANNELS: 5 Your 'ttable' device has 5 channels. To get 2 channels, use a different routing: pcm.stereo_to_5 { type route slave.pcm multi ttable.0.0 1 # L -> front L ttable.1.1 1 # R -> front R ttable.0.2 1 # L -> rear L ttable.1.3 1 # R -> rear R ttable.0.4 0.5 # L -> 50% LFE ttable.1.4 0.5 # R -> 50% LFE } > When only executing alsaplayer without first passing any terminal > arguements it defaults to whatever is default (duh! :P ) The default device happens to be named "default". :-) You can redefine its default definition like this: pcm.!default = pcm.stereo_to_5 HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user