From 500dd00fb11efdd19aef924b0d8ff0b370c28d33 Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 6 Sep 2022 23:21:20 -0500 Subject: implement mp3 loading --- src/mossrose.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mossrose.c') diff --git a/src/mossrose.c b/src/mossrose.c index 8a99770..f96d394 100644 --- a/src/mossrose.c +++ b/src/mossrose.c @@ -5,6 +5,7 @@ #include #include "channel.h" #include "sound.h" +#include "load/load.h" struct mossrose_global_t { @@ -154,6 +155,12 @@ void mossrose_poll_callbacks() } +struct mossrose_sound_t * mossrose_load_mp3(const char *filename) +{ + return load_mp3(filename); +} + + int mossrose_terminate() { for (int i=0; i