Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.3 KB

wm-wmadrcpeaktarget.md

File metadata and controls

58 lines (37 loc) · 2.3 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date ms.custom
WM/WMADRCPeakTarget
The WM/WMADRCPeakTarget attribute contains the maximum volume level requested by the user. This value is used by Windows Media Player for dynamic range control.
94ef5db1-34f4-4cf8-ac56-c85cca10536b
WM/WMADRCPeakTarget windows Media Format
apiref
WM/WMADRCPeakTarget
NA
reference
4/26/2023
UpdateFrequency5

WM/WMADRCPeakTarget

[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/WMADRCPeakTarget attribute contains the maximum volume level requested by the user. This value is used by Windows Media Player for dynamic range control.

Global Constant

g_wszWMWMADRCPeakTarget

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/WMADRCAverageReference

WM/WMADRCAverageTarget

WM/WMADRCPeakReference