home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14086 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!kuhub.cc.ukans.edu!husc-news.harvard.edu!husc-news!baker4
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: sndChannels, Mac Pluses, and -201
  4. Message-ID: <BAKER4.92Aug17105329@husc10.harvard.edu>
  5. From: baker4@husc10.harvard.edu (David Baker)
  6. Date: 17 Aug 92 10:53:29
  7. Distribution: comp
  8. Organization: Department of Psychology, Harvard University
  9. Nntp-Posting-Host: husc10.harvard.edu
  10. Lines: 25
  11.  
  12. I have a program that, among other things, opens up a sound channel (with
  13. SndNewChannel, links it to the sampled sound synthesizer, and later attempts
  14. to play a sound with SndPlay.  On anything with an ASC, all is well,
  15. basically, but on, say, a Mac Plus, although I can open (and later close) the
  16. channel with no problems, SndPlay does not play anything and returns a code of
  17. -201, which I have found out is "notEnoughHardware."  However, I am only using
  18. this one channel, which, I have heard, should not throw any Mac into fits.
  19. The Mac Plus has System 7, which may be interesting because a previous version
  20. of this program, which used almost exactly the same calls, did run on the Plus
  21. under System 6.  To make things more confusing, when another part of this
  22. program calls SndPlay with a NULL sound channel pointer, the sound plays.
  23.  
  24. Any help would be appreciated.
  25.  
  26. --
  27. -------------------------------------------------------------------------------
  28. David P. Baker                Misbrainer:
  29. Work: dpb@huelings.harvard.edu        The onions impressed herein are mine,
  30. Home: baker4@husc.harvard.edu        knot throes of my imploder.
  31. Office: William James Hall 844        
  32.     Department of Psychology
  33.     Harvard University        Note: If responding by mail, please
  34.     (617) 495-3773            use my "Work" address above.
  35. -------------------------------------------------------------------------------
  36.  
  37.