public static enum BitDepthConverter.BitDepthConversionAlgorithm extends Enum<BitDepthConverter.BitDepthConversionAlgorithm>
| Enum Constant and Description | 
|---|
| NEARESTPerforms a basic nearest value rounding bit-depth conversion. | 
| 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 BitDepthConverter.BitDepthConversionAlgorithm | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static BitDepthConverter.BitDepthConversionAlgorithm[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final BitDepthConverter.BitDepthConversionAlgorithm NEAREST
public static BitDepthConverter.BitDepthConversionAlgorithm[] values()
for (BitDepthConverter.BitDepthConversionAlgorithm c : BitDepthConverter.BitDepthConversionAlgorithm.values()) System.out.println(c);
public static BitDepthConverter.BitDepthConversionAlgorithm 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