Class

AVAssetReaderAudioMixOutput

An object that defines an interface for reading audio samples that result from mixing the audio from one or more tracks.

Declaration

@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput

Overview

AVAssetReaderAudioMixOutput is a concrete subclass of AVAssetReaderOutput.

You can read the audio data mixed from one or more asset tracks by adding an instance of AVAssetReaderAudioMixOutput to an asset reader using addOutput:. You can read the samples in a default format or you can convert them to a different format.

Topics

Creating an Audio Mix Output

- initWithAudioTracks:audioSettings:

Initializes an audio mix output instance for reading mixed audio from the specified audio tracks, with optional audio settings.

+ assetReaderAudioMixOutputWithAudioTracks:audioSettings:

Creates an audio mix output instance for reading mixed audio from the specified audio tracks, with optional audio settings.

Configuring Audio Properties

audioMix

The output’s audio mix.

audioSettings

The audio settings used for audio output.

audioTracks

The tracks from which the receiver reads mixed audio.

audioTimePitchAlgorithm

The processing algorithm used to manage audio pitch for scaled audio edits.

Relationships

Inherits From

See Also

File Import

AVAssetReader

A reader object used to obtain the media data of an asset, either file-based or consisting of an assemblage of media data from multiple sources.

AVAssetReaderTrackOutput

An object that defines an interface for reading media data from a single track of an asset reader's asset.

AVAssetReaderSampleReferenceOutput

An object that defines an interface for reading sample references from a single asset track.

AVAssetReaderVideoCompositionOutput

An object that reads video frames composited from the frames in one or more tracks of a reader's assets.

AVAssetReaderOutput

An abstract class that defines an interface for reading a single collection of samples of a common media type from an asset reader object.

AVAssetReaderOutputMetadataAdaptor

An object that defines an interface for reading metadata.

AVAssetImageGenerator

An object that provides thumbnail or preview images of assets independently of playback.