AudioEncodingQuality Enum

Definition

Describes the level of quality of the audio encoding. The higher the quality, the better the audio fidelity, and the larger the resulting file.

The quality of encoded audio is determined by several factors.

  • The number of channels represented. One channel for monophonic, and two channels for stereo.

  • The digital sampling rate. This must be at least double the frequency of the highest pitch you want to reproduce.

  • The digital sampling resolution. This is also known as the bit-depth. + 8-bit provides a low resolution with 256 descrete levels.

  • 16-bit provides a moderate resolution with 65,536 descrete levels.

  • 24-bit and 32-bit provide high resolutions.

  • The amount of lossy compression used to encode the audio.

public enum class AudioEncodingQuality
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AudioEncodingQuality
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AudioEncodingQuality
var value = Windows.Media.MediaProperties.AudioEncodingQuality.auto
Public Enum AudioEncodingQuality
Inheritance
AudioEncodingQuality
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Auto 0

Auto fills in the proper settings based on the current camera settings. So when Auto is used, settings that are manually modified are ignored. For example, if you create a preset profile using one the static create methods, such as CreateM4a, and specify Auto as the encoding quality, any changes you make to the properties will be overwritten with values based on the current camera settings.

High 1

Stereo, Professional audio sampling rate (48 kHz), 192 kilobits per second (kbps) data transfer rate.

Low 3

Mono, CD quality sampling rate (44.1 kHz), 96 kilobits per second (kbps) data transfer rate.

Medium 2

Stereo, CD quality sampling rate (44.1 kHz), 128 kilobits per second (kbps) data transfer rate.

Applies to