From 439a05d8c3c31ff4751a03dba69dfb96321a83e2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 6 Sep 2014 02:30:57 +0200 Subject: audio/out: remove old things Remove the unnecessary indirection through ao fields. Also fix the inverted result of AOCONTROL_HAS_TEMP_VOLUME. Hopefully the change is equivalent. But actually, it looks like the old code did it wrong. --- audio/out/ao.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/out/ao.h') diff --git a/audio/out/ao.h b/audio/out/ao.h index 3eb2925971..7badf90aef 100644 --- a/audio/out/ao.h +++ b/audio/out/ao.h @@ -36,7 +36,9 @@ enum aocontrol { AOCONTROL_SET_MUTE, // Has char* as argument, which contains the desired stream title. AOCONTROL_UPDATE_STREAM_TITLE, - AOCONTROL_HAS_TEMP_VOLUME, + // 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, }; -- cgit v1.2.3