共用方式為


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

定義

建立 Apple Lossless Audio Codec (ALAC) 音訊的 AudioEncodingProperties 實例。

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 引進)

適用於