thanks for your reply, so what's the section I could modify my code??
or your suggestion is about " change movie file formate"(not the code can determine),?? such as sample rate. and what's your mean about increase buffer size? and how to do? thanks! On 7月23日, 下午7時13分, Suchand Ghosh <chand4andr...@gmail.com> wrote: > That might be due to codec sample rate which is default max (44100 Hz), > available channels (2), buffer size (2048 Bytes). Pls increase those values, > provided your h/w need to support. Ref to file "AudioHarwareALSA.cpp". > It may solve your issue. Thank you. > > BR, > Chand > > > > On Thu, Jul 23, 2009 at 5:14 PM, tstanly <tsai.sta...@gmail.com> wrote: > > > hi all, > > > this question i have post once, > > but nobody can answer me.... > > > I have used videoview to play mp4 formate movie, > > but when start to play it, the videoview can't play smoothly, > > that means there have a little lag, > > > but in the: > >http://developer.android.com/guide/appendix/media-formats.html > > the android support media formate have mp4.. > > > the code is very simple,just like in the sample code, > > please help me, thanks you! > > > =========code=================== > > > videoview=(videoview)findIdByView(r.id.videoview); > > videoview.setVideoPath(path); > > videoview.start(); > > videoview.requestFocus(); > > > ================================ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---