Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!kuhub.cc.ukans.edu!mlab2 From: mlab2@kuhub.cc.ukans.edu Newsgroups: comp.sys.mac.programmer Subject: SndPlay() and 6.07 (was: Re: My games crash under 6...) Message-ID: <26982.27444a00@kuhub.cc.ukans.edu> Date: 17 Nov 90 01:20:16 GMT References: <1990Nov11.233239.26969@maytag.waterloo.edu> <1990Nov12.155410.25204@actrix.co.nz> <26940.2741a914@kuhub.cc.ukans.edu> <1990Nov15.185819.13352@eng.umd.edu> <1990Nov15.213817.9103@hoss.unl.edu> Organization: University of Kansas Academic Computing Services Lines: 38 > >It's the new sound manager biting you-- I downloaded Pararena of a local > >BBS recently, after getting 6.07, and experimented a bit. If you turn > >all the sounds off, it works fine. If you turn one of the sounds on, it > >works. If you turn more then one sound on, and they play in too-rapid > >succession (probably one starts before the other stops)-- CRASH. Do > >you explicitly stop current sounds before starting new ones? By disposing the sound channel or what? I'll look a little more closely at my code. You know though, for all this time, if it ain't broke... (Of course, it's broke now). > I think I have a similar problem. I was using SndPlay() > asynchronously, and now it doesn't work with 6.0.7. Do you or > anyone else have any sample code that uses the Sound Manager > correctly? I found both sets of documentation (the 'bogus' Chapter > 27 in Inside Mac V and the supplement ms word file) totally > confusing. > > I must have a rogue copy of 6.0.7 -- all of my async SndPlay code > works just like it always did, and I couldn't get Pararena to crash. > I'm using a basic II. Maybe this is related to the Apple Sound Chip. > > -phil > -- > Phil Shapiro Technical Support Analyst Well, thanks all. Still working on it. I did manage to nail down the NEW Chapter 22 Sound Manager from rumored IM vol. VI. I pulled it off America Online. Lot of neat stuff about MACE. I'll have to digest it this weekend. I'll let the net know if I find a fix. BTW, Pararena, Glider+, Glypha, and Stella Obscura for the person who asked. :======:**************************************************************** : ==== :* ** And watching the stars go on at night, ** : === :* Soft Dorothy ** I'd like to see just one of them die.. ** : == :* *****************************************jc** :.=....:****************************************************************