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


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

Определение

Создает экземпляр класса AudioEncodingProperties для аудиосвязи импульсной модуляции кода (PCM).

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

Глубина звукового бита.

Возвращаемое значение

Свойства кодировки звука.

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