1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/player
wm4 d8aeeaa4b1 command: always allow setting volume/mute properties
This seems generally easier when using libmpv (and was already requested
and implemented before: see commit 327a779a; it was reverted some time
later).

With the weird internal logic we have to deal with, in particular the
--softvol=no case (using system volume), and using the audio API's mixer
(--softvol=auto on some systems), we still can't avoid all glitches and
corner cases that complicate this issue so much. The API user is either
recommended to use --softvol=yes or auto, or to watch the new
mixer-active property, and assume the volume/mute properties have
significant values if the mixer is active.

Remaining glitches:
- changing the volume/mute properties has no effect if no internal mixer
  is used (--softvol=no) and the mixer is not active; the actual mixer
  controls do not change, only the property values
- --volume/--mute do not have an effect on the volume/mute properties
  before mixer initialization (the options strictly are only applied
  during mixer init)
- volume-max is 100 while the mixer is not active
2016-01-26 15:23:09 +01:00
..
lua ytdl: Include Referer header as well 2016-01-10 14:30:31 +01:00
audio.c audio: fix spdif PCM fallback 2016-01-25 13:43:43 +01:00
client.c global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
client.h global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
command.c command: always allow setting volume/mute properties 2016-01-26 15:23:09 +01:00
command.h
configfiles.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
core.h audio: refactor: move MPContext.ao_buffer field 2016-01-22 00:25:44 +01:00
external_files.c player: fix previous commit 2015-12-25 13:40:06 +01:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
loadfile.c demux: disable stream cache if no tracks are selected 2016-01-18 18:43:55 +01:00
lua.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
main.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
misc.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
osd.c player: refactor: eliminate MPContext.d_audio 2016-01-22 00:25:44 +01:00
playloop.c player: refactor: eliminate MPContext.d_audio 2016-01-22 00:25:44 +01:00
screenshot.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sub.c sub: change when/how subtitles are read completely 2016-01-22 00:25:44 +01:00
video.c video: slightly improve video stream switching 2016-01-26 14:06:41 +01:00