FMIceLinkSoundUtility Class Reference
Inherits from | NSObject |
---|---|
Declared in | FMIceLinkSoundUtility.h FMIceLinkSoundUtility.m |
+ calculateDataLengthFloatWithDuration:clockRate:channelCount:
+ (int)calculateDataLengthFloatWithDuration:(int)duration clockRate:(int)clockRate channelCount:(int)channelCount
Parameters
duration |
The duration. |
---|---|
clockRate |
The clock rate. |
channelCount |
The channel count. @return |
Discussion
Declared In
FMIceLinkSoundUtility.h
+ calculateDataLengthFloatWithDuration:config:
+ (int)calculateDataLengthFloatWithDuration:(int)duration config:(FMIceLinkAudioConfig *)config
Parameters
duration |
The duration. |
---|---|
config |
The configuration. @return |
Discussion
Declared In
FMIceLinkSoundUtility.h
+ calculateDataLengthWithDuration:clockRate:channelCount:
+ (int)calculateDataLengthWithDuration:(int)duration clockRate:(int)clockRate channelCount:(int)channelCount
Parameters
duration |
The duration. |
---|---|
clockRate |
The clock rate. |
channelCount |
The channel count. @return |
Discussion
Declared In
FMIceLinkSoundUtility.h
+ calculateDataLengthWithDuration:config:
+ (int)calculateDataLengthWithDuration:(int)duration config:(FMIceLinkAudioConfig *)config
Parameters
duration |
The duration. |
---|---|
config |
The configuration. @return |
Discussion
Declared In
FMIceLinkSoundUtility.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
FMIceLinkSoundUtility.h
+ calculateDurationFloatWithDataLength:config:
+ (int)calculateDurationFloatWithDataLength:(int)dataLength config:(FMIceLinkAudioConfig *)config
Parameters
dataLength |
The length of the audio chunk. |
---|---|
config |
The configuration. @return |
Discussion
Declared In
FMIceLinkSoundUtility.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
FMIceLinkSoundUtility.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
FMIceLinkSoundUtility.h
+ floatFromShort:
+ (float)floatFromShort:(short)value
Parameters
value |
The short value. |
---|
Return Value
The floating-point value.
Discussion
Declared In
FMIceLinkSoundUtility.h
+ monoToStereoWithMono:stereo:
+ (FMIceLinkDataBuffer *)monoToStereoWithMono:(FMIceLinkDataBuffer *)mono stereo:(FMIceLinkDataBuffer *)stereo
Return Value
A new FMIceLinkDataBufferPooled or null.
Discussion
Declared In
FMIceLinkSoundUtility.h
+ shortFromFloat:
+ (short)shortFromFloat:(float)value
Parameters
value |
The floating-point value. |
---|
Return Value
The short value.
Discussion
Declared In
FMIceLinkSoundUtility.h
+ stereoToMonoWithStereo:mono:
+ (FMIceLinkDataBuffer *)stereoToMonoWithStereo:(FMIceLinkDataBuffer *)stereo mono:(FMIceLinkDataBuffer *)mono
Return Value
A new FMIceLinkDataBufferPooled or null.
Discussion
Declared In
FMIceLinkSoundUtility.h