File: testprog.c

package info (click to toggle)
libsndfile 1.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,108 kB
  • sloc: ansic: 55,350; cpp: 1,108; python: 791; makefile: 545; sh: 539; cs: 122
file content (16 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (14)
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 ;
}