public static enum SampleRateConverter.SampleRateConversionAlgorithm extends Enum<SampleRateConverter.SampleRateConversionAlgorithm>
| Enum Constant and Description |
|---|
LINEAR_INTERPOLATION
Performs linear interpolation between samples where the sample rate
in the output format is greater than the sample rate of the input
format.
|
| Modifier and Type | Field and Description |
|---|---|
protected SampleBuffer |
sbout |
| Modifier and Type | Method and Description |
|---|---|
abstract SampleChunk |
process(SampleChunk s,
AudioFormat output)
Process a sample chunk and output a sample chunk in the given
output format.
|
static SampleRateConverter.SampleRateConversionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleRateConverter.SampleRateConversionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleRateConverter.SampleRateConversionAlgorithm LINEAR_INTERPOLATION
protected SampleBuffer sbout
public static SampleRateConverter.SampleRateConversionAlgorithm[] values()
for (SampleRateConverter.SampleRateConversionAlgorithm c : SampleRateConverter.SampleRateConversionAlgorithm.values()) System.out.println(c);
public static SampleRateConverter.SampleRateConversionAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract SampleChunk process(SampleChunk s, AudioFormat output)
s - The input sample chunkoutput - The output format