PeakValue (Compact 2013)
3/26/2014
This attribute contains a 16-bit amplitude value designating the peak volume level of audio content.
Global Constant
g_wszPeakValue
Data Type
WMT_TYPE_DWORD
Remarks
This attribute is used with AverageLevel for normalization. Normalization adjusts the playback volume level of a group of audio files so that the loudest part of each file plays back at the same level and the average volume for each file is the same.
This attribute is set by the writer object based on information from the codec. Only streams compressed by using one of the Windows Media Audio codecs have an automatically set value.
PeakValue is not read-only. However, if the file will be played by the Windows Media Player, you should not alter this value. The Windows Media Player uses this for normalizing the levels of files in a playlist.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |