home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / SpriteFight 2002 v2.0a1 / SoundUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-21  |  518 b   |  33 lines  |  [TEXT/KAHL]

  1. /*
  2. //    SoundUtils.c
  3. //
  4. //    Created: 7/20/92 at 6:50:42 PM
  5. //    By:    Tony Myles
  6. //
  7. //    Copyright © 1992-94 Tony Myles, All rights reserved worldwide.
  8. */
  9.  
  10.  
  11. #ifndef __SOUNDUTILS__
  12. #define __SOUNDUTILS__
  13.  
  14. #ifndef __SOUND__
  15. #include <Sound.h>
  16. #endif
  17.  
  18.  
  19.     // constants
  20. enum
  21. {
  22.     kWaitIfFull = true,
  23.     kSoundComplete = 1
  24. };
  25.  
  26.  
  27.     // prototypes
  28. Boolean SndChannelBusy(SndChannelPtr sndChannelP);
  29. OSErr InstallSoundCallBack(SndChannelPtr sndChannelP);
  30. Handle GetSoundResource(short soundResourceID, OSErr* err);
  31.  
  32.  
  33. #endif /* __SOUNDUTILS__ */