1 2011-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4 Add symbol support for kfreebsd-*-gnu-*.
6 * configure.ac doc/Makefile.am
7 Improve installation of html docs.
9 * examples/audio_out.c tests/callback_hang_test.c
10 Fix compiler warnings.
12 * NEWS README Win32/config.h doc/*.html
13 Updates for 0.1.8 release.
18 2011-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
21 Rename function print_cpu_name() to get_cpu_name(). Add code for Mac OSX and
24 * tests/multichan_throughput_test.c tests/throughput_test.c
25 Update to use get_cpu_name().
27 2010-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
32 2010-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
34 * src/fastest_coeffs.h src/high_qual_coeffs.h src/mid_qual_coeffs.h
43 2010-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
46 Add lrint/lrintf version for Win64. Thanks to Dmitry Baikov.
48 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
50 * examples/sndfile-resample.c
51 Prevent creation of double length output files when conversion is restarted
52 due to clipping of the output when the format is FLAC. This problem arises
53 due to libsndfile's in ability to seek in a FLAC file during write.
55 * src/samplerate.h tests/termination_test.c
56 Revert change that moved the src_ratio field to the start of SRC_DATA
57 struct. This change does have some merit, but is not worth it considering
58 that its an API change. This idea will be reconsidered when the API does
61 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
69 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
72 Add macro UNUSED for marking function parameters as unused.
74 2009-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
77 Add zero_input_test() from debian bug #506722.
79 * src/src_linear.c src/src_zoh.c
80 Fix for bug in zero_input_test(). Both these converters crashed if the
81 input_frames field of SRC_DATA was zero.
83 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
86 Fix detection of CPU endian-ness when cross compiling.
88 2009-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
90 * tests/termination_test.c
91 Add test to detect a particular kind of termination error.
94 Fix a termination condition bug.
96 2009-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
99 Change definition of SRC_STATE to be kinder to some slightly broken
100 compilers. Thanks to Rob Brown for suggesting this fix.
102 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
104 * M4/check_signal.m4 M4/clip_mode.m4 M4/lrint.m4 M4/lrintf.m4
105 New files used instead of acinclude.m4.
107 2009-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
110 Move src_ratio field to the start of the SRC_DATA struct to ensure it gets
111 aligned correctly when either the library or client code gets compiled with
115 Bump version to 1.0.0 due to API change.
117 2009-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
119 * Win32/Makefile.msvc
120 Add /Zm1000 to the CFLAGS as suggested by Kun Niu.
122 * doc/api_full.html doc/api_callback.html
123 Improve explanation of use of src_set_ratio() function.
125 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
127 * src/common.h src/samplerate.c
128 Add new error value SRC_ERR_SINC_PREPARE_DATA_BAD_LEN.
131 Add WARN_UNUSED macro.
134 Fix a segfault which occurs when memcpy is passed a bad length parameter.
135 This bug has zero security implications beyond the ability to cause a
136 program hitting this bug to exit immediately with a segfault.
137 See : http://www.mega-nerd.com/erikd/Blog/2009/Feb/14/index.html
138 Thanks to David Cournapeau and Lev Givon for the bug report.
140 * doc/win32.html Makefile.am configure.ac
141 Reinstate Win32/MSVC compile instructions.
144 Update for new release.
149 2009-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
151 * src/common.h src/samplerate.c
152 Fix SRC_ERR_BAD_SRC_RATIO error string. Thanks David Cournapeau.
154 2009-01-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
157 Replace C99 "variable length arrays" with arrays allocated on the heap so
158 that libsamplerate can be compiled with crappy compilers like MSVC.
160 2009-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
162 * configure.ac NEWS README doc/*.html
163 Updates for 0.1.6 release.
165 2009-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
167 * tests/termination_test.c
168 Fix termination test error on x86_64. Error probably due to difference in
171 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
174 Update win32 compile instructions to explain that this release cannot be
175 compiled using the microsoft compiler.
177 * NEWS README doc/*.html
178 Updates for 0.1.5 release.
180 * Makefile.am configure.ac
181 Remove Win32 directory from distributed tarball.
183 2008-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
185 * tests/multi_channel_test.c tests/multichan_throughput_test.c
186 Update tests to make sure tests include tests for 10 channels.
189 Make 6 channel Sinc conversion another special case.
190 Use Duff's Device to speed up the multi-channel case.
192 * tests/multi_channel_test.c
193 Only test 1, 2 and 3 channels for ZOH and linear converters.
195 2008-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
198 Move variable definition out one scope level to avoid warnings from static
199 analysis tools. Thanks Erik Hovland.
202 Make sure FILE* is closed. Thanks Erik Hovland.
204 * tests/multi_channel_test.c tests/multichan_throughput_test.c
205 Update tests to make sure tests include tests for 6 channels with the Sinc
208 2008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
210 * tests/multichan_throughput_test.c
211 Do throughput test on all three SINC based converters.
214 Rejig converter so filter coefficients are calculated once per frame and
215 special case channel counts of 1, 2 and 4.
217 2008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
219 * src/samplerate.c examples/audio_out.c tests/*.c
220 Fix a couple of very minor warnings uncovered by Erik Hovland using a
221 static analysis tool.
224 Fix a potential memory leak. Thanks to Peter G. Vavaroutsos for point this
227 * tests/multi_channel_test.c
230 2008-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
232 * reconfigure.mk autogen.sh
233 Remove the first, add the second.
238 * tests/multichan_throughput_test.c tests/Makefile.am
239 Add new test and hook into build.
241 2008-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
244 Update best converter specs.
246 2008-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
248 * examples/audio_out.c
249 Fix gcc-4.3 compiler warning.
251 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
254 Add Q/A about accuracy of src_ratio field of SRC_DATA struct.
256 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
259 Fix minor typo. Thanks to Sean Wood.
261 2008-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
264 Optimization. About a 5% improvement in throughput.
266 2008-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
269 Add function print_cpu_name.
271 * tests/throughput_test.c
272 Add ability to do best-of N runs, print CPU type.
274 2008-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
279 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
282 Fix a valgrind warning which occured when the call back function returns
283 a count of zero without modifying the pointer value. Thanks to Paul Kelly.
285 * tests/callback_test.c
286 Add a callback test where the callback returns a zero count without setting
287 the data pointer. The problem can only be detected when run under valgrind.
289 2008-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
292 Remove use of llrint because sizeof (increment_t) is guaranteed not to be 8.
294 * tests/callback_test.c
295 Test with 2 channels for improved generality. Simplify setup.
297 * src/src_linear.c src/src_zoh.c
298 Change local variable names to be the same across these two files for easier
302 Fix a bug where the the converter was reading beyond the end of the input.
303 Thanks to Paul Kelly for the bug report.
305 2008-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
307 * tests/downsample_test.c
308 New test file to test for buffer overrun bugs at extreme low conversion
312 Hook above test program into build.
315 Fix buffer overrrun bug at extreme low conversion ratios. Thanks to Russell
316 O'Connor for the report.
318 * configure.ac NEWS README doc/*.html
319 Update for 0.1.4 release.
321 2008-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
324 Make use of libsndfile optional. Patch from Samuli Suominen.
326 2008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
328 * Win32/libsamplerate-0.def
329 Add src_int_to_float/float_to_int_array to exports.
331 * examples/sndfile-resample.c
332 Add printing of libsndfile version, modify libsamplerate version.
334 2008-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
337 Final documentation tweaks for release.
339 2008-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
341 * tests/throughput_test.c
342 Include config.h and float_cast.h." -- tests/throughput_test.c
345 Bunch more Win32 updates.
347 2008-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
350 Remove all traces of old SRC_OLD_SINC_* converters.
353 Preliminary Win32 updates.
356 Bump version to 0.1.3.
358 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
360 * doc/api_simple.html
361 Try once again to convince people that src_simple cannot be used on small
362 chunks of a larger piece of audio.
364 2008-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
366 * tests/snr_bw_test.c
367 Remove bodgy old throughput calculations.
369 2008-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
371 * tests/benchmark.c tests/throughput_test.c
372 Rename former to the latter and make significant improvements.
374 2008-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
376 * src/old_high_qual_coeffs.h src/old_mid_qual_coeffs.h
377 Copy these from the old versions.
379 * src/high_qual_coeffs.h src/mid_qual_coeffs.h
380 New versions of the coefficients with improved SNR.
382 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
384 * Makefile.am configure.ac
385 Add DISTCHECK_CONFIGURE_FLAGS to Makefile.am and a bunch of configure
388 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
390 * examples/audio_out.c
391 Apply patch from Yair K. to fix compiles with OSS v4.
393 2007-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
396 Add AC_CHECK_SIGNAL macro.
399 Use AC_CHECK_SIGNAL to check for SIGALRM.
401 * tests/callback_hang_test.c
402 Use HAVE_SIGGALRM and add empty main function if it doesn't exist.
404 2007-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
407 Change the way the coefficients are defined for improved safety.
412 2007-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
415 Change macros into inline functions for better error checking.
418 Add static inline function fmod_one.
421 Use fmod_one where appropriate.
423 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
426 Fix includes for varispeed_test target.
428 2007-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
430 * tests/snr_bw_test.c
434 Add link to Foobar 2000 plugin.
436 * configure.ac tests/callback_hang_test.c
437 Test for functions alarm and signal and only compile test if both are
440 2007-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
443 Refactor checking of supplied src ratio against min and max.
446 Remove -pendantic from CFLAGS and add -std=gnu99.
448 * tests/callback_hang_test.c tests/Makefile.am
449 Add new test program and hook it into build.
451 * src/src_linear.c src/src_sinc.c src/src_zoh.c
452 Fix a bug where the src_callback_read () function would hang under varying
455 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
457 * doc/api.html doc/api_callback.html doc/api_misc.html
458 Update docs to make handling of interleaved data more explicit.
460 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
462 * examples/audio_out.c
463 Fix bug arising from last change.
466 Add -Wpointer-arith to CFLAGS.
468 2006-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
470 * examples/audio_out.c
471 Be more explicit about setting the audio output format.
473 2006-06-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
475 * src/samplerate.c src/src_linear.c src/src_sinc.c
476 Fix MSVC compiler warnings.
478 2006-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
481 Fix minor bug in analysis routines.
483 * tests/varispeed_test.c tests/snr_bw_test.c
484 Fix knock on effects of above change.
486 2006-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
489 Update check-asm rule to check src_linear.c and src_zoh.c.
492 Remove all uses of floor() function.
494 2006-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
496 * src/samplerate.[ch] src/Version_script.in
497 Add functions src_int_to_float_array and src_float_to_int_array.
499 * tests/float_short_test.c
500 Update test to including testing of above.
503 Update docs for the above addition.
505 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
507 * src/common.h src/src_*.c src/samplerate.c
508 Add slots for vari_process and const_process functions.
510 * tests/varispeed_test.c tests/Makefile.am
511 Add new test and hook into build.
514 Add new function reverse_data.
516 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
518 * examples/sndfile-resample.c
519 Exit if SRC ratio is 1.0. Suggested by Bram de Jong.
521 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
523 * examples/timewarp-file.c
526 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
529 Update to include Cygwin specific fixes.
531 * doc/api_callback.html
532 Complete the documentation of the callback API.
534 2005-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
536 * tests/termination_test.c
537 Rename term_test() to init_term_test() and add extra test functionality
538 to sanity test the first sample output after reset.
540 * src/src_zoh.c src/src_linear.c
541 Fix bug found by new test. Thanks Stas Sergeev for bringint this to my
544 2005-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
547 Fix a bug preventing the inclusion of the html API docs in the tarball.
549 * src/src_zoh.c src/src_linear.c
550 Improve calculation of input_index.
551 Fix updating of input_index (thanks to Stas Sergeev).
554 Fix a compile problem when FFTW is not present (thanks to Stas Sergeev).
556 2005-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
558 * configure.ac src/Makefile.am
559 Fix minor problems with generation of shared library version number.
561 2005-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
564 Add a question about the use of src_simple().
566 * src/api_simple.html
567 Fix defintion of src_ratio.
569 2004-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
571 * configure.ac tests/Makefile.am tests/*.c
572 Ditch detection and use of libefence. Valgrind is a far better debugging
576 Write complete libsamplerate specific install instructions.
578 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
580 * src/configure.ac src/makefile.am
581 Finally fix the bulding of DLLs on Win32/MinGW.
584 Fix running of tests on Win32/MinGW.
586 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
588 * configure.ac Win32/Makefile.mingw.in
589 More support for compiling on Win32 using MinGW. Now uses FFTW3.
591 * examples/audio_out.c
592 Remove include of <mmreg.h> on win32.
594 2004-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
596 * configure.ac Win32/Makefile.mingw.in
597 Add preliminary support for compiling on Win32 using MinGW.
600 Bump version to 0.1.2.
601 Add --enable-gcc-werror configure option.
603 * examples/sndfile-resample.c tests/src-evaluate.c
604 Use ISO C standard function remove instead of unlink.
606 * Win32/Makefile.msvc
607 Add the top level directory to the include path (for sndfile.h).
609 2004-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
611 * tests/util.h tests/*.c
612 Move macros for ABS, MIN, MAX and ARRAY_LEN to util.h.
615 Add test function callback_reset_test() to test for the problem below.
618 Reset SRC_PRIVATE fields saved_data and saved_frames in src_reset(). Thanks
619 to Justin Drury for pointing this out.
621 2004-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
624 Fix typos in converter name strings. Thanks to Tom Szilagyi for finding them.
626 2004-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
629 Bump version to 0.1.1.
631 * doc/*.html Win32/config.h
632 Changes for new version.
634 * Makefile.am src/Makefile.am
635 Add "make check-asm" target which is not used by default.
637 2004-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
640 Use fmod() to calculate input_index. This is more resitant to rounding
641 errors than input_index -= floor (input_index).
643 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
646 Removed redundant field in SINC_FILTER struct.
648 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
650 * examples/sndfile-resample.c
651 Modified to restart conversion if clipping has occurred.
653 2004-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
656 Added benchmark program.
658 2004-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
660 * tests/callback_test.c
661 Improve callback_test to find input/output length mismatches. This also
662 catches the bug Mark Deggeller reported.
664 2004-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
667 Fix a bug in src_callback_read() reported by Mark Deggeller. Data retreived
668 but not used during one call to src_callback_read() must be saved for the
672 Add fields saved_frames and saved_data to SF_PRIVATE struct for storing
673 data between sucessive calls to src_callback_read().
674 Also rearange the fields of SF_PRIVATE.
676 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
679 Use AC_HELP_STRING in AC_ARG_ENABLE statements.
681 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
683 * Win32/config.h Win32/sndfile.h
686 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
689 Finally got around to adding text to these.
691 * doc/win32.html doc/history.html
694 2004-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
697 Changed allowed SRC ratio to range [1/256, 256].
699 * configure.ac tests/snr_bw_test.c tests/src-evaluate.c tests/Makefile.am
700 Use FFTW3 instead of version 2.
702 2003-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
704 * doc/api.html doc/api_misc.html
705 Add documentation for conversions functions.
708 Add Q/A about detecting presence of libsamplerate.
710 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
712 * src/samplerate.h src/samplerate.c
713 Added functions for short->float and float->short conversions on arrays
714 of data. This will make it a little easier for people who need the
715 input or output data in shorts rather than floats.
718 Added tests for CPU clipping mode which was required for the float to
721 * tests/float_short_test.c
722 New code for testing the new functionality.
724 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
726 * src/src_zoh.c src/src_linear.c
727 Fixed an off-by-one indexing issue which was causing distortion at the
728 boundaries between calls to src_process().
730 * tests/multi_channel_test.c
731 Finally passing tests for all three access methods (simple, process and
734 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
737 SNR calculation was being screwed up because the peak detector was
738 mistaking side lobes caused by the windowded FFT as noise/aliasing peaks.
739 Therefore added code to wipe out the troughs between peaks which erases
740 the side lobe peaks without affecting the noise/aliasing peaks.
742 * tests/multi_channel_test.c
743 Added a callback_test to work on multiple channels.
745 2003-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
748 Add definitions for the callback based API (src_callback_new and
752 Add link to faq.html.
755 Add a new question/answer.
757 * src/samplerate.c tests/callback_test.c
758 Move callback functions (src_callback_new and src_callback_read) from
759 callback_test.c to samplerate.c
760 Add checking to make sure that an SRC_STATE object created with
761 src_callback_new() is not used with src_process() etc.
763 * examples/varispeed.c
764 Add #include <stdlib.h> to prevent compiler warning.
767 Add definitions for the callback based API.
769 * src/Version_script.in
770 Add entries for two new public functions.
772 2003-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
774 * tests/callback_test.c
775 More work on getting callback based API working.
777 * tests/termination_test.c
778 Tightened up the test pass crieria yet again. This shows up problems
779 with the ZOH and Linear converters.
781 * src/src_zoh.c src/src_linear.c
782 Fixed problems with converters shown up by improved tests.
784 2003-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
787 Be more explicit about the inclusion of <samplerate.h>.
789 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
791 * examples/sndfile-resample.c examples/audio_out.c
792 Add include for <stdlib.h>.
795 Check for libsndfile >= 1.0.6.
797 * examples/sndfile-resample.c
798 Turn on clipping of output when saving to integer PCM output formats.
800 2003-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
802 * tests/callback_test.c
803 Start work on a callback based API. The implementation will be done
804 in this test program first and when it is working, the code that does
805 the work will be moved back to the library code.
807 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
810 New file detailing how to submit bug reports for SRC.
812 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
814 * libsamplerate.spec.in
815 Apply corrections from Giuliano Pochini.
817 2003-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
819 * tests/snr_bw_test.c
820 Added test for conversion ratio of 1.0 for all converters. For this
821 conversion ratio, all converters have a better than 149db SNR ratio.
824 Changes to make this converter work more like src_zoh.c.
826 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
829 Fixed a couple of broken links pointed out by Anand Kumria.
831 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
834 Add URL of API documentation to the top of file.
837 Clarify use of SRC_DATA struct.
839 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
842 Add call to src_set_ratio() to test that this function has been exported.
844 2003-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
847 Changed 'sndfile' to 'samplerate'.
849 2003-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
852 Fixed a bug causing clicks in the output data.
854 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
857 Fixed a compiler warning.
859 * tests/termination_test.c
860 Tightened up the test pass crieria.
863 Fixed bug showed up by new termination tests.
865 2003-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
867 * examples/sndfile-resample.c
868 Fixed a bug which was messing up handling of multi-channel files.
870 * tests/multi_channel_test.c
871 Disabled all the new code.
873 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
875 * tests/multi_channel_test.c
876 Rehacking multi-channel tests to find possible problems in src_process()
877 when processing multichannel data. Need to use signal to noise ratio
881 Mods to add calc_snr.c and utils.c to build of multi_channel_test.
884 Add functions for interleaving and de-interleaving data.
886 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
889 Added Win32 specific #pragma to disable warnings when double precision
890 constants are assigned to floats.
893 Added #include <string.h> to prevent compiler warning about use of memset()
896 2003-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
898 * src/samplerate.[ch]
899 Added function src_set_ratio() at the suggestion of Dr William Bland.
902 Added docs for above function.
904 2003-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
906 * examples/Makefile.am tests/Makefile.am
908 Tidy up handling addition of SNDFILE_CFLAGS
910 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
913 Disabled HAVE_STDINT_H for Win32.
916 Added empty header file for Win32.
919 Final fixes to get audio out working on Win32.
921 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
924 Phase one or refactoring. Replace use of a circular buffer to hold short
925 window of data with a linear buffer.
926 Linear buffer requires that data is periodically copied from the end if
927 the buffer back to the beginning. However, it also means that the
928 calc_output() function no longer needs to calculate the next data index
929 modulo the buffer length.
930 Since the data index is calculated 40 times (minimum) per output sample,
931 and the copy from end of buffer to start of buffer is done every 1000 or
932 so output samples, this change results in a significant speedup (up to
933 about 50% improvement for SRC_SINC_FASTEST).
934 Memory use has increased somewhat (max 6k per channel per converter) due
935 to this fix, but that should go down again during next phase of
938 * examples/varispeed-play.c
939 Fixed a bug where data_in and data_out buffers were overlapping.
941 2003-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
944 Completed documentation on compiling for Win32.
947 Added links to Win32 compiling information.
949 * configure.ac tests/Makefile.am
950 Detect libefence and link it to all the test programs if configued
954 New function force_efence_banner().
957 Add a call to force_efence_banner() to force printing of the Electric Fence
958 banner at start of program.
960 2003-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
963 Added --enable-debug configuration flag.
965 * tests/termination_test.c
966 More modifications to catch corner cases.
967 Added extra test to check for negative return values for input_frames_used
968 and output_frames_gen fields of SRC_DATA.
970 * src/src_zoh.c src/src_linear.c
971 Fixed more bugs found using modified streaming_test.
974 Set input_frames and output_frames of SRC_DATA to zero if they are negative.
975 Add check for overlapping SRC_DATA data_in and data_out arrays.
978 Document the fact that the SRC_DATA->data_in and data_out arrays may not
979 overlap. Thanks to Paul Davis for pointing out this documentation oversight.
981 2002-12-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
983 * tests/termination_test.c tests/streaming_test.c
984 Merged these two test programs into termination_test.c.
987 Modified for above change.
989 * src/src_zoh.c src/src_linear.c
990 Fixed bug found using modified streaming_test.
992 2002-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
994 * src/samplerate.c src/src_*.c
995 Changed the way multichannel accounting was done.
997 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
999 * tests/snr_bw_test.c
1000 Rearranged order of tests.
1002 2002-12-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1005 Added "subscribe" HREF.
1007 2002-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1009 * src/src_zoh.c src/src_linear.c
1010 Fixed a bug which was causing an incorrent number of output samples to be
1011 generated for a given conversion ratio and number of input samples.
1013 * tests/streaming_test.c tests/termination_test.c
1014 Modified pick up the above problem if it returns.
1016 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1018 * tests/streaming_test.c
1019 Modified to mix long and short input buffers. This will help testing of
1020 smooth switching between standard sinc_process() and long_sinc_process().
1022 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1024 * examples/audio_out.c
1025 More hacking to get this working on Win32.
1027 * tests/src-evaluate.c
1030 2002-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1032 * src/samplerate.[ch] src/Version_script.in Win32/libsamplerate.def
1033 Added function src_get_version() to return a version string.
1035 * examples/sndfile-resample.c
1036 Add "--version" option to print out a version string.
1038 * tests/src-evaluate.c
1039 New file. This program will be used to evaluate other sample rate
1040 converters for comparison to the rabbit.
1042 * tests/calc_snr.[ch] tests/snr_bw_test.c
1043 Minor changes required by src-evaluate program.
1045 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1048 New file for Win32. When building for Win32, this file gets copied into the
1052 First attempt to see if this works.
1055 Changed name of SRC_PRIVATE filed errno to error because the brain damaged
1056 Win32 compiler was barfing.
1058 2002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1060 * examples/audio_out.c
1061 Now working on MacOSX.
1063 * examples/varispeed-play.c
1064 Add ability to choose converter.
1066 2002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1071 * examples/new-varispeed-play.c examples/varispeed-play.c
1072 The first file replaces the later.
1074 2002-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1077 New file for lrint() and lrintf().
1079 * src/common.h src/src_*.c
1080 Add workaround for systems without <stdint.h>.
1081 Add #include "float_cast.h" to pick up replacement lrint() and lrintf()
1084 * examples/audio_out.c
1085 Fixes for the case where libsndfile is not found.
1087 * new-varispeed-play.c
1088 Fixes for Solaris. Now works.
1090 2002-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1092 * src/high_qual_coeffs.h
1093 Conrad Parker found a file which produced clicking when run thru the
1094 SRC_SINC_BEST_QUALITY filter. Recalculated the filter with slightly less
1095 stringent design parameters and fixed the problem. The band with of the
1096 new filter is 96.6% while the old one was a little ober 97%.
1098 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1101 libsamplerate is working. There have been a couple of private releases
1102 for people to test but no public release.