annotate src/libsndfile-1.0.27/Win32/testprog.c @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents 1df64224f5ac
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