home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.2 (Developer)
/
NS_dev_3.2.iso
/
NextDeveloper
/
Headers
/
soundkit
/
NXSoundParameters.h
< prev
next >
Wrap
Text File
|
1993-03-16
|
1KB
|
44 lines
/*
* NXSoundParameters.h
*
* Copyright (c) 1993, NeXT Computer, Inc. All rights reserved.
*/
#import <objc/Object.h>
#import <objc/HashTable.h>
#import <sound/soundstruct.h>
#import <soundkit/NXSoundParameterTags.h>
@protocol NXSoundParameters
- (BOOL)boolValueForParameter:(NXSoundParameterTag)ptag;
- (int)intValueForParameter:(NXSoundParameterTag)ptag;
- (float)floatValueForParameter:(NXSoundParameterTag)ptag;
- (void)setParameter:(NXSoundParameterTag)ptag toBool:(BOOL)flag;
- (void)setParameter:(NXSoundParameterTag)ptag toInt:(int)value;
- (void)setParameter:(NXSoundParameterTag)ptag toFloat:(float)value;
- (void)removeParameter:(NXSoundParameterTag)ptag;
- (BOOL)isParameterPresent:(NXSoundParameterTag)ptag;
- (void)getParameters:(const NXSoundParameterTag **)list
count:(unsigned int *)numParameters;
- (void)getValues:(const NXSoundParameterTag **)list
count:(unsigned int *)numValues forParameter:(NXSoundParameterTag)ptag;
@end
@interface NXSoundParameters:Object <NXSoundParameters>
{
HashTable *_paramTable;
NXSoundParameterTag *_paramList;
int _reserved;
}
+ (const char *)localizedNameForParameter:(NXSoundParameterTag)ptag;
- init;
- initFromSound:aSound;
- initFromSoundStruct:(SNDSoundStruct *)soundStruct;
- (void)configureSoundStruct:(SNDSoundStruct *)soundStruct;
- write:(NXTypedStream *)stream;
- read:(NXTypedStream *)stream;
- free;
@end