diff options
author | wm4 <wm4@nowhere> | 2019-10-11 21:05:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-11 21:05:11 +0200 |
commit | cde94e83a9eccade65bb03c361b6ae04beb056b4 (patch) | |
tree | d02cebaba4f253d810b840844857fd45d54633bf /audio/out/ao.h | |
parent | d908fbd5849159509300447e6baa09c58d199169 (diff) | |
download | mpv-cde94e83a9eccade65bb03c361b6ae04beb056b4.tar.bz2 mpv-cde94e83a9eccade65bb03c361b6ae04beb056b4.tar.xz |
audio/out: rip out old unused app/softvolume reporting
This was all dead code. Commit 995c47da9a (over 3 years ago) removed all
uses of the controls.
It would be nice if AOs could apply a linear gain volume, that only
affects the AO's audio stream for low-latency volume adjust and muting.
AOCONTROL_HAS_SOFT_VOLUME was supposed to signal this, but to use it,
we'd have to thoroughly check whether it really uses the expected
semantics, so there's really nothing useful left in this old code.
Diffstat (limited to 'audio/out/ao.h')
-rw-r--r-- | audio/out/ao.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/audio/out/ao.h b/audio/out/ao.h index f8b3e676fa..f6b984ff30 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -35,10 +35,6 @@ enum aocontrol { AOCONTROL_SET_MUTE, // Has char* as argument, which contains the desired stream title. AOCONTROL_UPDATE_STREAM_TITLE, - // the AO does the equivalent of af_volume (return CONTROL_TRUE if yes) - AOCONTROL_HAS_SOFT_VOLUME, - // like above, but volume persists (per app), mpv won't restore volume - AOCONTROL_HAS_PER_APP_VOLUME, }; // If set, then the queued audio data is the last. Note that after a while, new |