aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer_api.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
+}