共用方式為


AudioEncodingProperties.CreatePcm(UInt32, UInt32, UInt32) 方法

定義

建立 Pulse Code 一 (PCM) 音訊的 AudioEncodingProperties 實例。

public:
 static AudioEncodingProperties ^ CreatePcm(unsigned int sampleRate, unsigned int channelCount, unsigned int bitsPerSample);
 static AudioEncodingProperties CreatePcm(uint32_t const& sampleRate, uint32_t const& channelCount, uint32_t const& bitsPerSample);
public static AudioEncodingProperties CreatePcm(uint sampleRate, uint channelCount, uint bitsPerSample);
function createPcm(sampleRate, channelCount, bitsPerSample)
Public Shared Function CreatePcm (sampleRate As UInteger, channelCount As UInteger, bitsPerSample As UInteger) As AudioEncodingProperties

參數

sampleRate
UInt32

unsigned int

uint32_t

音訊取樣率。

channelCount
UInt32

unsigned int

uint32_t

音訊通道的數目。

bitsPerSample
UInt32

unsigned int

uint32_t

音訊位深度。

傳回

音訊編碼屬性。

適用於