Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!REEKES@applelink.apple.com From: REEKES@applelink.apple.com (Jim Reekes) Newsgroups: comp.sys.mac.programmer Subject: Re: Code I'd like to borrow from you :-) Message-ID: <13152@goofy.Apple.COM> Date: 23 Apr 91 22:03:26 GMT References: <1601@babcock.cerc.wvu.wvnet.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 24 In article <1601@babcock.cerc.wvu.wvnet.edu>, vrm@blackwater.cerc.wvu.wvnet.edu (Vasile R. Montan) writes: > > Sound management > Finally, how about some prepared code for using the sound manager? > What I need is a routine to which I can simply pass handles for snds, and > have the sounds queued and played synchronously while my program is off > doing other things. It would also be nice if this piece of code included > some sort of "Kill Sound" routine to stop the sound and clear the queue. > > P.S. If any of this code is available at an FTP site, I would appreciate > getting the address. Thank you for your help! > Yup, you can download the MacDTS-issue sample code. Look for the one named, "SoundApp." It does exactly what you've asked for. Its also on nearly all of the Developer CD releases. Jim Reekes, Mac Toolbox Engineer P.S. You can read about the other requests in "The Best of MacTutor series. As an example, the source to an icon LDEF was published. They also printed an article on a MDEF for patterns. As for serious list management, you should skip the List Manager and write a decent database engine or B-tree system. Most of this you can copy from a college text book.