public enum ChannelLayout extends Enum<ChannelLayout>
ChannelLayout can be
retrieved by passing a FFmpeg channel layout id to byId(long).| Enum Constant and Description |
|---|
_2_1 |
_2_2 |
_2POINT1 |
_3POINT1 |
_4POINT0 |
_4POINT1 |
_5POINT0 |
_5POINT0_BACK |
_5POINT1 |
_5POINT1_BACK |
_6POINT0 |
_6POINT0_FRONT |
_6POINT1 |
_6POINT1_BACK |
_6POINT1_FRONT |
_7POINT0 |
_7POINT0_FRONT |
_7POINT1 |
_7POINT1_WIDE |
_7POINT1_WIDE_BACK |
HEXAGONAL |
MONO |
OCTAGONAL |
QUAD |
STEREO |
STEREO_DOWNMIX |
SURROUND |
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Get the channel layout description.
|
static ChannelLayout |
byId(long id)
Get a
ChannelLayout that matches to the specified FFmpeg id. |
long |
value()
Get the channel layout id defined in FFmpeg.
|
static ChannelLayout |
valueOf(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.
|
public static final ChannelLayout MONO
public static final ChannelLayout STEREO
public static final ChannelLayout _2POINT1
public static final ChannelLayout _2_1
public static final ChannelLayout SURROUND
public static final ChannelLayout _3POINT1
public static final ChannelLayout _4POINT0
public static final ChannelLayout _4POINT1
public static final ChannelLayout _2_2
public static final ChannelLayout QUAD
public static final ChannelLayout _5POINT0
public static final ChannelLayout _5POINT1
public static final ChannelLayout _5POINT0_BACK
public static final ChannelLayout _5POINT1_BACK
public static final ChannelLayout _6POINT0
public static final ChannelLayout _6POINT0_FRONT
public static final ChannelLayout HEXAGONAL
public static final ChannelLayout _6POINT1
public static final ChannelLayout _6POINT1_BACK
public static final ChannelLayout _6POINT1_FRONT
public static final ChannelLayout _7POINT0
public static final ChannelLayout _7POINT0_FRONT
public static final ChannelLayout _7POINT1
public static final ChannelLayout _7POINT1_WIDE
public static final ChannelLayout _7POINT1_WIDE_BACK
public static final ChannelLayout OCTAGONAL
public static final ChannelLayout STEREO_DOWNMIX
public static ChannelLayout[] values()
for (ChannelLayout c : ChannelLayout.values()) System.out.println(c);
public static ChannelLayout 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 final long value()
public final String asString()
public static ChannelLayout byId(long id)
ChannelLayout that matches to the specified FFmpeg id.id - FFmpeg channel layout id.null if id is not defined.Copyright © 2013. All Rights Reserved.