Hi, You can use the AudioTrack class to stream raw PCM data.

On Apr 27, 7: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)?
>
> I know in Java I can do something with ByteArrayInputStream but so far
> I couldn't find any way to do this in Android...
--~--~---------~--~----~------------~-------~--~----~
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