Interface AudioFormatOrBuilder (0.53.0)

public interface AudioFormatOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChannelCount()

public abstract int getChannelCount()

The number of audio channels.

int32 channel_count = 2;

Returns
Type Description
int

The channelCount.

getChannelLayout(int index)

public abstract String getChannelLayout(int index)

A list of channel names specifying the layout of the audio channels.

repeated string channel_layout = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The channelLayout at the given index.

getChannelLayoutBytes(int index)

public abstract ByteString getChannelLayoutBytes(int index)

A list of channel names specifying the layout of the audio channels.

repeated string channel_layout = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the channelLayout at the given index.

getChannelLayoutCount()

public abstract int getChannelLayoutCount()

A list of channel names specifying the layout of the audio channels.

repeated string channel_layout = 3;

Returns
Type Description
int

The count of channelLayout.

getChannelLayoutList()

public abstract List<String> getChannelLayoutList()

A list of channel names specifying the layout of the audio channels.

repeated string channel_layout = 3;

Returns
Type Description
List<String>

A list containing the channelLayout.

getCodec()

public abstract String getCodec()

Audio codec used in this audio stream.

string codec = 1;

Returns
Type Description
String

The codec.

getCodecBytes()

public abstract ByteString getCodecBytes()

Audio codec used in this audio stream.

string codec = 1;

Returns
Type Description
ByteString

The bytes for codec.