Table of Contents

Class RemixAndResampleRequest

Namespace
LiveKit.Proto

Remix and resample an audio frame

public sealed class RemixAndResampleRequest : Google.Protobuf.IMessage<RemixAndResampleRequest>, Google.Protobuf.IBufferMessage
Inheritance
RemixAndResampleRequest
Implements
IBufferMessage
Extension Methods

Constructors

RemixAndResampleRequest()

public RemixAndResampleRequest()

RemixAndResampleRequest(RemixAndResampleRequest)

public RemixAndResampleRequest(RemixAndResampleRequest other)

Parameters

other RemixAndResampleRequest

Fields

BufferFieldNumber

Field number for the "buffer" field.

public const int BufferFieldNumber = 2

Field Value

int

NumChannelsFieldNumber

Field number for the "num_channels" field.

public const int NumChannelsFieldNumber = 3

Field Value

int

ResamplerHandleFieldNumber

Field number for the "resampler_handle" field.

public const int ResamplerHandleFieldNumber = 1

Field Value

int

SampleRateFieldNumber

Field number for the "sample_rate" field.

public const int SampleRateFieldNumber = 4

Field Value

int

Properties

Buffer

public AudioFrameBufferInfo Buffer { get; set; }

Property Value

AudioFrameBufferInfo

Descriptor

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

Property Value

MessageDescriptor

HasNumChannels

Gets whether the "num_channels" field is set

public bool HasNumChannels { get; }

Property Value

bool

HasResamplerHandle

Gets whether the "resampler_handle" field is set

public bool HasResamplerHandle { get; }

Property Value

bool

HasSampleRate

Gets whether the "sample_rate" field is set

public bool HasSampleRate { get; }

Property Value

bool

NumChannels

public uint NumChannels { get; set; }

Property Value

uint

Parser

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

Property Value

MessageParser<RemixAndResampleRequest>

ResamplerHandle

public ulong ResamplerHandle { get; set; }

Property Value

ulong

SampleRate

public uint SampleRate { get; set; }

Property Value

uint

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearNumChannels()

Clears the value of the "num_channels" field

public void ClearNumChannels()

ClearResamplerHandle()

Clears the value of the "resampler_handle" field

public void ClearResamplerHandle()

ClearSampleRate()

Clears the value of the "sample_rate" field

public void ClearSampleRate()

Clone()

public RemixAndResampleRequest Clone()

Returns

RemixAndResampleRequest

Equals(RemixAndResampleRequest)

public bool Equals(RemixAndResampleRequest other)

Parameters

other RemixAndResampleRequest

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(RemixAndResampleRequest)

public void MergeFrom(RemixAndResampleRequest other)

Parameters

other RemixAndResampleRequest

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(Google.Protobuf.CodedOutputStream output)

Parameters

output CodedOutputStream