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:
@@ -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
|
||||
|
Reference in New Issue
Block a user