bn::music_pitch_manager class

Manages the pitch of the active Direct Sound music.

Public static functions

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

Function documentation

static void bn::music_pitch_manager::set(fixed pitch)

Sets the pitch of the active Direct Sound music.

Parameters
pitch New pitch in the range [0.5..2].