aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-14 11:47:54 +0100
committerMax Kellermann <max@duempel.org>2009-03-14 11:47:54 +0100
commit82963ee0238ec9977161b27183294d39a817336f (patch)
treed4b79ef1458a14c03622938e4b925c3739a8a2bb /src/mixer_api.c
parentb488355df8b652956131fdc77edae48acabd9f72 (diff)
downloadmpd-82963ee0238ec9977161b27183294d39a817336f.tar.gz
mpd-82963ee0238ec9977161b27183294d39a817336f.tar.xz
mpd-82963ee0238ec9977161b27183294d39a817336f.zip
mixer_api: moved mixer_init() to mixer_api.c
Diffstat (limited to 'src/mixer_api.c')
-rw-r--r--src/mixer_api.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mixer_api.c b/src/mixer_api.c
index 3c9f54e14..1e0aabb10 100644
--- a/src/mixer_api.c
+++ b/src/mixer_api.c
@@ -17,12 +17,15 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include <stdio.h>
-#include <assert.h>
+#include "mixer_api.h"
#include <glib.h>
-#include "mixer_api.h"
-
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "mixer"
+
+void
+mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin)
+{
+ mixer->plugin = plugin;
+}