SpeechAudioFormatInfo Members

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Represents information about an audio format.

The SpeechAudioFormatInfo type exposes the following members.

Constructors

  NameDescription
Public methodSpeechAudioFormatInfo(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 methodSpeechAudioFormatInfo(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.
Top

Properties

  NameDescription
Public propertyAverageBytesPerSecondGets the average bytes per second of the audio.
Public propertyBitsPerSampleGets the bits per sample of the audio.
Public propertyBlockAlignGets and sets the block alignment in bytes.
Public propertyChannelCountGets the channel count of the audio.
Public propertyEncodingFormatGets the encoding format of the audio.
Public propertySamplesPerSecondGets the samples per second of the audio.
Top

Methods

  NameDescription
Public methodEqualsReturns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo. (Overrides Object..::..Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodFormatSpecificDataReturns the format-specific data of the audio format.
Public methodGetHashCodeReturns the hash code of the audio format. (Overrides Object..::..GetHashCode()()()().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

See Also