[comp.sys.mac.programmer] SOUND MANAGER CRASHES!

milo@ndmath.UUCP (Greg Corson) (08/15/89)

Ok...here's the deal...I've got a game which (very frequently) calls the
6.0.2 sound manager to play 'snd ' resources.  This works great (except
that I can't play 2 sounds at the same time easily) but I have one very
SERIOUS problem.

Some of the people who use the game have SUPERCLOCK or other clock programs
installed that play a "chime" on the hour.  Apparently, if the clock makes
it's sound while my game is also making a sound, the Mac crashes or freezes
up.

This is a pretty serious problem and, although I haven't tested it yet, I
bet the "alarm" from the Apple alarm clock DA would do the same thing.  I'm
guessing that the problem is SUPERCLOCK using "old" sound manager while
I use the "new" one.  Either that or one of us is making an error when we
try to open a sound channel.

Anybody have a possible solution to this??  I really hate to have to tell 
users to turn off superclock everytime they play.

Greg Corson
19141 Summers Drive
South Bend, IN 46637
(219) 277-5306 
{pur-ee,rutgers,uunet}!iuvax!ndmath!milo
 

topping@dinghy.cis.ohio-state.edu (brian e topping) (09/05/89)

If SuperClock causes such problems and you don't mind killing Pyro, Dimmer,
et. al., just turn them off yourself!  Store the value of the low memory global
jGNEvent somewhere, and anytime you don't want to hear from the aforementioned
programs zap jGNE to zero.  Restore it when you are done, and presto!


Brian Topping
(Note new convoluted address:)
BETOPPIN@OWUCOMCN