Re: [android-developers] How to know SoundPool play completed?

2011-07-21 Thread Leigh McRae
I don't think there is anything. Best solution is to measure the sound clip duration (likely off line) and then poll or make a timer. Leigh On 7/20/2011 6:08 AM, Tim wrote: Guys, Just want to got callback after SoundPool played a sound. But unfortunately, I found the SoundPool.play() is

[android-developers] How to know SoundPool play completed?

2011-07-20 Thread Tim
Guys, Just want to got callback after SoundPool played a sound. But unfortunately, I found the SoundPool.play() is asynchronized ... and no oncomplete listener like mediaplayer ... Any good idea? -- Tim -- You received this message because you are subscribed to the Google Groups Android