simultaneous sound on spif and hdmi
#1
Hi together,

first let me say " Sorry for my bad english" I hope you all understood what i will ask ?

I have found many threads with the question how could i get sound over hdmi or sound over spif. But no thread where i could find help with ac3 and dts sound over spif and simultaneous ac3 and dts downmix over hdmi to my tv. Downmix because my tv couldn´t play DTS sound.

I´m a total windows user, but XBMC runs smoother under linux with my Zotac ND22. So i installed a german project called Ztreambox (http://www.ztreambox.org).

All runs very fine, but only the sound makes me trouble.

if i make aplay - l i become the following:

Karte 0: NVidia [HDA NVidia], Gerät 0: ALC888 Analog [ALC888 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 1: ALC888 Digital [ALC888 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0

then i have found an .asoundrs with the following :

Quote:pcm.both
{
type route
slave
{
pcm multi
channels 6
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
ttable.0.4 1.0
ttable.1.5 1.0
}

pcm.multi
{
type multi
slaves.a
{
pcm "hdmi_hw"
channels 2
}
slaves.b
{
pcm "digital_hw"
channels 2
}
slaves.c
{
pcm "analog_hw"
channels 2
}
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
bindings.4.slave c
bindings.4.channel 0
bindings.5.slave c
bindings.5.channel 1
}

pcm.hdmi_hw
{
type hw
card 1
device 3
channels 2
}

pcm.hdmi_formatted
{
type plug
slave
{
pcm hdmi_hw
rate 48000
channels 2
}
}

pcm.hdmi_complete
{
type softvol
slave.pcm hdmi_formatted
control.name hdmi_volume
control.card 1
}

pcm.digital_hw
{
type hw
card 0
device 1
channels 2
}

pcm.analog_hw
{
type hw
card 0
device 0
channels 2
}


with this .asoundrc and the xbmc settings on both outputs to custom (user-defined) "plug:both" i have sound on the av receiver over spif and on the tv over hdmi. But only ac3 no dts. Because my tv could no dts audio. I need to downmix the dts audio. If i switch in the xbmc system audio settings the point dts capable receiver to off. Then all sound will come as AC3 audio to my receiver. I hope you understand what i will say. The DTS Audio plays as AC3 Audio. I dont know if this is a problem in the sound quality.

Could anyone help me with my problem so that i have ac3 and dts audio over spif to my av receiver and simultaneous a ac3 and dts downmix over hdmi to my tv ?

Background is that i watch my movies over a beamer and so the sound comes over the av receiver, but when my childrens watch there movies the watch over the tv. So i need the ac3 and dts audio over the tv.

Hope that anyone could help me.

Thanks

Greets
Eisi
Reply
#2
Hi

i ve been looking for a way to achieve this for a long time now but i didnt succeed No

The only solution i found is to create 2 profiles on xbmc:

-1 with sound over spdif
-1 with sound on TV

This way, when XBMC starts, i can choose whether i want to have the sound on the tv or the receiver, without changing the settings every time.

I hope this can helps you.

By the way, if you find a solution one day, please let me know Big Grin

Cheers
Reply

Logout Mark Read Team Forum Stats Members Help
simultaneous sound on spif and hdmi0