SpeechAudioFormatInfo Class

SpeechAudioFormatInfo Class

 

Represents information about an audio format.

Namespace:   System.Speech.AudioFormat
Assembly:  System.Speech (in System.Speech.dll)

System.Object
  System.Speech.AudioFormat.SpeechAudioFormatInfo

[SerializableAttribute]
public class SpeechAudioFormatInfo

NameDescription
System_CAPS_pubmethodSpeechAudioFormatInfo(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.

System_CAPS_pubmethodSpeechAudioFormatInfo(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.

NameDescription
System_CAPS_pubpropertyAverageBytesPerSecond

Gets the average bytes per second of the audio.

System_CAPS_pubpropertyBitsPerSample

Gets the bits per sample of the audio.

System_CAPS_pubpropertyBlockAlign

Gets and sets the block alignment in bytes.

System_CAPS_pubpropertyChannelCount

Gets the channel count of the audio.

System_CAPS_pubpropertyEncodingFormat

Gets the encoding format of the audio.

System_CAPS_pubpropertySamplesPerSecond

Gets the samples per second of the audio format.

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFormatSpecificData()

Returns the format-specific data of the audio format.

System_CAPS_pubmethodGetHashCode()

Returns the hash code of the audio format.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft