Bundle libsamplerate
[audio-libsamplerate.git] / libsamplerate / doc / ChangeLog
CommitLineData
8529da43
MG
12011-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 * NEWS README Win32/config.h doc/*.html
13 Updates for 0.1.8 release.
14
15 * configure.ac
16 Release 0.1.8.
17
182011-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
19
20 * tests/util.[ch]
21 Rename function print_cpu_name() to get_cpu_name(). Add code for Mac OSX and
22 FreeBSD.
23
24 * tests/multichan_throughput_test.c tests/throughput_test.c
25 Update to use get_cpu_name().
26
272010-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
28
29 * src/*.[ch]
30 Fix typo in comments.
31
322010-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
33
34 * src/fastest_coeffs.h src/high_qual_coeffs.h src/mid_qual_coeffs.h
35 Fix typo in comments.
36
37 * configure.ac
38 Add AM_SILENT_RULES.
39
40 * doc/download.html
41 Add a GPG signature.
42
432010-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
44
45 * src/float_cast.h
46 Add lrint/lrintf version for Win64. Thanks to Dmitry Baikov.
47
482010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
49
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.
54
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
59 change.
60
612009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
62
63 * doc/win32.html
64 Update instructions.
65
66 * Win32/Makefile.msvc
67 Add /Zm200 to CFLAGS.
68
692009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
70
71 * src/common.h
72 Add macro UNUSED for marking function parameters as unused.
73
742009-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
75
76 * tests/misc_test.c
77 Add zero_input_test() from debian bug #506722.
78
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.
82
832009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
84
85 * M4/endian.m4
86 Fix detection of CPU endian-ness when cross compiling.
87
882009-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
89
90 * tests/termination_test.c
91 Add test to detect a particular kind of termination error.
92
93 * src/src_sinc.c
94 Fix a termination condition bug.
95
962009-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
97
98 * src/samplerate.h
99 Change definition of SRC_STATE to be kinder to some slightly broken
100 compilers. Thanks to Rob Brown for suggesting this fix.
101
1022009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
103
104 * M4/check_signal.m4 M4/clip_mode.m4 M4/lrint.m4 M4/lrintf.m4
105 New files used instead of acinclude.m4.
106
1072009-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
108
109 * src/samplerate.h
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
112 -malign-double.
113
114 * configure.ac
115 Bump version to 1.0.0 due to API change.
116
1172009-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
118
119 * Win32/Makefile.msvc
120 Add /Zm1000 to the CFLAGS as suggested by Kun Niu.
121
122 * doc/api_full.html doc/api_callback.html
123 Improve explanation of use of src_set_ratio() function.
124
1252009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
126
127 * src/common.h src/samplerate.c
128 Add new error value SRC_ERR_SINC_PREPARE_DATA_BAD_LEN.
129
130 * src/common.h
131 Add WARN_UNUSED macro.
132
133 * src/src_sinc.c
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.
139
140 * doc/win32.html Makefile.am configure.ac
141 Reinstate Win32/MSVC compile instructions.
142
143 * doc/*.html
144 Update for new release.
145
146 * configure.ac
147 Verison 0.1.7.
148
1492009-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
150
151 * src/common.h src/samplerate.c
152 Fix SRC_ERR_BAD_SRC_RATIO error string. Thanks David Cournapeau.
153
1542009-01-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
155
156 * src/src_sinc.c
157 Replace C99 "variable length arrays" with arrays allocated on the heap so
158 that libsamplerate can be compiled with crappy compilers like MSVC.
159
1602009-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
161
162 * configure.ac NEWS README doc/*.html
163 Updates for 0.1.6 release.
164
1652009-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
166
167 * tests/termination_test.c
168 Fix termination test error on x86_64. Error probably due to difference in
169 rounding.
170
1712009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
172
173 * doc/win32.html
174 Update win32 compile instructions to explain that this release cannot be
175 compiled using the microsoft compiler.
176
177 * NEWS README doc/*.html
178 Updates for 0.1.5 release.
179
180 * Makefile.am configure.ac
181 Remove Win32 directory from distributed tarball.
182
1832008-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
184
185 * tests/multi_channel_test.c tests/multichan_throughput_test.c
186 Update tests to make sure tests include tests for 10 channels.
187
188 * src/src_sinc.c
189 Make 6 channel Sinc conversion another special case.
190 Use Duff's Device to speed up the multi-channel case.
191
192 * tests/multi_channel_test.c
193 Only test 1, 2 and 3 channels for ZOH and linear converters.
194
1952008-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
196
197 * src/samplerate.c
198 Move variable definition out one scope level to avoid warnings from static
199 analysis tools. Thanks Erik Hovland.
200
201 * tests/util.c
202 Make sure FILE* is closed. Thanks Erik Hovland.
203
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
206 converters.
207
2082008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
209
210 * tests/multichan_throughput_test.c
211 Do throughput test on all three SINC based converters.
212
213 * src/src_sinc.c
214 Rejig converter so filter coefficients are calculated once per frame and
215 special case channel counts of 1, 2 and 4.
216
2172008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
218
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.
222
223 * src/src_*.c
224 Fix a potential memory leak. Thanks to Peter G. Vavaroutsos for point this
225 out.
226
227 * tests/multi_channel_test.c
228 Robustify test.
229
2302008-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
231
232 * reconfigure.mk autogen.sh
233 Remove the first, add the second.
234
235 * configure.ac
236 Various updates.
237
238 * tests/multichan_throughput_test.c tests/Makefile.am
239 Add new test and hook into build.
240
2412008-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
242
243 * doc/index.html
244 Update best converter specs.
245
2462008-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
247
248 * examples/audio_out.c
249 Fix gcc-4.3 compiler warning.
250
2512008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
252
253 * doc/faq.html
254 Add Q/A about accuracy of src_ratio field of SRC_DATA struct.
255
2562008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
257
258 * INSTALL
259 Fix minor typo. Thanks to Sean Wood.
260
2612008-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
262
263 * src/src_sinc.c
264 Optimization. About a 5% improvement in throughput.
265
2662008-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
267
268 * tests/util.[ch]
269 Add function print_cpu_name.
270
271 * tests/throughput_test.c
272 Add ability to do best-of N runs, print CPU type.
273
2742008-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
275
276 * configure.ac
277 Add AC_PROG_MKDIR_P.
278
2792008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
280
281 * src/samplerate.c
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.
284
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.
288
2892008-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
290
291 * src/src_sinc.c
292 Remove use of llrint because sizeof (increment_t) is guaranteed not to be 8.
293
294 * tests/callback_test.c
295 Test with 2 channels for improved generality. Simplify setup.
296
297 * src/src_linear.c src/src_zoh.c
298 Change local variable names to be the same across these two files for easier
299 comparison.
300
301 * src/src_linear.c
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.
304
3052008-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
306
307 * tests/downsample_test.c
308 New test file to test for buffer overrun bugs at extreme low conversion
309 ratios.
310
311 * tests/Makefile.am
312 Hook above test program into build.
313
314 * src/src_sinc.c
315 Fix buffer overrrun bug at extreme low conversion ratios. Thanks to Russell
316 O'Connor for the report.
317
318 * configure.ac NEWS README doc/*.html
319 Update for 0.1.4 release.
320
3212008-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
322
323 * configure.ac
324 Make use of libsndfile optional. Patch from Samuli Suominen.
325
3262008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
327
328 * Win32/libsamplerate-0.def
329 Add src_int_to_float/float_to_int_array to exports.
330
331 * examples/sndfile-resample.c
332 Add printing of libsndfile version, modify libsamplerate version.
333
3342008-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
335
336 * doc/*.html
337 Final documentation tweaks for release.
338
3392008-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
340
341 * tests/throughput_test.c
342 Include config.h and float_cast.h." -- tests/throughput_test.c
343
344 * Make.bat Win32/*
345 Bunch more Win32 updates.
346
3472008-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
348
349 * src/* tests/*
350 Remove all traces of old SRC_OLD_SINC_* converters.
351
352 * Make.bat Win32/*
353 Preliminary Win32 updates.
354
355 * configure.ac
356 Bump version to 0.1.3.
357
3582008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
359
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.
363
3642008-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
365
366 * tests/snr_bw_test.c
367 Remove bodgy old throughput calculations.
368
3692008-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
370
371 * tests/benchmark.c tests/throughput_test.c
372 Rename former to the latter and make significant improvements.
373
3742008-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
375
376 * src/old_high_qual_coeffs.h src/old_mid_qual_coeffs.h
377 Copy these from the old versions.
378
379 * src/high_qual_coeffs.h src/mid_qual_coeffs.h
380 New versions of the coefficients with improved SNR.
381
3822008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
383
384 * Makefile.am configure.ac
385 Add DISTCHECK_CONFIGURE_FLAGS to Makefile.am and a bunch of configure
386 cleanups.
387
3882008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
389
390 * examples/audio_out.c
391 Apply patch from Yair K. to fix compiles with OSS v4.
392
3932007-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
394
395 * acinclude.m4
396 Add AC_CHECK_SIGNAL macro.
397
398 * configure.ac
399 Use AC_CHECK_SIGNAL to check for SIGALRM.
400
401 * tests/callback_hang_test.c
402 Use HAVE_SIGGALRM and add empty main function if it doesn't exist.
403
4042007-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
405
406 * src/*_coeffs.h
407 Change the way the coefficients are defined for improved safety.
408
409 * src/src_sinc.c
410 Adapt to the above.
411
4122007-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
413
414 * src/src_sinc.c
415 Change macros into inline functions for better error checking.
416
417 * src/common.h
418 Add static inline function fmod_one.
419
420 * src/*.c
421 Use fmod_one where appropriate.
422
4232007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
424
425 * tests.Makefile.am
426 Fix includes for varispeed_test target.
427
4282007-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
429
430 * tests/snr_bw_test.c
431 Remove cruft.
432
433 * doc/index.html
434 Add link to Foobar 2000 plugin.
435
436 * configure.ac tests/callback_hang_test.c
437 Test for functions alarm and signal and only compile test if both are
438 available.
439
4402007-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
441
442 * src/samplerate.c
443 Refactor checking of supplied src ratio against min and max.
444
445 * configure.ac
446 Remove -pendantic from CFLAGS and add -std=gnu99.
447
448 * tests/callback_hang_test.c tests/Makefile.am
449 Add new test program and hook it into build.
450
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
453 src_ratio.
454
4552007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
456
457 * doc/api.html doc/api_callback.html doc/api_misc.html
458 Update docs to make handling of interleaved data more explicit.
459
4602006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
461
462 * examples/audio_out.c
463 Fix bug arising from last change.
464
465 * configure.ac
466 Add -Wpointer-arith to CFLAGS.
467
4682006-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
469
470 * examples/audio_out.c
471 Be more explicit about setting the audio output format.
472
4732006-06-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
474
475 * src/samplerate.c src/src_linear.c src/src_sinc.c
476 Fix MSVC compiler warnings.
477
4782006-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
479
480 * tests/calc_snr.c
481 Fix minor bug in analysis routines.
482
483 * tests/varispeed_test.c tests/snr_bw_test.c
484 Fix knock on effects of above change.
485
4862006-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
487
488 * src/Makefile.am
489 Update check-asm rule to check src_linear.c and src_zoh.c.
490
491 * src/src_linear.c
492 Remove all uses of floor() function.
493
4942006-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
495
496 * src/samplerate.[ch] src/Version_script.in
497 Add functions src_int_to_float_array and src_float_to_int_array.
498
499 * tests/float_short_test.c
500 Update test to including testing of above.
501
502 * doc/api_misc.html
503 Update docs for the above addition.
504
5052006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
506
507 * src/common.h src/src_*.c src/samplerate.c
508 Add slots for vari_process and const_process functions.
509
510 * tests/varispeed_test.c tests/Makefile.am
511 Add new test and hook into build.
512
513 * tests/util.[ch]
514 Add new function reverse_data.
515
5162005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
517
518 * examples/sndfile-resample.c
519 Exit if SRC ratio is 1.0. Suggested by Bram de Jong.
520
5212005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
522
523 * examples/timewarp-file.c
524 New file.
525
5262005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
527
528 * src/float_cast.h
529 Update to include Cygwin specific fixes.
530
531 * doc/api_callback.html
532 Complete the documentation of the callback API.
533
5342005-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
535
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.
539
540 * src/src_zoh.c src/src_linear.c
541 Fix bug found by new test. Thanks Stas Sergeev for bringint this to my
542 attention.
543
5442005-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
545
546 * doc/Makefile.am
547 Fix a bug preventing the inclusion of the html API docs in the tarball.
548
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).
552
553 * tests/calc_snr.c
554 Fix a compile problem when FFTW is not present (thanks to Stas Sergeev).
555
5562005-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
557
558 * configure.ac src/Makefile.am
559 Fix minor problems with generation of shared library version number.
560
5612005-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
562
563 * src/faq.html
564 Add a question about the use of src_simple().
565
566 * src/api_simple.html
567 Fix defintion of src_ratio.
568
5692004-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
570
571 * configure.ac tests/Makefile.am tests/*.c
572 Ditch detection and use of libefence. Valgrind is a far better debugging
573 tool.
574
575 * INSTALL
576 Write complete libsamplerate specific install instructions.
577
5782004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
579
580 * src/configure.ac src/makefile.am
581 Finally fix the bulding of DLLs on Win32/MinGW.
582
583 * tests/makefile.am
584 Fix running of tests on Win32/MinGW.
585
5862004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
587
588 * configure.ac Win32/Makefile.mingw.in
589 More support for compiling on Win32 using MinGW. Now uses FFTW3.
590
591 * examples/audio_out.c
592 Remove include of <mmreg.h> on win32.
593
5942004-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
595
596 * configure.ac Win32/Makefile.mingw.in
597 Add preliminary support for compiling on Win32 using MinGW.
598
599 * configure.ac
600 Bump version to 0.1.2.
601 Add --enable-gcc-werror configure option.
602
603 * examples/sndfile-resample.c tests/src-evaluate.c
604 Use ISO C standard function remove instead of unlink.
605
606 * Win32/Makefile.msvc
607 Add the top level directory to the include path (for sndfile.h).
608
6092004-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
610
611 * tests/util.h tests/*.c
612 Move macros for ABS, MIN, MAX and ARRAY_LEN to util.h.
613
614 * tests/reset_test.c
615 Add test function callback_reset_test() to test for the problem below.
616
617 * src/samplerate.c
618 Reset SRC_PRIVATE fields saved_data and saved_frames in src_reset(). Thanks
619 to Justin Drury for pointing this out.
620
6212004-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
622
623 * src/src_sinc.c
624 Fix typos in converter name strings. Thanks to Tom Szilagyi for finding them.
625
6262004-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
627
628 * configure.ac
629 Bump version to 0.1.1.
630
631 * doc/*.html Win32/config.h
632 Changes for new version.
633
634 * Makefile.am src/Makefile.am
635 Add "make check-asm" target which is not used by default.
636
6372004-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
638
639 * src/src_sinc.c
640 Use fmod() to calculate input_index. This is more resitant to rounding
641 errors than input_index -= floor (input_index).
642
6432004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
644
645 * src/src_sinc.c
646 Removed redundant field in SINC_FILTER struct.
647
6482004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
649
650 * examples/sndfile-resample.c
651 Modified to restart conversion if clipping has occurred.
652
6532004-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
654
655 * tests/benchmark.c
656 Added benchmark program.
657
6582004-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
659
660 * tests/callback_test.c
661 Improve callback_test to find input/output length mismatches. This also
662 catches the bug Mark Deggeller reported.
663
6642004-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
665
666 * src/samplerate.c
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
669 next call.
670
671 * src/common.h
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.
675
6762004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
677
678 * configure.ac
679 Use AC_HELP_STRING in AC_ARG_ENABLE statements.
680
6812004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
682
683 * Win32/config.h Win32/sndfile.h
684 Updates for Win32.
685
6862004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
687
688 * NEWS README
689 Finally got around to adding text to these.
690
691 * doc/win32.html doc/history.html
692 Minor updates.
693
6942004-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
695
696 * src/common.h
697 Changed allowed SRC ratio to range [1/256, 256].
698
699 * configure.ac tests/snr_bw_test.c tests/src-evaluate.c tests/Makefile.am
700 Use FFTW3 instead of version 2.
701
7022003-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
703
704 * doc/api.html doc/api_misc.html
705 Add documentation for conversions functions.
706
707 * doc/faq.html
708 Add Q/A about detecting presence of libsamplerate.
709
7102003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
711
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.
716
717 * configure.ac
718 Added tests for CPU clipping mode which was required for the float to
719 short conversion.
720
721 * tests/float_short_test.c
722 New code for testing the new functionality.
723
7242003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
725
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().
729
730 * tests/multi_channel_test.c
731 Finally passing tests for all three access methods (simple, process and
732 callback).
733
7342003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
735
736 * tests/calc_snr.c
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.
741
742 * tests/multi_channel_test.c
743 Added a callback_test to work on multiple channels.
744
7452003-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
746
747 * src/samplerate.h
748 Add definitions for the callback based API (src_callback_new and
749 src_callback_read).
750
751 * doc/*.html
752 Add link to faq.html.
753
754 * doc/faq.html
755 Add a new question/answer.
756
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.
762
763 * examples/varispeed.c
764 Add #include <stdlib.h> to prevent compiler warning.
765
766 * src/samplerate.h
767 Add definitions for the callback based API.
768
769 * src/Version_script.in
770 Add entries for two new public functions.
771
7722003-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
773
774 * tests/callback_test.c
775 More work on getting callback based API working.
776
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.
780
781 * src/src_zoh.c src/src_linear.c
782 Fixed problems with converters shown up by improved tests.
783
7842003-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
785
786 * doc/api.html
787 Be more explicit about the inclusion of <samplerate.h>.
788
7892003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
790
791 * examples/sndfile-resample.c examples/audio_out.c
792 Add include for <stdlib.h>.
793
794 * configure.ac
795 Check for libsndfile >= 1.0.6.
796
797 * examples/sndfile-resample.c
798 Turn on clipping of output when saving to integer PCM output formats.
799
8002003-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
801
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.
806
8072003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
808
809 * doc/bugs.html
810 New file detailing how to submit bug reports for SRC.
811
8122003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
813
814 * libsamplerate.spec.in
815 Apply corrections from Giuliano Pochini.
816
8172003-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
818
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.
822
823 * src/src_linear.c
824 Changes to make this converter work more like src_zoh.c.
825
8262003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
827
828 * doc/quality.html
829 Fixed a couple of broken links pointed out by Anand Kumria.
830
8312003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
832
833 * src/samplerate.h
834 Add URL of API documentation to the top of file.
835
836 * doc/api_misc.html
837 Clarify use of SRC_DATA struct.
838
8392003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
840
841 * tests/reset_test.c
842 Add call to src_set_ratio() to test that this function has been exported.
843
8442003-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
845
846 * samplerate.pc.in
847 Changed 'sndfile' to 'samplerate'.
848
8492003-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
850
851 * src/src_zoh.c
852 Fixed a bug causing clicks in the output data.
853
8542003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
855
856 * src/samplerate.c
857 Fixed a compiler warning.
858
859 * tests/termination_test.c
860 Tightened up the test pass crieria.
861
862 * src/src_sinc.c
863 Fixed bug showed up by new termination tests.
864
8652003-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
866
867 * examples/sndfile-resample.c
868 Fixed a bug which was messing up handling of multi-channel files.
869
870 * tests/multi_channel_test.c
871 Disabled all the new code.
872
8732003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
874
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
878 measurements.
879
880 * tests/Makefile.am
881 Mods to add calc_snr.c and utils.c to build of multi_channel_test.
882
883 * tests/util.[ch]
884 Add functions for interleaving and de-interleaving data.
885
8862003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
887
888 * Win32/config.h
889 Added Win32 specific #pragma to disable warnings when double precision
890 constants are assigned to floats.
891
892 * tests/calc_snr.c
893 Added #include <string.h> to prevent compiler warning about use of memset()
894 function.
895
8962003-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
897
898 * src/samplerate.[ch]
899 Added function src_set_ratio() at the suggestion of Dr William Bland.
900
901 * doc/api_full.html
902 Added docs for above function.
903
9042003-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
905
906 * examples/Makefile.am tests/Makefile.am
907 Fixes for Mac OSX.
908 Tidy up handling addition of SNDFILE_CFLAGS
909
9102003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
911
912 * Win32/config.h
913 Disabled HAVE_STDINT_H for Win32.
914
915 * Win32/unistd.h
916 Added empty header file for Win32.
917
918 * src/audio_out.c
919 Final fixes to get audio out working on Win32.
920
9212003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
922
923 * src/src_sinc.c
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
936 refactoring.
937
938 * examples/varispeed-play.c
939 Fixed a bug where data_in and data_out buffers were overlapping.
940
9412003-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
942
943 * doc/win32.html
944 Completed documentation on compiling for Win32.
945
946 * doc/*.html
947 Added links to Win32 compiling information.
948
949 * configure.ac tests/Makefile.am
950 Detect libefence and link it to all the test programs if configued
951 with --enable-debug.
952
953 * tests/utils.[ch]
954 New function force_efence_banner().
955
956 * tests/*test.c
957 Add a call to force_efence_banner() to force printing of the Electric Fence
958 banner at start of program.
959
9602003-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
961
962 * configure.ac
963 Added --enable-debug configuration flag.
964
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.
969
970 * src/src_zoh.c src/src_linear.c
971 Fixed more bugs found using modified streaming_test.
972
973 * src/samplerate.c
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.
976
977 * doc/api_full.html
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.
980
9812002-12-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
982
983 * tests/termination_test.c tests/streaming_test.c
984 Merged these two test programs into termination_test.c.
985
986 * tests/Makefile.am
987 Modified for above change.
988
989 * src/src_zoh.c src/src_linear.c
990 Fixed bug found using modified streaming_test.
991
9922002-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
993
994 * src/samplerate.c src/src_*.c
995 Changed the way multichannel accounting was done.
996
9972002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
998
999 * tests/snr_bw_test.c
1000 Rearranged order of tests.
1001
10022002-12-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1003
1004 * doc/lists.html
1005 Added "subscribe" HREF.
1006
10072002-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1008
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.
1012
1013 * tests/streaming_test.c tests/termination_test.c
1014 Modified pick up the above problem if it returns.
1015
10162002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1017
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().
1021
10222002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1023
1024 * examples/audio_out.c
1025 More hacking to get this working on Win32.
1026
1027 * tests/src-evaluate.c
1028 More work.
1029
10302002-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1031
1032 * src/samplerate.[ch] src/Version_script.in Win32/libsamplerate.def
1033 Added function src_get_version() to return a version string.
1034
1035 * examples/sndfile-resample.c
1036 Add "--version" option to print out a version string.
1037
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.
1041
1042 * tests/calc_snr.[ch] tests/snr_bw_test.c
1043 Minor changes required by src-evaluate program.
1044
10452002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1046
1047 * Win32/config.h
1048 New file for Win32. When building for Win32, this file gets copied into the
1049 src/ directory.
1050
1051 * Make.bat
1052 First attempt to see if this works.
1053
1054 * src/*.[ch]
1055 Changed name of SRC_PRIVATE filed errno to error because the brain damaged
1056 Win32 compiler was barfing.
1057
10582002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1059
1060 * examples/audio_out.c
1061 Now working on MacOSX.
1062
1063 * examples/varispeed-play.c
1064 Add ability to choose converter.
1065
10662002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1067
1068 * configure.ac
1069 Fixes for MacOSX.
1070
1071 * examples/new-varispeed-play.c examples/varispeed-play.c
1072 The first file replaces the later.
1073
10742002-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1075
1076 * src/float_cast.h
1077 New file for lrint() and lrintf().
1078
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()
1082 functions.
1083
1084 * examples/audio_out.c
1085 Fixes for the case where libsndfile is not found.
1086
1087 * new-varispeed-play.c
1088 Fixes for Solaris. Now works.
1089
10902002-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1091
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%.
1097
10982002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1099
1100 * All files.
1101 libsamplerate is working. There have been a couple of private releases
1102 for people to test but no public release.
This page took 0.068449 seconds and 4 git commands to generate.