Posts: 91
Joined: Mar 2014
Reputation:
4
2021-11-26, 17:14
(This post was last modified: 2021-11-26, 19:10 by Boilerplate4U.)
Hard to tell. I don't have the necessary insight in the code tree at the moment thus I need some more time to further investigate how things (like the AE classes) are meant to be used.
It's a pity the code base so consistently lacks comments that ought to explain how it's supposed to work, especially for a complex environment such as Kodi. The total absence of comments makes me think someone deleted those on purpose! ;-)
I'll see if I can find a tool to create a complete class tree for all the subsystems to get a better picture. Xcode for macOS has simple code analyser, I'll give a try...
Posts: 91
Joined: Mar 2014
Reputation:
4
2021-11-29, 19:41
(This post was last modified: 2021-11-29, 21:55 by Boilerplate4U.)
Had some odd trouble with the runtime debug libraries for remote debugging but now everything is up and runnnig on my HTPC. For unknown reasons Microsoft has decided that the debug libraries are NOT to get installed with the remote debug toolkit(!). There is an option in VS to deploy them automatically using the "deploy" option in the configuration manager. But that causes trouble with compiling if you add in to the debug configuration so in the end I had to copy them by hand.
Anyhow, where exactly did you spot the 6 empty frames so I can start debugging from there?
Posts: 91
Joined: Mar 2014
Reputation:
4
Hi, sorry for not getting back to you but I've been busy at work and sick kids at home.
Just some quick questions, what audio settings are you using in kodi ie directsound/wasapi and/or separat settings for passthough etc? Also, what type of connection are you using between your htpc and avr, ie just hdmi (1.4 or 2.0?) or/and toslink?
Posts: 287
Joined: Dec 2012
Reputation:
8
Krobar
Senior Member
Posts: 287
Hi, no problem I have not looked at it for over a week either.
I'm using WASAPI with all bit streaming options enabled. If you disable bit-streaming for Dolby / Dolby Digital Plus you should find the file plays fine as multi-channel PCM. I'm using HDMI 1.4 from an Intel iGPU, for my setup this ensures 3D works (With an appropriate Kodi build) as there is no LSPCON in the chain (Native HDMI). Toslink with DD+ (Not legacy DD) is very hit and miss, quite a few AVRs will allow it as a result of the old ARC standard but I don't think WASAPI/Windows will allow DD+ over Toslink and it is questionable if DD+ over Toslink is within spec.
Posts: 287
Joined: Dec 2012
Reputation:
8
Krobar
Senior Member
Posts: 287
Sounds right. My C skills are nowhere near what is needed to resolve this; I was hoping the recent EAC3 improvements to handle native EAC3 frame + extension would look at his but no luck. If you have a non-Denon/Marantz HDMI receiver there is a good chance it wont tolerate the current number of blank frames with a 256SPF source; can send a sample file and try to help if you are willing to look at it.