Hi guys.
Just wanted to say thanks! I have been struggling for a while trying to find a solution for the mapping problems I was having with 5.1 AAC movie files.
After reading through 32 pages of this thread last night I bit the bullet and decided to have a tinker.
I replaced my asound.conf with the file here and uploaded the HDA-Intel.conf which solved the mapping problem.
This was great but my Revo and the existing asound.conf was set up to output to both HDMI and Analog at the same time. (I have my Onkyo Amp running Zone2 speakers which require analog input)
So I went through and made the relevant changes to the ttables on that asound.conf, replaced the 7.1surround references in the HDA-Intel.conf to xbmc (which is the name of my device)
So this appears to have worked on all fronts as my outdoor speakers still work, and the dialogue of my 5.1 AAC movies is actually coming out of the centre speaker.
Here is a copy of the files in case any one else would like a similar set up.
Asound.conf.
Code:
# ---------------------------------------------------------------------
# Hardware - do not use directly
# ---------------------------------------------------------------------
pcm.analog-hw {
type hw
card 0
device 0
}
ctl.analog-hw {
type hw
card 0
}
# ---------------------------------------------------------------------
pcm.digital-hw {
type hw
card 0
device 3
}
ctl.digital-hw {
type hw
card 0
}
# -----------------------------------------------------------------------
#pcm.spdif-hw {
# type hw
# card 0
# device 1
#}
#ctl.spdif-hw {
# type hw
# card 0
#}
# -------------------------------------------------------------------------
pcm.dmix-analog {
type dmix
ipc_key 1234
slave {
pcm "analog-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}
ctl.dmix-analog {
type hw
card 0
}
# -------------------------------------------------------------------------
pcm.dmix-digital {
type dmix
ipc_key 1235
slave {
pcm "digital-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}
ctl.dmix-digital {
type hw
card 0
}
# ---------------------------------------------------------------------------
# Interfaces to Use
# --------------------------------------------------------------------------
pcm.digital-pcm AC3encode
# --------------------------------------------------------------------------
pcm.analog {
type plug
slave.pcm "analog-hw"
hint {
show on
description "Analog Output - Use analog outputs, converting samples, format, and rate as necessary."
}
}
ctl.analog {
type hw
card 0
}
# -----------------------------------------------------------------------------
pcm.mixed-analog {
type plug
slave.pcm "dmix-analog"
hint {
show on
description "Mixed Analog Output - Use analog outputs, converting samples, format, and rate as necessary. Allows mixing with system sounds."
}
}
ctl.mixed-analog {
type hw
card 0
}
# --------------------------------------------------------------------------------
pcm.digital {
type plug
slave.pcm "digital-hw"
hint {
show on
description "Digital Output (HDMI) - Use digital outputs, converting samples, format, and rate as necessary."
}
}
ctl.digital {
type hw
card 0
}
# ----------------------------------------------------------------------------------
pcm.mixed-digital {
type plug
slave.pcm "dmix-digital"
hint {
show on
description "Mixed Digital Output - Use digital outputs, converting samples, format, and rate as necessary. Allows mixing with system sounds."
}
}
ctl.mixed-digital {
type hw
card 0
}
pcm.AC3encode {
type a52
bitrate 448
channels 6
}
# ---------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# provide a default -for system sounds ??
pcm.!default {
type plug
slave {
pcm multi
rate 48000
}
# Analog Output downmix to 2 channel
ttable.0.0 1.0
ttable.1.1 1.0
ttable.2.0 0.7
ttable.3.1 0.7
ttable.4.0 0.7
ttable.4.1 0.7
ttable.5.0 0.5
ttable.5.1 0.5
# HDMI 6 Channel
ttable.0.2 1.0 # FL -> FL
ttable.1.3 1.0 # FR -> FR
ttable.2.6 1.0 # RL -> RL
ttable.3.7 1.0 # RR -> RR
ttable.4.4 1.0 # C -> C
ttable.5.5 1.0 # LFE ->LFE
# Sdif 6 Channel
#ttable.0.8 1.0
#ttable.1.9 1.0
#ttable.2.10 1.0
#ttable.3.11 1.0
#ttable.4.12 1.0
#ttable.5.13 1.0
}
ctl.!default {
type hw
card 0
}
pcm.xbmc {
type plug
slave {
pcm multi
rate 48000
channels 8
}
# Analog Output downmix to 2 channel
ttable.0.0 1.0
ttable.1.1 1.0
ttable.2.0 0.7
ttable.3.1 0.7
ttable.4.0 0.7
ttable.4.1 0.7
ttable.5.0 0.5
ttable.5.1 0.5
# HDMI 6 Channel
ttable.0.2 1.0 # FL -> FL
ttable.1.3 1.0 # FR -> FR
ttable.2.6 1.0 # RL -> RL
ttable.3.7 1.0 # RR -> RR
ttable.4.4 1.0 # C -> C
ttable.5.5 1.0 # LFE ->LFE
# Sdif 6 Channel
#ttable.0.8 1.0
#ttable.1.9 1.0
#ttable.2.10 1.0
#ttable.3.11 1.0
#table.4.12 1.0
#ttable.5.13 1.0
hint {
show on
description "XBMC device for analog 2 channel and hdmi 6 channel - spdif ac3 upto 6 channels"
}
}
ctl.xbmc {
type hw
card 0
}
pcm.multi {
type multi
slaves.a.pcm "analog-hw"
slaves.a.channels 2
slaves.b.pcm "digital-hw"
slaves.b.channels 6
#slaves.c.pcm "spdif-pcm"
#slaves.c.channels 6
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
#Hdmi Bindings 6 Channels
bindings.2.slave b
bindings.2.channel 0 # FL
bindings.3.slave b
bindings.3.channel 1 # FR
bindings.4.slave b
bindings.4.channel 2 # RL
bindings.5.slave b
bindings.5.channel 3 # RR
bindings.6.slave b
bindings.6.channel 4 # C
bindings.7.slave b
bindings.7.channel 5 # LFE
#Spdif Bindings 6 Channels
# bindings.8.slave c
# bindings.8.channel 0
#bindings.9.slave c
#bindings.9.channel 1
#bindings.10.slave c
#bindings.10.channel 2
#bindings.11.slave c
#bindings.11.channel 3
#bindings.12.slave c
#bindings.12.channel 4
#bindings.13.slave c
#bindings.13.channel 5
}
ctl.multi {
type hw
card 0
}
I was going to upload the HD-Intel.conf file as well but apparently my post is too long! All you need to do is find and replace in notepad.
Anyway I am not sure that all the coding is 100% right as I have no idea about linux so I have just tried to modify files I found through the forum.
I guess if anyone sees anything that is wrong please let me know.
Thanks again guys!