blob: 28a569aea06565faedb0b1e052bd8bf66470ff74 [file] [log] [blame]
Emeric Vigiereebea672012-08-06 17:36:30 -040012011-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2
3 * configure.ac
4 Add symbol support for kfreebsd-*-gnu-*.
5
6 * configure.ac doc/Makefile.am
7 Improve installation of html docs.
8
9 * examples/audio_out.c tests/callback_hang_test.c
10 Fix compiler warnings.
11
12 * Win32/config.h
13 Updates for 0.1.8 release.
14
152011-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
16
17 * tests/util.[ch]
18 Rename functio print_cpu_name() to get_cpu_name(). Add code for Mac OSX and
19 FreeBSD.
20
21 * tests/multichan_throughput_test.c tests/throughput_test.c
22 Update to use get_cpu_name().
23
242010-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
25
26 * src/*.[ch]
27 Fix typo in comments.
28
292010-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
30
31 * src/fastest_coeffs.h src/high_qual_coeffs.h src/mid_qual_coeffs.h
32 Fix typo in comments.
33
34 * configure.ac
35 Add AM_SILENT_RULES.
36
37 * doc/download.html
38 Add a GPG signature.
39
402010-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
41
42 * src/float_cast.h
43 Add lrint/lrintf version for Win64. Thanks to Dmitry Baikov.
44
452010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
46
47 * examples/sndfile-resample.c
48 Prevent creation of double length output files when conversion is restarted
49 due to clipping of the output when the format is FLAC. This problem arises
50 due to libsndfile's in ability to seek in a FLAC file during write.
51
52 * src/samplerate.h tests/termination_test.c
53 Revert change that moved the src_ratio field to the start of SRC_DATA
54 struct. This change does have some merit, but is not worth it considering
55 that its an API change. This idea will be reconsidered when the API does
56 change.
57
582009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
59
60 * doc/win32.html
61 Update instructions.
62
63 * Win32/Makefile.msvc
64 Add /Zm200 to CFLAGS.
65
662009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
67
68 * src/common.h
69 Add macro UNUSED for marking function parameters as unused.
70
712009-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
72
73 * tests/misc_test.c
74 Add zero_input_test() from debian bug #506722.
75
76 * src/src_linear.c src/src_zoh.c
77 Fix for bug in zero_input_test(). Both these converters crashed if the
78 input_frames field of SRC_DATA was zero.
79
802009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
81
82 * M4/endian.m4
83 Fix detection of CPU endian-ness when cross compiling.
84
852009-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
86
87 * tests/termination_test.c
88 Add test to detect a particular kind of termination error.
89
90 * src/src_sinc.c
91 Fix a termination condition bug.
92
932009-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
94
95 * src/samplerate.h
96 Change definition of SRC_STATE to be kinder to some slightly broken
97 compilers. Thanks to Rob Brown for suggesting this fix.
98
992009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
100
101 * M4/check_signal.m4 M4/clip_mode.m4 M4/lrint.m4 M4/lrintf.m4
102 New files used instead of acinclude.m4.
103
1042009-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
105
106 * src/samplerate.h
107 Move src_ratio field to the start of the SRC_DATA struct to ensure it gets
108 aligned correctly when either the library or client code gets compiled with
109 -malign-double.
110
111 * configure.ac
112 Bump version to 1.0.0 due to API change.
113
1142009-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
115
116 * Win32/Makefile.msvc
117 Add /Zm1000 to the CFLAGS as suggested by Kun Niu.
118
119 * doc/api_full.html doc/api_callback.html
120 Improve explanation of use of src_set_ratio() function.
121
1222009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
123
124 * src/common.h src/samplerate.c
125 Add new error value SRC_ERR_SINC_PREPARE_DATA_BAD_LEN.
126
127 * src/common.h
128 Add WARN_UNUSED macro.
129
130 * src/src_sinc.c
131 Fix a segfault which occurs when memcpy is passed a bad length parameter.
132 This bug has zero security implications beyond the ability to cause a
133 program hitting this bug to exit immediately with a segfault.
134 See : http://www.mega-nerd.com/erikd/Blog/2009/Feb/14/index.html
135 Thanks to David Cournapeau and Lev Givon for the bug report.
136
137 * doc/win32.html Makefile.am configure.ac
138 Reinstate Win32/MSVC compile instructions.
139
140 * doc/*.html
141 Update for new release.
142
143 * configure.ac
144 Verison 0.1.7.
145
1462009-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
147
148 * src/common.h src/samplerate.c
149 Fix SRC_ERR_BAD_SRC_RATIO error string. Thanks David Cournapeau.
150
1512009-01-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
152
153 * src/src_sinc.c
154 Replace C99 "variable length arrays" with arrays allocated on the heap so
155 that libsamplerate can be compiled with crappy compilers like MSVC.
156
1572009-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
158
159 * configure.ac NEWS README doc/*.html
160 Updates for 0.1.6 release.
161
1622009-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
163
164 * tests/termination_test.c
165 Fix termination test error on x86_64. Error probably due to difference in
166 rounding.
167
1682009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
169
170 * doc/win32.html
171 Update win32 compile instructions to explain that this release cannot be
172 compiled using the microsoft compiler.
173
174 * NEWS README doc/*.html
175 Updates for 0.1.5 release.
176
177 * Makefile.am configure.ac
178 Remove Win32 directory from distributed tarball.
179
1802008-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
181
182 * tests/multi_channel_test.c tests/multichan_throughput_test.c
183 Update tests to make sure tests include tests for 10 channels.
184
185 * src/src_sinc.c
186 Make 6 channel Sinc conversion another special case.
187 Use Duff's Device to speed up the multi-channel case.
188
189 * tests/multi_channel_test.c
190 Only test 1, 2 and 3 channels for ZOH and linear converters.
191
1922008-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
193
194 * src/samplerate.c
195 Move variable definition out one scope level to avoid warnings from static
196 analysis tools. Thanks Erik Hovland.
197
198 * tests/util.c
199 Make sure FILE* is closed. Thanks Erik Hovland.
200
201 * tests/multi_channel_test.c tests/multichan_throughput_test.c
202 Update tests to make sure tests include tests for 6 channels with the Sinc
203 converters.
204
2052008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
206
207 * tests/multichan_throughput_test.c
208 Do throughput test on all three SINC based converters.
209
210 * src/src_sinc.c
211 Rejig converter so filter coefficients are calculated once per frame and
212 special case channel counts of 1, 2 and 4.
213
2142008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
215
216 * src/samplerate.c examples/audio_out.c tests/*.c
217 Fix a couple of very minor warnings uncovered by Erik Hovland using a
218 static analysis tool.
219
220 * src/src_*.c
221 Fix a potential memory leak. Thanks to Peter G. Vavaroutsos for point this
222 out.
223
224 * tests/multi_channel_test.c
225 Robustify test.
226
2272008-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
228
229 * reconfigure.mk autogen.sh
230 Remove the first, add the second.
231
232 * configure.ac
233 Various updates.
234
235 * tests/multichan_throughput_test.c tests/Makefile.am
236 Add new test and hook into build.
237
2382008-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
239
240 * doc/index.html
241 Update best converter specs.
242
2432008-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
244
245 * examples/audio_out.c
246 Fix gcc-4.3 compiler warning.
247
2482008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
249
250 * doc/faq.html
251 Add Q/A about accuracy of src_ratio field of SRC_DATA struct.
252
2532008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
254
255 * INSTALL
256 Fix minor typo. Thanks to Sean Wood.
257
2582008-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
259
260 * src/src_sinc.c
261 Optimization. About a 5% improvement in throughput.
262
2632008-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
264
265 * tests/util.[ch]
266 Add function print_cpu_name.
267
268 * tests/throughput_test.c
269 Add ability to do best-of N runs, print CPU type.
270
2712008-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
272
273 * configure.ac
274 Add AC_PROG_MKDIR_P.
275
2762008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
277
278 * src/samplerate.c
279 Fix a valgrind warning which occured when the call back function returns
280 a count of zero without modifying the pointer value. Thanks to Paul Kelly.
281
282 * tests/callback_test.c
283 Add a callback test where the callback returns a zero count without setting
284 the data pointer. The problem can only be detected when run under valgrind.
285
2862008-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
287
288 * src/src_sinc.c
289 Remove use of llrint because sizeof (increment_t) is guaranteed not to be 8.
290
291 * tests/callback_test.c
292 Test with 2 channels for improved generality. Simplify setup.
293
294 * src/src_linear.c src/src_zoh.c
295 Change local variable names to be the same across these two files for easier
296 comparison.
297
298 * src/src_linear.c
299 Fix a bug where the the converter was reading beyond the end of the input.
300 Thanks to Paul Kelly for the bug report.
301
3022008-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
303
304 * tests/downsample_test.c
305 New test file to test for buffer overrun bugs at extreme low conversion
306 ratios.
307
308 * tests/Makefile.am
309 Hook above test program into build.
310
311 * src/src_sinc.c
312 Fix buffer overrrun bug at extreme low conversion ratios. Thanks to Russell
313 O'Connor for the report.
314
315 * configure.ac NEWS README doc/*.html
316 Update for 0.1.4 release.
317
3182008-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
319
320 * configure.ac
321 Make use of libsndfile optional. Patch from Samuli Suominen.
322
3232008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
324
325 * Win32/libsamplerate-0.def
326 Add src_int_to_float/float_to_int_array to exports.
327
328 * examples/sndfile-resample.c
329 Add printing of libsndfile version, modify libsamplerate version.
330
3312008-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
332
333 * doc/*.html
334 Final documentation tweaks for release.
335
3362008-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
337
338 * tests/throughput_test.c
339 Include config.h and float_cast.h." -- tests/throughput_test.c
340
341 * Make.bat Win32/*
342 Bunch more Win32 updates.
343
3442008-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
345
346 * src/* tests/*
347 Remove all traces of old SRC_OLD_SINC_* converters.
348
349 * Make.bat Win32/*
350 Preliminary Win32 updates.
351
352 * configure.ac
353 Bump version to 0.1.3.
354
3552008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
356
357 * doc/api_simple.html
358 Try once again to convince people that src_simple cannot be used on small
359 chunks of a larger piece of audio.
360
3612008-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
362
363 * tests/snr_bw_test.c
364 Remove bodgy old throughput calculations.
365
3662008-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
367
368 * tests/benchmark.c tests/throughput_test.c
369 Rename former to the latter and make significant improvements.
370
3712008-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
372
373 * src/old_high_qual_coeffs.h src/old_mid_qual_coeffs.h
374 Copy these from the old versions.
375
376 * src/high_qual_coeffs.h src/mid_qual_coeffs.h
377 New versions of the coefficients with improved SNR.
378
3792008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
380
381 * Makefile.am configure.ac
382 Add DISTCHECK_CONFIGURE_FLAGS to Makefile.am and a bunch of configure
383 cleanups.
384
3852008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
386
387 * examples/audio_out.c
388 Apply patch from Yair K. to fix compiles with OSS v4.
389
3902007-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
391
392 * acinclude.m4
393 Add AC_CHECK_SIGNAL macro.
394
395 * configure.ac
396 Use AC_CHECK_SIGNAL to check for SIGALRM.
397
398 * tests/callback_hang_test.c
399 Use HAVE_SIGGALRM and add empty main function if it doesn't exist.
400
4012007-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
402
403 * src/*_coeffs.h
404 Change the way the coefficients are defined for improved safety.
405
406 * src/src_sinc.c
407 Adapt to the above.
408
4092007-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
410
411 * src/src_sinc.c
412 Change macros into inline functions for better error checking.
413
414 * src/common.h
415 Add static inline function fmod_one.
416
417 * src/*.c
418 Use fmod_one where appropriate.
419
4202007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
421
422 * tests.Makefile.am
423 Fix includes for varispeed_test target.
424
4252007-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
426
427 * tests/snr_bw_test.c
428 Remove cruft.
429
430 * doc/index.html
431 Add link to Foobar 2000 plugin.
432
433 * configure.ac tests/callback_hang_test.c
434 Test for functions alarm and signal and only compile test if both are
435 available.
436
4372007-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
438
439 * src/samplerate.c
440 Refactor checking of supplied src ratio against min and max.
441
442 * configure.ac
443 Remove -pendantic from CFLAGS and add -std=gnu99.
444
445 * tests/callback_hang_test.c tests/Makefile.am
446 Add new test program and hook it into build.
447
448 * src/src_linear.c src/src_sinc.c src/src_zoh.c
449 Fix a bug where the src_callback_read () function would hang under varying
450 src_ratio.
451
4522007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
453
454 * doc/api.html doc/api_callback.html doc/api_misc.html
455 Update docs to make handling of interleaved data more explicit.
456
4572006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
458
459 * examples/audio_out.c
460 Fix bug arising from last change.
461
462 * configure.ac
463 Add -Wpointer-arith to CFLAGS.
464
4652006-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
466
467 * examples/audio_out.c
468 Be more explicit about setting the audio output format.
469
4702006-06-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
471
472 * src/samplerate.c src/src_linear.c src/src_sinc.c
473 Fix MSVC compiler warnings.
474
4752006-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
476
477 * tests/calc_snr.c
478 Fix minor bug in analysis routines.
479
480 * tests/varispeed_test.c tests/snr_bw_test.c
481 Fix knock on effects of above change.
482
4832006-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
484
485 * src/Makefile.am
486 Update check-asm rule to check src_linear.c and src_zoh.c.
487
488 * src/src_linear.c
489 Remove all uses of floor() function.
490
4912006-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
492
493 * src/samplerate.[ch] src/Version_script.in
494 Add functions src_int_to_float_array and src_float_to_int_array.
495
496 * tests/float_short_test.c
497 Update test to including testing of above.
498
499 * doc/api_misc.html
500 Update docs for the above addition.
501
5022006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
503
504 * src/common.h src/src_*.c src/samplerate.c
505 Add slots for vari_process and const_process functions.
506
507 * tests/varispeed_test.c tests/Makefile.am
508 Add new test and hook into build.
509
510 * tests/util.[ch]
511 Add new function reverse_data.
512
5132005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
514
515 * examples/sndfile-resample.c
516 Exit if SRC ratio is 1.0. Suggested by Bram de Jong.
517
5182005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
519
520 * examples/timewarp-file.c
521 New file.
522
5232005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
524
525 * src/float_cast.h
526 Update to include Cygwin specific fixes.
527
528 * doc/api_callback.html
529 Complete the documentation of the callback API.
530
5312005-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
532
533 * tests/termination_test.c
534 Rename term_test() to init_term_test() and add extra test functionality
535 to sanity test the first sample output after reset.
536
537 * src/src_zoh.c src/src_linear.c
538 Fix bug found by new test. Thanks Stas Sergeev for bringint this to my
539 attention.
540
5412005-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
542
543 * doc/Makefile.am
544 Fix a bug preventing the inclusion of the html API docs in the tarball.
545
546 * src/src_zoh.c src/src_linear.c
547 Improve calculation of input_index.
548 Fix updating of input_index (thanks to Stas Sergeev).
549
550 * tests/calc_snr.c
551 Fix a compile problem when FFTW is not present (thanks to Stas Sergeev).
552
5532005-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
554
555 * configure.ac src/Makefile.am
556 Fix minor problems with generation of shared library version number.
557
5582005-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
559
560 * src/faq.html
561 Add a question about the use of src_simple().
562
563 * src/api_simple.html
564 Fix defintion of src_ratio.
565
5662004-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
567
568 * configure.ac tests/Makefile.am tests/*.c
569 Ditch detection and use of libefence. Valgrind is a far better debugging
570 tool.
571
572 * INSTALL
573 Write complete libsamplerate specific install instructions.
574
5752004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
576
577 * src/configure.ac src/makefile.am
578 Finally fix the bulding of DLLs on Win32/MinGW.
579
580 * tests/makefile.am
581 Fix running of tests on Win32/MinGW.
582
5832004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
584
585 * configure.ac Win32/Makefile.mingw.in
586 More support for compiling on Win32 using MinGW. Now uses FFTW3.
587
588 * examples/audio_out.c
589 Remove include of <mmreg.h> on win32.
590
5912004-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
592
593 * configure.ac Win32/Makefile.mingw.in
594 Add preliminary support for compiling on Win32 using MinGW.
595
596 * configure.ac
597 Bump version to 0.1.2.
598 Add --enable-gcc-werror configure option.
599
600 * examples/sndfile-resample.c tests/src-evaluate.c
601 Use ISO C standard function remove instead of unlink.
602
603 * Win32/Makefile.msvc
604 Add the top level directory to the include path (for sndfile.h).
605
6062004-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
607
608 * tests/util.h tests/*.c
609 Move macros for ABS, MIN, MAX and ARRAY_LEN to util.h.
610
611 * tests/reset_test.c
612 Add test function callback_reset_test() to test for the problem below.
613
614 * src/samplerate.c
615 Reset SRC_PRIVATE fields saved_data and saved_frames in src_reset(). Thanks
616 to Justin Drury for pointing this out.
617
6182004-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
619
620 * src/src_sinc.c
621 Fix typos in converter name strings. Thanks to Tom Szilagyi for finding them.
622
6232004-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
624
625 * configure.ac
626 Bump version to 0.1.1.
627
628 * doc/*.html Win32/config.h
629 Changes for new version.
630
631 * Makefile.am src/Makefile.am
632 Add "make check-asm" target which is not used by default.
633
6342004-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
635
636 * src/src_sinc.c
637 Use fmod() to calculate input_index. This is more resitant to rounding
638 errors than input_index -= floor (input_index).
639
6402004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
641
642 * src/src_sinc.c
643 Removed redundant field in SINC_FILTER struct.
644
6452004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
646
647 * examples/sndfile-resample.c
648 Modified to restart conversion if clipping has occurred.
649
6502004-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
651
652 * tests/benchmark.c
653 Added benchmark program.
654
6552004-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
656
657 * tests/callback_test.c
658 Improve callback_test to find input/output length mismatches. This also
659 catches the bug Mark Deggeller reported.
660
6612004-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
662
663 * src/samplerate.c
664 Fix a bug in src_callback_read() reported by Mark Deggeller. Data retreived
665 but not used during one call to src_callback_read() must be saved for the
666 next call.
667
668 * src/common.h
669 Add fields saved_frames and saved_data to SF_PRIVATE struct for storing
670 data between sucessive calls to src_callback_read().
671 Also rearange the fields of SF_PRIVATE.
672
6732004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
674
675 * configure.ac
676 Use AC_HELP_STRING in AC_ARG_ENABLE statements.
677
6782004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
679
680 * Win32/config.h Win32/sndfile.h
681 Updates for Win32.
682
6832004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
684
685 * NEWS README
686 Finally got around to adding text to these.
687
688 * doc/win32.html doc/history.html
689 Minor updates.
690
6912004-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
692
693 * src/common.h
694 Changed allowed SRC ratio to range [1/256, 256].
695
696 * configure.ac tests/snr_bw_test.c tests/src-evaluate.c tests/Makefile.am
697 Use FFTW3 instead of version 2.
698
6992003-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
700
701 * doc/api.html doc/api_misc.html
702 Add documentation for conversions functions.
703
704 * doc/faq.html
705 Add Q/A about detecting presence of libsamplerate.
706
7072003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
708
709 * src/samplerate.h src/samplerate.c
710 Added functions for short->float and float->short conversions on arrays
711 of data. This will make it a little easier for people who need the
712 input or output data in shorts rather than floats.
713
714 * configure.ac
715 Added tests for CPU clipping mode which was required for the float to
716 short conversion.
717
718 * tests/float_short_test.c
719 New code for testing the new functionality.
720
7212003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
722
723 * src/src_zoh.c src/src_linear.c
724 Fixed an off-by-one indexing issue which was causing distortion at the
725 boundaries between calls to src_process().
726
727 * tests/multi_channel_test.c
728 Finally passing tests for all three access methods (simple, process and
729 callback).
730
7312003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
732
733 * tests/calc_snr.c
734 SNR calculation was being screwed up because the peak detector was
735 mistaking side lobes caused by the windowded FFT as noise/aliasing peaks.
736 Therefore added code to wipe out the troughs between peaks which erases
737 the side lobe peaks without affecting the noise/aliasing peaks.
738
739 * tests/multi_channel_test.c
740 Added a callback_test to work on multiple channels.
741
7422003-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
743
744 * src/samplerate.h
745 Add definitions for the callback based API (src_callback_new and
746 src_callback_read).
747
748 * doc/*.html
749 Add link to faq.html.
750
751 * doc/faq.html
752 Add a new question/answer.
753
754 * src/samplerate.c tests/callback_test.c
755 Move callback functions (src_callback_new and src_callback_read) from
756 callback_test.c to samplerate.c
757 Add checking to make sure that an SRC_STATE object created with
758 src_callback_new() is not used with src_process() etc.
759
760 * examples/varispeed.c
761 Add #include <stdlib.h> to prevent compiler warning.
762
763 * src/samplerate.h
764 Add definitions for the callback based API.
765
766 * src/Version_script.in
767 Add entries for two new public functions.
768
7692003-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
770
771 * tests/callback_test.c
772 More work on getting callback based API working.
773
774 * tests/termination_test.c
775 Tightened up the test pass crieria yet again. This shows up problems
776 with the ZOH and Linear converters.
777
778 * src/src_zoh.c src/src_linear.c
779 Fixed problems with converters shown up by improved tests.
780
7812003-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
782
783 * doc/api.html
784 Be more explicit about the inclusion of <samplerate.h>.
785
7862003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
787
788 * examples/sndfile-resample.c examples/audio_out.c
789 Add include for <stdlib.h>.
790
791 * configure.ac
792 Check for libsndfile >= 1.0.6.
793
794 * examples/sndfile-resample.c
795 Turn on clipping of output when saving to integer PCM output formats.
796
7972003-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
798
799 * tests/callback_test.c
800 Start work on a callback based API. The implementation will be done
801 in this test program first and when it is working, the code that does
802 the work will be moved back to the library code.
803
8042003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
805
806 * doc/bugs.html
807 New file detailing how to submit bug reports for SRC.
808
8092003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
810
811 * libsamplerate.spec.in
812 Apply corrections from Giuliano Pochini.
813
8142003-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
815
816 * tests/snr_bw_test.c
817 Added test for conversion ratio of 1.0 for all converters. For this
818 conversion ratio, all converters have a better than 149db SNR ratio.
819
820 * src/src_linear.c
821 Changes to make this converter work more like src_zoh.c.
822
8232003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
824
825 * doc/quality.html
826 Fixed a couple of broken links pointed out by Anand Kumria.
827
8282003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
829
830 * src/samplerate.h
831 Add URL of API documentation to the top of file.
832
833 * doc/api_misc.html
834 Clarify use of SRC_DATA struct.
835
8362003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
837
838 * tests/reset_test.c
839 Add call to src_set_ratio() to test that this function has been exported.
840
8412003-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
842
843 * samplerate.pc.in
844 Changed 'sndfile' to 'samplerate'.
845
8462003-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
847
848 * src/src_zoh.c
849 Fixed a bug causing clicks in the output data.
850
8512003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
852
853 * src/samplerate.c
854 Fixed a compiler warning.
855
856 * tests/termination_test.c
857 Tightened up the test pass crieria.
858
859 * src/src_sinc.c
860 Fixed bug showed up by new termination tests.
861
8622003-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
863
864 * examples/sndfile-resample.c
865 Fixed a bug which was messing up handling of multi-channel files.
866
867 * tests/multi_channel_test.c
868 Disabled all the new code.
869
8702003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
871
872 * tests/multi_channel_test.c
873 Rehacking multi-channel tests to find possible problems in src_process()
874 when processing multichannel data. Need to use signal to noise ratio
875 measurements.
876
877 * tests/Makefile.am
878 Mods to add calc_snr.c and utils.c to build of multi_channel_test.
879
880 * tests/util.[ch]
881 Add functions for interleaving and de-interleaving data.
882
8832003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
884
885 * Win32/config.h
886 Added Win32 specific #pragma to disable warnings when double precision
887 constants are assigned to floats.
888
889 * tests/calc_snr.c
890 Added #include <string.h> to prevent compiler warning about use of memset()
891 function.
892
8932003-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
894
895 * src/samplerate.[ch]
896 Added function src_set_ratio() at the suggestion of Dr William Bland.
897
898 * doc/api_full.html
899 Added docs for above function.
900
9012003-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
902
903 * examples/Makefile.am tests/Makefile.am
904 Fixes for Mac OSX.
905 Tidy up handling addition of SNDFILE_CFLAGS
906
9072003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
908
909 * Win32/config.h
910 Disabled HAVE_STDINT_H for Win32.
911
912 * Win32/unistd.h
913 Added empty header file for Win32.
914
915 * src/audio_out.c
916 Final fixes to get audio out working on Win32.
917
9182003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
919
920 * src/src_sinc.c
921 Phase one or refactoring. Replace use of a circular buffer to hold short
922 window of data with a linear buffer.
923 Linear buffer requires that data is periodically copied from the end if
924 the buffer back to the beginning. However, it also means that the
925 calc_output() function no longer needs to calculate the next data index
926 modulo the buffer length.
927 Since the data index is calculated 40 times (minimum) per output sample,
928 and the copy from end of buffer to start of buffer is done every 1000 or
929 so output samples, this change results in a significant speedup (up to
930 about 50% improvement for SRC_SINC_FASTEST).
931 Memory use has increased somewhat (max 6k per channel per converter) due
932 to this fix, but that should go down again during next phase of
933 refactoring.
934
935 * examples/varispeed-play.c
936 Fixed a bug where data_in and data_out buffers were overlapping.
937
9382003-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
939
940 * doc/win32.html
941 Completed documentation on compiling for Win32.
942
943 * doc/*.html
944 Added links to Win32 compiling information.
945
946 * configure.ac tests/Makefile.am
947 Detect libefence and link it to all the test programs if configued
948 with --enable-debug.
949
950 * tests/utils.[ch]
951 New function force_efence_banner().
952
953 * tests/*test.c
954 Add a call to force_efence_banner() to force printing of the Electric Fence
955 banner at start of program.
956
9572003-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
958
959 * configure.ac
960 Added --enable-debug configuration flag.
961
962 * tests/termination_test.c
963 More modifications to catch corner cases.
964 Added extra test to check for negative return values for input_frames_used
965 and output_frames_gen fields of SRC_DATA.
966
967 * src/src_zoh.c src/src_linear.c
968 Fixed more bugs found using modified streaming_test.
969
970 * src/samplerate.c
971 Set input_frames and output_frames of SRC_DATA to zero if they are negative.
972 Add check for overlapping SRC_DATA data_in and data_out arrays.
973
974 * doc/api_full.html
975 Document the fact that the SRC_DATA->data_in and data_out arrays may not
976 overlap. Thanks to Paul Davis for pointing out this documentation oversight.
977
9782002-12-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
979
980 * tests/termination_test.c tests/streaming_test.c
981 Merged these two test programs into termination_test.c.
982
983 * tests/Makefile.am
984 Modified for above change.
985
986 * src/src_zoh.c src/src_linear.c
987 Fixed bug found using modified streaming_test.
988
9892002-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
990
991 * src/samplerate.c src/src_*.c
992 Changed the way multichannel accounting was done.
993
9942002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
995
996 * tests/snr_bw_test.c
997 Rearranged order of tests.
998
9992002-12-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1000
1001 * doc/lists.html
1002 Added "subscribe" HREF.
1003
10042002-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1005
1006 * src/src_zoh.c src/src_linear.c
1007 Fixed a bug which was causing an incorrent number of output samples to be
1008 generated for a given conversion ratio and number of input samples.
1009
1010 * tests/streaming_test.c tests/termination_test.c
1011 Modified pick up the above problem if it returns.
1012
10132002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1014
1015 * tests/streaming_test.c
1016 Modified to mix long and short input buffers. This will help testing of
1017 smooth switching between standard sinc_process() and long_sinc_process().
1018
10192002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1020
1021 * examples/audio_out.c
1022 More hacking to get this working on Win32.
1023
1024 * tests/src-evaluate.c
1025 More work.
1026
10272002-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1028
1029 * src/samplerate.[ch] src/Version_script.in Win32/libsamplerate.def
1030 Added function src_get_version() to return a version string.
1031
1032 * examples/sndfile-resample.c
1033 Add "--version" option to print out a version string.
1034
1035 * tests/src-evaluate.c
1036 New file. This program will be used to evaluate other sample rate
1037 converters for comparison to the rabbit.
1038
1039 * tests/calc_snr.[ch] tests/snr_bw_test.c
1040 Minor changes required by src-evaluate program.
1041
10422002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1043
1044 * Win32/config.h
1045 New file for Win32. When building for Win32, this file gets copied into the
1046 src/ directory.
1047
1048 * Make.bat
1049 First attempt to see if this works.
1050
1051 * src/*.[ch]
1052 Changed name of SRC_PRIVATE filed errno to error because the brain damaged
1053 Win32 compiler was barfing.
1054
10552002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1056
1057 * examples/audio_out.c
1058 Now working on MacOSX.
1059
1060 * examples/varispeed-play.c
1061 Add ability to choose converter.
1062
10632002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1064
1065 * configure.ac
1066 Fixes for MacOSX.
1067
1068 * examples/new-varispeed-play.c examples/varispeed-play.c
1069 The first file replaces the later.
1070
10712002-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1072
1073 * src/float_cast.h
1074 New file for lrint() and lrintf().
1075
1076 * src/common.h src/src_*.c
1077 Add workaround for systems without <stdint.h>.
1078 Add #include "float_cast.h" to pick up replacement lrint() and lrintf()
1079 functions.
1080
1081 * examples/audio_out.c
1082 Fixes for the case where libsndfile is not found.
1083
1084 * new-varispeed-play.c
1085 Fixes for Solaris. Now works.
1086
10872002-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1088
1089 * src/high_qual_coeffs.h
1090 Conrad Parker found a file which produced clicking when run thru the
1091 SRC_SINC_BEST_QUALITY filter. Recalculated the filter with slightly less
1092 stringent design parameters and fixed the problem. The band with of the
1093 new filter is 96.6% while the old one was a little ober 97%.
1094
10952002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1096
1097 * All files.
1098 libsamplerate is working. There have been a couple of private releases
1099 for people to test but no public release.