destroySound problem


05-03-2008 12:58:42


When I try to destroy a sound and recreate to play it, the sound engine acts wierdly. It performs well when only one sound is registered (deleted and recreated again and again) but when multiple sound files are in action the outcome is unpredictable.

I used both destroySound for each sound and destroyAllSounds. Neither of them did well. So I delete soundManager every time i want to restart sound files. but it is not preferable.

I do not know the inner details but I think the problem is somehow related with the sound buffers.

Is there any way to fix this?

thanks in advance.

p.s. I am using the latest eihort svn version