aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer_api.c11
-rw-r--r--src/mixer_api.h7
2 files changed, 9 insertions, 9 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;
+}
diff --git a/src/mixer_api.h b/src/mixer_api.h
index a29b79a0b..62c277b9d 100644
--- a/src/mixer_api.h
+++ b/src/mixer_api.h
@@ -27,10 +27,7 @@ struct mixer {
const struct mixer_plugin *plugin;
};
-static inline void
-mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin)
-{
- mixer->plugin = plugin;
-}
+void
+mixer_init(struct mixer *mixer, const struct mixer_plugin *plugin);
#endif