FMIceLinkResampler Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FMIceLinkResampler.h FMIceLinkResampler.m |
+ defaultLowPassOrder
Gets the default low pass order.
+ (int)defaultLowPassOrderDiscussion
Gets the default low pass order.
Declared In
FMIceLinkResampler.h
– factor
Gets the resampling factor.
- (double)factorDiscussion
Gets the resampling factor.
Declared In
FMIceLinkResampler.h
– getOutputLengthWithInput:
Gets the length of the output given an input set.
- (int)getOutputLengthWithInput:(FMIceLinkDataBuffer *)inputParameters
input |
The input. @return |
|---|
Discussion
Gets the length of the output given an input set.
Declared In
FMIceLinkResampler.h
– initWithFactor:
Initializes a new instance of the FMIceLinkResampler class.
- (instancetype)initWithFactor:(double)factorParameters
factor |
The resampling factor. |
|---|
Discussion
Initializes a new instance of the FMIceLinkResampler class.
Declared In
FMIceLinkResampler.h
– initWithSourceClockRate:targetClockRate:
Initializes a new instance of the FMIceLinkResampler class.
- (instancetype)initWithSourceClockRate:(int)sourceClockRate targetClockRate:(int)targetClockRateParameters
sourceClockRate |
The source clock rate. |
|---|---|
targetClockRate |
The target clock rate. |
Discussion
Initializes a new instance of the FMIceLinkResampler class.
Declared In
FMIceLinkResampler.h
+ resamplerWithFactor:
Initializes a new instance of the FMIceLinkResampler class.
+ (FMIceLinkResampler *)resamplerWithFactor:(double)factorParameters
factor |
The resampling factor. |
|---|
Discussion
Initializes a new instance of the FMIceLinkResampler class.
Declared In
FMIceLinkResampler.h
+ resamplerWithSourceClockRate:targetClockRate:
Initializes a new instance of the FMIceLinkResampler class.
+ (FMIceLinkResampler *)resamplerWithSourceClockRate:(int)sourceClockRate targetClockRate:(int)targetClockRateParameters
sourceClockRate |
The source clock rate. |
|---|---|
targetClockRate |
The target clock rate. |
Discussion
Initializes a new instance of the FMIceLinkResampler class.
Declared In
FMIceLinkResampler.h
– resampleWithInput:output:
Resamples the given audio buffer.
- (bool)resampleWithInput:(FMIceLinkDataBuffer *)input output:(FMIceLinkDataBuffer *)outputParameters
input |
The input to resample. |
|---|---|
output |
The output to target. |
Discussion
Resamples the given audio buffer.
Declared In
FMIceLinkResampler.h
– resampleWithInput:output:lastBatch:
Resamples the given audio buffer.
- (bool)resampleWithInput:(FMIceLinkDataBuffer *)input output:(FMIceLinkDataBuffer *)output lastBatch:(bool)lastBatchParameters
input |
The input to resample. |
|---|---|
output |
The output to target. |
lastBatch |
Whether or not this is the last batch. If true, input will be read to the end. |
Return Value
true if the resampling operation was successful; otherwise, false.
Discussion
Resamples the given audio buffer.
Declared In
FMIceLinkResampler.h
+ setDefaultLowPassOrder:
Sets the default low pass order.
+ (void)setDefaultLowPassOrder:(int)valueDiscussion
Sets the default low pass order.
Declared In
FMIceLinkResampler.h