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

定义

创建 AudioEncodingProperties 的一个实例,用于脉冲代码调制 (PCM) 音频。

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

音频位深度。

返回

音频编码属性。

适用于