共用方式為


AudioStreamFormat.GetWaveFormatPCM(UInt32, Byte, Byte) 方法

定義

建立具有指定 PCM 波狀特性的音訊資料流程格式物件。

public static Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat GetWaveFormatPCM (uint samplesPerSecond, byte bitsPerSample, byte channels);
static member GetWaveFormatPCM : uint32 * byte * byte -> Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat
Public Shared Function GetWaveFormatPCM (samplesPerSecond As UInteger, bitsPerSample As Byte, channels As Byte) As AudioStreamFormat

參數

samplesPerSecond
UInt32

取樣率,以每秒樣本為單位, (Hertz) 。

bitsPerSample
Byte

每個範例的位數。

channels
Byte

電壓音訊資料中的通道數目。

傳回

正在建立的音訊資料流程格式。

備註

另請參閱:8b98273f908d40a0adacae85a32cf23953105ae4ca644353b44f34866cf75a6f

適用於