It is not advisable to bypass "mediaplayer" to reach directly PVPlayer class. There won't be any guarantee that your app. (and your JNI layer) will be compatible for future use cases.
OpenCORE can technically be instantiated as thread-safe. However, in the current version, it has not yet been done. So, there is a playerdriver level which queues all commands from various threads to a single thread. -Ravi On Jun 5, 10:40 pm, allstars <allstars....@gmail.com> wrote: > hello world > i would like to use some API in opencore/sonivox > but these API aren't included in libmediaplayerservice ,nor > android.media > > so i would like to add my JNI to construct a PVPlayer like the > libmediaplayerservice did > is this ok? > i mean is it thread-safe in opencore engine > > i found i need to modify a lot files if i need to go through libmedia/ > libmediaplayerservice > for example IMlediaPlayer, IMediaPlayerService, etc......... > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---