語言

SpeechAudioFormatInfo 類別

定義

代表有關音訊格式的資訊。

public ref class SpeechAudioFormatInfo
public class SpeechAudioFormatInfo
[System.Serializable]
public class SpeechAudioFormatInfo
type SpeechAudioFormatInfo = class
[<System.Serializable>]
type SpeechAudioFormatInfo = class
Public Class SpeechAudioFormatInfo
繼承
SpeechAudioFormatInfo
屬性

建構函式

名稱 Description
SpeechAudioFormatInfo(EncodingFormat, Int32, Int32, Int32, Int32, Int32, Byte[])

初始化類別的新實例 SpeechAudioFormatInfo ,並指定編碼格式、每秒取樣數、每個取樣位元數、通道數、平均位元組每秒、區塊對齊值,以及包含特定格式資料的陣列。

SpeechAudioFormatInfo(Int32, AudioBitsPerSample, AudioChannel)

初始化該類別的新實例 SpeechAudioFormatInfo ,並指定每秒取樣點數、每個取樣點數及通道數。

屬性

名稱 Description
AverageBytesPerSecond

它會取得音訊的平均每秒位元組數。

BitsPerSample

它會取得音訊的每個取樣位元數。

BlockAlign

取得或設定區塊對齊(位元組)。

ChannelCount

取得音訊的頻道數。

EncodingFormat

取得音訊的編碼格式。

SamplesPerSecond

取得音訊格式的每秒取樣數。

方法

名稱 Description
Equals(Object)

回傳給定物件是否為 的 SpeechAudioFormatInfo 實例,且是否等於 的 SpeechAudioFormatInfo當前實例。

FormatSpecificData()

回傳音訊格式的專屬資料。

GetHashCode()

回傳音訊格式的雜湊碼。

GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於