mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
Add mus_al_additive to control the behavior mentioned in r8232 and rename mus_adlibstereo to mus_al_stereo
git-svn-id: https://svn.eduke32.com/eduke32@8238 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e82ddb23d3
commit
dafd71c72f
3 changed files with 10 additions and 3 deletions
|
@ -56,7 +56,7 @@ static int osdcmd_cvar_set_audiolib(osdcmdptr_t parm)
|
|||
|
||||
if (!Bstrcasecmp(parm->name, "mus_emidicard"))
|
||||
MIDI_Restart();
|
||||
else if (!Bstrcasecmp(parm->name, "mus_adlibstereo"))
|
||||
else if (!Bstrcasecmp(parm->name, "mus_al_stereo"))
|
||||
AL_SetStereo(AL_Stereo);
|
||||
|
||||
return r;
|
||||
|
@ -72,7 +72,8 @@ int FX_Init(int numvoices, int numchannels, int mixrate, void *initdata)
|
|||
|
||||
static osdcvardata_t cvars_audiolib[] = {
|
||||
{ "mus_emidicard", "force a specific EMIDI instrument set", (void *)&ASS_EMIDICard, CVAR_INT | CVAR_FUNCPTR, -1, 10 },
|
||||
{ "mus_adlibstereo", "enable/disable OPL3 stereo mode", (void *)&AL_Stereo, CVAR_BOOL | CVAR_FUNCPTR, 0, 1 },
|
||||
{ "mus_al_stereo", "enable/disable OPL3 stereo mode", (void *)&AL_Stereo, CVAR_BOOL | CVAR_FUNCPTR, 0, 1 },
|
||||
{ "mus_al_additivemode", "enable/disable alternate additive AdLib timbre mode", (void *)&AL_AdditiveMode, CVAR_BOOL, 0, 1 },
|
||||
};
|
||||
|
||||
if (!init++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue