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 | |
---|---|---|
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. | |
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 | |
---|---|---|
AverageBytesPerSecond | Gets the average bytes per second of the audio. | |
BitsPerSample | Gets the bits per sample of the audio. | |
BlockAlign | Gets and sets the block alignment in bytes. | |
ChannelCount | Gets the channel count of the audio. | |
EncodingFormat | Gets the encoding format of the audio. | |
SamplesPerSecond | Gets the samples per second of the audio. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo. (Overrides Object.Equals(Object).) | |
Finalize | (inherited from Object) | |
FormatSpecificData | Returns the format-specific data of the audio format. | |
GetHashCode | Returns the hash code of the audio format. (Overrides Object.GetHashCode().) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
ToString | (inherited from Object) |
Top