2016-02-03, 18:29
(2016-02-03, 18:07)ChristianTroy Wrote: I can modify it in our code, I mean it's like anticipating the API but if Kodi will check the sdk version >= 23 for the presence of the AudioFormat it won't be listed.
edit: https://github.com/fritsch/xbmc/blob/2af...at.cpp#L83
it won't be listed in current amlogic devices since anyone has API 23 yet
Just rebase your stuff and we will see what we can get in. I hope we can keep the #ifdeffery to a minimum. As it seems you use the IEC path, it won't interfer with androids new default way at all :-). I have written those parts of the Audiotrack sink with just plain / default audiotrack api in mind. AMLogic specifics need to be added in a non intrusive way.
Edit: Especially what koying wrote here: https://github.com/xbmc/xbmc/pull/9023/files#r51693019 is a nice way of doing it. After that only a few things are left that need to get in.