Поделиться через


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)

Применяется к