Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
a) update your libamplayer.so to one that includes audio_set_delay
b) ifdef out the calls to audio_set_delay
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
The amlogic kernel drivers must match the code in libamlplayer.so which includes amadec and amcodec. Android users seem to think that just because the names match, they are similar. They are not. amadec and amcodec talk to the kernel, their ABI/API must match.
Since you are already compiling XBMC, why fiddle with libamplayer, fix the XBMC side and you are done.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
not on non-Pivos hardware, their libamplayer is missing that API function call which I added (ie audio_set_delay).
Posts: 30
Joined: Jun 2008
Reputation:
1
2012-12-18, 01:52
(This post was last modified: 2012-12-18, 01:53 by crackerbox.)
Will these changes eventually end up being open so that xbmc will work to its full potential on as many different Android hardware platforms as possible? This would seem more in line with the spirit of XBMC.
In other words, do you ever think we will see the day where XBMC will be able to be downloaded from the Play store, and work with hardware acceleration without the need to make additional changes to the Android OS libraries and kernel?
Posts: 23
Joined: Aug 2011
Reputation:
1
Thanks davilla. I ended up using the #ifdef method. What I am noticing now is that the movie information overlay is missing the mp3, acc, or whatever icon and I cannot control the volume (and a whole list of other things, but one step at a time.) I am not sure movie information overlay is the right term. I am referring to the overlay that comes up while you are watching a show that has the poster art and player controls. Is this due to the amlplayer that is being used? It there away around it just changing the XBMC code?
Also, how can I make the dvdplayer the default for SD content and amlplayer the default for HD content?
Thanks for taking the time to answer these posts and all of your hard work on XBMC.
Posts: 30
Joined: Jun 2008
Reputation:
1
Are there changes that have been made to the amavjni component? I can't seem to find any additional information on this.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
#ifdef 0
#endif
anything inside ^^ will not be compiled.
ifdef or comment out anything that has to do with audio_set_delay