home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!csd.unb.ca!adam!mtj
- From: mtj@adam.unbsj.ca (Mike Jory)
- Subject: Re: Using a sound in an application...
- Message-ID: <1992Jul31.025720.901@jupiter.sun.csd.unb.ca>
- Sender: news@jupiter.sun.csd.unb.ca
- Organization: University of New Brunswick, Saint John
- References: <30JUL92.17051704@enh.nist.gov>
- Date: Fri, 31 Jul 1992 02:57:20 GMT
- Lines: 7
-
- To play a sound, add the following code to your program:
- #import <sound/sound.h>
-
- and whenever you want to play the sound:
- SNDPlaySoundfile(filename,0);
-
- mtj@unbsj.ca
-