Udostępnij za pośrednictwem


AudioEncodingProperties.CreateAlac(UInt32, UInt32, UInt32) Method

Definition

Creates an instance of AudioEncodingProperties for Apple Lossless Audio Codec (ALAC) audio.

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

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 number of bits per sample.

Returns

The audio encoding properties.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to