home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!news.tek.com!psgrain!charnel!rat!usc!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!mizar.cc.umanitoba.ca!news
- From: tacchi@next01.cc.umanitoba.ca. (Mark G. Tacchi)
- Subject: Re: Simple Sound Question
- Message-ID: <BxIM2w.K3p@ccu.umanitoba.ca>
- Sender: news@ccu.umanitoba.ca
- Nntp-Posting-Host: tilley.cc.umanitoba.ca
- Organization: University of Manitoba, Winnipeg, Canada
- References: <BxGuMy.Dtt@ccu.umanitoba.ca>
- Date: Tue, 10 Nov 1992 19:28:06 GMT
- Lines: 30
-
- In article <BxGuMy.Dtt@ccu.umanitoba.ca> tacchi@next01.cc.umanitoba.ca. (Mark
- G. Tacchi) writes:
- > Can anyone point out why this does't make a sound? I suppose there is more
- to
- > it than these few lines, right?
- >
- > @implementation MySound:Sound
- > - beep {
- > const char *theName= "Tink.snd";
- > [self setName:theName];
- > [self play];
- > return self;}
- > @end
- >
- > I can use the SNDPlaySoundfile(path,priority) and that works.
-
- Thanks to those who responded to my posting. The implementation I will be
- using is simply:
-
- @implementation MySound:Sound
- - beep {
- [[Sound findSoundFor:"Tink"] play];
- return self;}
- @end
-
- --
- Mark G. Tacchi tacchi@next01.cc.umanitoba.ca
- Unix Support Group (NeXT Mail Welcome)
- University of Manitoba Computer Services
- "My opinions are my own, and do not necessarily reflect those of my employer."
-