Jaa


SpeechAudioFormatInfo Class

Definition

Represents information about an audio format.

public ref class SpeechAudioFormatInfo
public class SpeechAudioFormatInfo
[System.Serializable]
public class SpeechAudioFormatInfo
type SpeechAudioFormatInfo = class
[<System.Serializable>]
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