BOOLEAN
SoundPeakMeter(
IN PWAVE_INFO WaveInfo,
OUT PLONG Amplitudes
);
The SoundPeakMeter function returns the peak amplitude value currently contained in the DMA buffer for the specified waveform device.
Always returns TRUE.
The SoundPeakMeter function is typically called from a mixer driver’s HwGetControlData function. See MIXER_INFO.
Drivers calling SoundPeakMeter must include wave.h.