SpeechAudioFormatInfo SpeechAudioFormatInfo SpeechAudioFormatInfo SpeechAudioFormatInfo Class

Definition

Represents information about an audio format.

public ref class SpeechAudioFormatInfo
[System.Serializable]
public class SpeechAudioFormatInfo
type SpeechAudioFormatInfo = class
Public Class SpeechAudioFormatInfo
Inheritance
SpeechAudioFormatInfoSpeechAudioFormatInfoSpeechAudioFormatInfoSpeechAudioFormatInfo
Attributes

Constructors

SpeechAudioFormatInfo(EncodingFormat, Int32, Int32, Int32, Int32, Int32, Byte[]) SpeechAudioFormatInfo(EncodingFormat, Int32, Int32, Int32, Int32, Int32, Byte[]) SpeechAudioFormatInfo(EncodingFormat, Int32, Int32, Int32, Int32, Int32, Byte[]) 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) SpeechAudioFormatInfo(Int32, AudioBitsPerSample, AudioChannel) SpeechAudioFormatInfo(Int32, AudioBitsPerSample, AudioChannel) 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 AverageBytesPerSecond AverageBytesPerSecond AverageBytesPerSecond

Gets the average bytes per second of the audio.

BitsPerSample BitsPerSample BitsPerSample BitsPerSample

Gets the bits per sample of the audio.

BlockAlign BlockAlign BlockAlign BlockAlign

Gets or sets the block alignment in bytes.

ChannelCount ChannelCount ChannelCount ChannelCount

Gets the channel count of the audio.

EncodingFormat EncodingFormat EncodingFormat EncodingFormat

Gets the encoding format of the audio.

SamplesPerSecond SamplesPerSecond SamplesPerSecond SamplesPerSecond

Gets the samples per second of the audio format.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Returns whether a given object is an instance of SpeechAudioFormatInfo and equal to the current instance of SpeechAudioFormatInfo.

FormatSpecificData() FormatSpecificData() FormatSpecificData() FormatSpecificData()

Returns the format-specific data of the audio format.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code of the audio format.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to