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)



RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-08-31

(2012-08-30, 19:13)sialivi Wrote: DDDamian,
Had a chance to see if you could recreate the issue when switching audio track?

Hi sialivi - I could reproduce that here with the sample you provided. A quick look shows we don't flush all the various buffers (there are several from the player through the decoder and downwards to the engine) when the track changes. I've made a note of it although marked the severity / priority as fairly low given that it's a few seconds and recovers, and not something I assume users do frequently.

That said - good catch and appreciate the bug report and the sample. It should be a straightforward fix and it's on the list Smile

If you feel like opening a Trac ticket I'll accept the ticket for tracking purposes - just cc me on it.


RE: [Windows] AudioEngine testers - Windows platform only - Warstomper - 2012-08-31

(2012-05-31, 01:58)DDDamian Wrote: @Warstomper - think I see the issue - thx - will make a few changes and post here when done.

Hey folks - couple of AE release items Smile
http://xbmc.org/
http://wiki.xbmc.org/index.php?title=AudioEngine

Hi DDDamian,

I know it's been a while, and you have been "out-of-the-loop" abit, but I was wondering if my issue had been patched yet? I am running the latest nightlies, but I don't see any improvement so far Smile Thanks in advance for looking into it again though! Smile


RE: [Windows] AudioEngine testers - Windows platform only - DDDamian - 2012-08-31

@Warstomper - it has been a while, can you link me to the issue again please? I can check if it's on my to-do list. Thx


RE: [Windows] AudioEngine testers - Windows platform only - Fracino - 2012-09-03

Hi DDDamian,
I hope that ticket 13200 http://trac.xbmc.org/ticket/13200 is still in the to-do list!
I now have a new bug, which may or may not be related to ticket 13200. I have another output device (ESI DR. DAC Nano SPIDF interface) which supports both S24NE3 and S16NE. So until recent nightlies, XBMC AE would bug with this ESI device when using 24-bit sources (because of the S24NE3 problem) but worked fine with 16-bit sources (because the ESI device supports S16NE).
With the latests nightlies, when using the ESI device via WASAPI, even with 16-bit sources, there is no playback and XBMC freezes so that I have to "kill" the XBMC process. Looking at the debug log, it looks like XBMC tries to send "S16NE" but with 24 bits per sample:
16:05:52 T:1348 DEBUG: Sample Format : AE_FMT_S16NE
16:05:52 T:1348 DEBUG: Bits Per Sample : 24
16:05:52 T:1348 DEBUG: Valid Bits/Samp : 24

May this new bug be caused by the failed attempt fix the S24NE3 bug last week?
Here is the full debug log: http://xbmclogs.com/show.php?id=7850


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

@Fracino - that is definitely related. The S24NE3 issue is a priority - just finishing up some previously started things as we're in the merge window for feature additions, whereas that ticket counts more as a bug and can be patched any time thru the cycle.

To address that one I'm going to have to link you private builds, largely due to the fact I can't test without going out and buying the hardware, so rather than hit and miss attempts via master a private build for testing would be my preferred route.

At any rate, stay tuned Wink


RE: [Windows] AudioEngine testers - Windows platform only - lordfiSh - 2012-09-03

just tryed the latest nightly, can confirm that TrueHD and DTS-HD works with the AMD A4-3400 APU + Radeon HD 6410D + Windows 8 works quite well. Thanks for that.
if i should try anything with that combo, pm me.

PHP Code:
18:55:32 T:2080  NOTICEEnumerated WASAPI devices:
18:55:32 T:2080  NOTICE:     Device 1
18
:55:32 T:2080  NOTICE:         m_deviceName      : {58A8243B-ADDD-445A-8F9C-EB0735AC9E91}
18:55:32 T:2080  NOTICE:         m_displayName     HDMI AMD HDMI Output (AMD High Definition Audio Device)
18:55:32 T:2080  NOTICE:         m_displayNameExtraWASAPIAMD HDMI Output (AMD High Definition Audio Device)
18:55:32 T:2080  NOTICE:         m_deviceType      AE_DEVTYPE_HDMI
18
:55:32 T:2080  NOTICE:         m_channels        FL,FR,FC,BL,BR,SL,SR,LFE
18
:55:32 T:2080  NOTICE:         m_sampleRates     192000,176400,96000,88200,48000,44100,32000
18
:55:32 T:2080  NOTICE:         m_dataFormats     AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_EAC3,AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_LPCM 




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

