Instance Property

channelAssignments

An array of AVAudioSessionChannelDescription objects associated with the audio player

Declaration

@property(nonatomic, copy) NSArray<AVAudioSessionChannelDescription *> *channelAssignments;

Discussion

The default value for this property is nil. When non-nil, this array must have the same number of elements as returned by the numberOfChannels property. You can use this property to help you assign output to play to different channels.

See Also

Managing Information About a Sound

numberOfChannels

The number of audio channels in the sound associated with the audio player.

duration

The total duration, in seconds, of the sound associated with the audio player.

currentTime

The playback point, in seconds, within the timeline of the sound associated with the audio player.

deviceCurrentTime

The time value, in seconds, of the audio output device.

url

The URL for the sound associated with the audio player.

data

The data object containing the sound associated with the audio player.

currentDevice

The UID of the current audio player.

format

The format of the audio in the buffer.