Why the android awesomeplayer was made using struct not class -
i found native layer of android uses class , struct.
for example, mediaplayer
, stagefrightplayer
, audioplayer
, metadata
class. awesomeplayer
, mediasource
struct.
although read class , struct similar in use, wonder why awesomeplayer
created struct. there reason or developer's taste?
you try mention awesomeplayer
, mediasource
android apis? no, aren't, converted structures c++; not belong android libraries!
please see diagram of stagefright
, lib c/c++ core. android linux core, , can bring c/c++ utils, libs it.
reference: http://pierrchen.blogspot.sg/2012/03/share-with-you-what-have-learned-about.html
Comments
Post a Comment