[android-developers] Re: Options for sound in games

2010-01-14 Thread dec...@shanaghy.com
I've found SoundPool to be more reliable when you use ogg format files. Anything else causes trouble. For example sounds wont play or exceptions are thrown. On Jan 14, 10:13 am, Neilz neilhorn...@googlemail.com wrote: Well I've got mine working fairly well by using a SoundPool which only

[android-developers] Re: Sleeping thread vs. new thread

2009-01-07 Thread dec...@shanaghy.com
It is not a good idea to create a new thread every 100ms. As you noted there are overheads associated with thread creation. In a past project we noticed a significant memory impact from creating hundreds of thousands of new threads (albeit on windows system) If you don't want to use the sleep