home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7101 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.0 KB  |  30 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!utcsri!newsflash.concordia.ca!ccu.umanitoba.ca!mizar.cc.umanitoba.ca!news
  3. From: tacchi@next01.cc.umanitoba.ca. (Mark G. Tacchi)
  4. Subject: Simple Sound Question
  5. Message-ID: <BxGuMy.Dtt@ccu.umanitoba.ca>
  6. Sender: news@ccu.umanitoba.ca
  7. Nntp-Posting-Host: tilley.cc.umanitoba.ca
  8. Organization: University of Manitoba, Winnipeg, Canada
  9. Date: Mon, 9 Nov 1992 20:37:45 GMT
  10. Lines: 18
  11.  
  12. Can anyone point out why this does't make a sound?  I suppose there is more to  
  13. it than these few lines, right?
  14.  
  15. @implementation MySound:Sound
  16. - beep {
  17.   const char *theName= "Tink.snd";
  18.   [self setName:theName];
  19.   [self play];
  20.   return self;}
  21. @end
  22.  
  23. I can use the SNDPlaySoundfile(path,priority) and that works.
  24.  
  25. --
  26. Mark G. Tacchi                                    tacchi@next01.cc.umanitoba.ca
  27.   Unix Support Group                                        (NeXT Mail Welcome)
  28.   University of Manitoba Computer Services
  29.  "My opinions are my own, and do not necessarily reflect those of my employer."
  30.