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

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

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - 2tonesp - 2013-04-03

Multiple HDMI outputs are not the problem for most people. It's getting analog audio to zone 2/3. I wouldn't hesitate to buy a new receiver, but I'm not aware of any receiver that has D to A convertors for Zone 2 and 3.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - thica - 2013-04-04

(2013-04-03, 17:43)2tonesp Wrote: Multiple HDMI outputs are not the problem for most people. It's getting analog audio to zone 2/3. I wouldn't hesitate to buy a new receiver, but I'm not aware of any receiver that has D to A convertors for Zone 2 and 3.

As far as I am aware, this is not possible at all due to copyright protection on the digital HDMI audio signal


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - TechGuy98 - 2013-04-05

I think this might work;

I have never tried this, but I have a similar problem, I want to output to my headphones and speakers at the same time. Also apparently you could do this in Windows Xp, but Microsoft removed this in later versions of windows. My solution: Make your higher-quality source the default, then get a hub of some sort for that output, probably 10-15$ online, then get an adapter to what other source you use, and hook the other source up to the adapter, probably 5-10$ online, and hook up the other source to the adapter, and because it hooks up to the higher quality output, any loss in quality won't be very noticeable, then hook those up to their corresponding places. I'm not sure if this works, but please try it and reply. The other option would be to download/create a third party program, but don’t use Virtual Audio Cable, because I have heard it doesn’t work. I hope this works.

VAC doesn't work, and costs money.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - noner - 2013-04-10

(2013-04-05, 19:06)TechGuy98 Wrote: <snip>
...but don’t use Virtual Audio Cable, because I have heard it doesn’t work. I hope this works.

VAC doesn't work, and costs money.

VAC works just fine... I'm using it. Yes its not for free, but I don't mind paying for it... the developer has worked hard on the software and deserves to be compensated for his work if thats what he wants...

I really wish people would stop making statements like this that something does not work if they are unable to figure out how to make it work... the software works just fine.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - GCMX - 2013-04-11

I hope this helps some people. I'm pretty sure my setup and what I'm trying to achieve must be pretty common. I hope its not specific to my hardware.

I have 2 independent zones on my AV receiver. Zone 1 audio is 5.1 from my video card's HDMI port. Zone 2 can only receive analogue and is hooked up to a pair of outdoor stereo speakers. Zone 2 is only used for stereo music, not 5.1 video. The way I use it is if zone 2 is playing then, zone 1 is either muted or is playing the same thing as zone 2. I haven't tried playing something different on zones 1 and 2 using two instances of XBMC or another media program. I can't see why what I describe below wouldn't work for that, but then again I can't really work out why it does work in the first place. This would also work for anyone that wants simultaneous stereo headphones and 5.1 output.

The Windows dual audio build of Eden works fine, however, I find DTS doesn't sound as good as it should and I'd hoped Frodo would improve it. I got sick of waiting for a Frodo build with dual audio so I did a little tinkering.

I've found I can get dual audio in Eden (I haven't tested Frodo yet, but it should work) without using the dual audio options if I plug my front (headphone) audio port into zone 2 using a 3.5mm to stereo RCA adapter cable and set headphones as the default output device in windows (it only shows up if something is plugged in), then go into to XBMC audio settings and set my video card's HDMI and 5.1 as the output device. I'm using WASPI (following the XBMC WASPI audio engine guide) and everything seems to work fine outputting simultaneous stereo to zone 1 and 2. Zone 1 outputs 5.1 surround for movies. For some reason if I unplug the headphone port, the sound on zone 1 becomes garbled, no idea why but I just leave it plugged in and everything is fine.

I'm not sure why this works (all my research tells me it shouldn't). It may be do with the fact that I'm using onboard sound and a separate video card, but I would have thought that was pretty common. My guess is its something to do with the way windows mutes speakers when you plug in headphones and XBMC is overriding it. Not sure if it would work with onboard HDMI video or in linux.

I really hope this helps some people. I'm going to try Frodo this weekend and will post back if something doesn't work or if I have to make some changes.

Addendum: I bought one of those HDMI2HDMI+Audio things mentioned a few pages back off ebay. I couldn't get any sound out of the 3.5mm port and it made windows, XBMC and my AV receiver detect HDMI as stereo only (which might be fine for some people with purely stereo setups but not what I was looking for). So I cannot recommend them for a 5.1 setup.

