ref: 766e17410cd92746722f4b36bd54800647972ceb
parent: d9d2d271a82d49eec946f9d80e3e843edca4e720
author: Erik de Castro Lopo <[email protected]>
date: Sat Feb 14 21:32:52 EST 2004
Win32 fixes, improve samplerate.pc.in.
--- a/Make.bat
+++ b/Make.bat
@@ -1,6 +1,7 @@
@echo off
if "%1"=="check" GOTO CHECK
+if "%1"=="clean" GOTO CLEAN
copy /y Win32\config.h src\config.h
copy /y Win32\unistd.h examples\unistd.h
@@ -13,6 +14,10 @@
nmake -f Win32\Makefile.msvc check
goto END
+:CLEAN
+nmake -f Win32\Makefile.msvc clean
+goto END
+
:END
goto skipArchTag
@@ -23,4 +28,4 @@
arch-tag: 8700080b-8d9a-4852-ad8a-8ecd027f1f61
-skipArchTag
+:skipArchTag
--- a/Win32/Makefile.msvc
+++ b/Win32/Makefile.msvc
@@ -83,6 +83,9 @@
".\tests\util.obj" : ".\tests\util.c"
$(CPP) $(CFLAGS) /Fo".\tests\util.obj" /c ".\tests\util.c"
+".\tests\calc_snr.obj" : ".\tests\calc_snr.c"
+ $(CPP) $(CFLAGS) /Fo".\tests\calc_snr.obj" /c ".\tests\calc_snr.c"
+
".\tests\dft_cmp.obj" : ".\tests\dft_cmp.c"
$(CPP) $(CFLAGS) /Fo".\tests\dft_cmp.obj" /c ".\tests\dft_cmp.c"
@@ -109,9 +112,9 @@
$(CPP) $(CFLAGS) /Fo".\tests\reset_test.obj" /c ".\tests\reset_test.c"
$(LINK32) $(PROG_LINK_FLAGS) /out:".\tests\reset_test.exe" ".\tests\reset_test.obj" ".\tests\util.obj" libsamplerate.lib
-".\tests\multi_channel_test.exe" : ".\tests\multi_channel_test.c" ".\tests\util.obj"
+".\tests\multi_channel_test.exe" : ".\tests\multi_channel_test.c" ".\tests\util.obj" ".\tests\calc_snr.obj"
$(CPP) $(CFLAGS) /Fo".\tests\multi_channel_test.obj" /c ".\tests\multi_channel_test.c"
- $(LINK32) $(PROG_LINK_FLAGS) /out:".\tests\multi_channel_test.exe" ".\tests\multi_channel_test.obj" ".\tests\util.obj" libsamplerate.lib
+ $(LINK32) $(PROG_LINK_FLAGS) /out:".\tests\multi_channel_test.exe" ".\tests\multi_channel_test.obj" ".\tests\util.obj" ".\tests\calc_snr.obj" libsamplerate.lib
".\tests\snr_bw_test.exe" : ".\tests\snr_bw_test.c" ".\tests\util.obj"
$(CPP) $(CFLAGS) /Fo".\tests\snr_bw_test.obj" /c ".\tests\snr_bw_test.c"
--- a/Win32/libsamplerate.def
+++ b/Win32/libsamplerate.def
@@ -18,3 +18,9 @@
src_simple @40
src_is_valid_ratio @50
+
+src_callback_new @60
+src_callback_read @61
+
+src_short_to_float_array @70
+src_float_to_short_array @71
--- a/samplerate.pc.in
+++ b/samplerate.pc.in
@@ -4,7 +4,7 @@
includedir=@includedir@
Name: samplerate
-Description: A library for performing Sample Rate Conversion on audio files.
+Description: An audio Sample Rate Conversion library
Requires:
Version: @VERSION@
Libs: -L${libdir} -lsamplerate