Skip to content

Commit

Permalink
- remove mod_dumb CVAR. This now effectively disabled module playback…
Browse files Browse the repository at this point in the history
… because the OpenAL backend cannot substitute for it, unlike FMod.
  • Loading branch information
coelckers committed Apr 22, 2017
1 parent ecbfb25 commit dc3df4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/sound/musicformats/music_dumb.cpp
Expand Up @@ -135,7 +135,6 @@ typedef struct MODMIDICFG

// PUBLIC DATA DEFINITIONS -------------------------------------------------

CVAR(Bool, mod_dumb, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR(Int, mod_samplerate, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR(Int, mod_volramp, 2, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
CVAR(Int, mod_interp, DUMB_LQ_CUBIC, CVAR_ARCHIVE|CVAR_GLOBALCONFIG);
Expand Down Expand Up @@ -780,11 +779,6 @@ MusInfo *MOD_OpenSong(FileReader &reader)
long fpos = 0;
input_mod *state = NULL;

if (!mod_dumb)
{
return NULL;
}

bool is_it = false;
bool is_dos = true;

Expand Down
2 changes: 0 additions & 2 deletions wadsrc/static/menudef.txt
Expand Up @@ -1723,8 +1723,6 @@ OptionValue ModVolumeRamps
OptionMenu ModReplayerOptions
{
Title "$MODMNU_TITLE"
Option "$MODMNU_REPLAYERENGINE", "mod_dumb", "ModReplayers"
StaticText " "
Slider "$MODMNU_MASTERVOLUME", "mod_dumb_mastervolume", 1, 16, 0.5, 1
Option "$ADVSNDMNU_SAMPLERATE", "mod_samplerate", "SampleRates", "mod_dumb"
Option "$MODMNU_QUALITY", "mod_interp", "ModQuality", "mod_dumb"
Expand Down

0 comments on commit dc3df4e

Please sign in to comment.