Thread Rating:
  • 9 Vote(s) - 4.56 Average
[Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo)
Update History:
[03/13/2017] Added support for Krypton 17.0 and LibreELEC 8.0.0
[02/24/2017] Added support for Jarvis 16.1 and OpenELEC 7.0.1 / LibreELEC 7.0.3
[10/20/2015] Added support for Isengard 15.2 and OpenELEC 6.0.3
[04/19/2015] Added support for Helix 14.2 and OpenELEC 5.0.8
[10/18/2014] Updated to OpenELEC 4.2.1
[08/24/2014] Updated to Gotham 13.2
[06/06/2014] Added support for Gotham 13.1 and OpenELEC 4.0.4
[05/10/2014] Added support for OpenELEC 3.2.4
[04/17/2014] Initial support for Frodo 12.3 with new AudioEngine

Hi, for those who need 2-Zone simultaneous audio output might still remember this thread I posted years ago:

Now I'm back to bring a new supporting feature for Frodo(and later) 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 developed feature that is adapted to the AudioEngine.

The initial development of this project was under the support of lallhands in this forum. Thanks to him for encouraging me to start this project.

Currently Krypton/Jarvis/Isengard/Helix/Gotham/Frodo are supported, Different code are developed for them respectively. Be aware to pull the proper branch if you do your own build.

A screenshot of setting in Krypton

A screenshot of setting in Jarvis - Gotham

The dual audio output support Kodi built-in video player (videoplayer/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. for Gotham, since AudioEngine had been refactored to a unified ActiveAE, all platforms should work.

Quite a few core source files needed to be modified to make this feature work which is a bit hacky, 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 Kodi main project. Projects were created on github.


Branches with name suffix '-DA' are the Dual Audio branches, e.g., Krypton-DA, openelec-8.0-DA, etc. You can simply clone these repositories and pull the proper branch to make your own build.

For those who want to have a instant try, I build windows(only Kodi.exe[XBMC.exe before Helix], you need to install the original and replace exe file with this, for versions after Frodo, addtional xml setting files need to be replaced) and OpenELEC Generic 64bit version for your convenience:

12.3-Frodo (Windows DirectX):
13.2-Gotham (Windows DirectX):
14.2-Helix (Windows DirectX):
15.2-Isengard (Windows DirectX):
16.1-Jarvis (Windows DirectX):
17.0-Krypton (Windows DirectX):

3.2.4-OpenELEC(Generic_x86_64): OpenELEC-Generic.x86_64-3.2.4-DualAudio-r019.tar
4.2.1-OpenELEC(Generic_x86_64): OpenELEC-Generic.x86_64-4.2.1-DualAudio-r019.tar
5.0.8-OpenELEC(Generic_x86_64): OpenELEC-Generic.x86_64-5.0.8-DualAudio-r017.tar
6.0.3-OpenELEC(Generic_x86_64): OpenELEC-Generic.x86_64-6.0.3-DualAudio-r020.tar
7.0.1-OpenELEC(Generic_x86_64): OpenELEC-Generic.x86_64-7.0.1-DualAudio-r015.tar
OpenELEC(builds by DarkAngel2401): OpenELEC-DualAudio-builds-by-DarkAngel2401

7.0.3-LibreELEC(Generic_x86_64): LibreELEC-Generic.x86_64-7.0.3-DualAudio-r015.img.gz
8.0.0-LibreELEC(Generic_x86_64): LibreELEC-Generic.x86_64-8.0.0-DualAudio-r015.img.gz
LibreELEC(builds by DarkAngel2401): LibreELEC-DualAudio-builds-by-DarkAngel2401

Any suggestions for the future of this project, you are welcome to PM or email me. Enjoy!

DONATE to this project Image

Messages In This Thread
[Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo) - by xhbl - 2014-04-17, 07:51
Thank you! - by OCDHD - 2014-06-26, 03:56
Works great! Thank you! - by britishopen93 - 2014-07-18, 12:43
RPi Openelec.. how to.. - by kramegna - 2014-12-03, 17:27

[Project] Dual Audio Output support (Krypton/Jarvis/Isengard/Helix/Gotham/Frodo)4.569