Edit: spelling


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - XenoPhoenix - 2013-04-12

(2013-04-11, 04:59)GCMX Wrote: I hope this helps some people. I'm pretty sure my setup and what I'm trying to achieve must be pretty common. I hope its not specific to my hardware.

I have 2 independent zones on my AV receiver. Zone 1 audio is 5.1 from my video card's HDMI port. Zone 2 can only receive analogue and is hooked up to a pair of outdoor stereo speakers. Zone 2 is only used for stereo music, not 5.1 video. The way I use it is if zone 2 is playing then, zone 1 is either muted or is playing the same thing as zone 2. I haven't tried playing something different on zones 1 and 2 using two instances of XBMC or another media program. I can't see why what I describe below wouldn't work for that, but then again I can't really work out why it does work in the first place. This would also work for anyone that wants simultaneous stereo headphones and 5.1 output.

The Windows dual audio build of Eden works fine, however, I find DTS doesn't sound as good as it should and I'd hoped Frodo would improve it. I got sick of waiting for a Frodo build with dual audio so I did a little tinkering.

I've found I can get dual audio in Eden (I haven't tested Frodo yet, but it should work) without using the dual audio options if I plug my front (headphone) audio port into zone 2 using a 3.5mm to stereo RCA adapter cable and set headphones as the default output device in windows (it only shows up if something is plugged in), then go into to XBMC audio settings and set my video card's HDMI and 5.1 as the output device. I'm using WASPI (following the XBMC WASPI audio engine guide) and everything seems to work fine outputting simultaneous stereo to zone 1 and 2. Zone 1 outputs 5.1 surround for movies. For some reason if I unplug the headphone port, the sound on zone 1 becomes garbled, no idea why but I just leave it plugged in and everything is fine.

I'm not sure why this works (all my research tells me it shouldn't). It may be do with the fact that I'm using onboard sound and a separate video card, but I would have thought that was pretty common. My guess is its something to do with the way windows mutes speakers when you plug in headphones and XBMC is overriding it. Not sure if it would work with onboard HDMI video or in linux.

I really hope this helps some people. I'm going to try Frodo this weekend and will post back if something doesn't work or if I have to make some changes.

Addendum: I bought one of those HDMI2HDMI+Audio things mentioned a few pages back off ebay. I couldn't get any sound out of the 3.5mm port and it made windows, XBMC and my AV receiver detect HDMI as stereo only (which might be fine for some people with purely stereo setups but not what I was looking for). So I cannot recommend them for a 5.1 setup.

Edit: spelling

You have exactly the same setup as me, (Onkyo AV Receiver per chance? Wink ). The problem with those HDMI audio extractors is that they are only going to work for 2 channel PCM audio. Unless you get one with full decoding support for DTS etc, it's probably not going to fulfill what we need.

I does seem that the best solution is to have XBMC do it internally as that way it can pass DTS pass-through audio to the digital output and decode and down mix for stereo to the analogue. Anything else I think is just going to be hacky / expensive.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - GCMX - 2013-04-13

(2013-04-12, 15:47)XenoPhoenix Wrote: You have exactly the same setup as me, (Onkyo AV Receiver per chance? Wink ).

Pioneer

(2013-04-12, 15:47)XenoPhoenix Wrote: The problem with those HDMI audio extractors is that they are only going to work for 2 channel PCM audio. Unless you get one with full decoding support for DTS etc, it's probably not going to fulfill what we need.

Yeah, I know that now, wish I had of known before I bought it. I couldn't find a lot of info about them at the time.

(2013-04-12, 15:47)XenoPhoenix Wrote: I does seem that the best solution is to have XBMC do it internally as that way it can pass DTS pass-through audio to the digital output and decode and down mix for stereo to the analogue. Anything else I think is just going to be hacky / expensive.

I agree that would be ideal but unfortunately it doesn't look like its going to happen officially. In the meantime, the above method works for me.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - XenoPhoenix - 2013-04-15

(2013-04-13, 02:39)GCMX Wrote: I agree that would be ideal but unfortunately it doesn't look like its going to happen officially. In the meantime, the above method works for me.

My setup is using Linux so I suspect that trick will not work for me. With your setup, are you using DTS etc. pass-through or are you having XBMC decode the audio? I presume you must have pass-through disabled for what your doing to work.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - GCMX - 2013-04-16

(2013-04-15, 16:44)XenoPhoenix Wrote: My setup is using Linux so I suspect that trick will not work for me.

I don't know, it seems unlikely but its easy enough to try it out. It could be a hardware thing related to the onboard sound front headers I suppose.

(2013-04-15, 16:44)XenoPhoenix Wrote: With your setup, are you using DTS etc. pass-through or are you having XBMC decode the audio? I presume you must have pass-through disabled for what your doing to work.

Yeah I'm using pass-through (at least I think its set up properly) and I've now tested in Frodo and all seems to be working fine. As I described above though, I don't use DTS for my zone 2, purely stereo music in mp3, which if I understand correctly isn't affected by pass-through settings. DTS won't work for zone 2 because its an analogue stereo output/input and I don't need it to. DTS works fine on zone 1 though. As far as I can tell XBMC is sending everything normally through HDMI, windows (or possibly but unlikely the onboard sound card) is simultaneously sending anything it is capable of through the headphones jack.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - Livin - 2013-05-27

(2013-04-11, 04:59)GCMX Wrote: I hope this helps some people. I'm pretty sure my setup and what I'm trying to achieve must be pretty common. I hope its not specific to my hardware.

I have 2 independent zones on my AV receiver. Zone 1 audio is 5.1 from my video card's HDMI port. Zone 2 can only receive analogue and is hooked up to a pair of outdoor stereo speakers. Zone 2 is only used for stereo music, not 5.1 video. The way I use it is if zone 2 is playing then, zone 1 is either muted or is playing the same thing as zone 2. I haven't tried playing something different on zones 1 and 2 using two instances of XBMC or another media program. I can't see why what I describe below wouldn't work for that, but then again I can't really work out why it does work in the first place. This would also work for anyone that wants simultaneous stereo headphones and 5.1 output.
...
I've found I can get dual audio in Eden (I haven't tested Frodo yet, but it should work) without using the dual audio options if I plug my front (headphone) audio port into zone 2 using a 3.5mm to stereo RCA adapter cable and set headphones as the default output device in windows (it only shows up if something is plugged in), then go into to XBMC audio settings and set my video card's HDMI and 5.1 as the output device. I'm using WASPI (following the XBMC WASPI audio engine guide) and everything seems to work fine outputting simultaneous stereo to zone 1 and 2. Zone 1 outputs 5.1 surround for movies. For some reason if I unplug the headphone port, the sound on zone 1 becomes garbled, no idea why but I just leave it plugged in and everything is fine.

I'm not sure why this works (all my research tells me it shouldn't). It may be do with the fact that I'm using onboard sound and a separate video card, but I would have thought that was pretty common. My guess is its something to do with the way windows mutes speakers when you plug in headphones and XBMC is overriding it. Not sure if it would work with onboard HDMI video or in linux.

I use an Onkyo NR818 and would like to have 2 channel audio into Zone 2, while still having complete pass-through (for DTS, etc) on the HDMI output. I tried Virtual Audio Cable and it did not work... it would not pass both analog to the headphone jack while passing HDMI audio. I would get one or the other, not both at the same time.

my htpc is a laptop so not sure how the audio circuitry works... I'll try and post back.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - Stildawn - 2013-07-04

Hi All

Can someone tell me if this has been done for Frodo? Or if there is any work for a windows dual audio output fix?

Thanks


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - o_dog - 2013-07-06

Stilldawn: no and no. You could use audiorepeaters but they wont do passthrough.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - sjw1 - 2013-07-08

That's why I'm still using 11. And maybe always will. Simply essential functionality for me.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - Barfish88 - 2013-07-29

Please make this support current vesion of xbmc I will buy you a beer. no no a case of beers.


RE: [PATCH] Dual Audio Output support for XBMC (Eden Updated) - masci - 2013-08-28

(2013-07-08, 21:44)sjw1 Wrote: That's why I'm still using 11. And maybe always will. Simply essential functionality for me.
I too!!!!!!!!!!!