public enum AudioResampler extends java.lang.Enum<AudioResampler>
Enum Constant and Description |
---|
Default
No preference - use default configuration
|
Internal
Use internal resampler implementation - good quality and high CPU usage
|
iPhone
Use iOS resampler
|
Speex
Use Speex library resampler - good quality and medium CPU usage
|
Webrtc
Use WebRTC resamplers - low quality and low CPU usage
|
Modifier and Type | Method and Description |
---|---|
static AudioResampler |
fromInt(int i) |
static AudioResampler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioResampler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioResampler Default
public static final AudioResampler Internal
public static final AudioResampler iPhone
public static final AudioResampler Speex
public static final AudioResampler Webrtc
public static AudioResampler[] values()
for (AudioResampler c : AudioResampler.values()) System.out.println(c);
public static AudioResampler valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AudioResampler fromInt(int i)