Dela via


AudioEncodingProperties.CreateMp3(UInt32, UInt32, UInt32) Method

Definition

Creates an instance of AudioEncodingProperties for MPEG Audio Layer-3 (MP3) audio.

public:
 static AudioEncodingProperties ^ CreateMp3(unsigned int sampleRate, unsigned int channelCount, unsigned int bitrate);
 static AudioEncodingProperties CreateMp3(uint32_t const& sampleRate, uint32_t const& channelCount, uint32_t const& bitrate);
public static AudioEncodingProperties CreateMp3(uint sampleRate, uint channelCount, uint bitrate);
function createMp3(sampleRate, channelCount, bitrate)
Public Shared Function CreateMp3 (sampleRate As UInteger, channelCount As UInteger, bitrate 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.

bitrate
UInt32

unsigned int

uint32_t

The audio bit rate.

Returns

The audio encoding properties.

Applies to