2011-12-07, 05:08
Forsaken Wrote:No I realized that the device was wrong, it should be 0 for hdmi but the result was the same, no audio.
Yes regular DTS/DD works.
aplay -D hdmi:CARD=0,DEV=0 -c8 -fs16_le -r192000 dts.spdif
aplay -LCode:**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code:hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
I just checked in code to deal with this problem in my xbmc repo. This entails adding a maxpassthroughbandwidth option to xbmc advanced settings.
You can now limit the bandwidth of high-def streams so that you'll be able to play the dts-core when your hardware doesn't support the high bandwidth requirement of dts-hd.
In ~/.xbmc/userdata add the maxpassthroughbandwidth to limit bandwidth to suitable rate for your system.
768000 is the default setting
Values to try: 48000, 192000 and 192001
48000 should always work, but will alway limit you to dts-core. 192000 and 192001 (they are equivalent in bandwidth by have different channel/frequency mappings) may work and will pass-through dts-hd. There are some dts-hd videos that will exceed this bandwidth and cause distortion.
cat ~/.xbmc/userdata/advancedsettings.xml
Code:
<advancedsettings>
<loglevel>0</loglevel>
<audio>
<errorcorrectionspeed>10</errorcorrectionspeed>
<maxpassthroughbandwidth>192000</maxpassthroughbandwidth>
</audio>
</advancedsettings>