From cde94e83a9eccade65bb03c361b6ae04beb056b4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 11 Oct 2019 21:05:11 +0200 Subject: 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. --- audio/out/ao.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'audio/out/ao.h') 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 -- cgit v1.2.3