wx: Change max volume from 400 to 200
- global implementation has set max at 200% (2.0 float), its already loud enough at 100%
This commit is contained in:
parent
57ed465ebb
commit
240257a01b
|
@ -295,7 +295,7 @@ opt_desc opts[] = {
|
||||||
INTOPT("Sound/GBStereo", "", wxTRANSLATE("GB stereo effect (%)"), gopts.gb_stereo, 0, 100),
|
INTOPT("Sound/GBStereo", "", wxTRANSLATE("GB stereo effect (%)"), gopts.gb_stereo, 0, 100),
|
||||||
BOOLOPT("Sound/GBSurround", "GBSurround", wxTRANSLATE("GB surround sound effect (%)"), gopts.gb_effects_config_surround),
|
BOOLOPT("Sound/GBSurround", "GBSurround", wxTRANSLATE("GB surround sound effect (%)"), gopts.gb_effects_config_surround),
|
||||||
ENUMOPT("Sound/Quality", "", wxTRANSLATE("Sound sample rate (kHz)"), gopts.sound_qual, wxTRANSLATE("48|44|22|11")),
|
ENUMOPT("Sound/Quality", "", wxTRANSLATE("Sound sample rate (kHz)"), gopts.sound_qual, wxTRANSLATE("48|44|22|11")),
|
||||||
INTOPT("Sound/Volume", "", wxTRANSLATE("Sound volume (%)"), gopts.sound_vol, 0, 400)
|
INTOPT("Sound/Volume", "", wxTRANSLATE("Sound volume (%)"), gopts.sound_vol, 0, 200)
|
||||||
};
|
};
|
||||||
const int num_opts = sizeof(opts) / sizeof(opts[0]);
|
const int num_opts = sizeof(opts) / sizeof(opts[0]);
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<object class="wxSlider" name="Volume">
|
<object class="wxSlider" name="Volume">
|
||||||
<value>100</value>
|
<value>100</value>
|
||||||
<min>0</min>
|
<min>0</min>
|
||||||
<max>400</max>
|
<max>200</max>
|
||||||
</object>
|
</object>
|
||||||
<flag>wxALL|wxEXPAND</flag>
|
<flag>wxALL|wxEXPAND</flag>
|
||||||
<border>5</border>
|
<border>5</border>
|
||||||
|
|
Loading…
Reference in New Issue