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?

enter image description hereyou 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

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -