2014-05-12, 16:02
Gotham is a work in progress, not functional at this moment. Frodo is the latest build to have dual audio support. The Windows Binary is linked in the original post.
(2014-04-17, 07:51)xhbl Wrote: EDIT: Well, Gotham 13.0 stable rises, time to keep up with it.....Working in Progress for Gotham
Please follow the dev branch for Gotham: https://github.com/xhbl/xbmc_dualaudio/tree/Gotham-DA
Hi, for those who need 2-Zone simultaneous audio output might still remember this thread I posted years ago:
http://forum.xbmc.org/showthread.php?tid=86038
Now I'm back to bring a new supporting patch for Frodo which is the first version to use the powerful AudioEngine audio subsystem. I created this new thread also because of the totally different AudioEngine which makes the old patch inapplicable and this is a newly delveloped patch that is adapted to the AudioEngine.
The development of this patch was under the support of lallhands in this forum. Thanks to him for encouraging me to finish this patch.
Currently this patch works for Frodo, since AudioEngine has a major change(SoftAE refactored to ActiveAE, PulseAE/CoreAudioAE deprecated, etc) in Gotham and later, more work need to be done for those. I may consider to continue to develop for them in the near future.
A screenshot of settings in Frodo
The dual audio output suppport XBMC built-in video player (dvdplayer) and music player (paplayer) as well as the GUI sounds. I've tested with the Windows and OpenELEC build and seems to be working well. as I mentioned above, in Gotham and later version, AudioEngine has been refactored to ActiveAE, so for Frodo, I only focused on the SoftAE which would support Windows WASAPI/Directsound and Linux ALSA/OSS. Although I implemented code for PulseAE/CoreAudioAE, it's mainly for passing the compiling.
Quite a few core source files needed to be modified to make this patch, it's not considered to be a 'clean and decent' solution, thus there is the necessity to create a project to keep updating with the XBMC main project. I've created two projects on github.
Repositories:
-------------
XBMC: https://github.com/xhbl/xbmc_dualaudio
OpenELEC: https://github.com/xhbl/OpenELEC_dualaudio
Branches with name suffix '-DA' are the Dual Audio branches, e.g., Frodo-DA, openelec-3.2.4-DA.
You can simply clone these repositories to make your own build.
Patches:
--------
12.3-Frodo: xbmc-123-frodo-DualAudio-r019.patch
3.2.4-OpenELEC: xbmc-122-DualAudio-OE324-r019.patch
Binaries:
---------
For those who want to have a instant try, I build windows(only XBMC.exe, you need to install the original and replace with this) and OpenELEC Generic 64bit version for your convenience:
12.3-Frodo (Windows DirectX): XBMC-12.3-dx-DualAudio-r019.zip
3.2.4-OpenELEC(Generic_x86_64): OpenELEC-Generic.x86_64-3.2.4-DualAudio-r019.tar
Any suggestions or support for the future of this project, you are welcome to PM or email me.
Enjoy!