On Mon, Apr 27, 2009 at 5:50 PM, rookie1_1998
<[email protected]>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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to