FMIceLinkAudioSource Class Reference
Inherits from | FMIceLinkMediaSource : FMIceLinkMediaSourceBase : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
---|---|
Conforms to | * < > FMIceLinkAudioBuffer FMIceLinkAudioBufferCollection FMIceLinkAudioFormat FMIceLinkAudioFrame FMIceLinkAudioSource FMIceLinkIAudioInput FMIceLinkIAudioInputCollection FMIceLinkIAudioOutput NSObject |
Declared in | FMIceLinkAudioSource.h FMIceLinkAudioSource.m |
+ audioSourceWithOutputFormat:
+ (FMIceLinkAudioSource *)audioSourceWithOutputFormat:(FMIceLinkAudioFormat *)outputFormat
Parameters
outputFormat |
The output format. |
---|
Discussion
Declared In
FMIceLinkAudioSource.h
+ audioSourceWithOutputFormat:frameDuration:
+ (FMIceLinkAudioSource *)audioSourceWithOutputFormat:(FMIceLinkAudioFormat *)outputFormat frameDuration:(int)frameDuration
Parameters
outputFormat |
The output format. |
---|---|
frameDuration |
The frame duration in milliseconds. |
Discussion
Declared In
FMIceLinkAudioSource.h
– calculateDurationFloatWithDataLength:
- (int)calculateDurationFloatWithDataLength:(int)dataLength
Parameters
dataLength |
The length of the audio chunk. |
---|
Discussion
Declared In
FMIceLinkAudioSource.h
+ calculateDurationFloatWithDataLength:clockRate:channelCount:
+ (int)calculateDurationFloatWithDataLength:(int)dataLength clockRate:(int)clockRate channelCount:(int)channelCount
Parameters
dataLength |
The length of the audio chunk. |
---|---|
clockRate |
The clock rate. |
channelCount |
The channel count. |
Discussion
Declared In
FMIceLinkAudioSource.h
– calculateDurationWithDataLength:
- (int)calculateDurationWithDataLength:(int)dataLength
Parameters
dataLength |
The length of the audio chunk. |
---|
Discussion
Declared In
FMIceLinkAudioSource.h
+ calculateDurationWithDataLength:clockRate:channelCount:
+ (int)calculateDurationWithDataLength:(int)dataLength clockRate:(int)clockRate channelCount:(int)channelCount
Parameters
dataLength |
The length of the audio chunk. |
---|---|
clockRate |
The clock rate. |
channelCount |
The channel count. |
Discussion
Declared In
FMIceLinkAudioSource.h
+ calculateDurationWithDataLength:config:
+ (int)calculateDurationWithDataLength:(int)dataLength config:(FMIceLinkAudioConfig *)config
Parameters
dataLength |
The length of the audio chunk. |
---|---|
config |
The configuration. @return |
Discussion
Declared In
FMIceLinkAudioSource.h
– clockRate
- (int)clockRate
Discussion
Declared In
FMIceLinkAudioSource.h
– config
- (FMIceLinkAudioConfig *)config
Discussion
Declared In
FMIceLinkAudioSource.h
– createInputCollectionWithOutput:
- (FMIceLinkIAudioInputCollection *)createInputCollectionWithOutput:(NSObject<FMIceLinkIAudioOutput> *)output
Parameters
output |
The output. |
---|
Discussion
Declared In
FMIceLinkAudioSource.h
– disableTimestampReset
- (bool)disableTimestampReset
Discussion
Declared In
FMIceLinkAudioSource.h
– forceTimestampReset
- (bool)forceTimestampReset
Discussion
Declared In
FMIceLinkAudioSource.h
– frameDuration
- (int)frameDuration
Discussion
Declared In
FMIceLinkAudioSource.h
– initWithOutputFormat:
- (instancetype)initWithOutputFormat:(FMIceLinkAudioFormat *)outputFormat
Parameters
outputFormat |
The output format. |
---|
Discussion
Declared In
FMIceLinkAudioSource.h
– initWithOutputFormat:frameDuration:
- (instancetype)initWithOutputFormat:(FMIceLinkAudioFormat *)outputFormat frameDuration:(int)frameDuration
Parameters
outputFormat |
The output format. |
---|---|
frameDuration |
The frame duration in milliseconds. |
Discussion
Declared In
FMIceLinkAudioSource.h
– raiseFrame:
- (void)raiseFrame:(FMIceLinkAudioFrame *)frame
Parameters
frame |
The frame. |
---|
Discussion
Declared In
FMIceLinkAudioSource.h
– setDisableTimestampReset:
- (void)setDisableTimestampReset:(bool)value
Discussion
Declared In
FMIceLinkAudioSource.h
– setForceTimestampReset:
- (void)setForceTimestampReset:(bool)value
Discussion
Declared In
FMIceLinkAudioSource.h
– setTimestampResetInterval:
Defaults to 1000.
- (void)setTimestampResetInterval:(int)value
Discussion
Defaults to 1000.
Declared In
FMIceLinkAudioSource.h
– setVolume:
- (void)setVolume:(double)value
Discussion
Declared In
FMIceLinkAudioSource.h
– timestampResetInterval
Defaults to 1000.
- (int)timestampResetInterval
Discussion
Defaults to 1000.
Declared In
FMIceLinkAudioSource.h
– volume
- (double)volume
Discussion
Declared In
FMIceLinkAudioSource.h