Kodi Community Forum
Testing audio engine ActiveAE - 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: Testing audio engine ActiveAE (/showthread.php?tid=170338)



RE: Testing audio engine ActiveAE - FernetMenta - 2013-09-03

here is a new patch with nails sampling rate for transcode to 48 khz: https://github.com/FernetMenta/xbmc/commit/bfdb993abafe7e0b3ebe5518d4cc323ed916049e


RE: Testing audio engine ActiveAE - stupid-boy - 2013-09-03

you mean last patch?
i do not see any sound coming in 'playback devices' windows applet. i checked here just to eliminate any other possible problem.


RE: Testing audio engine ActiveAE - FernetMenta - 2013-09-03

apply those in this pr: https://github.com/xbmc/xbmc/pull/3186 to master


RE: Testing audio engine ActiveAE - stupid-boy - 2013-09-03

with patch in #286
~10 minutes of problematic stream - no single drop
~5 minutes so far with other that prebuffer - no single prebuffer
also i don't hear difference in speed.

without one in #288


RE: Testing audio engine ActiveAE - fritsch - 2013-09-03

So all fine and the PR is making it work for you? E.g. when PR 3186 is pushed upstream, your problems are solved?


RE: Testing audio engine ActiveAE - stupid-boy - 2013-09-03

no, i didn't included 3186 in my test. fix in post #286 ( ActiveAE: nail sampling rate to 48khz for transcode ) is what work for me.


RE: Testing audio engine ActiveAE - StinDaWg - 2013-09-04

What does the resampling rate quality in the newest nightlies do- fast, medium, high. Why is default medium and not high?


RE: Testing audio engine ActiveAE - fritsch - 2013-09-04

Cause most computers are far too slow to do the "high value". If we mean high there, we mean really high :-)
Resampling: http://en.wikipedia.org/wiki/Sample_rate_conversion


RE: Testing audio engine ActiveAE - FernetMenta - 2013-09-04

The help messages states that higher quality requires more CPU power and this is fact. Not all systems are capable of high quality resampling.

EDIT: fritsch was faster Smile


RE: Testing audio engine ActiveAE - Martijn - 2013-09-04

(2013-09-04, 12:39)FernetMenta Wrote: The help messages states that higher quality requires more CPU power and this is fact. Not all systems are capable of high quality resampling.
Seems reading is kinda hard or he uses another skin besides confluence which don't contain the help messages


RE: Testing audio engine ActiveAE - jjd-uk - 2013-09-04

I'm no expert on this, but audio sometimes needs to be resampled from it's native format to a format that's compatible with your audio device (this for LPCM decoded audio only), also in the case of music audio gets resampled (for example where crossfade is enabled) to match the qualities of the previous track to allow seamless playback.

Medium was choose as default because from what I understand that's what SoftAE did, in SoftAE this was a hardcoded value.

High requires beefy processing I believe hence it's not a good default however with ActiveAE at least this can now be set.

Low is for the embedded platforms where processing power is limited so the amount of processing used can be scaled back.

I don't fully understand it but some of the history behind this can be read @ PR2679


RE: Testing audio engine ActiveAE - jjd-uk - 2013-09-04

Oops, took too long is typing out my post and trying to find that PR.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-04

- format conversion does not involve resampling.

- SoftAE Medium und Active AE medium is not directly comparable.

- SoftAE was "forced to Medium" internally without a chance to change that.


RE: Testing audio engine ActiveAE - jjd-uk - 2013-09-04

As I said, don't fully understand the use of resample Smile


RE: Testing audio engine ActiveAE - StinDaWg - 2013-09-05

(2013-09-04, 12:33)fritsch Wrote: Cause most computers are far too slow to do the "high value". If we mean high there, we mean really high :-)
Really? I have a 6 year old AMD BE-2300 (937 Passmark, dog slow by todays standards) and I have no problem with it set to high. Doesn't use any more cpu than before, which is to say hardly any with DXVA on.

(2013-09-04, 12:42)Martijn Wrote: Seems reading is kinda hard or he uses another skin besides confluence which don't contain the help messages
I use Aeon Nox, but thanks for the insult.