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().
This commit is contained in:
Max Kellermann
2009-02-16 01:39:52 +01:00
parent 37bc31d161
commit 83ce0e5325
6 changed files with 159 additions and 150 deletions

View File

@@ -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