You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1103 lines
33KB

  1. 2011-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  2. * configure.ac
  3. Add symbol support for kfreebsd-*-gnu-*.
  4. * configure.ac doc/Makefile.am
  5. Improve installation of html docs.
  6. * examples/audio_out.c tests/callback_hang_test.c
  7. Fix compiler warnings.
  8. * NEWS README Win32/config.h doc/*.html
  9. Updates for 0.1.8 release.
  10. * configure.ac
  11. Release 0.1.8.
  12. 2011-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  13. * tests/util.[ch]
  14. Rename function print_cpu_name() to get_cpu_name(). Add code for Mac OSX and
  15. FreeBSD.
  16. * tests/multichan_throughput_test.c tests/throughput_test.c
  17. Update to use get_cpu_name().
  18. 2010-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  19. * src/*.[ch]
  20. Fix typo in comments.
  21. 2010-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  22. * src/fastest_coeffs.h src/high_qual_coeffs.h src/mid_qual_coeffs.h
  23. Fix typo in comments.
  24. * configure.ac
  25. Add AM_SILENT_RULES.
  26. * doc/download.html
  27. Add a GPG signature.
  28. 2010-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  29. * src/float_cast.h
  30. Add lrint/lrintf version for Win64. Thanks to Dmitry Baikov.
  31. 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  32. * examples/sndfile-resample.c
  33. Prevent creation of double length output files when conversion is restarted
  34. due to clipping of the output when the format is FLAC. This problem arises
  35. due to libsndfile's in ability to seek in a FLAC file during write.
  36. * src/samplerate.h tests/termination_test.c
  37. Revert change that moved the src_ratio field to the start of SRC_DATA
  38. struct. This change does have some merit, but is not worth it considering
  39. that its an API change. This idea will be reconsidered when the API does
  40. change.
  41. 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  42. * doc/win32.html
  43. Update instructions.
  44. * Win32/Makefile.msvc
  45. Add /Zm200 to CFLAGS.
  46. 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  47. * src/common.h
  48. Add macro UNUSED for marking function parameters as unused.
  49. 2009-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  50. * tests/misc_test.c
  51. Add zero_input_test() from debian bug #506722.
  52. * src/src_linear.c src/src_zoh.c
  53. Fix for bug in zero_input_test(). Both these converters crashed if the
  54. input_frames field of SRC_DATA was zero.
  55. 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  56. * M4/endian.m4
  57. Fix detection of CPU endian-ness when cross compiling.
  58. 2009-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  59. * tests/termination_test.c
  60. Add test to detect a particular kind of termination error.
  61. * src/src_sinc.c
  62. Fix a termination condition bug.
  63. 2009-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  64. * src/samplerate.h
  65. Change definition of SRC_STATE to be kinder to some slightly broken
  66. compilers. Thanks to Rob Brown for suggesting this fix.
  67. 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  68. * M4/check_signal.m4 M4/clip_mode.m4 M4/lrint.m4 M4/lrintf.m4
  69. New files used instead of acinclude.m4.
  70. 2009-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  71. * src/samplerate.h
  72. Move src_ratio field to the start of the SRC_DATA struct to ensure it gets
  73. aligned correctly when either the library or client code gets compiled with
  74. -malign-double.
  75. * configure.ac
  76. Bump version to 1.0.0 due to API change.
  77. 2009-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  78. * Win32/Makefile.msvc
  79. Add /Zm1000 to the CFLAGS as suggested by Kun Niu.
  80. * doc/api_full.html doc/api_callback.html
  81. Improve explanation of use of src_set_ratio() function.
  82. 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  83. * src/common.h src/samplerate.c
  84. Add new error value SRC_ERR_SINC_PREPARE_DATA_BAD_LEN.
  85. * src/common.h
  86. Add WARN_UNUSED macro.
  87. * src/src_sinc.c
  88. Fix a segfault which occurs when memcpy is passed a bad length parameter.
  89. This bug has zero security implications beyond the ability to cause a
  90. program hitting this bug to exit immediately with a segfault.
  91. See : http://www.mega-nerd.com/erikd/Blog/2009/Feb/14/index.html
  92. Thanks to David Cournapeau and Lev Givon for the bug report.
  93. * doc/win32.html Makefile.am configure.ac
  94. Reinstate Win32/MSVC compile instructions.
  95. * doc/*.html
  96. Update for new release.
  97. * configure.ac
  98. Verison 0.1.7.
  99. 2009-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  100. * src/common.h src/samplerate.c
  101. Fix SRC_ERR_BAD_SRC_RATIO error string. Thanks David Cournapeau.
  102. 2009-01-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  103. * src/src_sinc.c
  104. Replace C99 "variable length arrays" with arrays allocated on the heap so
  105. that libsamplerate can be compiled with crappy compilers like MSVC.
  106. 2009-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  107. * configure.ac NEWS README doc/*.html
  108. Updates for 0.1.6 release.
  109. 2009-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  110. * tests/termination_test.c
  111. Fix termination test error on x86_64. Error probably due to difference in
  112. rounding.
  113. 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  114. * doc/win32.html
  115. Update win32 compile instructions to explain that this release cannot be
  116. compiled using the microsoft compiler.
  117. * NEWS README doc/*.html
  118. Updates for 0.1.5 release.
  119. * Makefile.am configure.ac
  120. Remove Win32 directory from distributed tarball.
  121. 2008-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  122. * tests/multi_channel_test.c tests/multichan_throughput_test.c
  123. Update tests to make sure tests include tests for 10 channels.
  124. * src/src_sinc.c
  125. Make 6 channel Sinc conversion another special case.
  126. Use Duff's Device to speed up the multi-channel case.
  127. * tests/multi_channel_test.c
  128. Only test 1, 2 and 3 channels for ZOH and linear converters.
  129. 2008-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  130. * src/samplerate.c
  131. Move variable definition out one scope level to avoid warnings from static
  132. analysis tools. Thanks Erik Hovland.
  133. * tests/util.c
  134. Make sure FILE* is closed. Thanks Erik Hovland.
  135. * tests/multi_channel_test.c tests/multichan_throughput_test.c
  136. Update tests to make sure tests include tests for 6 channels with the Sinc
  137. converters.
  138. 2008-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  139. * tests/multichan_throughput_test.c
  140. Do throughput test on all three SINC based converters.
  141. * src/src_sinc.c
  142. Rejig converter so filter coefficients are calculated once per frame and
  143. special case channel counts of 1, 2 and 4.
  144. 2008-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  145. * src/samplerate.c examples/audio_out.c tests/*.c
  146. Fix a couple of very minor warnings uncovered by Erik Hovland using a
  147. static analysis tool.
  148. * src/src_*.c
  149. Fix a potential memory leak. Thanks to Peter G. Vavaroutsos for point this
  150. out.
  151. * tests/multi_channel_test.c
  152. Robustify test.
  153. 2008-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  154. * reconfigure.mk autogen.sh
  155. Remove the first, add the second.
  156. * configure.ac
  157. Various updates.
  158. * tests/multichan_throughput_test.c tests/Makefile.am
  159. Add new test and hook into build.
  160. 2008-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  161. * doc/index.html
  162. Update best converter specs.
  163. 2008-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  164. * examples/audio_out.c
  165. Fix gcc-4.3 compiler warning.
  166. 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  167. * doc/faq.html
  168. Add Q/A about accuracy of src_ratio field of SRC_DATA struct.
  169. 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  170. * INSTALL
  171. Fix minor typo. Thanks to Sean Wood.
  172. 2008-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  173. * src/src_sinc.c
  174. Optimization. About a 5% improvement in throughput.
  175. 2008-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  176. * tests/util.[ch]
  177. Add function print_cpu_name.
  178. * tests/throughput_test.c
  179. Add ability to do best-of N runs, print CPU type.
  180. 2008-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  181. * configure.ac
  182. Add AC_PROG_MKDIR_P.
  183. 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  184. * src/samplerate.c
  185. Fix a valgrind warning which occured when the call back function returns
  186. a count of zero without modifying the pointer value. Thanks to Paul Kelly.
  187. * tests/callback_test.c
  188. Add a callback test where the callback returns a zero count without setting
  189. the data pointer. The problem can only be detected when run under valgrind.
  190. 2008-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  191. * src/src_sinc.c
  192. Remove use of llrint because sizeof (increment_t) is guaranteed not to be 8.
  193. * tests/callback_test.c
  194. Test with 2 channels for improved generality. Simplify setup.
  195. * src/src_linear.c src/src_zoh.c
  196. Change local variable names to be the same across these two files for easier
  197. comparison.
  198. * src/src_linear.c
  199. Fix a bug where the the converter was reading beyond the end of the input.
  200. Thanks to Paul Kelly for the bug report.
  201. 2008-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  202. * tests/downsample_test.c
  203. New test file to test for buffer overrun bugs at extreme low conversion
  204. ratios.
  205. * tests/Makefile.am
  206. Hook above test program into build.
  207. * src/src_sinc.c
  208. Fix buffer overrrun bug at extreme low conversion ratios. Thanks to Russell
  209. O'Connor for the report.
  210. * configure.ac NEWS README doc/*.html
  211. Update for 0.1.4 release.
  212. 2008-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  213. * configure.ac
  214. Make use of libsndfile optional. Patch from Samuli Suominen.
  215. 2008-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  216. * Win32/libsamplerate-0.def
  217. Add src_int_to_float/float_to_int_array to exports.
  218. * examples/sndfile-resample.c
  219. Add printing of libsndfile version, modify libsamplerate version.
  220. 2008-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  221. * doc/*.html
  222. Final documentation tweaks for release.
  223. 2008-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  224. * tests/throughput_test.c
  225. Include config.h and float_cast.h." -- tests/throughput_test.c
  226. * Make.bat Win32/*
  227. Bunch more Win32 updates.
  228. 2008-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  229. * src/* tests/*
  230. Remove all traces of old SRC_OLD_SINC_* converters.
  231. * Make.bat Win32/*
  232. Preliminary Win32 updates.
  233. * configure.ac
  234. Bump version to 0.1.3.
  235. 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  236. * doc/api_simple.html
  237. Try once again to convince people that src_simple cannot be used on small
  238. chunks of a larger piece of audio.
  239. 2008-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  240. * tests/snr_bw_test.c
  241. Remove bodgy old throughput calculations.
  242. 2008-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  243. * tests/benchmark.c tests/throughput_test.c
  244. Rename former to the latter and make significant improvements.
  245. 2008-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  246. * src/old_high_qual_coeffs.h src/old_mid_qual_coeffs.h
  247. Copy these from the old versions.
  248. * src/high_qual_coeffs.h src/mid_qual_coeffs.h
  249. New versions of the coefficients with improved SNR.
  250. 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  251. * Makefile.am configure.ac
  252. Add DISTCHECK_CONFIGURE_FLAGS to Makefile.am and a bunch of configure
  253. cleanups.
  254. 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  255. * examples/audio_out.c
  256. Apply patch from Yair K. to fix compiles with OSS v4.
  257. 2007-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  258. * acinclude.m4
  259. Add AC_CHECK_SIGNAL macro.
  260. * configure.ac
  261. Use AC_CHECK_SIGNAL to check for SIGALRM.
  262. * tests/callback_hang_test.c
  263. Use HAVE_SIGGALRM and add empty main function if it doesn't exist.
  264. 2007-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  265. * src/*_coeffs.h
  266. Change the way the coefficients are defined for improved safety.
  267. * src/src_sinc.c
  268. Adapt to the above.
  269. 2007-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  270. * src/src_sinc.c
  271. Change macros into inline functions for better error checking.
  272. * src/common.h
  273. Add static inline function fmod_one.
  274. * src/*.c
  275. Use fmod_one where appropriate.
  276. 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  277. * tests.Makefile.am
  278. Fix includes for varispeed_test target.
  279. 2007-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  280. * tests/snr_bw_test.c
  281. Remove cruft.
  282. * doc/index.html
  283. Add link to Foobar 2000 plugin.
  284. * configure.ac tests/callback_hang_test.c
  285. Test for functions alarm and signal and only compile test if both are
  286. available.
  287. 2007-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  288. * src/samplerate.c
  289. Refactor checking of supplied src ratio against min and max.
  290. * configure.ac
  291. Remove -pendantic from CFLAGS and add -std=gnu99.
  292. * tests/callback_hang_test.c tests/Makefile.am
  293. Add new test program and hook it into build.
  294. * src/src_linear.c src/src_sinc.c src/src_zoh.c
  295. Fix a bug where the src_callback_read () function would hang under varying
  296. src_ratio.
  297. 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  298. * doc/api.html doc/api_callback.html doc/api_misc.html
  299. Update docs to make handling of interleaved data more explicit.
  300. 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  301. * examples/audio_out.c
  302. Fix bug arising from last change.
  303. * configure.ac
  304. Add -Wpointer-arith to CFLAGS.
  305. 2006-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  306. * examples/audio_out.c
  307. Be more explicit about setting the audio output format.
  308. 2006-06-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  309. * src/samplerate.c src/src_linear.c src/src_sinc.c
  310. Fix MSVC compiler warnings.
  311. 2006-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  312. * tests/calc_snr.c
  313. Fix minor bug in analysis routines.
  314. * tests/varispeed_test.c tests/snr_bw_test.c
  315. Fix knock on effects of above change.
  316. 2006-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  317. * src/Makefile.am
  318. Update check-asm rule to check src_linear.c and src_zoh.c.
  319. * src/src_linear.c
  320. Remove all uses of floor() function.
  321. 2006-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  322. * src/samplerate.[ch] src/Version_script.in
  323. Add functions src_int_to_float_array and src_float_to_int_array.
  324. * tests/float_short_test.c
  325. Update test to including testing of above.
  326. * doc/api_misc.html
  327. Update docs for the above addition.
  328. 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  329. * src/common.h src/src_*.c src/samplerate.c
  330. Add slots for vari_process and const_process functions.
  331. * tests/varispeed_test.c tests/Makefile.am
  332. Add new test and hook into build.
  333. * tests/util.[ch]
  334. Add new function reverse_data.
  335. 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  336. * examples/sndfile-resample.c
  337. Exit if SRC ratio is 1.0. Suggested by Bram de Jong.
  338. 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  339. * examples/timewarp-file.c
  340. New file.
  341. 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  342. * src/float_cast.h
  343. Update to include Cygwin specific fixes.
  344. * doc/api_callback.html
  345. Complete the documentation of the callback API.
  346. 2005-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  347. * tests/termination_test.c
  348. Rename term_test() to init_term_test() and add extra test functionality
  349. to sanity test the first sample output after reset.
  350. * src/src_zoh.c src/src_linear.c
  351. Fix bug found by new test. Thanks Stas Sergeev for bringint this to my
  352. attention.
  353. 2005-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  354. * doc/Makefile.am
  355. Fix a bug preventing the inclusion of the html API docs in the tarball.
  356. * src/src_zoh.c src/src_linear.c
  357. Improve calculation of input_index.
  358. Fix updating of input_index (thanks to Stas Sergeev).
  359. * tests/calc_snr.c
  360. Fix a compile problem when FFTW is not present (thanks to Stas Sergeev).
  361. 2005-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  362. * configure.ac src/Makefile.am
  363. Fix minor problems with generation of shared library version number.
  364. 2005-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  365. * src/faq.html
  366. Add a question about the use of src_simple().
  367. * src/api_simple.html
  368. Fix defintion of src_ratio.
  369. 2004-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  370. * configure.ac tests/Makefile.am tests/*.c
  371. Ditch detection and use of libefence. Valgrind is a far better debugging
  372. tool.
  373. * INSTALL
  374. Write complete libsamplerate specific install instructions.
  375. 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  376. * src/configure.ac src/makefile.am
  377. Finally fix the bulding of DLLs on Win32/MinGW.
  378. * tests/makefile.am
  379. Fix running of tests on Win32/MinGW.
  380. 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  381. * configure.ac Win32/Makefile.mingw.in
  382. More support for compiling on Win32 using MinGW. Now uses FFTW3.
  383. * examples/audio_out.c
  384. Remove include of <mmreg.h> on win32.
  385. 2004-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  386. * configure.ac Win32/Makefile.mingw.in
  387. Add preliminary support for compiling on Win32 using MinGW.
  388. * configure.ac
  389. Bump version to 0.1.2.
  390. Add --enable-gcc-werror configure option.
  391. * examples/sndfile-resample.c tests/src-evaluate.c
  392. Use ISO C standard function remove instead of unlink.
  393. * Win32/Makefile.msvc
  394. Add the top level directory to the include path (for sndfile.h).
  395. 2004-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  396. * tests/util.h tests/*.c
  397. Move macros for ABS, MIN, MAX and ARRAY_LEN to util.h.
  398. * tests/reset_test.c
  399. Add test function callback_reset_test() to test for the problem below.
  400. * src/samplerate.c
  401. Reset SRC_PRIVATE fields saved_data and saved_frames in src_reset(). Thanks
  402. to Justin Drury for pointing this out.
  403. 2004-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  404. * src/src_sinc.c
  405. Fix typos in converter name strings. Thanks to Tom Szilagyi for finding them.
  406. 2004-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  407. * configure.ac
  408. Bump version to 0.1.1.
  409. * doc/*.html Win32/config.h
  410. Changes for new version.
  411. * Makefile.am src/Makefile.am
  412. Add "make check-asm" target which is not used by default.
  413. 2004-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  414. * src/src_sinc.c
  415. Use fmod() to calculate input_index. This is more resitant to rounding
  416. errors than input_index -= floor (input_index).
  417. 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  418. * src/src_sinc.c
  419. Removed redundant field in SINC_FILTER struct.
  420. 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  421. * examples/sndfile-resample.c
  422. Modified to restart conversion if clipping has occurred.
  423. 2004-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  424. * tests/benchmark.c
  425. Added benchmark program.
  426. 2004-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  427. * tests/callback_test.c
  428. Improve callback_test to find input/output length mismatches. This also
  429. catches the bug Mark Deggeller reported.
  430. 2004-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  431. * src/samplerate.c
  432. Fix a bug in src_callback_read() reported by Mark Deggeller. Data retreived
  433. but not used during one call to src_callback_read() must be saved for the
  434. next call.
  435. * src/common.h
  436. Add fields saved_frames and saved_data to SF_PRIVATE struct for storing
  437. data between sucessive calls to src_callback_read().
  438. Also rearange the fields of SF_PRIVATE.
  439. 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  440. * configure.ac
  441. Use AC_HELP_STRING in AC_ARG_ENABLE statements.
  442. 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  443. * Win32/config.h Win32/sndfile.h
  444. Updates for Win32.
  445. 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  446. * NEWS README
  447. Finally got around to adding text to these.
  448. * doc/win32.html doc/history.html
  449. Minor updates.
  450. 2004-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  451. * src/common.h
  452. Changed allowed SRC ratio to range [1/256, 256].
  453. * configure.ac tests/snr_bw_test.c tests/src-evaluate.c tests/Makefile.am
  454. Use FFTW3 instead of version 2.
  455. 2003-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  456. * doc/api.html doc/api_misc.html
  457. Add documentation for conversions functions.
  458. * doc/faq.html
  459. Add Q/A about detecting presence of libsamplerate.
  460. 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  461. * src/samplerate.h src/samplerate.c
  462. Added functions for short->float and float->short conversions on arrays
  463. of data. This will make it a little easier for people who need the
  464. input or output data in shorts rather than floats.
  465. * configure.ac
  466. Added tests for CPU clipping mode which was required for the float to
  467. short conversion.
  468. * tests/float_short_test.c
  469. New code for testing the new functionality.
  470. 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  471. * src/src_zoh.c src/src_linear.c
  472. Fixed an off-by-one indexing issue which was causing distortion at the
  473. boundaries between calls to src_process().
  474. * tests/multi_channel_test.c
  475. Finally passing tests for all three access methods (simple, process and
  476. callback).
  477. 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  478. * tests/calc_snr.c
  479. SNR calculation was being screwed up because the peak detector was
  480. mistaking side lobes caused by the windowded FFT as noise/aliasing peaks.
  481. Therefore added code to wipe out the troughs between peaks which erases
  482. the side lobe peaks without affecting the noise/aliasing peaks.
  483. * tests/multi_channel_test.c
  484. Added a callback_test to work on multiple channels.
  485. 2003-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  486. * src/samplerate.h
  487. Add definitions for the callback based API (src_callback_new and
  488. src_callback_read).
  489. * doc/*.html
  490. Add link to faq.html.
  491. * doc/faq.html
  492. Add a new question/answer.
  493. * src/samplerate.c tests/callback_test.c
  494. Move callback functions (src_callback_new and src_callback_read) from
  495. callback_test.c to samplerate.c
  496. Add checking to make sure that an SRC_STATE object created with
  497. src_callback_new() is not used with src_process() etc.
  498. * examples/varispeed.c
  499. Add #include <stdlib.h> to prevent compiler warning.
  500. * src/samplerate.h
  501. Add definitions for the callback based API.
  502. * src/Version_script.in
  503. Add entries for two new public functions.
  504. 2003-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  505. * tests/callback_test.c
  506. More work on getting callback based API working.
  507. * tests/termination_test.c
  508. Tightened up the test pass crieria yet again. This shows up problems
  509. with the ZOH and Linear converters.
  510. * src/src_zoh.c src/src_linear.c
  511. Fixed problems with converters shown up by improved tests.
  512. 2003-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  513. * doc/api.html
  514. Be more explicit about the inclusion of <samplerate.h>.
  515. 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  516. * examples/sndfile-resample.c examples/audio_out.c
  517. Add include for <stdlib.h>.
  518. * configure.ac
  519. Check for libsndfile >= 1.0.6.
  520. * examples/sndfile-resample.c
  521. Turn on clipping of output when saving to integer PCM output formats.
  522. 2003-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  523. * tests/callback_test.c
  524. Start work on a callback based API. The implementation will be done
  525. in this test program first and when it is working, the code that does
  526. the work will be moved back to the library code.
  527. 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  528. * doc/bugs.html
  529. New file detailing how to submit bug reports for SRC.
  530. 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  531. * libsamplerate.spec.in
  532. Apply corrections from Giuliano Pochini.
  533. 2003-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  534. * tests/snr_bw_test.c
  535. Added test for conversion ratio of 1.0 for all converters. For this
  536. conversion ratio, all converters have a better than 149db SNR ratio.
  537. * src/src_linear.c
  538. Changes to make this converter work more like src_zoh.c.
  539. 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  540. * doc/quality.html
  541. Fixed a couple of broken links pointed out by Anand Kumria.
  542. 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  543. * src/samplerate.h
  544. Add URL of API documentation to the top of file.
  545. * doc/api_misc.html
  546. Clarify use of SRC_DATA struct.
  547. 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  548. * tests/reset_test.c
  549. Add call to src_set_ratio() to test that this function has been exported.
  550. 2003-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  551. * samplerate.pc.in
  552. Changed 'sndfile' to 'samplerate'.
  553. 2003-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  554. * src/src_zoh.c
  555. Fixed a bug causing clicks in the output data.
  556. 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  557. * src/samplerate.c
  558. Fixed a compiler warning.
  559. * tests/termination_test.c
  560. Tightened up the test pass crieria.
  561. * src/src_sinc.c
  562. Fixed bug showed up by new termination tests.
  563. 2003-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  564. * examples/sndfile-resample.c
  565. Fixed a bug which was messing up handling of multi-channel files.
  566. * tests/multi_channel_test.c
  567. Disabled all the new code.
  568. 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  569. * tests/multi_channel_test.c
  570. Rehacking multi-channel tests to find possible problems in src_process()
  571. when processing multichannel data. Need to use signal to noise ratio
  572. measurements.
  573. * tests/Makefile.am
  574. Mods to add calc_snr.c and utils.c to build of multi_channel_test.
  575. * tests/util.[ch]
  576. Add functions for interleaving and de-interleaving data.
  577. 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  578. * Win32/config.h
  579. Added Win32 specific #pragma to disable warnings when double precision
  580. constants are assigned to floats.
  581. * tests/calc_snr.c
  582. Added #include <string.h> to prevent compiler warning about use of memset()
  583. function.
  584. 2003-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  585. * src/samplerate.[ch]
  586. Added function src_set_ratio() at the suggestion of Dr William Bland.
  587. * doc/api_full.html
  588. Added docs for above function.
  589. 2003-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  590. * examples/Makefile.am tests/Makefile.am
  591. Fixes for Mac OSX.
  592. Tidy up handling addition of SNDFILE_CFLAGS
  593. 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  594. * Win32/config.h
  595. Disabled HAVE_STDINT_H for Win32.
  596. * Win32/unistd.h
  597. Added empty header file for Win32.
  598. * src/audio_out.c
  599. Final fixes to get audio out working on Win32.
  600. 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  601. * src/src_sinc.c
  602. Phase one or refactoring. Replace use of a circular buffer to hold short
  603. window of data with a linear buffer.
  604. Linear buffer requires that data is periodically copied from the end if
  605. the buffer back to the beginning. However, it also means that the
  606. calc_output() function no longer needs to calculate the next data index
  607. modulo the buffer length.
  608. Since the data index is calculated 40 times (minimum) per output sample,
  609. and the copy from end of buffer to start of buffer is done every 1000 or
  610. so output samples, this change results in a significant speedup (up to
  611. about 50% improvement for SRC_SINC_FASTEST).
  612. Memory use has increased somewhat (max 6k per channel per converter) due
  613. to this fix, but that should go down again during next phase of
  614. refactoring.
  615. * examples/varispeed-play.c
  616. Fixed a bug where data_in and data_out buffers were overlapping.
  617. 2003-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  618. * doc/win32.html
  619. Completed documentation on compiling for Win32.
  620. * doc/*.html
  621. Added links to Win32 compiling information.
  622. * configure.ac tests/Makefile.am
  623. Detect libefence and link it to all the test programs if configued
  624. with --enable-debug.
  625. * tests/utils.[ch]
  626. New function force_efence_banner().
  627. * tests/*test.c
  628. Add a call to force_efence_banner() to force printing of the Electric Fence
  629. banner at start of program.
  630. 2003-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  631. * configure.ac
  632. Added --enable-debug configuration flag.
  633. * tests/termination_test.c
  634. More modifications to catch corner cases.
  635. Added extra test to check for negative return values for input_frames_used
  636. and output_frames_gen fields of SRC_DATA.
  637. * src/src_zoh.c src/src_linear.c
  638. Fixed more bugs found using modified streaming_test.
  639. * src/samplerate.c
  640. Set input_frames and output_frames of SRC_DATA to zero if they are negative.
  641. Add check for overlapping SRC_DATA data_in and data_out arrays.
  642. * doc/api_full.html
  643. Document the fact that the SRC_DATA->data_in and data_out arrays may not
  644. overlap. Thanks to Paul Davis for pointing out this documentation oversight.
  645. 2002-12-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  646. * tests/termination_test.c tests/streaming_test.c
  647. Merged these two test programs into termination_test.c.
  648. * tests/Makefile.am
  649. Modified for above change.
  650. * src/src_zoh.c src/src_linear.c
  651. Fixed bug found using modified streaming_test.
  652. 2002-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  653. * src/samplerate.c src/src_*.c
  654. Changed the way multichannel accounting was done.
  655. 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  656. * tests/snr_bw_test.c
  657. Rearranged order of tests.
  658. 2002-12-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  659. * doc/lists.html
  660. Added "subscribe" HREF.
  661. 2002-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  662. * src/src_zoh.c src/src_linear.c
  663. Fixed a bug which was causing an incorrent number of output samples to be
  664. generated for a given conversion ratio and number of input samples.
  665. * tests/streaming_test.c tests/termination_test.c
  666. Modified pick up the above problem if it returns.
  667. 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  668. * tests/streaming_test.c
  669. Modified to mix long and short input buffers. This will help testing of
  670. smooth switching between standard sinc_process() and long_sinc_process().
  671. 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  672. * examples/audio_out.c
  673. More hacking to get this working on Win32.
  674. * tests/src-evaluate.c
  675. More work.
  676. 2002-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  677. * src/samplerate.[ch] src/Version_script.in Win32/libsamplerate.def
  678. Added function src_get_version() to return a version string.
  679. * examples/sndfile-resample.c
  680. Add "--version" option to print out a version string.
  681. * tests/src-evaluate.c
  682. New file. This program will be used to evaluate other sample rate
  683. converters for comparison to the rabbit.
  684. * tests/calc_snr.[ch] tests/snr_bw_test.c
  685. Minor changes required by src-evaluate program.
  686. 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  687. * Win32/config.h
  688. New file for Win32. When building for Win32, this file gets copied into the
  689. src/ directory.
  690. * Make.bat
  691. First attempt to see if this works.
  692. * src/*.[ch]
  693. Changed name of SRC_PRIVATE filed errno to error because the brain damaged
  694. Win32 compiler was barfing.
  695. 2002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  696. * examples/audio_out.c
  697. Now working on MacOSX.
  698. * examples/varispeed-play.c
  699. Add ability to choose converter.
  700. 2002-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  701. * configure.ac
  702. Fixes for MacOSX.
  703. * examples/new-varispeed-play.c examples/varispeed-play.c
  704. The first file replaces the later.
  705. 2002-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  706. * src/float_cast.h
  707. New file for lrint() and lrintf().
  708. * src/common.h src/src_*.c
  709. Add workaround for systems without <stdint.h>.
  710. Add #include "float_cast.h" to pick up replacement lrint() and lrintf()
  711. functions.
  712. * examples/audio_out.c
  713. Fixes for the case where libsndfile is not found.
  714. * new-varispeed-play.c
  715. Fixes for Solaris. Now works.
  716. 2002-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  717. * src/high_qual_coeffs.h
  718. Conrad Parker found a file which produced clicking when run thru the
  719. SRC_SINC_BEST_QUALITY filter. Recalculated the filter with slightly less
  720. stringent design parameters and fixed the problem. The band with of the
  721. new filter is 96.6% while the old one was a little ober 97%.
  722. 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
  723. * All files.
  724. libsamplerate is working. There have been a couple of private releases
  725. for people to test but no public release.