Posts: 1
Joined: Nov 2010
Reputation:
0
Nice! Been looking for a way to have 2-channel HDMI sound and Toslink DTS.
Best thing since sliced bread? .. close call!
Posts: 1,514
Joined: Jul 2010
Reputation:
60
Hi there...
I applied the patch and compiled the source on windows to a directX build.
After installing the new dual audio output xbmc I can´t start it anymore...
missing dll d3dx9_42.dll...
other compiled builds don´t have this problem...
any hint? or any download-link of a working copy?
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Posts: 3
Joined: Nov 2010
Reputation:
0
Download the newst DirectX Version from Microsoft to get rid of the DLL error
Posts: 50
Joined: Nov 2010
Reputation:
27
Well, the first patch 'Support_DualAudio_Output_Basedon_SVN_Rev35252.patch' should be OBSOLETED now. Please apply new patch 'Support_DualAudio_Output_Basedon_SVN_Rev35252_v2.patch'
Because there is problem of out of synchronization of the 2nd audio output for video playback.
I used a stand-alone thread for the decoding and output of the 2nd audio in the previous patch, but this will sometimes cause out of synchronization with video; so I use another method that decode and output 2nd audio within the same thread of the 1st audio. and the 2nd audio output will be synchronized with the 1st audio output, thus fix the bug of out of synchronization with video playback.
Posts: 76
Joined: Jan 2010
Reputation:
0
Will the patch be included after the final release of dharma?
Posts: 700
Joined: Aug 2009
Reputation:
8
OK, so this looks great. All your screenshots indicate a Windows version of XBMC. Will the Patch work correctly on Linux/Live?
If so, is there anything special I need to do with .asound.conf?
Posts: 1,970
Joined: Nov 2008
Reputation:
1
azido
Posting Freak
Posts: 1,970
2010-11-27, 23:57
(This post was last modified: 2010-11-28, 00:19 by azido.)
honestly, just 2 days ago i was thinking
"man, i would love to have the ability to have the gui sounds, standard audio (music as mp3) or better ANY 2-channel stuff being played by my analog device, while everything else having multichannel audio will be sent to my digital receiver - and all that without the hassle of manually changing the audio device in the settings"
..will this be possible with your patch?
edit: after thinking further, your patch seems to output audio to both devices simultaneously. how about this:
- user fills in the correct devices, one for analog, one for digital output in settings.
- an additional output "selector" with a corresponding onscreen-label (or simply a switch) will be available for skinners to implement into their skin.
- user can assing a key to that switch in keymap, thus making it available as a button on his remote.
benefit:
based on what kind of audio the user wants to play (being 2-channel audio as an mp3, or being 5.1 sound of a movie, which can be easily determined by the proper flag of the video) the user can easily switch between audio 1 and audio 2 with a simple keypress. skinners could also implement the "audio switch" into the osd dialog so the user can decide which device to use for the currently running movie or episode based on the available audio sources.
in my dreams xbmc can decide which audio device to use as soon as the file is triggered to play without any user intervention beside setting those two devices up once in his setup (which of course would mean the audio device setup is kind of fixed like audio 1 represents an analog and audio 2 a digital device, else the whole idea becomes kinda useless).
Posts: 423
Joined: Sep 2010
Reputation:
12
a11599
Team-Kodi Member
Posts: 423
Doesn't work with WASAPI here, but runs fine with DirectSound.
Posts: 700
Joined: Aug 2009
Reputation:
8
Patch seems to fail in Linux... I am not savvy enough to know how/where. If someone smarter than me gets it working I would love to try it, however as this is a Dev thread, I am not asking for help.
Hopefully this, or some variation of this, can be included in pre-Eden builds. Count me as someone who would find this feature most usefull!
Suggestion:
How about adding a second "tab" on the left side under Audio Output. Maybe call it "Audio Output 2" or "Dual Audio", so that you do not have all the Audio settings crammed into one screen. In that "tab" have all the options grayed out, and have a radio button at the top, something like "Enable Dual Audio Devices", that enables the sub options.