SoundPool has too much jitter for a serious music application. If you
want to control the jitter, you need to output to a single AudioTrack.

On Apr 28, 8:27 am, Marco Nelissen <marc...@android.com> wrote:
> On Mon, Apr 27, 2009 at 5:50 PM, rookie1_1998
> <eric.yongjun.c...@gmail.com>wrote:
>
>
>
> > I need a way to play a short sound clip repeatedly very fast, with
> > precise timing for musical purpose.  I looked around, and it seems
> > like MediaPlayer and SoundPool don't guarantee lag-free playing.  Is
> > there anyway I could load the sound to memory myself and play from
> > memory (edit the stream)?
>
> That's what SoundPool does: it loads the sound in to memory.
> If you really want to copy the bytes yourself, then you should use
> AudioTrack.
--~--~---------~--~----~------------~-------~--~----~
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