@lordfiSh - always good to hear when it's all working well - enjoy


RE: [Windows] AudioEngine testers - Windows platform only - atlind01 - 2012-09-05

@lordfiSh - have you tried playing a standard DTS, AC3 files and share your experience?


RE: [Windows] AudioEngine testers - Windows platform only - stewart_pk - 2012-09-08

...


RE: [Windows] AudioEngine testers - Windows platform only - lordfiSh - 2012-09-08

(2012-09-05, 21:26)atlind01 Wrote: @lordfiSh - have you tried playing a standard DTS, AC3 files and share your experience?


DTS and Doly works fine too, that only problem that i have in the latest nightly is when you open the Audio and Video Settings from inside a movie, xbmc crashs


RE: [Windows] AudioEngine testers - Windows platform only - PatrickBateman - 2012-09-09

Hey D!
I've had to roll back to Eden due to some serious issues with th fodo alphas that rendered it useless for me Sad ... That said, non of them were audio related issues, mainly library, skin and some serious video bugs Sad

Once it becomes a tad more stable I'll test it out again, it's just currently my test box for hd audio is my main HTPC as its the only one hooked up to my AVR Big Grin

Glad o have you back though Wink


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

@lordfiSh - just merging some stuff - will see once I'm back up to date with master in a bit - not happening here with ~1 week old master, but so much has been merged in the last few days as we are near the end of a merge cycle, so breakage is likely

@PatrickBateman - thx Smile see note above about us breaking everything in sight lol. Very very soon we go into feature freeze and focus 100% on fixes for Frodo Smile

@Voyager-XBMC - nice catch! well done on the remapping issue with >5.1 channels - merged a few minutes ago

EDIT: lordfish - fully up to date here now - no issues with problem you mentioned here - Win7 x64


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

A few changes to AE:

There are now Suspend()/Resume() functions in the AE API, and exposed thru the Python interface for addon devs. They are used to allow external players and addons to access the audio device while still allowing XBMC to use the all-important WASAPI exclusive mode. External players should work fine now.

There is also a soft-suspend feature, which will automatically release the audio device and reduce power consumption after 10secs of inactivity. This is somewhat similar to Eden behaviour (pre-AE). AE did run constantly, streaming silence when not actively playing. This behaviour can be restored using the <streamsilence> tag as described in the second post of this thread http://forum.xbmc.org/showthread.php?tid=124600&pid=1036295#pid1036295 and in the wiki.

There's advantages and disadvantages to either method.

GUI sounds have been restored in the new (Eden-style) model - they were broken until a fix today.


RE: [Windows] AudioEngine testers - Windows platform only - wints - 2012-09-09

(2012-09-08, 22:14)lordfiSh Wrote:
(2012-09-05, 21:26)atlind01 Wrote: @lordfiSh - have you tried playing a standard DTS, AC3 files and share your experience?


DTS and Doly works fine too, that only problem that i have in the latest nightly is when you open the Audio and Video Settings from inside a movie, xbmc crashs

Hi noticed the same problem last night whilst trying to open Audio and Video OSD whilst watching the movie, same as lordfish using nightly builds


RE: [Windows] AudioEngine testers - Windows platform only - fat-tony - 2012-09-09

(2012-09-09, 03:24)DDDamian Wrote: A few changes to AE: ...

Damian - any word on why 5.0 music files won't play through WASAPI and whether the issue with high CPU utilisation is fixed? see my earlier post in this thread - http://forum.xbmc.org/showthread.php?tid=124600&pid=1173296#pid1173296

Thanks