I suspect that your problem is in some details that you haven't given
us yet.

How many media players are you creating at the same time?

On Jan 20, 10:47 pm, ena <enu1...@gmail.com> wrote:
> On Jan 21, 8:23 am, Dave Sparks <davidspa...@android.com> wrote:> What is the 
> format of the data in the WAVE file?
>
> i play audio file of wav format.....
>
> > OpenCore only supports 8- and 16-bit linear PCM.
>
> i think that is not file problem because some time the files are able
> to played and some time not...
>
> > On Jan 20, 11:59 am, ena <enu1...@gmail.com> wrote:
>
> > > plz help me out....Actually i want to play many file one by one in
> > > media player.im using that code
>
> > > MediaPlayer  melodyPlayer=MediaPlayer.create(context, resID);
> > >                                 melodyPlayer.seekTo(0);
> > >                                 melodyPlayer.start();
>
> > > but after same time i get Error
>
> > > 01-20 23:12:01.785: ERROR/AudioTrack(24): Could not get control block
> > > 01-20 23:12:01.785: ERROR/AudioSink(24): Unable to create audio track
> > > 01-20 23:12:01.785: ERROR/audiothread(24): Error creating AudioTrack
> > > 01-20 23:12:01.876: WARN/PlayerDriver(24):
> > > PVMFInfoErrorHandlingComplete
> > > 01-20 23:12:01.886: DEBUG/MediaPlayer(316): create failed:
> > > 01-20 23:12:01.886: DEBUG/MediaPlayer(316): java.io.IOException:
> > > Prepare failed.: status=0xFFFFFFFF
> > > 01-20 23:12:01.886: DEBUG/MediaPlayer(316):     at
> > > android.media.MediaPlayer.prepare(Native Method)
> > > 01-20 23:12:01.886: DEBUG/MediaPlayer(316):     at
> > > android.media.MediaPlayer.create(MediaPlayer.java:169)
> > > 01-20 23:12:01.886: DEBUG/MediaPlayer(316):     at
> > > org.isol.MyCustomButton$1.onClick(MyCustomButton.java:89)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to