Help with HDMI Audio
#1
Hi all,

I need help getting HDMI audio to work. I have had it working once before so I know it's possible Smile

My HTPC machine is plugged into my TV and Amp via HDMI. Amp supports up to 7.1, and I'm setup with 5.1 speaker.

aplay -l
http://pastebin.com/8fKWKZa5

aplay -L
http://pastebin.com/hC0g1tr0

MP3 movies play fine.
AAC movies play with the front channels coming out of the rear speakers.
AC3 movies just play static

Audio Output HDMI
AC3 Capable Receiver enabled
DTS Capable Receiver enabled
Output Device HDMI
Passthrough HDMI
Reply
#2
Try setting:
Output Device: default
Passthrough: plughw:0,3

As the card appears to be on this device:
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]

That will probably get you passing through DTS/DD to the receiver - But maybe break the MP3 audio, navigational sounds - If it does, you may need to tweak the asound.conf

Also see this post: http://forum.xbmc.org/showthread.php?tid=101038 - They have the settings you're after, but are coming into the aforementioned MP3 issue.
Reply
#3
Thanks for the help.

Tried your recommended settings and I get no sounds whatsoever except static on AC3. Followed the link and added an asound.conf which gave me navigation sounds but still nothing else.

It's very frustrating dealing with sound issues all the time.

Cheers
Reply
#4
Well...I finally got it working after trying numerous combinations. Here are the settings I had to use in case it can help anybody else:

Audio Output: Analog
AC3 & DTS Capable Receiver: Both greyed out as Analog selected
Audio Output Device: Custom
Custom Audio Device: HDMI-REMAP

asound.conf
---------------------------------
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}

pcm.!remap-surround71 {
type route
slave.pcm "hw:0,3"
ttable {
0.0= 1
1.1= 1
2.4= 1
3.5= 1
4.2= 1
5.3= 1
6.6= 1
7.7= 1
}
}
----------------------------

Even though Analog is selected I get full correct surround sound. MP3 audio works fine too. Navigation sounds do not work but not too worried about that.
Reply
#5
nathanashton Wrote:Well...I finally got it working after trying numerous combinations. Here are the settings I had to use in case it can help anybody else:

Audio Output: Analog
AC3 & DTS Capable Receiver: Both greyed out as Analog selected
Audio Output Device: Custom
Custom Audio Device: HDMI-REMAP

asound.conf
---------------------------------
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}

pcm.!remap-surround71 {
type route
slave.pcm "hw:0,3"
ttable {
0.0= 1
1.1= 1
2.4= 1
3.5= 1
4.2= 1
5.3= 1
6.6= 1
7.7= 1
}
}
----------------------------

Even though Analog is selected I get full correct surround sound. MP3 audio works fine too. Navigation sounds do not work but not too worried about that.

is this doable on an Apple TV build?
Reply

Logout Mark Read Team Forum Stats Members Help
Help with HDMI Audio0