Media_Normalize ( container )
Media_Normalize amplifies sound volume as much as possible without exceeding the loudest element in the sound sample. In otherwise, it “normalizes” the volume around a unified volume level. Very useful volume rises and falls within a sound file.
|container||Location of the sound.|
The result must be returned into a container field.
Media_Normalize makes the sound as loud as possible without clipping.
A good way to become more familiar with this function is to run the function with several values, and follow by calling the Media_DrawWaveform function to get a visual representation of the changes.
Use Media_GetLastError to check for any errors of this function.