diff options
author | Dudemanguy <random342@airmail.cc> | 2024-03-01 09:20:15 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-03-01 09:20:15 -0600 |
commit | 4560d93bf0f2494f4f1344ac1840801911be7319 (patch) | |
tree | f577a83a21356ea4e034d0f5d80fb2fbad48fda5 /options/options.c | |
parent | 8ba6d8f7a9aa3b049b4706e3f26bb614e95f965a (diff) | |
download | mpv-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/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 0 insertions, 2 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, |