mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
options: clarify --softvol deprecation message and manpage entry
People seem to think that the softvol behavior is deprecated, but what is deprecated is actually disabling softvol.
This commit is contained in:
parent
5a011c5c06
commit
bb48f09532
@ -1175,9 +1175,9 @@ Audio
|
||||
to use the volume controls of the audio output driver or the internal mpv
|
||||
volume filter.
|
||||
|
||||
The current behavior is as if this option was set to ``yes``. The other
|
||||
behaviors are not available anymore, although ``auto`` almost matches
|
||||
current behavior in most cases.
|
||||
The current behavior is that softvol is always enabled, i.e. as if this
|
||||
option is set to ``yes``. The other behaviors are not available anymore,
|
||||
although ``auto`` almost matches current behavior in most cases.
|
||||
|
||||
The ``no`` behavior is still partially available through the ``ao-volume``
|
||||
and ``ao-mute`` properties. But there are no options to reset these.
|
||||
|
@ -525,7 +525,8 @@ const m_option_t mp_opts[] = {
|
||||
({"no", SOFTVOL_NO},
|
||||
{"yes", SOFTVOL_YES},
|
||||
{"auto", SOFTVOL_AUTO}),
|
||||
.deprecation_message = "no replacement"),
|
||||
.deprecation_message = "softvol is always active, and behaves "
|
||||
"as if --softvol=yes is always set"),
|
||||
OPT_FLOATRANGE("volume-max", softvol_max, 0, 100, 1000),
|
||||
// values <0 for volume and mute are legacy and ignored
|
||||
OPT_FLOATRANGE("volume", softvol_volume, 0, -1, 1000),
|
||||
|
Loading…
Reference in New Issue
Block a user