SoundPool workarounds?

All your problems with Audio, Video and Images.

SoundPool workarounds?

Postby spirolateral » Wed Nov 26, 2008 4:50 am

hey,

so i'm writing a game and i'm trying to use SoundPool. Using MediaPlayer was crashing the app after replaying the sound a couple of times. anyway, SoundPool works great, when it works. the problem is that sometimes the sounds are "not ready". i get a lot of warnings saying "SoundPool sample # not READY".

so, the question i have is has anyone worked around this problem? how can i detect if/when a sound is ready? if i can detect that it's not ready i can try to reinitialize it or something. any help is appreciated.

the game is really simple and this is the only problem i'm having. i hope there's a way around it.
spirolateral
Developer
Developer
 
Posts: 25
Joined: Tue Oct 14, 2008 5:15 am

Top

Postby MrSnowflake » Wed Nov 26, 2008 11:43 am

There's a whole thread about SoundPool and it's quirks and workarounds on this forum.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby spirolateral » Wed Nov 26, 2008 4:38 pm

MrSnowflake wrote:There's a whole thread about SoundPool and it's quirks and workarounds on this forum.


thanks.
spirolateral
Developer
Developer
 
Posts: 25
Joined: Tue Oct 14, 2008 5:15 am

Postby MrSnowflake » Wed Nov 26, 2008 7:44 pm

spirolateral wrote:
MrSnowflake wrote:There's a whole thread about SoundPool and it's quirks and workarounds on this forum.


thanks.
That's what search is for...
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests