home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / SoundApps / TimeWarp / Source / errors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  761 b   |  28 lines

  1. /* errors.m
  2.  * Routines to simplify the checking and reporting of mach/sound kit/sound
  3.  * driver errors.
  4.  *
  5.  * !!!
  6.  * This file needs to be reworked under 3.0!!  The snd_msgs.h file has
  7.  * gone away.  The workaround is described in NeXTAnswer sound.855.
  8.  * !!!
  9.  *
  10.  * You may freely copy, distribute, and reuse the code in this example.
  11.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  12.  * fitness for any particular use.
  13.  *
  14.  * Written by: Robert Poor
  15.  * Created: Sep/92
  16.  */
  17.  
  18. /*
  19.  * Error handling routines for sound hacking.
  20.  */
  21.  
  22. #import <objc/Object.h>
  23.  
  24. char *snd_error_string(int error);
  25. id checkMachError(id obj, int err, char *msg);
  26. id checkSnddriverError(id obj, int err, char *msg);
  27. id checkSNDError(id obj, int err, char *msg);
  28.