testprog.c 286 B

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