Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 898 Bytes

mediaelement_audiocategory.md

File metadata and controls

35 lines (21 loc) · 898 Bytes
-api-id -api-type
P:Windows.UI.Xaml.Controls.MediaElement.AudioCategory
winrt property

Windows.UI.Xaml.Controls.MediaElement.AudioCategory

-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.

-examples

-see-also

Audio categories sample