FMIceLinkSoundReframer Class Reference
Inherits from | FMIceLinkAudioPipe : FMIceLinkMediaPipe : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
---|---|
Conforms to | FMIceLinkIAudioReframer |
Declared in | FMIceLinkSoundReframer.h FMIceLinkSoundReframer.m |
– clockRate
Gets the clock rate in Hz.
- (int)clockRate
Discussion
Gets the clock rate in Hz.
Declared In
FMIceLinkSoundReframer.h
– disableTimestampReset
Gets whether the timestamp should be reset
using the wall clock after FMIceLinkSoundReframer#[timestampResetInterval](#//api/name/timestampResetInterval)
milliseconds elapse between frames.
- (bool)disableTimestampReset
Discussion
Gets whether the timestamp should be reset
using the wall clock after FMIceLinkSoundReframer#[timestampResetInterval](#//api/name/timestampResetInterval)
milliseconds elapse between frames.
Declared In
FMIceLinkSoundReframer.h
– doDestroy
Destroys this instance.
- (void)doDestroy
Discussion
Destroys this instance.
Declared In
FMIceLinkSoundReframer.h
– doProcessFrame:inputBuffer:
Processes a frame.
- (void)doProcessFrame:(FMIceLinkAudioFrame *)frame inputBuffer:(FMIceLinkAudioBuffer *)inputBuffer
Parameters
frame |
The frame. |
---|---|
inputBuffer |
The input buffer. |
Discussion
Processes a frame.
Declared In
FMIceLinkSoundReframer.h
– forceTimestampReset
Gets whether the timestamp should be reset
before the next frame is processed.
- (bool)forceTimestampReset
Discussion
Gets whether the timestamp should be reset
before the next frame is processed.
Declared In
FMIceLinkSoundReframer.h
– frameDuration
Gets the frame duration in milliseconds.
Defaults to 20.
- (int)frameDuration
Discussion
Gets the frame duration in milliseconds.
Defaults to 20.
Declared In
FMIceLinkSoundReframer.h
– initWithConfig:
Initializes a new instance of the FMIceLinkSoundReframer class.
- (instancetype)initWithConfig:(FMIceLinkAudioConfig *)config
Parameters
config |
The configuration. |
---|
Discussion
Initializes a new instance of the FMIceLinkSoundReframer class.
Declared In
FMIceLinkSoundReframer.h
– initWithConfig:frameDuration:
Initializes a new instance of the FMIceLinkSoundReframer class.
- (instancetype)initWithConfig:(FMIceLinkAudioConfig *)config frameDuration:(int)frameDuration
Parameters
config |
The configuration. |
---|---|
frameDuration |
The frame duration. |
Discussion
Initializes a new instance of the FMIceLinkSoundReframer class.
Declared In
FMIceLinkSoundReframer.h
– initWithInput:frameDuration:
Initializes a new instance of the FMIceLinkSoundReframer class.
- (instancetype)initWithInput:(NSObject<FMIceLinkIAudioOutput> *)input frameDuration:(int)frameDuration
Parameters
input |
The input. |
---|---|
frameDuration |
The frame duration. |
Discussion
Initializes a new instance of the FMIceLinkSoundReframer class.
Declared In
FMIceLinkSoundReframer.h
– label
Gets a label that identifies this class.
- (NSString *)label
Discussion
Gets a label that identifies this class.
Declared In
FMIceLinkSoundReframer.h
– setDisableTimestampReset:
Sets whether the timestamp should be reset
using the wall clock after FMIceLinkSoundReframer#[timestampResetInterval](#//api/name/timestampResetInterval)
milliseconds elapse between frames.
- (void)setDisableTimestampReset:(bool)value
Discussion
Sets whether the timestamp should be reset
using the wall clock after FMIceLinkSoundReframer#[timestampResetInterval](#//api/name/timestampResetInterval)
milliseconds elapse between frames.
Declared In
FMIceLinkSoundReframer.h
– setForceTimestampReset:
Sets whether the timestamp should be reset
before the next frame is processed.
- (void)setForceTimestampReset:(bool)value
Discussion
Sets whether the timestamp should be reset
before the next frame is processed.
Declared In
FMIceLinkSoundReframer.h
– setTimestampResetInterval:
Sets the amount of time in milliseconds
between audio frames that will trigger a reset of
the timestamp to the wall clock.
Defaults to 1000ms.
- (void)setTimestampResetInterval:(int)value
Discussion
Sets the amount of time in milliseconds
between audio frames that will trigger a reset of
the timestamp to the wall clock.
Defaults to 1000ms.
Declared In
FMIceLinkSoundReframer.h
+ soundReframerWithConfig:
Initializes a new instance of the FMIceLinkSoundReframer class.
+ (FMIceLinkSoundReframer *)soundReframerWithConfig:(FMIceLinkAudioConfig *)config
Parameters
config |
The configuration. |
---|
Discussion
Initializes a new instance of the FMIceLinkSoundReframer class.
Declared In
FMIceLinkSoundReframer.h
+ soundReframerWithConfig:frameDuration:
Initializes a new instance of the FMIceLinkSoundReframer class.
+ (FMIceLinkSoundReframer *)soundReframerWithConfig:(FMIceLinkAudioConfig *)config frameDuration:(int)frameDuration
Parameters
config |
The configuration. |
---|---|
frameDuration |
The frame duration. |
Discussion
Initializes a new instance of the FMIceLinkSoundReframer class.
Declared In
FMIceLinkSoundReframer.h
+ soundReframerWithInput:frameDuration:
Initializes a new instance of the FMIceLinkSoundReframer class.
+ (FMIceLinkSoundReframer *)soundReframerWithInput:(NSObject<FMIceLinkIAudioOutput> *)input frameDuration:(int)frameDuration
Parameters
input |
The input. |
---|---|
frameDuration |
The frame duration. |
Discussion
Initializes a new instance of the FMIceLinkSoundReframer class.
Declared In
FMIceLinkSoundReframer.h
– timestampResetInterval
Gets the amount of time in milliseconds
between audio frames that will trigger a reset of
the timestamp to the wall clock.
Defaults to 1000ms.
- (int)timestampResetInterval
Discussion
Gets the amount of time in milliseconds
between audio frames that will trigger a reset of
the timestamp to the wall clock.
Defaults to 1000ms.
Declared In
FMIceLinkSoundReframer.h