diff options
author | stefonzo <stevester.robinson@gmail.com> | 2022-09-08 22:11:51 -0500 |
---|---|---|
committer | stefonzo <stevester.robinson@gmail.com> | 2022-09-08 22:11:51 -0500 |
commit | d3a90be424952e9a4d0e1e571c489b6e0e0fea62 (patch) | |
tree | e1bf36406eda2d56a0a6dc640a47f2180940f75f /src | |
parent | 1522846b727e540f1bbe224c39bcbae711672cf0 (diff) |
add experiment program
Diffstat (limited to 'src')
-rw-r--r-- | src/load/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/mossrose.c | 5 |
2 files changed, 6 insertions, 0 deletions
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) { |