Share via


InputAudioFormat Struct

Definition

Input audio format types supported.

public readonly struct InputAudioFormat : IEquatable<Azure.AI.VoiceLive.InputAudioFormat>
type InputAudioFormat = struct
Public Structure InputAudioFormat
Implements IEquatable(Of InputAudioFormat)
Inheritance
InputAudioFormat
Implements

Constructors

Name Description
InputAudioFormat(String)

Initializes a new instance of InputAudioFormat.

Properties

Name Description
G711Alaw

G.711 A-law audio format at 8kHz sampling rate.

G711Ulaw

G.711 μ-law (mu-law) audio format at 8kHz sampling rate.

Pcm16

16-bit PCM audio format at default sampling rate (24kHz).

Methods

Name Description
Equals(InputAudioFormat)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(InputAudioFormat, InputAudioFormat)

Determines if two InputAudioFormat values are the same.

Implicit(String to InputAudioFormat)

Converts a string to a InputAudioFormat.

Implicit(String to Nullable<InputAudioFormat>)
Inequality(InputAudioFormat, InputAudioFormat)

Determines if two InputAudioFormat values are not the same.

Applies to