AudioEncodingProperties.CreatePcm(UInt32, UInt32, UInt32) AudioEncodingProperties.CreatePcm(UInt32, UInt32, UInt32) AudioEncodingProperties.CreatePcm(UInt32, UInt32, UInt32) AudioEncodingProperties.CreatePcm(UInt32, UInt32, UInt32) 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 sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const;
public static AudioEncodingProperties CreatePcm(UInt32 sampleRate, UInt32 channelCount, UInt32 bitsPerSample)
Public Shared Function CreatePcm(sampleRate As UInt32, channelCount As UInt32, bitsPerSample As UInt32) As AudioEncodingProperties
var audioEncodingProperties = Windows.Media.MediaProperties.AudioEncodingProperties.createPcm(sampleRate, channelCount, bitsPerSample);
Parameters
sampleRate
UInt32 UInt32 UInt32

The audio sampling rate.

channelCount
UInt32 UInt32 UInt32

The number of audio channels.

bitsPerSample
UInt32 UInt32 UInt32

The audio bit depth.

Returns