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_coreaudio.c | |
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_coreaudio.c')
-rw-r--r-- | audio/out/ao_coreaudio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c index 45284f72ca..2e02c6842b 100644 --- a/audio/out/ao_coreaudio.c +++ b/audio/out/ao_coreaudio.c @@ -117,8 +117,6 @@ static int control(struct ao *ao, enum aocontrol cmd, void *arg) return get_volume(ao, arg); case AOCONTROL_SET_VOLUME: return set_volume(ao, arg); - case AOCONTROL_HAS_SOFT_VOLUME: - return CONTROL_TRUE; } return CONTROL_UNKNOWN; } |