Custom and multiple sound output (HDMI 2.0 + OPTICAL5.1 and DTS + ANALOG 2.0)
#1
Hello people, a search my problem but no find some solution for me, a few months i configure my new ZBOX ID41 to run with XBMCLive, and this is fine, i have the problems with the sound over HDMI, but the forum and the site help me.


My Hardware have 3 sound outputs,
HDMI, OPTICAL and Analog P2


I want to run the sound over all the sound output of my device, i seash on forum e i make the sound output in all outputs. (HDMI, OPTICAL and ANALOG FRONT)

I use the asound.conf of "asound.conf_double-xs35gt.sample" whit no modifications
I confiogure the audio setting like this topic says:
www.openelec.tv/forum/14-general-help-an...box-ad02-hdmioptical

Work fine, all the outputs have sound, but have a problem


My TV only support 2.0 sound and if i play DTS, i have a strange noise.
I have one receiver with DTS and 5.1 support
And have some stereo phones


So i want toh bind and configure my Alsa toh each output and make they a multiple sound


HDMI -> 2.0, DTS off and AC3 off (decoded and downmixed)
ANALOG -> 2.0, DTS off and AC3 off (decoded and downmixed)
OPTICAL -> 5.1, DTS on and AC3 on (passedthrough)

And i want they 3 play simultaneously in multiple sound.


Whenever I change the file asound.config, a make some crap.

Can anyone help to make this, it is possibleHuh





My Aplay

root ~ # aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0


root ~ # aplay -L
Code:
null
Discard all samples (playback) or generate zero samples (capture)
front:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output

My asound.confwhen i use pcm.both, i have multiple sound
Code:
pcm.!default {
type plug
slave {
pcm both
}
}

pcm.both {
type route
slave {
pcm multi
channels 4
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}

pcm.multi {
type multi
slaves.a {
pcm tv
channels 2
}
slaves.b {
pcm receiver
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
}

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

pcm.tv {
type hw
card 1
device 7
channels 2
}

PS: Sorry abount my english!
Reply
#2
There is a patch for Dharma that enables dual audio output and allows you to select the output format for a specific audio output. The author has said that they will update it for Eden once its released. I have read that its possible to achieve what you want through ascound.conf but there are some limitations. Please post any progress that you make here as this is one feature I really want in xbmc but I would rather have it done on a system level as the xbmc devs have said that this kind of functionality will never be part of xbmc.

EDIT: Pulse audio allows you to output to multiple outputs but Ive never tried it..
Reply
#3
(2012-03-16, 04:21)teeedubb Wrote: There is a patch for Dharma that enables dual audio output and allows you to select the output format for a specific audio output. The author has said that they will update it for Eden once its released. I have read that its possible to achieve what you want through ascound.conf but there are some limitations. Please post any progress that you make here as this is one feature I really want in xbmc but I would rather have it done on a system level as the xbmc devs have said that this kind of functionality will never be part of xbmc.

EDIT: Pulse audio allows you to output to multiple outputs but Ive never tried it..

Hello, you have a link or a website about this patchHuh
Dual Audio for me is fine, i make the analog out of the game.


The multiple output i do, but only i the same format, what make a noise in htmi e analog when i put 5.1 and DTS
Reply
#4
http://forum.xbmc.org/showthread.php?tid=86038

Your getting the strange noise because your TV doesn't support dts.
Reply
#5
Some one have and solution?

Jus a dual audio for Eden just fine.............i will
Reply
#6
virtual audio cable;
http://software.muzychenko.net/eng/vac.htm
$25 should do the trick for up to 4 audio outputs
Reply

Logout Mark Read Team Forum Stats Members Help
Custom and multiple sound output (HDMI 2.0 + OPTICAL5.1 and DTS + ANALOG 2.0)0