共用方式為


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

適用於