ftp.nice.ch/pub/next/connectivity/infosystems/Gopher.1.13.s.tar.gz#/Gopher_1.13_Source/Sound.h

This is Sound.h in view mode; [Download] [Up]

// Sound.h

#import <libc.h>
#import	<sound/sound.h>
#import <mach/cthreads.h>
#import "Utilities.h"
#import "Parameters.h"

typedef struct _ThreadArgument {
	char 	hostname[256];
	int		portnumber;
	char	filename[1024];
	} ThreadArgument;


extern mutex_t	soundIsPlaying;
extern mutex_t	soundShouldStop;
extern int		soundShouldStopFlag;


// The function thread-forked to play sounds.
int PlaySound(ThreadArgument *theArgument);

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.