EvanL
August 25th, 2006, 05:25 AM
Note: Scroll down to post #3 for a much better way to do this.
Finally figured out how to get 4-channel output from RhythmBox for MP3 Playback. This HOWTO is for ICH8x0 AC'97 cards, although it may work for other sound systems. Basically, YMMV.
1) Create a .asoundrc file in your home directory.
gedit ~/.asoundrc
2) Copy the configuration from this thread (http://www.ubuntuforums.org/showthread.php?t=167986&highlight=.asoundrc+xmms) into the new file.
pcm.ch40dup {
type route
slave.pcm surround40
slave.channels 4
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
pcm.ch51dup {
type route
slave.pcm surround51
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
3) Run gstreamer-properties
gstreamer-properties
4) Under "Default Output Plugin," choose "Custom" then enter the following line in your Pipeline input box.
alsasink device=ch40dup
5) That's it! Test RhythmBox to make sure it works!
Note that entering alsasink device=ch51dup should work for 5.1 systems, but I don't have a 5.1 system to test it on, so that one's up to you.
An interesting note is that the alsamixer slider volume control for surround doesn't work, but the surround mute function does work.
Finally figured out how to get 4-channel output from RhythmBox for MP3 Playback. This HOWTO is for ICH8x0 AC'97 cards, although it may work for other sound systems. Basically, YMMV.
1) Create a .asoundrc file in your home directory.
gedit ~/.asoundrc
2) Copy the configuration from this thread (http://www.ubuntuforums.org/showthread.php?t=167986&highlight=.asoundrc+xmms) into the new file.
pcm.ch40dup {
type route
slave.pcm surround40
slave.channels 4
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
pcm.ch51dup {
type route
slave.pcm surround51
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
3) Run gstreamer-properties
gstreamer-properties
4) Under "Default Output Plugin," choose "Custom" then enter the following line in your Pipeline input box.
alsasink device=ch40dup
5) That's it! Test RhythmBox to make sure it works!
Note that entering alsasink device=ch51dup should work for 5.1 systems, but I don't have a 5.1 system to test it on, so that one's up to you.
An interesting note is that the alsamixer slider volume control for surround doesn't work, but the surround mute function does work.