This is NXPlayStream.h in view mode; [Download] [Up]
/* * NXPlayStream.h * * Copyright (c) 1992, NeXT Computer, Inc. All rights reserved. */ #import "NXSoundStream.h" @interface NXPlayStream:NXSoundStream { float _leftGain; float _rightGain; BOOL _isDetectingPeaks; unsigned int _peakHistory; int _reserved1; } - initOnDevice:anObject; - (NXSoundDeviceError)activate; - getGainLeft:(float *)leftAmp right:(float *)rightAmp; - (NXSoundDeviceError)setGainLeft:(float)leftAmp right:(float)rightAmp; - (NXSoundDeviceError)getPeakLeft:(float *)leftAmp right:(float *)rightAmp; /* New for 3.1.*/ - (NXSoundDeviceError)playBuffer:(void *)data size:(unsigned int)bytes tag:(int)anInt; /* Obsolete - use generic parameter api.*/ - (NXSoundDeviceError)playBuffer:(void *)data size:(unsigned int)bytes tag:(int)anInt channelCount:(unsigned int)channels samplingRate:(float)rate bufferGainLeft:(float)leftAmp right:(float)rightAmp lowWaterMark:(unsigned int)lowWater highWaterMark:(unsigned int)highWater; - (NXSoundDeviceError)playBuffer:(void *)data size:(unsigned int)bytes tag:(int)anInt channelCount:(unsigned int)channels samplingRate:(float)rate; - (BOOL)isDetectingPeaks; - (NXSoundDeviceError)setDetectPeaks:(BOOL)flag; - (unsigned int)peakHistory; - (NXSoundDeviceError)setPeakHistory:(unsigned int)bufferCount; @end @interface Object(NXPlayStreamDelegate) - soundStreamDidUnderrun:sender; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.