Table of Contents

Class AudioFrameBufferInfo

Namespace
LiveKit.Proto
public sealed class AudioFrameBufferInfo : Google.Protobuf.IMessage<AudioFrameBufferInfo>, Google.Protobuf.IBufferMessage
Inheritance
AudioFrameBufferInfo
Implements
IBufferMessage
Extension Methods

Constructors

AudioFrameBufferInfo()

public AudioFrameBufferInfo()

AudioFrameBufferInfo(AudioFrameBufferInfo)

public AudioFrameBufferInfo(AudioFrameBufferInfo other)

Parameters

other AudioFrameBufferInfo

Fields

DataPtrFieldNumber

Field number for the "data_ptr" field.

public const int DataPtrFieldNumber = 1

Field Value

int

NumChannelsFieldNumber

Field number for the "num_channels" field.

public const int NumChannelsFieldNumber = 2

Field Value

int

SampleRateFieldNumber

Field number for the "sample_rate" field.

public const int SampleRateFieldNumber = 3

Field Value

int

SamplesPerChannelFieldNumber

Field number for the "samples_per_channel" field.

public const int SamplesPerChannelFieldNumber = 4

Field Value

int

Properties

DataPtr

*const i16

public ulong DataPtr { get; set; }

Property Value

ulong

Descriptor

public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasDataPtr

Gets whether the "data_ptr" field is set

public bool HasDataPtr { get; }

Property Value

bool

HasNumChannels

Gets whether the "num_channels" field is set

public bool HasNumChannels { get; }

Property Value

bool

HasSampleRate

Gets whether the "sample_rate" field is set

public bool HasSampleRate { get; }

Property Value

bool

HasSamplesPerChannel

Gets whether the "samples_per_channel" field is set

public bool HasSamplesPerChannel { get; }

Property Value

bool

NumChannels

public uint NumChannels { get; set; }

Property Value

uint

Parser

public static Google.Protobuf.MessageParser<AudioFrameBufferInfo> Parser { get; }

Property Value

MessageParser<AudioFrameBufferInfo>

SampleRate

public uint SampleRate { get; set; }

Property Value

uint

SamplesPerChannel

public uint SamplesPerChannel { get; set; }

Property Value

uint

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearDataPtr()

Clears the value of the "data_ptr" field

public void ClearDataPtr()

ClearNumChannels()

Clears the value of the "num_channels" field

public void ClearNumChannels()

ClearSampleRate()

Clears the value of the "sample_rate" field

public void ClearSampleRate()

ClearSamplesPerChannel()

Clears the value of the "samples_per_channel" field

public void ClearSamplesPerChannel()

Clone()

public AudioFrameBufferInfo Clone()

Returns

AudioFrameBufferInfo

Equals(AudioFrameBufferInfo)

public bool Equals(AudioFrameBufferInfo other)

Parameters

other AudioFrameBufferInfo

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

public void MergeFrom(Google.Protobuf.CodedInputStream input)

Parameters

input CodedInputStream

MergeFrom(AudioFrameBufferInfo)

public void MergeFrom(AudioFrameBufferInfo other)

Parameters

other AudioFrameBufferInfo

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream