Windows.UI.Xaml.Controls.MediaElement.AudioCategory
September 14, 2021 ยท View on GitHub
-description
Gets or sets a value that describes the purpose of the audio information in an audio stream.
-xaml-syntax
<MediaElement AudioCategory="audioCategoryMemberName" /.
-property-value
A value of the enumeration.
-remarks
For hardware audio offload to be automatically applied, the audio category must be set to ForegroundOnlyMedia or BackgroundCapableMedia. Hardware audio offload optimizes audio rendering which can improve functionality and battery life.