🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #365

Re: Using a sound in an application...

#365
From: Mike Jory
Date: Fri, 31 Jul 1992 02:57
7 lines
612 bytes
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
Technical Details
Message-ID: <1992Jul31.025720.901@jupiter.sun.csd.unb.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!csd.unb.ca!adam!mtj
References: <30JUL92.17051704@enh.nist.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!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