[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SndPlay problem



>I'm playing asynchronous sounds and am having trouble.  The sounds
>regularly turn to white noise when the screen redraws.

>The screen is completely covered by a gworld (actually, the gworld extends
>beyond the edges of the monitor), and I do some simple drawing on top of
>that.

>Simple drawing includes:

>_DrawString
>_TextBox
>_PaintRect

>Does anybody know of any possible source of conflict between the sound
>manager using asynchronous sound and QuickDraw calls?

>-- 
>--
>-- "TANSTAAFL" Rich lynch@ils.nwu.edu

I had the same problem. It happens when the sound is kind of "long",
say more than 5 seconds.  I ended up cutting the sound short.  
I did not use gworld.  The drawing is to the window directly.

Sheldon Shen