From d3a90be424952e9a4d0e1e571c489b6e0e0fea62 Mon Sep 17 00:00:00 2001 From: stefonzo Date: Thu, 8 Sep 2022 22:11:51 -0500 Subject: add experiment program --- src/load/CMakeLists.txt | 1 + src/mossrose.c | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/load/CMakeLists.txt b/src/load/CMakeLists.txt index 3369dd2..c435621 100644 --- a/src/load/CMakeLists.txt +++ b/src/load/CMakeLists.txt @@ -2,6 +2,7 @@ project(mossrose) target_sources(mossrose PUBLIC ${CMAKE_CURRENT_LIST_DIR}/load-mp3.c + ${CMAKE_CURRENT_LIST_DIR}/load-wav.c ) target_include_directories(mossrose PUBLIC ${CMAKE_SOURCE_DIR}/3rdparty/minimp3) diff --git a/src/mossrose.c b/src/mossrose.c index 61ee27b..bf45eef 100644 --- a/src/mossrose.c +++ b/src/mossrose.c @@ -160,6 +160,11 @@ struct mossrose_sound_t * mossrose_load_mp3(const char *filename) return load_mp3(filename); } +struct mossrose_sound_t * mossrose_load_wav(const char *filename) +{ + return load_wav(filename); +} + void mossrose_free_sound(struct mossrose_sound_t *sound) { -- cgit v1.2.1