Package tv.hd3g.fflauncher.enums
Enum ChannelLayout
- java.lang.Object
-
- java.lang.Enum<ChannelLayout>
-
- tv.hd3g.fflauncher.enums.ChannelLayout
-
- All Implemented Interfaces:
Serializable,Comparable<ChannelLayout>
public enum ChannelLayout extends Enum<ChannelLayout>
Get by ffmpeg -layouts
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CH2_1CH3_0CH3_0_BACKCH3_1CH4_0CH4_1CH5_0CH5_0_SIDECH5_1CH5_1_SIDECH6_0CH6_0_FRONTCH6_1CH6_1_BACKCH6_1_FRONTCH7_0CH7_0_FRONTCH7_1CH7_1_WIDECH7_1_WIDE_SIDEDOWNMIXHEXADECAGONALHEXAGONALMONOOCTAGONALQUADQUAD_SIDESTEREO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelLayoutgetByChannelSize(int channelSize)List<Channel>getChannelList()intgetChannelSize()booleanisMonoLayout()static ChannelLayoutparse(String layout)StringtoString()static ChannelLayoutvalueOf(String name)Returns the enum constant of this type with the specified name.static ChannelLayout[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MONO
public static final ChannelLayout MONO
-
STEREO
public static final ChannelLayout STEREO
-
CH2_1
public static final ChannelLayout CH2_1
-
CH3_0
public static final ChannelLayout CH3_0
-
CH3_0_BACK
public static final ChannelLayout CH3_0_BACK
-
CH4_0
public static final ChannelLayout CH4_0
-
QUAD
public static final ChannelLayout QUAD
-
QUAD_SIDE
public static final ChannelLayout QUAD_SIDE
-
CH3_1
public static final ChannelLayout CH3_1
-
CH5_0
public static final ChannelLayout CH5_0
-
CH5_0_SIDE
public static final ChannelLayout CH5_0_SIDE
-
CH4_1
public static final ChannelLayout CH4_1
-
CH5_1
public static final ChannelLayout CH5_1
-
CH5_1_SIDE
public static final ChannelLayout CH5_1_SIDE
-
CH6_0
public static final ChannelLayout CH6_0
-
CH6_0_FRONT
public static final ChannelLayout CH6_0_FRONT
-
HEXAGONAL
public static final ChannelLayout HEXAGONAL
-
CH6_1
public static final ChannelLayout CH6_1
-
CH6_1_BACK
public static final ChannelLayout CH6_1_BACK
-
CH6_1_FRONT
public static final ChannelLayout CH6_1_FRONT
-
CH7_0
public static final ChannelLayout CH7_0
-
CH7_0_FRONT
public static final ChannelLayout CH7_0_FRONT
-
CH7_1
public static final ChannelLayout CH7_1
-
CH7_1_WIDE
public static final ChannelLayout CH7_1_WIDE
-
CH7_1_WIDE_SIDE
public static final ChannelLayout CH7_1_WIDE_SIDE
-
OCTAGONAL
public static final ChannelLayout OCTAGONAL
-
HEXADECAGONAL
public static final ChannelLayout HEXADECAGONAL
-
DOWNMIX
public static final ChannelLayout DOWNMIX
-
-
Method Detail
-
values
public static ChannelLayout[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChannelLayout c : ChannelLayout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChannelLayout valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
parse
public static ChannelLayout parse(String layout)
-
getChannelSize
public int getChannelSize()
-
isMonoLayout
public boolean isMonoLayout()
-
getByChannelSize
public static ChannelLayout getByChannelSize(int channelSize)
-
toString
public String toString()
- Overrides:
toStringin classEnum<ChannelLayout>
-
-