FMIceLinkAudioDecoder Class Reference

Inherits from FMIceLinkAudioPipe : FMIceLinkMediaPipe : FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Declared in FMIceLinkAudioDecoder.h
FMIceLinkAudioDecoder.m

Overview

An audio decoder.

+ audioDecoderWithInputFormat:outputFormat:

Initializes a new instance of the FMIceLinkAudioDecoder class.
+ (FMIceLinkAudioDecoder *)audioDecoderWithInputFormat:(FMIceLinkAudioFormat *)inputFormat outputFormat:(FMIceLinkAudioFormat *)outputFormat

Parameters

inputFormat

The input format.

outputFormat

The output format.

Discussion

Initializes a new instance of the FMIceLinkAudioDecoder class.

Declared In

FMIceLinkAudioDecoder.h

– disablePlc

Gets a value indicating whether to disable packet loss concealment (PLC).
- (bool)disablePlc

Discussion

Gets a value indicating whether to disable packet loss concealment (PLC).

Declared In

FMIceLinkAudioDecoder.h

– doProcessStatsFromInputWithStats:

Process stats from an input.
- (void)doProcessStatsFromInputWithStats:(FMIceLinkMediaTrackStats *)stats

Parameters

stats

The stats.

Discussion

Process stats from an input.

Declared In

FMIceLinkAudioDecoder.h

– framesDecoded

Gets the number of decoded frames.
- (long long)framesDecoded

Discussion

Gets the number of decoded frames.

Declared In

FMIceLinkAudioDecoder.h

– generatePlcWithDuration:

Generates a PLC buffer. This method uses the [FMIceLinkDataBufferPool](../Classes/FMIceLinkDataBufferPool.html) so the returned value MUST be freed.

@param duration @return

- (FMIceLinkAudioBuffer *)generatePlcWithDuration:(int)duration

Discussion

Generates a PLC buffer. This method uses the [FMIceLinkDataBufferPool](../Classes/FMIceLinkDataBufferPool.html) so the returned value MUST be freed.

@param duration @return

Declared In

FMIceLinkAudioDecoder.h

– initWithInputFormat:outputFormat:

Initializes a new instance of the FMIceLinkAudioDecoder class.
- (instancetype)initWithInputFormat:(FMIceLinkAudioFormat *)inputFormat outputFormat:(FMIceLinkAudioFormat *)outputFormat

Parameters

inputFormat

The input format.

outputFormat

The output format.

Discussion

Initializes a new instance of the FMIceLinkAudioDecoder class.

Declared In

FMIceLinkAudioDecoder.h

– missingDuration

Gets the number of milliseconds missing in the stream between the last frame processed and the current frame. This value is updated constantly, just before a frame is processed.
- (int)missingDuration

Discussion

Gets the number of milliseconds missing in the stream between the last frame processed and the current frame. This value is updated constantly, just before a frame is processed.

Declared In

FMIceLinkAudioDecoder.h

– processFrame:

Processes a frame.
- (bool)processFrame:(FMIceLinkAudioFrame *)frame

Parameters

frame

The frame. @return

Discussion

Processes a frame.

Declared In

FMIceLinkAudioDecoder.h

– raiseFrame:

Raises a frame.
- (void)raiseFrame:(FMIceLinkAudioFrame *)frame

Parameters

frame

The frame.

Discussion

Raises a frame.

Declared In

FMIceLinkAudioDecoder.h

– setDisablePlc:

Sets a value indicating whether to disable packet loss concealment (PLC).
- (void)setDisablePlc:(bool)value

Discussion

Sets a value indicating whether to disable packet loss concealment (PLC).

Declared In

FMIceLinkAudioDecoder.h

– setMissingDuration:

Sets the number of milliseconds missing in the stream between the last frame processed and the current frame. This value is updated constantly, just before a frame is processed.
- (void)setMissingDuration:(int)value

Discussion

Sets the number of milliseconds missing in the stream between the last frame processed and the current frame. This value is updated constantly, just before a frame is processed.

Declared In

FMIceLinkAudioDecoder.h