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-08-13

ace20022, there's still errors in your log that I think responsible for the a/v desync. When that happens, how is audio? Not audible at all, crackle, etc?


RE: Testing audio engine ActiveAE - FernetMenta - 2013-08-13

ace20022, can you try the new fixes on the PR. I may have found the issue: I paused the stream after a flush but there is one path in the code of dvdplayer where Resume is not called after flush.


RE: Testing audio engine ActiveAE - Uukrul - 2013-08-13

(2013-08-13, 13:22)FernetMenta Wrote: ace20022, can you try the new fixes on the PR. I may have found the issue: I paused the stream after a flush but there is one path in the code of dvdplayer where Resume is not called after flush.

I was having issues with Wasapi and DVBViewer streams and the updated PR fixed the issue.

btw, does "Volume Amplification" work? I can't get it to work on W7 using DirectSound or Wasapi.


RE: Testing audio engine ActiveAE - Ace - 2013-08-13

(2013-08-13, 13:22)FernetMenta Wrote: ace20022, can you try the new fixes on the PR. I may have found the issue: I paused the stream after a flush but there is one path in the code of dvdplayer where Resume is not called after flush.

Yup, the new commits fixed it, super!


RE: Testing audio engine ActiveAE - FernetMenta - 2013-08-14

Quote:btw, does "Volume Amplification" work? I can't get it to work on W7 using DirectSound or Wasapi.

should work now with updated PR.


RE: Testing audio engine ActiveAE - da-anda - 2013-08-14

ok guys, here is a up2date test build for windows: http://mirrors.xbmc.org/test-builds/win32/XBMCSetup-20130814-2601dd9-3095.exe


RE: Testing audio engine ActiveAE - da-anda - 2013-08-14

Did some quick tests with this build. Here are the things I noticed

- "output stereo on all speakers" is upmixiong to 5.1 (AC3), but the sound was still only stereo (only left and right speaker had sound, other where dead)
- with either WASAPI or directsound on spdif a 5.1 Flac didn't give any sound and time code ran too fast. On second play attempt XBMC froze ( log)
- stereo/analog sound via wasapi on HDMI was borked again/still ( log )

will do some more tests later


RE: Testing audio engine ActiveAE - fritsch - 2013-08-14

Here are some 5.1 96khz/24 bit flac sample to test: http://www.2l.no/hires/ (see the user + password at the beginning of the page).

I can reproduce: ActiveAE: nothing SoftAE: Stereo


RE: Testing audio engine ActiveAE - FernetMenta - 2013-08-14

(2013-08-14, 14:41)fritsch Wrote: Here are some 5.1 96khz/24 bit flac sample to test: http://www.2l.no/hires/ (see the user + password at the beginning of the page).

I can reproduce: ActiveAE: nothing SoftAE: Stereo

I have downloaded one of those which plays fine with WASAPI and DirectSound. Which sample did you try?


RE: Testing audio engine ActiveAE - fritsch - 2013-08-14

The on I linked you via Email. I think you have 2.0 speakers, right? so it is downmixed. Let me recheck. I used that one: http://www.lindberg.no/hires/test/2L53SACD_04_mch_96k.flac


RE: Testing audio engine ActiveAE - fritsch - 2013-08-14

Jep - setting speaker layout to 2.0 makes it work.


RE: Testing audio engine ActiveAE - Uukrul - 2013-08-14

(2013-08-14, 08:36)FernetMenta Wrote:
Quote:btw, does "Volume Amplification" work? I can't get it to work on W7 using DirectSound or Wasapi.

should work now with updated PR.

Compiled and tested. Many thanks.


RE: Testing audio engine ActiveAE - jjd-uk - 2013-08-15

Been doing some testing on my Windows 7 HTPC

Audio output: HDMI
Speaker configuration 7.1
Connected to Onkyo AVR with 5.1 speakers

WASAPI:

Passthrough of DD/DTS 5.1, DTS-HD MA 5.1/7.1, TrueHD 7.1 all ok

LPCM 7.1 has incorrect channel mapping on my system - As I've a 5.1 system the 2 LS & LSB channels should come out of LS speaker, and RS & RSB channels should come out of RS speaker (confirmed working with Frodo & SoftAE), however what happens on my system is that RS & RSB come out of LS speaker and then LS out of RS speaker while the LSB channel can't be heard at all. Change speaker configuration to 5.1 and both LS & LSB don't work while RS & RSB come out of LS speaker.

My test file https://docs.google.com/file/d/0B3xbB2gLTqoeZ3Y2WDJhVWV6SUE/edit?usp=sharing

Will do a debug log when I've more time.


RE: Testing audio engine ActiveAE - jjd-uk - 2013-08-15

Something else I had a quick chat with fritsch on IRC is Dolby Digital Plus (EAC3)

This was working in Eden and previous versions but was broken with the arrival of AE, rather ironic I think as it's a popular live TV sound format, so the release that brought PVR broke live TV audio passthrough for channels with DD+..

The workaround has been to disable the AC3 capable receiver setting so XBMC decodes the audio and it then works fine, the problem is only with passthrough of the format.

It's been a frequent moan from users the DD+ was working prior to Frodo and is now broken, and I was hoping ActiveAE may somehow fix it. I've now confirmed it's still the same with ActiveAE as with SoftAE, what you get is strange clicks when set to passthough but it's ok when XBMC decodes with AC3 capable receiver off.

DD+ Channel Test file https://docs.google.com/file/d/0B3xbB2gLTqoeVHIwUEtpR0ZuQ2s/edit?usp=sharing

Would be great if something could be done to fix this.


RE: Testing audio engine ActiveAE - fritsch - 2013-08-15

Thanks for the reports. As told yesterday on IRC. All the channel mappings work fine on my setup - this is Linux though. A short look into the Wasapi sink seems, that there is some special Channel Layout handling going on, but my knowledge of the Wasapi Sink is too limited to say something here. Perhaps Wiso has an idea.

DD+ I have checked to non working on my system as of yesterday. Will look into this today.

Edit: I cannot access your DD+ file via google drive.