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

定义

为 Apple 无损音频编解码器创建 AudioEncodingProperties 的实例, (ALAC) 音频。

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

适用于