2009-11-02, 21:23
Unfortunately i've lost my original asound.conf file, can onyone post here the content of the original one included with XBMC live? i need to get SPDIF output working again...
regards,
regards,
xbmc@xbmc:~$ cat asoundrc.live.orig
# Linux has channel order
# FL, FR, SL, SR, C, LFE
# so we remap all channelorders to this
# Windows - FL, FR, C, LFE, BL, BR, (FLC, FRC, BC, SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR)
pcm.xbmc_win51 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type route
slave {
pcm $SLAVE
channels 6
}
ttable {
0.0= 1
1.1= 1
2.4= 1
3.5= 1
4.2= 1
5.3= 1
}
}
pcm.xbmc_win50 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type route
slave {
pcm $SLAVE
channels 5
}
ttable {
0.0= 1
1.1= 1
2.4= 1
3.2= 1
4.3= 1
}
}
# FL, C, FR, SL, SR, LFE
pcm.xbmc_ogg51 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type route
slave {
pcm $SLAVE
channels 6
}
ttable {
0.0= 1
1.4= 1
2.1= 1
3.2= 1
4.3= 1
5.5= 1
}
}
pcm.xbmc_ogg50 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type route
slave {
pcm $SLAVE
channels 5
}
ttable {
0.0= 1
1.4= 1
2.1= 1
3.2= 1
4.3= 1
}
}
# C, FL, FR, SL, SR, LFE
pcm.xbmc_aac51 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type route
slave {
pcm $SLAVE
channels 6
}
ttable {
0.4= 1
1.0= 1
2.1= 1
3.2= 1
4.3= 1
5.5= 1
}
}
pcm.xbmc_aac50 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type route
slave {
pcm $SLAVE
channels 6
}
ttable {
0.4= 1
1.0= 1
2.1= 1
3.2= 1
4.3= 1
}
}
# this could potentially be used to encode multichannels
# to ac3 for passthrough out an spdif
pcm.xbmc_a52encode {
type a52
}
# downmixing to 2 channels
pcm.xbmc_51to2 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type plug
slave.pcm $SLAVE
slave.channels 2
route_policy duplicate
ttable.0.0 1 # front left speaker
ttable.1.1 1 # front right speaker
ttable.2.0 0.7 # rear left speaker
ttable.3.1 0.7 # rear right speaker
ttable.4.0 0.7 # center to left mapping
ttable.4.1 0.7 # center to right mapping
ttable.5.0 0.5 # LFE (base) to left mapping
ttable.5.1 0.5 # LFE to right mapping
}
# downmixing to 2 channels
pcm.xbmc_50to2 {
@args.0 SLAVE
@args.SLAVE {
type string
default "default"
}
type plug
slave.pcm $SLAVE
slave.channels 2
route_policy duplicate
ttable.0.0 1 # front left speaker
ttable.1.1 1 # front right speaker
ttable.2.0 0.7 # rear left speaker
ttable.3.1 0.7 # rear right speaker
ttable.4.0 0.7 # center to left mapping
ttable.4.1 0.7 # center to right mapping
}
fidoboy Wrote:I already have alsa 1.0.21 installed. If i delete asound.conf then i get no stereo sound (only 5.1 sound) and also no navigation sounds...