You are not logged in.
Hey everyone,
I'm trying to get a duplicate stereo output to the rear channels of my X-Fi card, so I don't need to unplug cables to use headphones. I've had a go with the .asoundrc file, but I'm not convinced what I'm doing is correct. Just an FYI, everything is unmuted and maxed out in alsamixer. With my current setup, including the .asoundrc below, I have working stereo sound from the Front/WaveIn output.
Advanced Linux Sound Architecture Driver Version 1.0.23.
[mike@cube ~]$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
front:CARD=XFi,DEV=0
Creative X-Fi, Front/WaveIn
Front speakers
rear:CARD=XFi,DEV=0
Creative X-Fi, Surround
Rear speakers
center_lfe:CARD=XFi,DEV=0
Creative X-Fi, Center/LFE
Center and Subwoofer speakers
side:CARD=XFi,DEV=0
Creative X-Fi, Side
Side speakers
surround40:CARD=XFi,DEV=0
Creative X-Fi, Front/WaveIn
4.0 Surround output to Front and Rear speakers
surround41:CARD=XFi,DEV=0
Creative X-Fi, Front/WaveIn
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=XFi,DEV=0
Creative X-Fi, Front/WaveIn
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=XFi,DEV=0
Creative X-Fi, Front/WaveIn
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=XFi,DEV=0
Creative X-Fi, Front/WaveIn
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=XFi,DEV=0
Creative X-Fi, IEC958 Non-audio
IEC958 (S/PDIF) Digital Audio Output
front:CARD=Intel,DEV=0
HDA Intel, VT1708S Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, VT1708S Digital
IEC958 (S/PDIF) Digital Audio Output
My current attempt at an .asoundrc
pcm.!default front:XFi
pcm_slave.headphones {
pcm rear:XFi
rate 44100
}pcm.name {
type copy # Copy PCM
slave headphones # Slave name
}
Any help would be greatly appreciated!
Last edited by MikeEcho (2010-08-27 18:14:09)
Offline
Thanks for the reply. I'd already looked at quite a few of those pages, including the "Playing stereo on surround sound setup (Howto)" article. I just gave it another go using the prescribed method and it worked perfectly. I must've been doing something stupid before.
Once again, thanks for your help!
Just in case anyone else is as foolish as I, here's my .asoundrc:
pcm.!default ch40dup
pcm.ch40dup {
type route
slave.pcm surround40:XFi
slave.channels 4
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
}
Offline