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_openal.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'audio/out/ao_openal.c') diff --git a/audio/out/ao_openal.c b/audio/out/ao_openal.c index 53571b6d6e..2af9fadb4f 100644 --- a/audio/out/ao_openal.c +++ b/audio/out/ao_openal.c @@ -93,8 +93,6 @@ static int control(struct ao *ao, enum aocontrol cmd, void *arg) return CONTROL_TRUE; } - case AOCONTROL_HAS_SOFT_VOLUME: - return CONTROL_TRUE; } return CONTROL_UNKNOWN; } -- cgit v1.2.3