I've found the audio subsystem is a little quirky. It's great if you
are playing songs, or video but if you are writing a game that plays
short sounds quickly it poses problems. After much work I found a
pretty cool solution to one of the annoying problems of MediaPlayer
being sluggish to play
In this code I merely place the sound in the 'pause' state as I simply
want to unpause with the 'start()'. Doing a start on a paused
MediaPlayer instance does not reload the sound but simply changes
state back to 'Started' which makes it begin playing again thus waking
up the audio system. (see
1.1 as I wanted my app to work on the widest
possibly pool of phones in the field. Is soundpool more reliable under
1.5?
On Jun 29, 2:10 pm, Mark Murphy mmur...@commonsware.com wrote:
Baratong wrote:
I've found the audio subsystem is a little quirky. It's great if you
are playing songs, or video
...@gmail.com wrote:
On Sat, Jun 27, 2009 at 3:08 PM, Baratong pwalter...@gmail.com wrote:
What I ended up doing was this:
1. Use Audacity to create a 1-second .wav of total silence and add the
wave into my manifest as a raw resource referenced in the app as
R.raw.silence.
2. On startup
4 matches
Mail list logo