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

定义

为免费无损音频编解码器创建 AudioEncodingProperties 的实例, (FLAC) 音频。

public:
 static AudioEncodingProperties ^ CreateFlac(unsigned int sampleRate, unsigned int channelCount, unsigned int bitsPerSample);
 static AudioEncodingProperties CreateFlac(uint32_t const& sampleRate, uint32_t const& channelCount, uint32_t const& bitsPerSample);
public static AudioEncodingProperties CreateFlac(uint sampleRate, uint channelCount, uint bitsPerSample);
function createFlac(sampleRate, channelCount, bitsPerSample)
Public Shared Function CreateFlac (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

每个样本的位数。

返回

音频编码属性。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于