Class: AVMutableAudioMixInputParameters
- Inherits:
-
AVAudioMixInputParameters
- Object
- NSObject
- AVAudioMixInputParameters
- AVMutableAudioMixInputParameters
Overview
An AVMutableAudioMixInputParameters object represents the parameters that should be applied to an audio track when it is added to a mix.
Instance Attribute Summary (collapse)
-
- audioTapProcessor
The audio processing tap associated with the track.
-
- trackID
The ID of the audio track to which the parameters should be applied.
Class Method Summary (collapse)
-
+ audioMixInputParameters
Creates and returns a mutable input parameters object with no volume ramps and trackID initialized to kCMPersistentTrackID_Invalid.
-
+ audioMixInputParametersWithTrack:
Creates and returns a mutable input parameters object for a given track.
Instance Method Summary (collapse)
-
- setVolume:atTime:
Sets the value of the audio volume starting at the specified time.
-
- setVolumeRampFromStartVolume:toEndVolume:timeRange:
Sets a volume ramp to apply during a specified time range.
Methods inherited from AVAudioMixInputParameters
#getVolumeRampForTime:startVolume:endVolume:timeRange:
Methods inherited from NSObject
#!, #!=, #!~, #, #==, #===, #=~, #Rational, #__callee__, #__method__, #__send__, #__type__, `, alloc, allocWithZone:, #autoContentAccessingProxy, autoload, autoload?, autorelease_pool, #awakeAfterUsingCoder:, binding, block_given?, caller, cancelPreviousPerformRequestsWithTarget:, cancelPreviousPerformRequestsWithTarget:selector:object:, catch, class, classFallbacksForKeyedArchiver, #classForCoder, #classForKeyedArchiver, classForKeyedUnarchiver, #clone, conformsToProtocol:, #copy, copyWithZone:, #dealloc, #define_singleton_method, description, display, #doesNotRecognizeSelector:, #dup, #enum_for, #eql?, #equal?, #extend, fail, #finalize, format, #forwardInvocation:, #forwardingTargetForSelector:, framework, #freeze, #frozen?, getpass, gets, global_variables, #init, initialize, #initialize_clone, #initialize_copy, #initialize_dup, #inspect, instanceMethodForSelector:, instanceMethodSignatureForSelector:, #instance_eval, #instance_exec, #instance_of?, #instance_variable_defined?, #instance_variable_get, #instance_variable_set, #instance_variables, instancesRespondToSelector:, isSubclassOfClass:, #is_a?, iterator?, #kind_of?, lambda, load, load_bridge_support_file, load_plist, local_variables, loop, #method, #methodForSelector:, #methodSignatureForSelector:, #methods, #mutableCopy, mutableCopyWithZone:, new, #nil?, open, p, #performSelector:onThread:withObject:waitUntilDone:, #performSelector:onThread:withObject:waitUntilDone:modes:, #performSelector:withObject:afterDelay:, #performSelector:withObject:afterDelay:inModes:, #performSelectorInBackground:withObject:, #performSelectorOnMainThread:withObject:waitUntilDone:, #performSelectorOnMainThread:withObject:waitUntilDone:modes:, print, printf, #private_methods, proc, #protected_methods, #public_method, #public_methods, #public_send, putc, puts, raise, rand, readline, readlines, #replacementObjectForCoder:, #replacementObjectForKeyedArchiver:, require, resolveClassMethod:, resolveInstanceMethod:, #respond_to?, #respond_to_missing?, select, #send, setVersion:, #singleton_methods, sprintf, srand, superclass, #taint, #tainted?, #tap, test, throw, #to_plist, #to_s, trace_var, trap, #trust, #untaint, untrace_var, #untrust, #untrusted?, version
Constructor Details
This class inherits a constructor from NSObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class NSObject
Instance Attribute Details
- (__attribute__((NSObject)) MTAudioProcessingTapRef) audioTapProcessor
The audio processing tap associated with the track. You can use this property to associate an audio tap with the audio track. You can use the audio tap to access the audio data before it is played, read, or exported.
- (CMPersistentTrackID) trackID
The ID of the audio track to which the parameters should be applied.
Class Method Details
+ (AVMutableAudioMixInputParameters) audioMixInputParameters
Creates and returns a mutable input parameters object with no volume ramps and trackID initialized to kCMPersistentTrackID_Invalid.
+ (AVMutableAudioMixInputParameters) audioMixInputParametersWithTrack(track)
Creates and returns a mutable input parameters object for a given track.
Instance Method Details
- (Object) setVolume(volume, atTime:time)
Sets the value of the audio volume starting at the specified time. 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.
- (Object) setVolumeRampFromStartVolume(startVolume, toEndVolume:endVolume, timeRange:timeRange)
Sets a volume ramp to apply during a specified time range.