[android-developers] Re: problem with playing sounds using media player

2009-02-04 Thread Dave Sparks
The message could be a clue, it's trying to tell you that the CPU is overloaded, i.e. you're trying to do too much. Have you tried running "top" to check the CPU load? On Feb 4, 10:32 pm, suhas wrote: > Hi all, > I m using mp3 sound in my game (used wav format also)  while > playing sou

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread suhas gavas
hi, My program is a 3d game . And i m creating 6 to 7 media player in my game .. so is this y the warning is flashed ? On Thu, Feb 5, 2009 at 1:04 PM, Dave Sparks wrote: > > The message could be a clue, it's trying to tell you that the CPU is > overloaded, i.e. you're tr

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread Dave Sparks
If you are playing 6 or 7 MP3 files at the same time, you are probably saturating the CPU just decoding the audio. On Feb 5, 1:10 am, suhas gavas wrote: > hi, > > My program is a 3d game . And i m creating 6 to 7 media > player in my game .. so is this y the warning is fl

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread suhas gavas
Hi, No ... i m not playing 6 to 7 mp3 files at same time .. later that day i have tried with just playing one single file and same issue . But then i tried SoundPool api and it worked fine . Then also i wonder what was the prb with mediaplayer On Fri, Feb 6,

[android-developers] Re: problem with playing sounds using media player

2009-02-05 Thread Dave Sparks
Suggest you try running top to find out what's hogging the CPU. On Feb 5, 9:22 pm, suhas gavas wrote: > Hi, > No ... i m not playing 6 to 7 mp3 files at same time .. > later that day i have tried with just playing one single file and same issue > . But then i trie

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread suhas gavas
Hi, I have used media player in my formal game which was 2d game ... At that time I used view . But now its 3d game and so i have extended surfcae view . So much rendering is done at run time . So i thing this must be issue as cpu is overloaded and i have ch

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread dengjiuhong
I found SoundPool is very useful! On Feb 6, 1:22 pm, suhas gavas wrote: > Hi, > No ... i m not playing 6 to 7 mp3 files at same time .. > later that day i have tried with just playing one single file and same issue > . But then i tried SoundPool api and it worked

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread Syed Malgimani
regards Syed _ From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of suhas gavas Sent: Friday, February 06, 2009 3:44 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: problem with playing sounds using media

[android-developers] Re: problem with playing sounds using media player

2009-02-06 Thread Dave Sparks
There is a lot of new audio support in the Cupcake SDK release. This includes working SoundPool for low-latency sounds and streaming audio API's. On Feb 6, 2:13 am, suhas gavas wrote: > Hi, > I have used media player in my formal game which was 2d game ... > At that time I used view