bn::music_volume_manager class

Manages the volume of the active Direct Sound music.

Public static functions

static auto get() -> fixed
Returns the volume of the active Direct Sound music.
static void set(fixed volume)
Sets the volume of the active Direct Sound music.

Function documentation

static void bn::music_volume_manager::set(fixed volume)

Sets the volume of the active Direct Sound music.

Parameters
volume New volume in the range [0..1].