summaryrefslogtreecommitdiff
path: root/src/mossrose.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-06 23:21:20 -0500
committersanine <sanine.not@pm.me>2022-09-06 23:21:20 -0500
commit500dd00fb11efdd19aef924b0d8ff0b370c28d33 (patch)
treed89b17563866950f02ec948b37dea6364b4ac0dc /src/mossrose.c
parent7c678ce0266c66bb1b4d52bd70fb2351019e8ecd (diff)
implement mp3 loading
Diffstat (limited to 'src/mossrose.c')
-rw-r--r--src/mossrose.c7
1 files changed, 7 insertions, 0 deletions
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 <mossrose.h>
#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<mossrose_global.n_channels; i++) {