diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 2 | ||||
-rw-r--r-- | DOCS/man/input.rst | 11 | ||||
-rw-r--r-- | DOCS/man/options.rst | 7 |
3 files changed, 14 insertions, 6 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 5bc798bd38..3ccaef84b8 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -27,6 +27,8 @@ Interface changes :: --- mpv 0.38.0 --- + - add `--ao-volume` option + - change `ao-volume` property to read only property `current-ao-volume` - add `--volume-gain`, `--volume-gain-min`, and `--volume-gain-max` options - add `current-gpu-context` property - add `--secondary-sub-ass-override` option diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 0479cf9830..6ac9fb2bd5 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2329,16 +2329,15 @@ Property list This option is relatively useless. Before mpv 0.18.1, it could be used to infer behavior of the ``volume`` property. -``ao-volume`` (RW) +``current-ao-volume`` System volume. This property is available only if mpv audio output is currently active, and only if the underlying implementation supports volume - control. What this option does depends on the API. For example, on ALSA - this usually changes system-wide audio, while with PulseAudio this controls - per-application volume. + control. What this option shows depends on the API. For example, on ALSA + this usually shows system-wide audio, while on PulseAudio per-application volume. ``ao-mute`` (RW) - Similar to ``ao-volume``, but controls the mute state. May be unimplemented - even if ``ao-volume`` works. + Similar to ``current-ao-volume``, but controls the mute state. May be unimplemented + even if ``current-ao-volume`` works. ``audio-codec`` Audio codec selected for decoding. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 32e69af7e5..cf65957850 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1996,6 +1996,13 @@ Audio Since mpv 0.18.1, this always controls the internal mixer (aka "softvol"). +``--ao-volume=<value>`` + Set the startup system volume. This option works only if mpv audio + output is currently active, and the underlying implementation supports + volume control. What this option does depends on the API. For example, on + ALSA this usually changes system-wide audio, while with PulseAudio this + controls per-application volume. Negative values will be ignored. + ``--volume-max=<100.0-1000.0>`` Set the maximum amplification level in percent (default: 130). A value of 130 will allow you to adjust the volume up to about double the normal level. |