FMIceLinkWaveAudioRecorder Class Reference

Inherits from FMIceLinkAudioRecorder : FMIceLinkMediaRecorder : NSObject
Declared in FMIceLinkWaveAudioRecorder.h
FMIceLinkWaveAudioRecorder.m

Overview

A WAVE audio recorder.

+ audioRecorderWithPath:inputFormat:

Initializes a new instance of the FMIceLinkWaveAudioRecorder class.
+ (FMIceLinkWaveAudioRecorder *)audioRecorderWithPath:(NSString *)path inputFormat:(FMIceLinkAudioFormat *)inputFormat

Parameters

path

The path.

inputFormat

The input format.

Discussion

Initializes a new instance of the FMIceLinkWaveAudioRecorder class.

Declared In

FMIceLinkWaveAudioRecorder.h

– doUpdateHeader

Updates the file header.
- (void)doUpdateHeader

Discussion

Updates the file header.

Declared In

FMIceLinkWaveAudioRecorder.h

– doWriteHeader

Writes the file header.
- (void)doWriteHeader

Discussion

Writes the file header.

Declared In

FMIceLinkWaveAudioRecorder.h

– doWriteWithBuffer:presentationTimestamp:

Write an encoded video frame.
- (bool)doWriteWithBuffer:(FMIceLinkAudioBuffer *)buffer presentationTimestamp:(long long)presentationTimestamp

Parameters

buffer

The encoded buffer.

presentationTimestamp

The presentation timestamp.

Return Value

true if the encoded frame was written successfully; otherwise, false

Discussion

Write an encoded video frame.

Declared In

FMIceLinkWaveAudioRecorder.h

– initWithPath:inputFormat:

Initializes a new instance of the FMIceLinkWaveAudioRecorder class.
- (instancetype)initWithPath:(NSString *)path inputFormat:(FMIceLinkAudioFormat *)inputFormat

Parameters

path

The path.

inputFormat

The input format.

Discussion

Initializes a new instance of the FMIceLinkWaveAudioRecorder class.

Declared In

FMIceLinkWaveAudioRecorder.h