TuSDKMediaAudioBufferPlayer Protocol Reference

Conforms to NSObject
TuSDKMediaPlayer
Declared in TuSDKMediaAudioBufferPlayer.h

Overview

音频PCM格式播放器

– writeAudioBuffer: required method

写入音频数据

- (void)writeAudioBuffer:(CMSampleBufferRef)audioBuffer

Parameters

audioBuffer

PCM 音频数据

Availability

v3.0

Declared In

TuSDKMediaAudioBufferPlayer.h

– writeAudioBuffer:inputTime: required method

写入音频数据

- (void)writeAudioBuffer:(CMSampleBufferRef)audioBuffer inputTime:(CMTime)inputTime

Parameters

audioBuffer

PCM 音频数据

Availability

v3.0

Declared In

TuSDKMediaAudioBufferPlayer.h

– flush required method

清除数据

- (void)flush

Availability

v3.0

Declared In

TuSDKMediaAudioBufferPlayer.h