annotate src/libsndfile-1.0.27/Win32/testprog.c @ 78:7ea7031c0e5c pa_catalina

Apply patch from Tim Bunnell on PortAudio mailing list (2016-12-28, Mac 10.11 deprecation warning)
author Chris Cannam
date Wed, 30 Oct 2019 11:28:45 +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