mpv/player
Thomas Weißschuh 870512eb84 audio: simplify implementation of property ao-volume
ao-volume is represented in the code with a `struct ao_control_vol_t`
which contains volumes for two channels, left and right.

However the code implementing this property in command.c never treats
these values individually. They are always averaged together.
On the other hand the code in the AOs handling these values also has to
handle the case where *not* exactly two channels are handled.

So let's remove the `struct ao_control_vol_t` and replace it with a
simple float.
This makes the semantics clear to AO authors and allows us to drop some code from the AOs and command.c.
2023-01-25 15:49:21 -08:00
..
javascript js: key bindings: ensure priorities for same-key - again 2022-06-23 17:16:33 +03:00
lua osc: don't spam window-controls bindings on every render 2022-11-29 16:40:36 +00:00
audio.c various: replace if + abort() with MP_HANDLE_OOM() 2023-01-12 22:02:07 +01:00
client.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c audio: simplify implementation of property ao-volume 2023-01-25 15:49:21 -08:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c player: don't force saving start in watch-later-options 2023-01-09 16:37:14 +00:00
core.h player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
external_files.c external_files: recognize webp files as cover art 2022-12-29 15:48:57 +01:00
external_files.h player: add automatic loading of external cover art files 2020-09-28 00:12:52 +02:00
javascript.c js: utils.get_user_path: make wrapper of expand-path 2022-02-04 12:53:16 +02:00
loadfile.c filters: lavfi: allow hwdec_interop selection for filters 2022-09-21 09:39:34 -07:00
lua.c lua: avoid rare memory leak in mp.join_path 2022-05-12 17:15:37 +03:00
main.c msg: log-file set at mpv.conf: don't ignore early messages 2023-01-23 11:05:08 +02:00
misc.c player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
osd.c various: fix typos 2022-04-25 09:07:18 -04:00
playloop.c various: replace abort() with MP_ASSERT_UNREACHABLE() where appropriate 2023-01-12 22:02:07 +01:00
screenshot.c screenshot: add --screenshot-sw option 2020-10-05 00:16:46 +02:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c player/scripting: fix use-after-free when loading script folders 2021-04-08 23:47:35 +03:00
sub.c sub: align ytdl-hook secondary subs to the top 2021-08-11 18:15:35 +00:00
video.c player: add video-sync=display-tempo 2023-01-09 15:17:09 +00:00