SpeechAudioFormatInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information about an audio format.
public ref class SpeechAudioFormatInfo
[System.Serializable]
public class SpeechAudioFormatInfo
public class SpeechAudioFormatInfo
[<System.Serializable>]
type SpeechAudioFormatInfo = class
type SpeechAudioFormatInfo = class
Public Class SpeechAudioFormatInfo
- Inheritance
-
SpeechAudioFormatInfo
- Attributes
Constructors
SpeechAudioFormatInfo(EncodingFormat, Int32, Int32, Int32, Int32, Int32, Byte[]) |
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. |
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. |
Properties
AverageBytesPerSecond |
Gets the average bytes per second of the audio. |
BitsPerSample |
Gets the bits per sample of the audio. |
BlockAlign |
Gets or 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 format. |
Methods
Equals(Object) |
Returns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo. |
FormatSpecificData() |
Returns the format-specific data of the audio format. |
GetHashCode() |
Returns the hash code of the audio format. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기