bn::dmg_music_volume_manager class

Manages the volume of the active DMG music.

Public static functions

static auto get() -> fixed_point
Returns the volume of the active DMG music for both speakers.
static void set(const fixed_point& volume)
Sets the volume of the active DMG music for both speakers.

Function documentation

static void bn::dmg_music_volume_manager::set(const fixed_point& volume)

Sets the volume of the active DMG music for both speakers.

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