XBMC Community Forum
[PATCH] Dual Audio Output support for XBMC (Eden Updated) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [PATCH] Dual Audio Output support for XBMC (Eden Updated) (/showthread.php?tid=86038)



- imaxst - 2011-02-12 15:53

Thanks. Installed on Revo 3610 and now have audio to TV2 via HDMI and optical to AV amp. Worked first time.


- nessus - 2011-02-12 17:41

After some more testing with more different files i've change the settings from this post to the following :


FIRST AUDIO OUTPUT
Audio Output : Analog
Speakers Configuration : 2.0 Channels
Audio Output Device : Direct Sound Speakers

SECOND AUDIO OUTPUT
Audio Output : Optical/Coax
Speakers Configuration : 7.1 Channels
Audio Output Device : Direct Sound Digital


The system setup is :

SYSTEM SETUP
XBMC Dharma 10.0 Final (r35647)
Windows 7 Ultimate 32bit
Realtek High Definition Audio (integrated)
Nvidia 8600GT

Two things you must have in mind (at least for my kind of setup). First, always set the FIRST AUDIO OUTPUT as Analog and the SECOND AUDIO OUTPUT as digital. And second, always set Optical/Coax for Digital Audio Output even if you use HDMI connection (is working fine). If you use HDMI for some reason some files like mkv + AAC 5.1, they are not working or the sound is dual stereo.

So.... with these setting all the files with different audio codec's (MP3, AC3 2.0 & 5.1, AAC 2.0 & 5.1, DTS 5.1 & 7.1) are working fine. Finally, keep in mind that all of my tests are done with maximum 720p (avi & mkv in high or low bit rates) content (i don't have any 1080p material) and the DVXA2 was working fine. No stuttering at all.

Hope this helps

Cheers
Nessus


- Eisi2005 - 2011-02-16 15:52

Hi,

what a great Fix. It work very nice for me. One only little little bug. When i enable the second audio output and then skip a chapter in the movie it take a few seconds ( 1-2) to hear audio again and the picture is shuttering. When i disable the second audio output all works very nice when i skip a chapter the movie and audio is immediately there.

Normal or could you fix that ?

Greets

Eisi

O/S Win7 32Bit


- tudstudent - 2011-02-20 09:22

Is there an idea when this feature can be found in the first SVN?
And later of course in the package


- darkscout - 2011-02-20 10:32

It never will be.

This is the perfect example of:
Users: "We want this feature"
Devs: "Give a patch"
Users: "Ok, here's a patch"
Devs: "Um, nevermind, fuck off"


- tudstudent - 2011-02-20 11:31

Why not?
May be it is already answered, but did I mis the post!


- darkscout - 2011-02-20 18:38

Quote:Changed 3 months ago by gnif

While I appreciate the effort you have gone to, this patch will not make it into trunk simply because the audio layer is going to be ripped out and replaced with the system that is under development in the AudioEngine branch.

If you would like this feature please develop against AE, but be aware that AE is a moving target at the moment.

http://forum.xbmc.org/showpost.php?p=716662&postcount=187


- jbernardo - 2011-02-20 19:36

Doh... How can I explain to this guy that I want to be able to output to my TV and my sound system simultaneously?
BTW, your first description is very appropriate, darkscout. It is indeed a perfect example.


- Discaciate - 2011-02-21 15:40

Thanks for this PATCH.
It's a huge life saver for me.


- darkscout - 2011-02-21 20:45

jbernardo Wrote:Doh... How can I explain to this guy that I want to be able to output to my TV and my sound system simultaneously?
BTW, your first description is very appropriate, darkscout. It is indeed a perfect example.

I understand how hard it is to 'sync'. But within a certain amount of time, my brain can't tell the difference. Heck, THIS proves it can be done. There are numerous times I've done both my TV and stereo and you can't tell there is an echo. That's SPDIF passthrough and AC-3 decoding to analog for HDMI and it's still not noticeable.

xhbl, have you looked at the AudioEngine branch and see if you can work your magic on it?