annotate src/libsndfile-1.0.27/Win32/testprog.c @ 40:1df64224f5ac

Current libsndfile source
author Chris Cannam
date Tue, 18 Oct 2016 13:22:47 +0100
parents
children
rev   line source
Chris@40 1 /* Simple test program to make sure that Win32 linking to libsndfile is
Chris@40 2 ** working.
Chris@40 3 */
Chris@40 4
Chris@40 5 #include <stdio.h>
Chris@40 6
Chris@40 7 #include "sndfile.h"
Chris@40 8
Chris@40 9 int
Chris@40 10 main (void)
Chris@40 11 { static char strbuffer [256] ;
Chris@40 12 sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ;
Chris@40 13 puts (strbuffer) ;
Chris@40 14 return 0 ;
Chris@40 15 }
Chris@40 16