Path: utzoo!attcan!uunet!husc6!mailrus!bbn!apple!han From: han@Apple.COM (Byron Han, Architect) Newsgroups: comp.sys.mac.programmer Subject: Re: How do I make sound without the click? Message-ID: <22748@apple.Apple.COM> Date: 23 Dec 88 03:31:13 GMT References: <6593@mva.cs.liv.ac.uk> Organization: Apple Products - Networking & Communications Lines: 25 Use the new sound manager documented in Inside Macintosh Volume V and is back patched to all machines with system 6.0.2 (MacPlus and later). If you add sounds to be played before an old one completes, it will not click (or at least that is the premise). There is also a technical note on producing clickless sound with the old sound manager (Inside Macintosh Volume II) - Technical Note 19. The gist of Technical Note 19 is to not use more than one Write call to the sound driver and to not use the StartSound call at all. Set up your own parameter block and make the device manager call to the sound driver. Modify ioActCount on the fly to feed the sound driver more data. Hope this helps. +-----------------------------------------------------------------------------+ | Disclaimer: Apple has no connection with my postings. | +-----------------------------------------------------------------------------+ Byron Han, Communications Architect I. B. what? Apple Computer, Inc. ------------------------------------- 20525 Mariani Ave, MS27Y Internet: han@apple.COM Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han -------------------------------------- GENIE: BYRONHAN ATTnet: 408-974-6450 Applelink: HAN1 CompuServe: 72167,1664 ------------------------------------------------------------------------------