From 83ce0e5325b9bcf9b339ea9c69b658d45b4125cf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 16 Feb 2009 01:39:52 +0100 Subject: mixer_api: replaced method "control()" with "{get,set}_volume()" The method control() is too complicated, and overengineered. Replace it with two trivial functions: get_volume() and set_volume(). --- src/output_api.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/output_api.h') diff --git a/src/output_api.h b/src/output_api.h index 87dac6ec..5f06c6cb 100644 --- a/src/output_api.h +++ b/src/output_api.h @@ -28,13 +28,6 @@ struct audio_output; -enum audio_control_command { - AC_MIXER_GETVOL = 0, - AC_MIXER_SETVOL, -}; - -struct audio_output; - const char *audio_output_get_name(const struct audio_output *ao); #endif -- cgit v1.2.3