This documentation is archived and is not being maintained.
SpeechAudioFormatInfo Class
Visual Studio 2010
Represents information about an audio format.
Assembly: System.Speech (in System.Speech.dll)
The SpeechAudioFormatInfo type exposes the following members.
| 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, array<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. |
| 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 format. |
| 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 | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 | 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.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:


