mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
init: set libsuperderpy's default mixer as Allegro's default one
This commit is contained in:
parent
f922ffe997
commit
e04a52ea35
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
||||||
al_set_mixer_gain(game->audio.music, game->config.music / 10.0);
|
al_set_mixer_gain(game->audio.music, game->config.music / 10.0);
|
||||||
al_set_mixer_gain(game->audio.voice, game->config.voice / 10.0);
|
al_set_mixer_gain(game->audio.voice, game->config.voice / 10.0);
|
||||||
al_set_mixer_gain(game->audio.mixer, game->config.mute ? 0.0 : 1.0);
|
al_set_mixer_gain(game->audio.mixer, game->config.mute ? 0.0 : 1.0);
|
||||||
|
al_set_default_mixer(game->audio.mixer);
|
||||||
|
|
||||||
setlocale(LC_NUMERIC, "C");
|
setlocale(LC_NUMERIC, "C");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue