Class AudioSourceStats
public sealed class AudioSourceStats : Google.Protobuf.IMessage<AudioSourceStats>, Google.Protobuf.IBufferMessage
- Inheritance
-
AudioSourceStats
- Implements
-
IBufferMessage
- Extension Methods
Constructors
AudioSourceStats()
public AudioSourceStats()
AudioSourceStats(AudioSourceStats)
public AudioSourceStats(AudioSourceStats other)
Parameters
otherAudioSourceStats
Fields
AudioLevelFieldNumber
Field number for the "audio_level" field.
public const int AudioLevelFieldNumber = 1
Field Value
DroppedSamplesDurationFieldNumber
Field number for the "dropped_samples_duration" field.
public const int DroppedSamplesDurationFieldNumber = 6
Field Value
DroppedSamplesEventsFieldNumber
Field number for the "dropped_samples_events" field.
public const int DroppedSamplesEventsFieldNumber = 7
Field Value
EchoReturnLossEnhancementFieldNumber
Field number for the "echo_return_loss_enhancement" field.
public const int EchoReturnLossEnhancementFieldNumber = 5
Field Value
EchoReturnLossFieldNumber
Field number for the "echo_return_loss" field.
public const int EchoReturnLossFieldNumber = 4
Field Value
TotalAudioEnergyFieldNumber
Field number for the "total_audio_energy" field.
public const int TotalAudioEnergyFieldNumber = 2
Field Value
TotalCaptureDelayFieldNumber
Field number for the "total_capture_delay" field.
public const int TotalCaptureDelayFieldNumber = 8
Field Value
TotalSamplesCapturedFieldNumber
Field number for the "total_samples_captured" field.
public const int TotalSamplesCapturedFieldNumber = 9
Field Value
TotalSamplesDurationFieldNumber
Field number for the "total_samples_duration" field.
public const int TotalSamplesDurationFieldNumber = 3
Field Value
Properties
AudioLevel
public double AudioLevel { get; set; }
Property Value
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DroppedSamplesDuration
public double DroppedSamplesDuration { get; set; }
Property Value
DroppedSamplesEvents
public uint DroppedSamplesEvents { get; set; }
Property Value
EchoReturnLoss
public double EchoReturnLoss { get; set; }
Property Value
EchoReturnLossEnhancement
public double EchoReturnLossEnhancement { get; set; }
Property Value
HasAudioLevel
Gets whether the "audio_level" field is set
public bool HasAudioLevel { get; }
Property Value
HasDroppedSamplesDuration
Gets whether the "dropped_samples_duration" field is set
public bool HasDroppedSamplesDuration { get; }
Property Value
HasDroppedSamplesEvents
Gets whether the "dropped_samples_events" field is set
public bool HasDroppedSamplesEvents { get; }
Property Value
HasEchoReturnLoss
Gets whether the "echo_return_loss" field is set
public bool HasEchoReturnLoss { get; }
Property Value
HasEchoReturnLossEnhancement
Gets whether the "echo_return_loss_enhancement" field is set
public bool HasEchoReturnLossEnhancement { get; }
Property Value
HasTotalAudioEnergy
Gets whether the "total_audio_energy" field is set
public bool HasTotalAudioEnergy { get; }
Property Value
HasTotalCaptureDelay
Gets whether the "total_capture_delay" field is set
public bool HasTotalCaptureDelay { get; }
Property Value
HasTotalSamplesCaptured
Gets whether the "total_samples_captured" field is set
public bool HasTotalSamplesCaptured { get; }
Property Value
HasTotalSamplesDuration
Gets whether the "total_samples_duration" field is set
public bool HasTotalSamplesDuration { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<AudioSourceStats> Parser { get; }
Property Value
- MessageParser<AudioSourceStats>
TotalAudioEnergy
public double TotalAudioEnergy { get; set; }
Property Value
TotalCaptureDelay
public double TotalCaptureDelay { get; set; }
Property Value
TotalSamplesCaptured
public ulong TotalSamplesCaptured { get; set; }
Property Value
TotalSamplesDuration
public double TotalSamplesDuration { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearAudioLevel()
Clears the value of the "audio_level" field
public void ClearAudioLevel()
ClearDroppedSamplesDuration()
Clears the value of the "dropped_samples_duration" field
public void ClearDroppedSamplesDuration()
ClearDroppedSamplesEvents()
Clears the value of the "dropped_samples_events" field
public void ClearDroppedSamplesEvents()
ClearEchoReturnLoss()
Clears the value of the "echo_return_loss" field
public void ClearEchoReturnLoss()
ClearEchoReturnLossEnhancement()
Clears the value of the "echo_return_loss_enhancement" field
public void ClearEchoReturnLossEnhancement()
ClearTotalAudioEnergy()
Clears the value of the "total_audio_energy" field
public void ClearTotalAudioEnergy()
ClearTotalCaptureDelay()
Clears the value of the "total_capture_delay" field
public void ClearTotalCaptureDelay()
ClearTotalSamplesCaptured()
Clears the value of the "total_samples_captured" field
public void ClearTotalSamplesCaptured()
ClearTotalSamplesDuration()
Clears the value of the "total_samples_duration" field
public void ClearTotalSamplesDuration()
Clone()
public AudioSourceStats Clone()
Returns
Equals(AudioSourceStats)
public bool Equals(AudioSourceStats other)
Parameters
otherAudioSourceStats
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(AudioSourceStats)
public void MergeFrom(AudioSourceStats other)
Parameters
otherAudioSourceStats
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream