Up

NSSound

Authors

Enrico Sersale (enrico@imago.ro)
Load, manipulate and play sounds

Copyright: (C) 2002 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSSound class
  2. Software documentation for the NSBundle(NSSoundAdditions) category
  3. Software documentation for the NSObject(NSSoundDelegate) informal protocol

Software documentation for the NSSound class

NSSound : NSObject

Declared in:
AppKit/NSSound.h
Conforms to:
NSCoding
NSCopying
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


Instance Variables

Method summary

canInitWithPasteboard: 

+ (BOOL) canInitWithPasteboard: (NSPasteboard*)pasteboard;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


soundNamed: 

+ (id) soundNamed: (NSString*)name;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


soundUnfilteredFileTypes 

+ (NSArray*) soundUnfilteredFileTypes;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


soundUnfilteredPasteboardTypes 

+ (NSArray*) soundUnfilteredPasteboardTypes;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


delegate 

- (id) delegate;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initWithContentsOfFile: byReference: 

- (id) initWithContentsOfFile: (NSString*)path byReference: (BOOL)byRef;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initWithContentsOfURL: byReference: 

- (id) initWithContentsOfURL: (NSURL*)url byReference: (BOOL)byRef;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initWithData: 

- (id) initWithData: (NSData*)data;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


initWithPasteboard: 

- (id) initWithPasteboard: (NSPasteboard*)pasteboard;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


isPlaying 

- (BOOL) isPlaying;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


name 

- (NSString*) name;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


pause 

- (BOOL) pause;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


play 

- (BOOL) play;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


resume 

- (BOOL) resume;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setDelegate: 

- (void) setDelegate: (id)aDelegate;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


setName: 

- (BOOL) setName: (NSString*)aName;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


stop 

- (BOOL) stop;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


writeToPasteboard: 

- (void) writeToPasteboard: (NSPasteboard*)pasteboard;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.




Instance Variables for NSSound Class

_channelCount

@protected int _channelCount;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_data

@protected NSData* _data;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_dataFormat

@protected int _dataFormat;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_dataLocation

@protected long int _dataLocation;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_dataSize

@protected long int _dataSize;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_delegate

@protected id _delegate;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_frameCount

@protected long int _frameCount;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_frameSize

@protected float _frameSize;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_name

@protected NSString* _name;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_onlyReference

@protected BOOL _onlyReference;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_samplingRate

@protected float _samplingRate;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_uniqueIdentifier

@protected NSString* _uniqueIdentifier;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Software documentation for the NSBundle(NSSoundAdditions) category

NSBundle(NSSoundAdditions)

Declared in:
AppKit/NSSound.h
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

Method summary

pathForSoundResource: 

- (NSString*) pathForSoundResource: (NSString*)name;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.


Software documentation for the NSObject(NSSoundDelegate) informal protocol

NSObject(NSSoundDelegate)

Declared in:
AppKit/NSSound.h
Availability: Not in OpenStep/MacOS-X

Description forthcoming.

Method summary

sound: didFinishPlaying: 

- (void) sound: (NSSound*)sound didFinishPlaying: (BOOL)aBool;
Availability: Not in OpenStep/MacOS-X

Description forthcoming.



Up