-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.MediaElement.AudioCategory |
winrt property |
Gets or sets a value that describes the purpose of the audio information in an audio stream.
<MediaElement AudioCategory="audioCategoryMemberName" /.
A value of the enumeration.
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.