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