Mercurial > hg > sv-dependency-builds
annotate src/libsndfile-1.0.25/Win32/testprog.c @ 0:c7265573341e
Import initial set of sources
author | Chris Cannam |
---|---|
date | Mon, 18 Mar 2013 14:12:14 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@0 | 1 /* Simple test program to make sure that Win32 linking to libsndfile is |
Chris@0 | 2 ** working. |
Chris@0 | 3 */ |
Chris@0 | 4 |
Chris@0 | 5 #include <stdio.h> |
Chris@0 | 6 |
Chris@0 | 7 #include "sndfile.h" |
Chris@0 | 8 |
Chris@0 | 9 int |
Chris@0 | 10 main (void) |
Chris@0 | 11 { static char strbuffer [256] ; |
Chris@0 | 12 sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ; |
Chris@0 | 13 puts (strbuffer) ; |
Chris@0 | 14 return 0 ; |
Chris@0 | 15 } |
Chris@0 | 16 |