Kodi Community Forum
[Windows] AudioEngine testers - Windows platform only - 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: [Windows] AudioEngine testers - Windows platform only (/showthread.php?tid=124600)

[Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-03-04

UPDATED: Latest Build XBMC-AE-Final.exe

I have posted a compiled version of the AudioEngine branch for download >>XBMC-AE Final<<

The main source code by developer gnif is available here, under the branch "ae_rebase".

Any Windows-specific development not pushed to the main branch is here, under the branch "ae_rebase". The next release is being prepared under "ae_dsp".

The purpose of this thread is to gather test results and feedback for the branch for the Windows platform only.

The main AudioEngine thread is quite long now, and as the branch gets closer to release it will be difficult to keep track of test results on all platforms and debug effectively.

If you wish to be a tester please be aware that you must know: all details of your test platform including hardware and driver status, how to post a debug log and effectively troubleshoot issues, and be able to capture screenshots and post them. If you continue to use other versions of XBMC at the same time please know how to switch between different versions of advancedsettings.xml and guisettings.xml, via profiles or manually. Also please note that the library used by the AE branch may not be the library currently used by XBMC - if you add media please do so while using whatever your main XBMC version is.

This is not a support thread for those just wanting to try it and get help running it. If you are unsure of what is required or are not adept at setting up and troubleshooting XBMC in general please do not become a tester.

You do not need to "sign up" - feel free to post your comments at any time as long as you understand the above.

We look forward to your help and testing as the project prepares for integration.

RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-03-04

Current advancedsettings.xml tags for AE.


resample - force resampling of audio at a given frequency e.g. 48000 = 48khz
forceDirectSound - win-specific - will not use Wasapi API 0 = false, 1 = true
audiophile - forces playback of original format, will not down/upmix next song to match current, not compatible with cross-fading 0 = false, 1 = true
audiosinkbufferdurationmsec - win-specific, buffer time in msec, hard minimum of 50msec
allowtranscode44100 - allows 44100hz when trancoding for SPDIF devices 0=false, 1=true
streamsilence - if true uses original AE method of a constant (even silent) stream so receivers stay connected. If false (default) uses Eden-style releasing of audio sink and device to reduce power usage and release exclusive-mode lock on audio device 0=false, 1=true

Default values are shown above in the code box.

- GreenEyez - 2012-03-04

Sign me up Smile. Great to hear that you guys are so close with Audio Engine. I`m going to try it out tonight, when nobody is using the machine.

Test machines : Intel G620 with HD2000 graphics and AMD E350 APU , both with Windows 7 32bit , no AV software on both machines, UAC disabled. Will post results and debug logs ASAP tonight.

- liquidskin76 - 2012-03-04

hey dddamian,

i'll test this asap, and report back. i tried it gnif's ae a short while back and had truehd issues, however will check again.


- Dixon Butz - 2012-03-04

I have both installed using portable mode. I don't know what the difference is between the two.
Only thing I have noticed in my limited testing is that the AE branch plays static when playing multi channel DTS flacs. Is that expected?

- P-I H - 2012-03-04

I have made some tests.
DTS 96/24
Dolby Digital
plays OK on my hardware.
there are audio drop outs on Dolby True HD and DTS HD MA.
There is a log when playing Dolby True HD on http://pastebin.com/TFcQD1tb
Drop outs are at about 14.15, 14.16, 14.17 and 14.19.

The tested media plays OK with the Windows patch version, but in this case there are problems to switch audio streams.

Reciever Harman Kardon AVR 355
Graphic and Audio: AMD Radeon 5450 with Catalyst 12.1
OS: Window Vista Basic
CPU: Intel Pentium E5200

Made some more testing and if
is set to false on my configuration xbmc will crash.

- DDDamian - 2012-03-04

Great to see we have some testers! When you find an issue please make as clean a debug log as you can: open XMBC-AE, wait 10sec for start-up tasks to complete, then duplicate the problem with a minimum of actions and post the log. This makes reading through them as easy as possible.

Also please make sure you are using the version linked in the first page, or built from my GitHub source. This avoids confusion between build dates and versions.

If you do build it yourself please ensure that you are building a "release" version and have enabled optimizations. Debug versions are slower by nature and unoptimized builds or debug builds can show performance hits easily construed as bugs. Any build I place in the downloads area will be optimized and a release version.

@P.I.H. - thanks for the log. Question - do you have Sync Playback to Display enabled? If so, can you disable and retry? Would like to see if that clears up the discontinuities.

@Dixon Butz - portable mode is fine for testing. I haven't tried a DTS FLAC on my end yet - will have to create a sample. That's a good catch - can you post a log?

@liquidskin76 - great! please use my build/git as it has a few bug-fixes in it compared to gnif's right now,

@GreenEyez - glad you want to help Smile

Thx to those posting their system info as well - helps to know the platform details and we need a wide range for a comprehensive test.

- P-I H - 2012-03-04

I have tried with different settings, but mostly with "Sync playback to Display" disabled. I have the dropouts in both cases.

- DDDamian - 2012-03-04

P-I H Wrote:Made some more testing and if
is set to false on my configuration xbmc will crash.

Was that when playing back a multichannel FLAC or trying to decode a movie? Multichannel LPCM is the fallback if you disable TrueHD passthrough, but needs to fail gracefully if it can't. Please let me know what you tried to play that led to the crash. Thx.

- P-I H - 2012-03-04

I got the crash without playing anything, when I used the GUI to change the reciever's Audio settings in System/Settings/System/Audio/Reciever supports LPCM to false. Xbmc crashed when I did the change and did not accept the change.

However I was able to do the change when playing a non HD folder. After the change I closed xbmc. After this xbmc crashed immediatly at start up. I then change the setting to true in the xml file and was able to start xbmc again.

- DDDamian - 2012-03-04

Thanks PIH - made a note to investigate. Things like that are exactly what we're looking to discover.

- liquidskin76 - 2012-03-05

Hey dddamian,

Tested on both on an ATI 6450 and NVidia GT 520. I'm not switching refresh rate or syncing to display for those tests.

TrueHD... intermittently hangs for a short while whilst seeking

DTS-HD... intermittently hangs for a short while whilst seeking

FLAC files appear to be ok.

Not sure why but i can't get it to misbehave whilst in debug, so those logs are standard. Hopefully they will be enough.

Believe there's CAESinkWASAPI errors at the seeks.

Cheers Wink

- DDDamian - 2012-03-05

Thx LiquidSkin76 - when you say hangs intermittently on seeks, is that kind of a lag in the audio starting again after the picture starts?

From the log it looks like the sink gets re-initialized with null values for some reason after a seek, but can you just describe what you did and what you saw for me?

- liquidskin76 - 2012-03-05

DDDamian Wrote:Thx LiquidSkin76 - when you say hangs intermittently on seeks, is that kind of a lag in the audio starting again after the picture starts?

From the log it looks like the sink gets re-initialized with null values for some reason after a seek, but can you just describe what you did and what you saw for me?

When it seeks ok, yes, there is a short lag in the audio coming back, so video starts for a few seconds without audio.

However the hanging is slightly different. Both video and audio hangs for a short while. Can happen on standard short seeks (30 secs) and MKV chapter seeks, however it tends to be intermittent.

Hope that helps.

Thanks for your hard work. Seriously looking forward to AE hitting the nightlies! gnif has worked wonders, and now it's great he has help on the Windows front. Good man!

Cheers Wink

- P-I H - 2012-03-05

I made some more testing.
The previous test was made on an xbmc installed on top of the Windows Patch version. This time I uninstalled xbmc and checked the field to remove all settings. Then installed the HE version.
This time xmbc behaved much better. There were occasional audio dropouts, but much less frequent.
I still got the crash when Multichannel LPCM capable reciever was unchecked.
Played an mkv file with DTS HD MA which worked fine.
Played some .ts files with recorded HD TV programs, that also worked fine
To use the "scale" to move back and forth in media with non HD audio works fine, but in media with HD audio there are long delays before picture and audio recover and sometimes audio will not come back at all.

This forum uses Lukasz Tkacz MyBB addons.