[comp.sys.mac.programmer] System Error #11 and async sounds

weesh@grymoire.crd.ge.com (Darweesh) (08/27/90)

Well, with some help, I have almost gotten my asychronous sound working (I've
been trying to write a neato-keen Mac game and was stuck on the async snd
for a long time).....please notice the "almost" in that phrase though.
Right now, the code produces async sound pretty well until at some 
apparently random call (to snddocommand), I get a sys error #11.  Any and
all help and recommendations would be appreciated.  I am using Think Pascal
3.01 on a Mac II with two megs.  I run lots of inits, but when I take ALL
of them out, it still bombs.  
	In order to make this easier for any kind soul who decides to try to
help, I have prepared a file with all the relavent code along with a slightly
longer description of the situation.  I will send this upon request.

	I will probably worship anyone who helps me solve this problem.

-Mike Darweesh
weesh@crd.ge.com
darwees@gecrdvm1.bitnet