summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-03-01 09:20:15 -0600
committerDudemanguy <random342@airmail.cc>2024-03-01 09:20:15 -0600
commit4560d93bf0f2494f4f1344ac1840801911be7319 (patch)
treef577a83a21356ea4e034d0f5d80fb2fbad48fda5 /options
parent8ba6d8f7a9aa3b049b4706e3f26bb614e95f965a (diff)
downloadmpv-4560d93bf0f2494f4f1344ac1840801911be7319.tar.bz2
mpv-4560d93bf0f2494f4f1344ac1840801911be7319.tar.xz
Revert "player: add ao-volume option, to set the system volume at startup"
Ended up being a bad idea. As a property, this inherently has more functionality and the tradeoff of being able to do --ao-volume wasn't worth it. This reverts commit 58ed620c064971535e60778612777750aa5e2f4d.
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/options/options.c b/options/options.c
index ec3663898a..3675d5734d 100644
--- a/options/options.c
+++ b/options/options.c
@@ -709,7 +709,6 @@ static const m_option_t mp_opts[] = {
// values <0 for volume and mute are legacy and ignored
{"volume", OPT_FLOAT(softvol_volume), .flags = UPDATE_VOL,
M_RANGE(-1, 1000)},
- {"ao-volume", OPT_FLOAT(ao_volume), M_RANGE(-1, 100)},
{"volume-gain-max", OPT_FLOAT(softvol_gain_max), M_RANGE(0, 150)},
{"volume-gain-min", OPT_FLOAT(softvol_gain_min), M_RANGE(-150, 0)},
{"volume-gain", OPT_FLOAT(softvol_gain), .flags = UPDATE_VOL,
@@ -937,7 +936,6 @@ static const struct MPOpts mp_default_opts = {
.msg_color = true,
.softvol_max = 130,
.softvol_volume = 100,
- .ao_volume = -1,
.softvol_gain_max = 12,
.softvol_gain_min = -96,
.softvol_gain = 0,
diff --git a/options/options.h b/options/options.h
index d9f1f99d1b..9dce3f609c 100644
--- a/options/options.h
+++ b/options/options.h
@@ -181,7 +181,6 @@ typedef struct MPOpts {
float audio_wait_open;
int force_vo;
float softvol_volume;
- float ao_volume;
int rgain_mode;
float rgain_preamp; // Set replaygain pre-amplification
bool rgain_clip; // Enable/disable clipping prevention