Deprecated NSSound Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.5

soundUnfilteredFileTypes

Provides the list of file types the NSSound class understands. (Deprecated in OS X v10.5. Use soundUnfilteredTypes.)

+ (NSArray *)soundUnfilteredFileTypes
Return Value

Array of strings representing the file types the NSSound class understands.

Discussion

The returned array may be passed directly to the runModalForTypes: method of the NSOpenPanel class.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.5.
Declared In
NSSound.h

soundUnfilteredPasteboardTypes

Provides a list of the pasteboard types that the NSSound class can accept. (Deprecated in OS X v10.5. Use soundUnfilteredTypes.)

+ (NSArray *)soundUnfilteredPasteboardTypes
Return Value

Array of pasteboard types that the NSSound class can accept.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.5.
Declared In
NSSound.h

Deprecated in OS X v10.9

channelMapping

Provides the receiver’s channel map. (Deprecated in OS X v10.9.)

- (NSArray *)channelMapping
Return Value

The receiver’s audio-channel–to–device–channel mappings.

Discussion

A channel map correlates a sound’s channels to the the output-device’s channels. For example, a two-channel sound being played on a five-channel device should have a channel map to optimize the sound-playing experience. The default map, correlates the first sound channel to the first output channel, the second sound channel to the second output channel, and so on.

For details about channel maps, see Core Audio Overview > “Common Tasks in OS X.”

Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.9.
Declared In
NSSound.h

setChannelMapping:

Specifies the receiver’s channel map. (Deprecated in OS X v10.9.)

- (void)setChannelMapping:(NSArray *)channelMapping
Parameters
channelMapping

Audio-channel—to—device–channel mappings for the receiver.

Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.9.
Declared In
NSSound.h