ChannelMapping Class

public final class ChannelMapping
extends ExpandableStringEnum<ChannelMapping>

Optional designation for single channel audio tracks. Can be used to combine the tracks into stereo or multi-channel audio tracks.

Field Summary

Modifier and Type Field and Description
static final ChannelMapping BACK_LEFT

Static value BackLeft for ChannelMapping.

static final ChannelMapping BACK_RIGHT

Static value BackRight for ChannelMapping.

static final ChannelMapping CENTER

Static value Center for ChannelMapping.

static final ChannelMapping FRONT_LEFT

Static value FrontLeft for ChannelMapping.

static final ChannelMapping FRONT_RIGHT

Static value FrontRight for ChannelMapping.

static final ChannelMapping LOW_FREQUENCY_EFFECTS

Static value LowFrequencyEffects for ChannelMapping.

static final ChannelMapping STEREO_LEFT

Static value StereoLeft for ChannelMapping.

static final ChannelMapping STEREO_RIGHT

Static value StereoRight for ChannelMapping.

Constructor Summary

Constructor Description
ChannelMapping()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ChannelMapping value.

Method Summary

Modifier and Type Method and Description
static ChannelMapping fromString(String name)

Creates or finds a ChannelMapping from its string representation.

static Collection<ChannelMapping> values()

Gets known ChannelMapping values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BACK_LEFT

public static final ChannelMapping BACK_LEFT

Static value BackLeft for ChannelMapping.

BACK_RIGHT

public static final ChannelMapping BACK_RIGHT

Static value BackRight for ChannelMapping.

CENTER

public static final ChannelMapping CENTER

Static value Center for ChannelMapping.

FRONT_LEFT

public static final ChannelMapping FRONT_LEFT

Static value FrontLeft for ChannelMapping.

FRONT_RIGHT

public static final ChannelMapping FRONT_RIGHT

Static value FrontRight for ChannelMapping.

LOW_FREQUENCY_EFFECTS

public static final ChannelMapping LOW_FREQUENCY_EFFECTS

Static value LowFrequencyEffects for ChannelMapping.

STEREO_LEFT

public static final ChannelMapping STEREO_LEFT

Static value StereoLeft for ChannelMapping.

STEREO_RIGHT

public static final ChannelMapping STEREO_RIGHT

Static value StereoRight for ChannelMapping.

Constructor Details

ChannelMapping

@Deprecated
public ChannelMapping()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ChannelMapping value.

Method Details

fromString

public static ChannelMapping fromString(String name)

Creates or finds a ChannelMapping from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ChannelMapping.

values

public static Collection values()

Gets known ChannelMapping values.

Returns:

known ChannelMapping values.

Applies to