Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVMutableAudioMixInputParametersMBS class.

AVMutableAudioMixInputParametersMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates and returns a mutable input parameters object with no volume ramps and trackID initialized to kCMPersistentTrackID_Invalid.

See also:

AVMutableAudioMixInputParametersMBS.Constructor(other as AVAudioMixInputParametersMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 15.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The copy constructor to initialize with a mutable copy of the given object.

See also:

AVMutableAudioMixInputParametersMBS.Constructor(track as AVAssetTrackMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates and returns a mutable input parameters object for a given track.

track: The track to associate with the input parameters object.
Initializes input parameters object with no volume ramps and trackID set to track's ID.

See also:

AVMutableAudioMixInputParametersMBS.setVolume(volume as Double, atTime as CMTimeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the value of the audio volume starting at the specified time.

volume: The volume.
time: The start time at which to set the volume.

This method adds a volume ramp starting at time. This volume setting remains in effect until the end of the track unless you set a different volume level to start at a later time.

AVMutableAudioMixInputParametersMBS.setVolumeRamp(startVolume as Double, endVolume as Double, timeRange as CMTimeRangeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets a volume ramp to apply during a specified time range.

startVolume: The starting volume.
endVolume: The end volume.
timeRange: The time range over which to apply the ramp.

AVMutableAudioMixInputParametersMBS.trackID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The ID of the audio track to which the parameters should be applied.

(Read and Write computed property)

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...