HGE::Music_SetAmplification

Sets level of amplification for a music.

void Music_SetAmplification(
  HMUSIC music,
  int ampl
);

Parameters

music
Handle of a music.
ampl
The amplification level, 0..100.

Remarks

Since music samples are going through lots of mixing routines during playback, the resulting audio tends to be quiter than it is possible. Use Music_SetAmplification once, right after Music_Load call to compensate the overall volume of a music. The default amplification of a loaded music is 50.

Requirements

Header: hge.h
Import library: hge.lib

See also

Music_GetAmplification