Initializes the receiver with a given audio data.
Original signature is '- (id)initWithData:(NSData *)audioData'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- audioData (NSData)
- Audio data with which the receiver is to be initialized. The data must have a proper magic number, sound header, and data for the formats the NSSound class supports.
Return Value
Initialized NSSound instance.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)