annotate src/libsndfile-1.0.25/Win32/testprog.c @ 85:545efbb81310

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