Hi All, I need to have an app where i can play both video and audio using mediaplayer APIs. But my problem here is , for video . i have to use "SURFACE_TYPE_PUSH_BUFFERS" and pass this to mp.setDisplay().
SurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); Where as, An audio file can not be played with "SURFACE_TYPE_PUSH_BUFFERS" being On. What is the best solution to achieve this? Is it possible to have more than 2 SurfaceHolder objects can be created in one activity having one view?(one for audio with no "SURFACE_TYPE_PUSH_BUFFERS" and other one is for Video) Please do advise. thanks Latha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en