Merge branch 'libsndfile'
[Faustine.git] / interpretor / lib / src / libsndfile-1.0.25 / Win32 / testprog.c
diff --git a/interpretor/lib/src/libsndfile-1.0.25/Win32/testprog.c b/interpretor/lib/src/libsndfile-1.0.25/Win32/testprog.c
new file mode 100644 (file)
index 0000000..d26d844
--- /dev/null
@@ -0,0 +1,16 @@
+/*     Simple test program to make sure that Win32 linking to libsndfile is
+**     working.
+*/
+
+#include <stdio.h>
+
+#include "sndfile.h"
+
+int
+main (void)
+{      static char strbuffer [256] ;
+       sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ;
+       puts (strbuffer) ;
+       return 0 ;
+}
+