Win32/testprog.c
raw| 1 | /* Simple test program to make sure that Win32 linking to libsndfile is |
| 2 | ** working. |
| 3 | */ |
| 4 | |
| 5 | #include <stdio.h> |
| 6 | |
| 7 | #include "sndfile.h" |
| 8 | |
| 9 | int |
| 10 | main (void) |
| 11 | { static char strbuffer [256] ; |
| 12 | sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ; |
| 13 | puts (strbuffer) ; |
| 14 | return 0 ; |
| 15 | } |
| 16 |