|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EncodingConfiguration.ChannelConfig> javaFlacEncoder.EncodingConfiguration.ChannelConfig
public static enum EncodingConfiguration.ChannelConfig
Defines the options for channel configuration to use. LEFT & RIGHT channels refers to stereo audio as expected. INDEPENDENT channels refer to each channel encoded separately. SIDE channel is the difference of the LEFT and RIGHT channels(LEFT-RIGHT). MID channel is the integer average of LEFT and RIGHT channels( (LEFT+RIGHT)/2 ). Options using MID and/or SIDE channels may benefit encoding by taking advantage of similarities between the channels, and are available in FLAC for STEREO streams only. In general, ENCODER_CHOICE should be chosen.
Enum Constant Summary | |
---|---|
ENCODER_CHOICE
Let the encoder decide which to use.(recommended) |
|
EXHAUSTIVE
Encode all options possible, and take the best(slow) |
|
INDEPENDENT
Encode channels independently |
|
LEFT_SIDE
Encode LEFT and SIDE channels for stereo stream |
|
MID_SIDE
Encode MID and SIDE channels for stereo stream |
|
RIGHT_SIDE
Encode RIGHT and SIDE channels for stereo stream |
Method Summary | |
---|---|
static EncodingConfiguration.ChannelConfig |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EncodingConfiguration.ChannelConfig[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EncodingConfiguration.ChannelConfig INDEPENDENT
public static final EncodingConfiguration.ChannelConfig LEFT_SIDE
public static final EncodingConfiguration.ChannelConfig RIGHT_SIDE
public static final EncodingConfiguration.ChannelConfig MID_SIDE
public static final EncodingConfiguration.ChannelConfig EXHAUSTIVE
public static final EncodingConfiguration.ChannelConfig ENCODER_CHOICE
Method Detail |
---|
public static EncodingConfiguration.ChannelConfig[] values()
for (EncodingConfiguration.ChannelConfig c : EncodingConfiguration.ChannelConfig.values()) System.out.println(c);
public static EncodingConfiguration.ChannelConfig 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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |