[android-developers] Re: Sound in games

2009-10-09 Thread Robert Green

99% of the SoundPool bugs are worked out.  It's great for games!  I
use it in everything I do.

On Oct 9, 4:07 am, "yarik...@gmail.com"  wrote:
> Hi all!
>
> I have pretty common question:
> is there any bug-free way to implement sound effects in a game?
>
> Or we only have unpredictable SoundPool with its horrible bugs?
> Or MediaPlayer that can only play one sound at once and which
> is not solution for a game at all?
>
> In fact, it is disturbing question for numerous developers right now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Sound in games

2009-10-09 Thread yarik

At the same time playing mp3 or ogg with MediaPlayer it is too slow
for games, it causes lags.

On Oct 9, 12:46 pm, yarik  wrote:
> MediaPlayer cuts last few milliseconds in short sounds after first
> playing, at least with wma files.
>
> On Oct 9, 12:28 pm, sleith  wrote:
>
>
>
> > how about allocate many MediaPlayer? is it bad?
>
> > On Oct 9, 4:07 pm, "yarik...@gmail.com"  wrote:
>
> > > Hi all!
>
> > > I have pretty common question:
> > > is there any bug-free way to implement sound effects in a game?
>
> > > Or we only have unpredictable SoundPool with its horrible bugs?
> > > Or MediaPlayer that can only play one sound at once and which
> > > is not solution for a game at all?
>
> > > In fact, it is disturbing question for numerous developers right now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Sound in games

2009-10-09 Thread yarik

MediaPlayer cuts last few milliseconds in short sounds after first
playing, at least with wma files.

On Oct 9, 12:28 pm, sleith  wrote:
> how about allocate many MediaPlayer? is it bad?
>
> On Oct 9, 4:07 pm, "yarik...@gmail.com"  wrote:
>
>
>
> > Hi all!
>
> > I have pretty common question:
> > is there any bug-free way to implement sound effects in a game?
>
> > Or we only have unpredictable SoundPool with its horrible bugs?
> > Or MediaPlayer that can only play one sound at once and which
> > is not solution for a game at all?
>
> > In fact, it is disturbing question for numerous developers right now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Sound in games

2009-10-09 Thread sleith

how about allocate many MediaPlayer? is it bad?

On Oct 9, 4:07 pm, "yarik...@gmail.com"  wrote:
> Hi all!
>
> I have pretty common question:
> is there any bug-free way to implement sound effects in a game?
>
> Or we only have unpredictable SoundPool with its horrible bugs?
> Or MediaPlayer that can only play one sound at once and which
> is not solution for a game at all?
>
> In fact, it is disturbing question for numerous developers right now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---