Class CaptureAudioFrameRequest
Push a frame to an AudioSource The data provided must be available as long as the client receive the callback.
public sealed class CaptureAudioFrameRequest : Google.Protobuf.IMessage<CaptureAudioFrameRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
CaptureAudioFrameRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
CaptureAudioFrameRequest()
public CaptureAudioFrameRequest()
CaptureAudioFrameRequest(CaptureAudioFrameRequest)
public CaptureAudioFrameRequest(CaptureAudioFrameRequest other)
Parameters
otherCaptureAudioFrameRequest
Fields
BufferFieldNumber
Field number for the "buffer" field.
public const int BufferFieldNumber = 2
Field Value
RequestAsyncIdFieldNumber
Field number for the "request_async_id" field.
public const int RequestAsyncIdFieldNumber = 3
Field Value
SourceHandleFieldNumber
Field number for the "source_handle" field.
public const int SourceHandleFieldNumber = 1
Field Value
Properties
Buffer
public AudioFrameBufferInfo Buffer { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasRequestAsyncId
Gets whether the "request_async_id" field is set
public bool HasRequestAsyncId { get; }
Property Value
HasSourceHandle
Gets whether the "source_handle" field is set
public bool HasSourceHandle { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<CaptureAudioFrameRequest> Parser { get; }
Property Value
- MessageParser<CaptureAudioFrameRequest>
RequestAsyncId
public ulong RequestAsyncId { get; set; }
Property Value
SourceHandle
public ulong SourceHandle { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearRequestAsyncId()
Clears the value of the "request_async_id" field
public void ClearRequestAsyncId()
ClearSourceHandle()
Clears the value of the "source_handle" field
public void ClearSourceHandle()
Clone()
public CaptureAudioFrameRequest Clone()
Returns
Equals(CaptureAudioFrameRequest)
public bool Equals(CaptureAudioFrameRequest other)
Parameters
otherCaptureAudioFrameRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(CaptureAudioFrameRequest)
public void MergeFrom(CaptureAudioFrameRequest other)
Parameters
otherCaptureAudioFrameRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream