view src/libsndfile-1.0.25/Win32/testprog.c @ 168:ceec0dd9ec9c

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 <cannam@all-day-breakfast.com>
date Fri, 07 Feb 2020 11:51:13 +0000
parents 545efbb81310
children
line wrap: on
line source
/*	Simple test program to make sure that Win32 linking to libsndfile is
**	working.
*/

#include <stdio.h>

#include "sndfile.h"

int
main (void)
{	static char strbuffer [256] ;
	sf_command (NULL, SFC_GET_LIB_VERSION, strbuffer, sizeof (strbuffer)) ;
	puts (strbuffer) ;
	return 0 ;
}