Hi,

I am using AudioTrack to play a sound sample in static mode.
I can manage to have it played once, but fail on replaying the
AudioTrack.
The docs state that reloadStaticData() needs to be called before the
AudioTrack can be replayed. But when I simply call reloadStaticData()
before the second play(), there is only silence. I have also tried to
call setPlaybackHeadPosition(0) without any effect.

So, what must be done minimally to reset an AudioTrack instance to be
able to replay it?

Any help is greatly appreciated.

Peter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to