[comp.sys.mac.programmer] Using SOundound Manager safely

cnc@hpcilzb.HP.COM (Chris Christensen) (11/01/88)

I want to write a program using the new sound manager routines that my Mac Plus
just got access to in 6.0, but I don't want the program to crash on an older
system. How can I tell if the system I cam running on supports these routines?

Chris Christensen

cnc@hpcilzb.HP.COM (Chris Christensen) (11/04/88)

For further infroamtion.

I am playing snd resources with:

        theSound = GetResource('snd ', id);
	LoadResource(theSound);
	HNoPurge(theSound);
	SndPlay(0, theSound, false);


I have also wondered how to change the frequency of the snd resource. I have 
some great sounds that do not play at the right frequency using the above code.

Chris

cnc@hpcilzb.HP.COM (Chris Christensen) (11/05/88)

Well...

I fixed my program. I think. As I understand it Sound Manager is available
in machines with the 128K RAM (Mac SE + II) and in older systems under system
6 or greater. So I check SysEnvirons.