diff options
author | Max Kellermann <max@duempel.org> | 2009-03-14 11:36:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-14 11:36:50 +0100 |
commit | a5017a2d7c03506f55cf7eb465ca7d254dfc14a9 (patch) | |
tree | dea521c4221f3cd6729e85f384dfcb8d2fa1e8d1 /src/mixer_api.h | |
parent | 8d01110c8407b1efbdbe255f2e27a6daf6ac2d9a (diff) | |
download | mpd-a5017a2d7c03506f55cf7eb465ca7d254dfc14a9.tar.gz mpd-a5017a2d7c03506f55cf7eb465ca7d254dfc14a9.tar.xz mpd-a5017a2d7c03506f55cf7eb465ca7d254dfc14a9.zip |
mixer_api: moved functions to mixer_control.c
mixer_control.h should provide the functions needed to manipulate a
mixer, without exposing the internal mixer API (which is provided by
mixer_api.h).
Diffstat (limited to '')
-rw-r--r-- | src/mixer_api.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mixer_api.h b/src/mixer_api.h index 22858821c..a02ab2dd5 100644 --- a/src/mixer_api.h +++ b/src/mixer_api.h @@ -40,27 +40,4 @@ mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin) mixer->plugin = plugin; } -struct mixer * -mixer_new(const struct mixer_plugin *plugin, const struct config_param *param); - -void -mixer_free(struct mixer *mixer); - -bool mixer_open(struct mixer *mixer); -void mixer_close(struct mixer *mixer); - -static inline int -mixer_get_volume(struct mixer *mixer) -{ - return mixer->plugin->get_volume(mixer); -} - -static inline bool -mixer_set_volume(struct mixer *mixer, unsigned volume) -{ - return mixer->plugin->set_volume(mixer, volume); -} - -void mixer_disable_all(void); - #endif |