summaryrefslogtreecommitdiff
path: root/Win32/testprog.c
blob: d26d844adfc557e03b09778f7c74c1197268b24c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	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 ;
}