Interface AudioFormatOrBuilder (0.24.0)

public interface AudioFormatOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChannelCount()

public abstract int getChannelCount()

The number of audio channels.

int32 channel_count = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the channelLayout.

getCodec()

public abstract String getCodec()

Audio codec used in this audio stream.

string codec = 1;

Returns
TypeDescription
String

The codec.

getCodecBytes()

public abstract ByteString getCodecBytes()

Audio codec used in this audio stream.

string codec = 1;

Returns
TypeDescription
ByteString

The bytes for codec.