AudioEncodingProperties.CreateFlac(UInt32, UInt32, UInt32) AudioEncodingProperties.CreateFlac(UInt32, UInt32, UInt32) AudioEncodingProperties.CreateFlac(UInt32, UInt32, UInt32) AudioEncodingProperties.CreateFlac(UInt32, UInt32, UInt32) AudioEncodingProperties.CreateFlac(UInt32, UInt32, UInt32) Method

Definition

Creates an instance of AudioEncodingProperties for Free Lossless Audio Codec (FLAC) audio.

public : static AudioEncodingProperties CreateFlac(unsigned int sampleRate, unsigned int channelCount, unsigned int bitsPerSample)
static AudioEncodingProperties CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const;
public static AudioEncodingProperties CreateFlac(UInt32 sampleRate, UInt32 channelCount, UInt32 bitsPerSample)
Public Shared Function CreateFlac(sampleRate As UInt32, channelCount As UInt32, bitsPerSample As UInt32) As AudioEncodingProperties
var audioEncodingProperties = Windows.Media.MediaProperties.AudioEncodingProperties.createFlac(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 number of bits per sample.

Returns

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)