Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.2 KB

wm-wmadrcaveragereference.md

File metadata and controls

58 lines (37 loc) · 2.2 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date ms.custom
WM/WMADRCAverageReference
The WM/WMADRCAverageReference attribute contains the average volume level of the file as encoded.
994614e3-06e2-48f0-bdac-6de5ab0c0eff
WM/WMADRCAverageReference windows Media Format
apiref
WM/WMADRCAverageReference
NA
reference
4/26/2023
UpdateFrequency5

WM/WMADRCAverageReference

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WM/WMADRCAverageReference attribute contains the average volume level of the file as encoded.

Global Constant

g_wszWMWMADRCAverageReference

Data Type

WMT_TYPE_DWORD

Remarks

There are four attributes used by Windows Media Player for dynamic range control: WM/WMADRCAverageReference, WM/WMADRCPeakReference, WM/WMADRCAverageTarget, and WM/WMADRCPeakTarget. All of these values are set by the writer based on information from the codec when writing streams with the Windows Media Audio 9 codec or Windows Media Audio 9 Professional codec. The average values are set to the average volume level of the stream, and the peak values are set to the maximum volume level in the stream. The reference values are read-only. The target values are set by Windows Media Player when the file is being played to record the dynamic range control preferences of the user.

See also

Attribute List

WM/WMADRCAverageTarget

WM/WMADRCPeakReference

WM/WMADRCPeakTarget