mixer_api: moved mixer_init() to mixer_api.c

This commit is contained in:
Max Kellermann 2009-03-14 11:47:54 +01:00
parent b488355df8
commit 82963ee023
2 changed files with 9 additions and 9 deletions

View File

@ -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;
}

View File

@ -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