system@asuvax.asu.edu (Marc Lesure) (12/08/90)
I have a DA to which I added sound and have come across the following problem. I had a routine which has the calls: PlayASound() { SndNewChannel(...); ... SndPlay(...); ... SndDisposeChannel(...); } This worked fine if I was doing synchronous sound, but I wanted to do multiple async sounds. So I changed the code to be like: main() { SndNewChannel(...); ... PlayASound(...); ... PlayASound(...); ... SndDisposeChannel(...); } PlayASound(id) { GetResource('snd ',id); ... SndPlay(...); ReleaseResource(...); } The above code works fine for async sound, however any call to SysBeep() now causes the menu bar to flash but no sound. How do I get async sounds and SysBeep to continue beeping? I'm using System 6.0.5 and Think C 4.0. and yes the control panel volume control is not set to zero. ----------------------------------------------------------------------- Marc Lesure / Arizona State University / Tempe, AZ "Between the world of men and make-believe, I can be found..." "False faces and meaningless chases, I travel alone..." "And where do you go when you come to the end of your dream?" UUCP: ...!ncar!noao!asuvax!lesure Internet: lesure@asuvax.eas.asu.edu