Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechAudioFormatInfo Members

Include Protected Members
Include Inherited Members

Represents information about an audio format.

The SpeechAudioFormatInfo type exposes the following members.

Constructors

  Name Description
Public method SpeechAudioFormatInfo(Int32, AudioBitsPerSample, AudioChannel) Initializes a new instance of the SpeechAudioFormatInfo class and specifies the samples per second, bits per sample, and the number of channels.
Public method SpeechAudioFormatInfo(EncodingFormat, Int32, Int32, Int32, Int32, Int32, []) Initializes a new instance of the SpeechAudioFormatInfo class and specifies the encoding format, samples per second, bits per sample, number of channels, average bytes per second, block alignment value, and an array containing format-specific data.

Top

Properties

  Name Description
Public property AverageBytesPerSecond Gets the average bytes per second of the audio.
Public property BitsPerSample Gets the bits per sample of the audio.
Public property BlockAlign Gets and sets the block alignment in bytes.
Public property ChannelCount Gets the channel count of the audio.
Public property EncodingFormat Gets the encoding format of the audio.
Public property SamplesPerSecond Gets the samples per second of the audio.

Top

Methods

  Name Description
Public method Equals Returns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo. (Overrides Object.Equals(Object).)
Protected method Finalize (inherited from Object)
Public method FormatSpecificData Returns the format-specific data of the audio format.
Public method GetHashCode Returns the hash code of the audio format. (Overrides Object.GetHashCode().)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)

Top

See Also

Reference

SpeechAudioFormatInfo Class

Microsoft.Speech.AudioFormat Namespace