[android-developers] byte audio stream?

2009-04-27 Thread rookie1_1998
Is there any way to play audio from memory? I know in Java you can use ByteArrayInputStream or other similar classes to handle this but I haven't found any way to do this in Android. I tried to use SoundPool, but for me timing is an important issue so I can't use that one. The latest I found is

[android-developers] Playing sound from memory

2009-04-27 Thread rookie1_1998
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