iOS Developer Library

Developer

AVFoundation Framework Reference AVMutableAudioMix Class Reference

Options
Deployment Target:

On This Page
Language:

AVMutableAudioMix

Inheritance


Conforms To


Import Statement


Swift

import AVFoundation

Objective-C

@import AVFoundation;

Availability


Available in iOS 4.0 and later.

An AVMutableAudioMix object manages the input parameters for mixing audio tracks. It allows custom audio processing to be performed on audio tracks during playback or other operations.

  • Returns a new mutable audio mix.

    Declaration

    Objective-C

    + (AVMutableAudioMix *)audioMix

    Return Value

    A new mutable audio mix.

    Discussion

    Import Statement

    Objective-C

    @import AVFoundation;

    Availability

    Available in iOS 4.0 and later.

  • The parameters for inputs to the mix

    Declaration

    Swift

    var inputParameters: [AnyObject]!

    Objective-C

    @property(nonatomic, copy) NSArray *inputParameters

    Discussion

    The array contains instances of AVAudioMixInputParameters. Note that an instance of AVAudioMixInputParameters is not required for each audio track that contributes to the mix; audio for those without associated AVAudioMixInputParameters will be included in the mix, processed according to default behavior.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 4.0 and later.