mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
Make an advanced sound option for snd_hrtf
This commit is contained in:
parent
aae6ded2dd
commit
49449e623e
2 changed files with 10 additions and 0 deletions
|
@ -2141,6 +2141,7 @@ OPENALMNU_ENABLEEFX = "Enable EFX";
|
|||
// Advanced Sound Options
|
||||
ADVSNDMNU_TITLE = "ADVANCED SOUND OPTIONS";
|
||||
ADVSNDMNU_SAMPLERATE = "Sample rate";
|
||||
ADVSNDMNU_HRTF = "HRTF";
|
||||
ADVSNDMNU_OPLSYNTHESIS = "OPL Synthesis";
|
||||
ADVSNDMNU_OPLNUMCHIPS = "Number of emulated OPL chips";
|
||||
ADVSNDMNU_OPLFULLPAN = "Full MIDI stereo panning";
|
||||
|
@ -2220,6 +2221,7 @@ JOYMNU_NOAXES = "No configurable axes";
|
|||
// Option Values
|
||||
OPTVAL_OFF = "Off";
|
||||
OPTVAL_ON = "On";
|
||||
OPTVAL_AUTO = "Auto";
|
||||
OPTVAL_MALE = "Male";
|
||||
OPTVAL_FEMALE = "Female";
|
||||
OPTVAL_OTHER = "Other";
|
||||
|
|
|
@ -309,6 +309,13 @@ OptionValue "OffOn"
|
|||
1, "$OPTVAL_OFF"
|
||||
}
|
||||
|
||||
OptionValue OffAutoOn
|
||||
{
|
||||
-1, "$OPTVAL_OFF"
|
||||
0, "$OPTVAL_AUTO"
|
||||
1, "$OPTVAL_ON"
|
||||
}
|
||||
|
||||
OptionMenuSettings
|
||||
{
|
||||
// These can be overridden if a different menu fonts requires it.
|
||||
|
@ -1629,6 +1636,7 @@ OptionMenu AdvSoundOptions
|
|||
{
|
||||
Title "$ADVSNDMNU_TITLE"
|
||||
Option "$ADVSNDMNU_SAMPLERATE", "snd_samplerate", "SampleRates"
|
||||
Option "$ADVSNDMNU_HRTF", "snd_hrtf", "OffAutoOn"
|
||||
StaticText " "
|
||||
StaticText "$ADVSNDMNU_OPLSYNTHESIS", 1
|
||||
Slider "$ADVSNDMNU_OPLNUMCHIPS", "opl_numchips", 1, 8, 1, 0
|
||||
|
|
Loading…
Reference in a new issue