ftp.nice.ch/pub/next/games/action/xox/xox.940213.s.tar.gz#/xoxsrc.940213/xoxsrc/SoundMgr.h

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

#import <appkit/appkit.h>
#import <objc/Object.h>
#import <soundkit/soundkit.h>

#define MAX_STREAMS 8

@interface SoundMgr:Object
{
	int currentStream;
	NXSoundOut *device;
	NXPlayStream *streamList[MAX_STREAMS];
	Storage *soundList;
	BOOL glSoundEnabled;
	Storage *currentSounds;		// sounds played this iteration
}

- oneStep;
- (int) addSound:(const char *)name sender:whom;
- (int) addSound:(const char *)name sender:whom cache:(BOOL)cacheit;
- cacheSound:(int)whichSound;
- (char *)soundName:(int)whichSound;
- playSound: (int)whichSound at: (float)mix;
- free;
- (BOOL)turnSoundOn:sender;
- turnSoundOff;
- (BOOL)isSoundEnabled;

@end

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