Share via


AudioEncodingProperties.CreatePcm(UInt32, UInt32, UInt32) Method

Definition

Creates an instance of AudioEncodingProperties for Pulse Code Modulation (PCM) audio.

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

Parameters

sampleRate
UInt32

unsigned int

uint32_t

The audio sampling rate.

channelCount
UInt32

unsigned int

uint32_t

The number of audio channels.

bitsPerSample
UInt32

unsigned int

uint32_t

The audio bit depth.

Returns

The audio encoding properties.

Applies to