DARWEES@gecrdvm1.crd.ge.com (08/15/90)
Well, I've read the sound Manager Notes/Supplement and I guess, maybe I just do n't understand them. I have a snd1 that I would like to play while the rest of my program goes about its business (asynchronously I think is the term). I do n't want anything special...no frills..just an asyc. sound. I've tried opennin g a new channel with a callback procedure: sndnewchannel(mychan,0,initmono,@callback); then I start the sound: sndplay(mychan,mysndhdl,true); the call back procedure is a one-line procedure that sets a flag to true so I k now that I have to close the channel and I check that flag every time through m y main event loop to see if I have to: snddisposechannel(mychan,false); In real life, I DO check all error return values and alert if any are non-zero. The most frequent occurance goes like this: The snd gets played the first time all of this gets called, but if I call it ag ain, nothing happens although the program continues. I am almost positive that my callback routine is not being called, but I have no idea what my problem is. Any help would be greatly appreciated, Remember, all I really want is a method for async sounds. Thanks, -Mike Darweesh darwees@gecrdvm1.bitnet weesh@crd.ge.com