summaryrefslogtreecommitdiff
path: root/examples/wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wav.c')
-rw-r--r--examples/wav.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/wav.c b/examples/wav.c
new file mode 100644
index 0000000..6d6f336
--- /dev/null
+++ b/examples/wav.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <mossrose.h>
+
+int main()
+{
+ mossrose_load_wav("mono-16bit-pcm.wav");
+ mossrose_load_wav("mono-24bit-pcm.wav");
+ mossrose_load_wav("mono-float-pcm.wav");
+ mossrose_load_wav("stereo-16bit-pcm.wav");
+ mossrose_load_wav("stereo-16bit-pcm.wav");
+ mossrose_load_wav("stereo-16bit-pcm.wav");
+ return 0;
+}