TuSDKMediaAudioMuteComposition Class Reference

Inherits from NSObject
Conforms to TuSDKMediaAudioComposition
Declared in TuSDKMediaAudioMuteComposition.h

Overview

静音数据轨道

– initWithAudioStreamDescription:

初始化音频流描述信息

- (instancetype)initWithAudioStreamDescription:(AudioStreamBasicDescription)streamBasicDescription

Parameters

streamBasicDescription

流描述信息

Return Value

音频流描述信息

Availability

v3.4.1

Declared In

TuSDKMediaAudioMuteComposition.h

– initWithOutputSampleRate:channels:bitsPerChannel:

初始化音频流描述信息

- (instancetype)initWithOutputSampleRate:(Float64)sampleRate channels:(UInt32)channels bitsPerChannel:(UInt32)bitsPerChannel

Parameters

sampleRate

输出采样率 默认: 44100 Hz

channels

输出声道数量 默认: 2 立体声

bitsPerChannel

输出位宽 默认:16

Return Value

TuSDKMediaAudioMuteComposition

Availability

v3.4.1

Declared In

TuSDKMediaAudioMuteComposition.h

  maxOutputDuration

最大输出持续时间 默认: CMTimeMakeWithSeconds(1, USEC_PER_SEC)

@property (nonatomic) CMTime maxOutputDuration

Return Value

输出持续时间

Availability

v3.4.1

Declared In

TuSDKMediaAudioMuteComposition.h