home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Programming / Source / Gopher_1.12 / Sound.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-16  |  425 b   |  24 lines

  1. // Sound.h
  2.  
  3. #import <libc.h>
  4. #import    <sound/sound.h>
  5. #import <cthreads.h>
  6. #import "Utilities.h"
  7. #import "Parameters.h"
  8.  
  9. typedef struct _ThreadArgument {
  10.     char     hostname[256];
  11.     int        portnumber;
  12.     char    filename[1024];
  13.     } ThreadArgument;
  14.  
  15.  
  16. extern mutex_t    soundIsPlaying;
  17. extern mutex_t    soundShouldStop;
  18. extern int        soundShouldStopFlag;
  19.  
  20.  
  21. // The function thread-forked to play sounds.
  22. int PlaySound(ThreadArgument *theArgument);
  23.  
  24.