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


AudioEncodingProperties.CreateAlac(UInt32, UInt32, UInt32) Метод

Определение

Создает экземпляр AudioEncodingProperties для аудиокодека Apple Lossless Audio (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)

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