[android-developers] Re: adding audio to a game - triggerClip for SFX

2010-07-30 Thread Dave Sparks
triggerClip() was designed to play synchronized sound effects for musical games like JetBoy. If you just want to play random sound effects, I would use SoundPool instead. On Jul 30, 5:53 am, kk kkostia...@gmail.com wrote: Hi all, I'm using JetPlayer in order to add some audio to a game I'm

[android-developers] Re: adding audio to a game - triggerClip for SFX

2010-07-30 Thread kk
Dave, Thank you for your quick response. SoundPool is indeed the right way to go and I've got my SFX playing...pretty straight forward interface. A small problem I'm having is that during playback I get a lot of: W/AudioFlinger( 31): write blocked for 50 msecs Also, although my (relative