ref: 6c6b906116086767bb4b9f1bb82d1ae323b65df4
parent: 6a0181f59f816326f52db1775cb0c2ab4ef1758d
author: Erik de Castro Lopo <[email protected]>
date: Wed Mar 31 17:11:24 EST 2004
Report libsamplerate version number and remove unused debug.
--- a/examples/sndfile-resample.c
+++ b/examples/sndfile-resample.c
@@ -99,6 +99,8 @@
exit (1) ;
} ;
+ printf ("Version : %s\n", src_get_version ()) ;
+
printf ("Input File : %s\n", argv [argc - 2]) ;
printf ("Sample Rate : %d\n", sfinfo.samplerate) ;
printf ("Input Frames : %ld\n\n", (long) sfinfo.frames) ;
@@ -128,8 +130,6 @@
/* Fix the output file length to zero if already exists. */
truncate (argv [argc - 1], 0) ;
#endif
-
- /*-sfinfo.format = (sfinfo.format & SF_FORMAT_TYPEMASK) | SF_FORMAT_FLOAT ;-*/
if ((outfile = sf_open (argv [argc - 1], SFM_RDWR, &sfinfo)) == NULL)
{ printf ("Error : Not able to open output file '%s'\n", argv [argc - 1]) ;