mixer_api: moved mixer_init() to mixer_api.c
This commit is contained in:
parent
b488355df8
commit
82963ee023
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue