[comp.sys.mac.programmer] SndPlay

mlab2@kuhub.cc.ukans.edu (11/17/90)

>    >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**
:.=....:****************************************************************