home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!usenet.coe.montana.edu!news.u.washington.edu!nntp.uoregon.edu!cs.uoregon.edu!geriatrix.cs.uoregon.edu!jasper
- From: jasper@geriatrix.cs.uoregon.edu (Jon Barber)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Sound Loop in a with a Modal Dialog?
- Summary: this guy needs asynchronous sound
- Message-ID: <1992Sep10.172752.19114@cs.uoregon.edu>
- Date: 10 Sep 92 17:27:52 GMT
- References: <1992Sep3.145524.8874@utkux1.utk.edu> <REEKES-080992142744@90.10.20.67>
- Sender: news@cs.uoregon.edu (Netnews Owner)
- Organization: University of Oregon Computer and Information Sciences Dept.
- Lines: 28
-
- >>(Danny W. McCampbell) wrote:
- >>
- >> Hi. I want to play a sound continuously while a modal dialog is
- >> present on the screen.
-
- > Jim Reekes from Apple responds:
- >
- >The approach I would take is to start the sound, then call ModalDialog.
- >You need to use the callBackCmd and a CallBackProc. You first play the
- >sound (ie. bufferCmd) then issue the callBackCmd. When the sound ends
- >your CallBackProc is called. This will call SndDoCommand with another
- >bufferCmd to start the sound again.
-
- yahh man - you have a wrong approach. You definitely want
- to use the way cool _asynchronous_ capabilities of the
- sound manager. Jim's saying the same thing, if a little
- technically.
-
- I just finished a way cool Think C 5.0 TCL class "CQuickSound" which
- would is specifically for playing asychronous sounds efficiently
- and with minimal pain for the programmer.
-
- How many people would be interested in free- or share-ware code
- for quick&easy asynchronous sound playback?
-
- As Byan K. "Beaker" Ressler says, "Join the Noisy Revolution Today!"
-
- - jasper@cs.uoregon.edu
-