AudioTrackDescriptor Class

public class AudioTrackDescriptor
extends TrackDescriptor

A TrackSelection to select audio tracks.

Constructor Summary

Constructor Description
AudioTrackDescriptor()

Creates an instance of AudioTrackDescriptor class.

Method Summary

Modifier and Type Method and Description
ChannelMapping channelMapping()

Get the channelMapping property: Optional designation for single channel audio tracks.

void validate()

Validates the instance.

AudioTrackDescriptor withChannelMapping(ChannelMapping channelMapping)

Set the channelMapping property: Optional designation for single channel audio tracks.

Methods inherited from TrackDescriptor

Methods inherited from java.lang.Object

Constructor Details

AudioTrackDescriptor

public AudioTrackDescriptor()

Creates an instance of AudioTrackDescriptor class.

Method Details

channelMapping

public ChannelMapping channelMapping()

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

Returns:

the channelMapping value.

validate

public void validate()

Validates the instance.

Overrides:

AudioTrackDescriptor.validate()

withChannelMapping

public AudioTrackDescriptor withChannelMapping(ChannelMapping channelMapping)

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

Parameters:

channelMapping - the channelMapping value to set.

Returns:

the AudioTrackDescriptor object itself.

Applies to