Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
[Faustine.git] / interpretor / lib / src / libsndfile-1.0.25 / doc / ChangeLog
1 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2
3 * NEWS README configure.ac doc/*.html
4 Updates for 1.0.25.
5
6 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
7
8 * src/sfconfig.h
9 Add handling for HAVE_SYS_WAIT_H.
10
11 * Makefile.am src/Makefile.am tests/Makefile.am
12 Add 'checkprograms' target.
13
14 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
15
16 * src/common.h src/sndfile.c
17 Purge SF_ASSERT macro. Use standard C assert instead.
18
19 * src/paf.c src/common.h src/sndfile.c
20 Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
21 byte value of 0) due to integer overflow if PAF file handler.
22
23 * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
24 Use calloc instead of malloc followed by memset.
25
26 * tests/utils.tpl
27 Clean up use of memset.
28
29 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
30
31 * src/ogg.c
32 Fix log message.
33
34 * tests/format_check_test.c
35 Fix compiler warnings.
36
37 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
38
39 * src/sndfile.c
40 Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
41
42 * tests/format_check_test.c
43 Add a test to for SF_FINFO format field validation.
44
45 * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
46 src/common.h src/Makefile.am
47 Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
48 and Speex codecs in an Ogg container. The later two are only enabled with
49 ENABLE_EXPERIMENTAL_CODE config variable.
50
51 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
52
53 * src/strings.c
54 Clean up and refactor storage of SF_STR_SOFTWARE.
55
56 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
57
58 * src/sndfile.h.in doc/api.html
59 Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
60 Tim van der Molen for the patch.
61
62 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
63
64 * programs/sndfile-interleave.c
65 Fix handling of argc. Thanks to Marius Hennecke.
66
67 * src/wav_w64.c
68 Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
69 providing example files.
70
71 * src/wav.c
72 Jump over 'FLLR' chunks.
73
74 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
75
76 * src/sndfile.h.in
77 Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
78
79 * configure.ac
80 Add -Wundef to CFLAGS.
81
82 * src/ogg.c
83 Fix -Wunder warning.
84
85 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
86
87 * configure.ac
88 Use int64_t instead of off_t when they are the same size.
89
90 * src/Makefile.am tests/Makefile.am
91 Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
92
93 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
94
95 * src/wav.c
96 Don't allow unknown and/or un-editable chunks to prevent the file from being
97 opened in SFM_RDWR mode.
98
99 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
100
101 * tests/format_check_test.c
102 Fix segfault in test program.
103
104 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
105
106 * tests/format_check_test.c
107 New test program to check to make sure that sf_open() and sf_check_format()
108 agree as to what is a valid program.
109
110 * tests/Makefile.am tests/test_wrapper.sh.in
111 Hook into build and test runner.
112
113 * src/sndfile.c
114 Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
115 notification.
116
117 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
118
119 * src/caf.c
120 Add validation to size of 'data' chunk and fix size of written 'data'
121 chunk. Thanks to Michael Pruett for reporting this.
122
123 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
124
125 * src/* tests/* programs/*
126 Fix a bunch of compiler warnings with gcc-4.6.
127
128 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
129
130 * tests/util.tpl
131 Add NOT macro to util.h.
132
133 * src/strings.c
134 Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
135 strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
136 this problem.
137
138 * tests/string_test.c
139 Add test for SF_STR_SOFTWARE segfault bug.
140
141 * configure.ac
142 Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
143 '-I${includedir}/FLAC'. However FLAC also provides an include file
144 <assert.h> which clashes with the Standard C header of the same name. The
145 solution is strip the 'FLAC' part off the end and include all FLAC headers
146 as <FLAC/header.h>.
147
148 * configure.ac src/Makefile.am
149 Use non-recursive make in src/ directory.
150
151 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
152
153 * NEWS README docs/*.html
154 Updates for 1.0.24 release.
155
156 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
157
158 * configure.ac
159 Fix up usage of sed (should not assume GNU sed).
160
161 * M4/add_(c|cxx)flags.m4
162 Test flags in isolation.
163
164 * tests/cpp_test.cc
165 Fix a broken test (test segfaults). Report by Dave Flogeras.
166
167 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
168
169 * programs/common.[ch]
170 Add function program_name() which returns the program name minus the path
171 from argv [0].
172
173 * programs/*.c programs/Makefile.am
174 Use program_name() where appropriate. Fix build.
175
176 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
177
178 * src/wav.c
179 For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
180 byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
181 version accept 18 byte but not 16 byte.
182
183 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
184
185 * doc/FAQ.html
186 Add examples for question 12.
187
188 * doc/libsndfile.css.in
189 Add tweaks for h4 element.
190
191 * doc/api.html
192 Add documentation for virtual I/O functionality. Thanks to Uli Franke.
193
194 * tests/util.tpl
195 Add static inline functions sf_info_clear() and sf_info_setup().
196
197 * tests/(alaw|dwvw|ulaw)_test.c
198 Use functions sf_info_clear() and sf_info_setup().
199
200 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
201
202 * configure.ac
203 Fail more gracefully if pkg-config is missing. Suggestion from Brian
204 Willoughby.
205
206 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
207
208 * src/common.c
209 Use size_t instead of int for size params with varargs.
210
211 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
212
213 * doc/index.html
214 Update supported platforms with more Debian platforms and Android.
215
216 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
217
218 * src/sndfile.hh
219 Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
220 class definition. Thanks to Eric Eizenman for pointing out this was missing.
221
222 * tests/cpp_test.cc
223 Add test for LPCWSTR version of the SndfileHandle constructor.
224
225 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
226
227 * programs/sndfile-play.c
228 Remove cruft.
229
230 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
231
232 * src/sndfile.hh
233 Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
234 the patch.
235
236 * tests/cpp_test.cc
237 Add tests for above two methods. Also supplied by Tim Blechmann.
238
239 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
240
241 * doc/api.html
242 Add mention of use of sf_strerror() when sf_open() fails.
243
244 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
245
246 * configure.ac
247 Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
248 people are compiling on a 64 bit system with the GCC -m32 flag.
249
250 * src/sndfile.h.in
251 Fix comments on sf_count_t.
252
253 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
254
255 * src/aiff.c
256 Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
257
258 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
259
260 * configure.ac
261 Sed fix for FreeBSD. Thanks Tony Theodore.
262
263 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
264
265 * shave.in M4/shave.m4
266 Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
267 shave author).
268
269 * configure.ac M4/shave.m4 shave-libtool.in shave.in
270 Switch from shave to automake-1.11's AM_SILENT_RULES.
271
272 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
273
274 * shave-libtool.in shave.in
275 Sync to upstream version.
276
277 * src/rf64.c
278 More work to make the parser more robust and accepting of mal-formed files.
279
280 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
281
282 * src/common.h
283 Add functions psf_strlcpy() and psf_strlcat().
284
285 * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
286 src/test_main.h src/test_strncpy_crlf.c
287 Use functions psf_strlcpy() and psf_strlcat() as appropriate.
288
289 * tests/string_test.c
290 Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
291
292 * src/rf64.c
293 Fix size of 'ds64' chunk when writing RF64.
294
295 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
296
297 * programs/*.c
298 Add the libsndfile version to the usage message of all programs.
299
300 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
301
302 * configure.ac src/version-metadata.rc.in src/Makefile.am
303 Add version string resources to the windows DLL.
304
305 * doc/api.html
306 Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
307
308 * NEWS README configure.ac doc/*.html
309 Updates for 1.0.23 release.
310
311 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
312
313 * tests/pedantic-header-test.sh.in
314 Handle unusual values of CC environment variable.
315
316 * src/rf64.c
317 Minor tweaks and additional sanity checking.
318
319 * src/Makefile.am src/binheader_writef_check.py
320 Use python 2.6.
321
322 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
323
324 * src/sndfile.hh
325 Add a missing 'inline' before a constructor defintion.
326
327 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
328
329 * src/common.h
330 Add macro NOT.
331
332 * src/rf64.c
333 Minor tweaks.
334
335 * Makefile.am */Makefile.am
336 Add *~ to CLEANFILES.
337
338 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
339
340 * src/sndfile.c
341 Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
342 Van Winkle for the report.
343
344 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
345
346 * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
347 Add ability to read/write tracknumber and genre to flac/ogg/wav files.
348 Thanks to Matti Nykyri for the patch.
349
350 * src/common.h src/broadcast.c src/strings.c
351 Add function psf_safe_strncpy() and use where appropriate.
352
353 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
354
355 * NEWS README configure.ac doc/*.html
356 Updates for 1.0.22 release.
357
358 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
359
360 * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
361 Rewrite of SF_BROADCAST_INFO handling.
362
363 * src/test_broadcast_var.c tests/command_test.c
364 Tweak SF_BROADCAST_INFO tests.
365
366 * src/test_broadcast_var.c
367 Fix OSX stack check error.
368
369 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
370
371 * src/sds.c
372 Set sustain_loop_end to 0 as suggested by Brian Lewis.
373
374 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
375
376 * src/sds.c
377 Make sure the correct frame count gets written into the header.
378
379 * tests/write_read_test.tpl
380 Don't allow SDS files to have a long frame count.
381
382 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
383
384 * src/sds.c
385 Apply a pair of patches from Brian Lewis to fix the packet number location
386 and the checksum.
387
388 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
389
390 * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
391 src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
392 src/wav.c tests/pcm_test.tpl
393 Fix a bunch of minor issues found using static analysis.
394
395 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
396
397 * src/test_broadcast_var.c
398 New file containing tests for broadcast_set_var().
399
400 * src/Makefile.am src/test_main.[ch]
401 Hook test_broadcast_var.c into tests.
402
403 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
404
405 * src/broadcast.c src/common.(c|h)
406 Move function strncpy_crlf() to src/common.c so the function can be tested
407 in isolation.
408
409 * src/test_strncpy_crlf.c
410 New file.
411
412 * src/Makefile.am src/test_main.[ch]
413 Hook test_strncpy_crlf.c into tests.
414
415 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
416
417 * src/common.h
418 Move code around to make comments make sense.
419
420 * src/broadcast.c
421 Add debugging code that is disabled by default.
422
423 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
424
425 * src/flac.c
426 When the file meta data says the file has zero frames set psf->sf.frames
427 to SF_COUNT_MAX. Fixes Debian bug #590752.
428
429 * programs/sndfile-info.c
430 Print 'unknown' if frame count == SF_COUNT_MAX.
431
432 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
433
434 * src/sndfile.c
435 Only support writing mono SVX files. Multichannel SVX files are not
436 interleaved and there is no support infrastructure to cache and write
437 multiple channels to create a non-interleaved file.
438
439 * src/file_io.c
440 Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
441 for the bug report.
442
443 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
444
445 * src/common.h
446 Add macro SF_ASSERT.
447
448 * src/sndfile.c
449 Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
450
451 * src/svx.c
452 Add support for reading and writing stereo SVX files.
453
454 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
455
456 * configure.ac
457 When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
458
459 * programs/common.c programs/sndfile-metadata-set.c
460 Update metadata after the audio data is copied. Other minor fixes. Patch
461 from Marius Hennecke.
462
463 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
464
465 * src/nist.c
466 Fix a regression reported by Hugh Secker-Walker.
467
468 * src/api.html
469 Add comment about sf_open_fd() not working on Windows if the application
470 and the libsndfile DLL are linked to different versions of the Microsoft
471 C runtime DLL.
472
473 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
474
475 * tests/pedantic-header-test.sh.in
476 Fix 'make distcheck'.
477
478 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
479
480 * tests/pedantic-header-test.sh.in
481 New file to test whether sndfile.h can be compiled with gcc's -pedantic
482 flag.
483
484 * configure.ac tests/test_wrapper.sh.in
485 Hook pedantic-header-test into test suite.
486
487 * src/sndfile.h.in
488 Fix -pedantic warning.
489
490 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
491
492 * programs/sndfile-salvage.c programs/Makefile.am
493 New program to salvage the audio data from WAV/WAVEX/AIFF files which are
494 greater than 4Gig in size.
495
496 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
497
498 * programs/sndfile-convert.c
499 Fix valgrind warning.
500
501 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
502
503 * programs/sndfile-cmp.c
504 When files differ in the PCM data, also print the difference offset.
505 Minor cleanup.
506
507 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
508
509 * src/aiff.c
510 Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
511 instead. Thanks to Paul Davis (Ardour) for this suggestion.
512
513 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
514
515 * configure.ac
516 Clean up configure report.
517
518 * tests/utils.tpl
519 Add functions test_read_raw_or_die and test_write_raw_or_die.
520
521 * tests/rdwr_test.(def|tpl) tests/Makefile.am
522 Add new test program and hook into build.
523
524 * src/sndfile.c
525 Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
526
527 * tests/test_wrapper.sh.in
528 Add rdwr_test to the test wrapper script.
529
530 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
531
532 * configure.ac
533 Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
534
535 * programs/common.[ch] programs/sndfile-metadata-set.c
536 Apply a patch from Robin Gareus allowing the setting of the time reference
537 field of the BEXT chunk.
538
539 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
540
541 * src/ima_adpcm.c
542 Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
543 IMA4.
544
545 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
546
547 * src/sndfile.hh
548 Add a constructor which takes an existing file descriptor and then calls
549 sf_open_fd(). Patch from Sakari Bergen.
550
551 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
552
553 * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
554 Improve usage messages.
555
556 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
557
558 * src/id3.c src/Makefile.am
559 Add new file src/id3.c and hook into build.
560
561 * src/sndfile.c src/common.h
562 Detect and skip and ID3 header at the start of the file.
563
564 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
565
566 * programs/common.c
567 Fix update_strings() copyright, comment, album and license are correctly
568 written. Thanks to Todd Allen for reporting this.
569
570 * man/Makefile.am
571 Change GNU makeism to something more widely supported. Thanks to Christian
572 Weisgerber for reporting this.
573
574 * configure.ac programs/Makefile.am programs/sndfile-play.c
575 Apply patch from Christian Weisgerber and Jacob Meuserto add support for
576 OpenBSD's sndio.
577
578 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
579
580 * doc/api.html
581 Discourage the use of sf_read/write_raw().
582
583 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
584
585 * configure.ac
586 Test for Unix pipe() and waitpid() functions.
587
588 * src/sfconfig.h tests/pipe_test.tpl
589 Disable pipe_test if pipe() and waitpid() aren't available.
590
591 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
592
593 * configure.ac src/Makefile.am src/create_symbols_file.py
594 src/make-static-lib-hidden-privates.sh
595 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
596 and use the same symbols file for other systems which use GNU binutils like
597 Debian's kfreebsd.
598
599 * M4/shave.m4 shave.in
600 Update shave files from upstream.
601
602 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
603
604 * man/sndfile-metadata-get.1
605 Fix typo.
606
607 * man/sndfile-interleave.1 man/Makefile.am
608 New man page.
609
610 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
611
612 * src/ogg.c
613 When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
614 its too hot. Thanks to Dmitry Baikov for suggesting this.
615
616 * NEWS README doc/*.html
617 Updates for 1.0.21.
618
619 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
620
621 * programs/sndfile-jackplay.c man/sndfile-jackplay.1
622 Remove these which will now be in found in the sndfile-tools package.
623
624 * programs/Makefile.am man/Makefile.am
625 Remove build rules for sndfile-jackplay.
626
627 * configure.ac
628 Remove detection of JACK Audio Connect Kit.
629
630 * programs/sndfile-concat.c man/sndfile-concat.1
631 Add new program with man page.
632
633 * man/Makefile.am programs/Makefile.am
634 Hook sndfile-concat into build system.
635
636 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
637
638 * tests/error_test.c
639 Don't terminate when sf_close() returns zero in error_close_test().
640 It seems that Windows 7 behaves differently from earlier versions of
641 Windows.
642
643 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
644
645 * configure.ac M4/*.m4
646 Rename all custom macros from AC_* to MN_*.
647
648 * programs/sndfile-interleave.c
649 Make it actually work.
650
651 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
652
653 * doc/*.html configure.ac
654 Corrections and clarifications courtesy of Robin Forder.
655
656 * programs/sndfile-convert.c programs/common.[ch]
657 Move some code from convert to common for reuse.
658
659 * programs/sndfile-interleave.c programs/sndfile-interleave.c
660 Add new programs sndfile-interleave and sndfile-deinterleave.
661
662 * programs/Makefile.am
663 Hook new programs into build.
664
665 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
666
667 * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
668 Minor OS/2 tweaks as suggested by David Yeo.
669
670 * tests/multi_file_test.c
671 Fix file creation flags on windows. Thanks to Bruce Sharpe.
672
673 * src/sf_unistd.h
674 Set all group and other file create permssions to zero.
675
676 * tests/win32_test.c
677 Add a new test.
678
679 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
680
681 * doc/print.css doc/*.html
682 Add a print stylesheet and update all HTML documents to reference it.
683 Thanks to Aditya Bhargava for suggesting this.
684
685 * doc/index.html
686 Minor corrections.
687
688 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
689
690 * sndfile.pc.in
691 Add a Libs.private entry to assist with static linking.
692
693 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
694
695 * src/make-static-lib-hidden-privates.sh src/Makefile.am
696 Add a script to hide all non-public symbols in the libsndfile.a static
697 library.
698
699 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
700
701 * tests/locale_test.c
702 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
703
704 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
705
706 * src/windows.c
707 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
708
709 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
710
711 * programs/sndfile-convert.c
712 Allow the program to read from stdin by specifying '-' on the command line
713 as the input file.
714
715 * src/sndfile.h.in
716 Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
717
718 * tests/virtual_io_test.c
719 Add a PAF/PCM_24 test and verify the file length is not negative
720 immediately after openning the file for write.
721
722 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
723
724 * src/wav.c
725 When writing loop lengths, adjust the end position by one to make up for
726 Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
727
728 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
729
730 * src/flac.c
731 Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
732 rate.
733
734 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
735
736 * src/nist.c
737 Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
738
739 * configure.ac
740 Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
741 libsndfile test suite to fail on MIPS, PowerPC and others.
742 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
743
744 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
745
746 * man/sndfile-convert.1
747 Fix warning from Debian's lintian checks.
748
749 * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
750 man/Makefile.am
751 Add three new minimal manpages and hook into build.
752
753 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
754
755 * tests/test_wrapper.sh.in
756 Don't run cpp_test on x86_64-w64-mingw32.
757
758 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
759
760 * tests/utils.tpl
761 On windows, make sure the open() function doesn't get called with a third
762 parameter of 0 which fails for no good reason. Also make sure this third
763 parameter doesn't get called with S_IRGRP when compiling for windows because
764 Wine complains.
765
766 * src/sndfile.hh
767 Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
768 string.
769
770 * doc/FAQ.html
771 Add Q/A : I'm cross compiling libsndfile for another platform. How can I
772 run the test suite?
773
774 * src/create_symbols_file.py src/Makefile.am
775 Add Symbols.static target, a list of symbols, one per line.
776
777 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
778
779 * tests/test_wrapper.sh.in
780 Update to allow all tests to be gathered up into a testsuite tarball and
781 then be run using this script.
782
783 * build-test-tarball.mk.in
784 Add a Make script to build a tarball of all the test binaries and the test
785 wrapper script. This is useful for cross compiling; you can build the
786 binaries, build test test tarball and transfer the test tarball to the
787 target machine for testing.
788
789 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
790
791 * src/common.h src/*.c
792 Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
793 for the file path, directory and name. Fixes for this change throughout.
794
795 * src/windows.c src/Makefile.am
796 New file defining new windows only public function sf_wchar_open() which
797 takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
798
799 * src/sndfile.h.in
800 Add SF_CHANNEL_MAP_ABISONIC_* entries.
801 Add windows only defintion for sf_wchar_open().
802
803 * src/create_symbols_file.py
804 Add sf_wchar_open() to the list of public symbols (windows only).
805
806 * tests/locale_test.c
807 Add a wchar_test() to test sf_wchar_open().
808
809 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
810
811 * src/common.h src/*.c
812 Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
813
814 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
815
816 * src/aiff.c src/voc.c
817 When a byte is needed, use unsigned char.
818
819 * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
820 Include sfconfig.h to prevent compile errors with MinGW compilers.
821
822 * configure.ac
823 Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
824
825 * tests/locale_test.c
826 Update to work with xx_XX.UTF-8 style locales. Refactoring.
827
828 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
829
830 * configure.ac
831 Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
832 Remove unneeded AC_SUBST.
833 Report Host CPU/OS/vendor.
834
835 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
836
837 * src/sndfile.c
838 Fix error message string.
839
840 * src/flac.c
841 Add 88200 to the list of supported sample rates.
842
843 * src/ogg.c
844 Fix compiler warning when using gcc-4.5.0.
845
846 * programs/sndfile-info.c tests/utils.tpl
847 Remove WIN32 snprintf #define.
848
849 * src/ima_adpcm.c
850 Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
851 this.
852
853 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
854
855 * src/caf.c
856 Use the correct C99 format specifier for int64_t.
857
858 * M4/endian.m4
859 Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
860 Ossman for the bug report.
861
862 * src/caf.c src/sndfile.c
863 Fix reading and writing of PEAK chunks in CAF files.
864
865 * tests/peak_chunk_test.c tests/test_wrapper.sh.in
866 Run peak_chunk_test on CAF files.
867
868 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
869
870 * src/aiff.c src/wav.c
871 Use the correct C99 format specifier for int64_t.
872
873 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
874
875 * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
876 Apply a patch (massaged slightly) from Uli Franke adding handling of the
877 BEXT chunk in RF64 files.
878
879 * tests/command_test.c
880 Update channel_map_test() function so WAV test passes.
881
882 * src/rf64.c
883 Add channel mapping and ambisonic support.
884
885 * src/sndfile.h
886 Add comments showing correspondance between libsndfile channel map
887 defintiions and those used by Apple and MS.
888
889 Add handling of reading/writing channel map info.
890
891 * tests/command_test.c tests/test_wrapper.sh.in
892 Update channel map tests.
893
894 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
895
896 * src/common.h
897 Add function psf_isprint() a replacement for the standard C isprint()
898 function which ignores any locale settings and treats all input as ASCII.
899
900 * src/(aiff|common|rf64|sd2|strings|svx|wav).c
901 Use psf_isprint() instead of isprint().
902
903 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
904
905 * src/command.c
906 Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
907
908 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
909
910 * programs/sndfile-play.c
911 Allow use of Open Sound System audio output under FreeBSD.
912
913 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
914
915 * configure.ac
916 Add patch from Conrad Parker to add --disable-jack.
917
918 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
919
920 * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
921 Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
922 Thanks to Sami Liedes for reporting this a Debian bug #530831.
923
924 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
925
926 * src/chanmap.[ch]
927 New files for channel map decoding/encoding.
928
929 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
930
931 * configure.ac src/sndfile.h.in
932 Fix MSVC definition of sf_count_t.
933
934 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
935
936 * src/wav_w64.[ch]
937 Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
938 an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
939
940 * src/wav.c
941 Add ability to write the channel mask.
942
943 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
944
945 * programs/sndfile-info.c
946 Add -c command line option to dump the channel map information.
947
948 * src/wav_w64.c
949 Don't bail from parser if channel map bitmask is faulty.
950
951 * src/common.h src/sndfile.c
952 Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
953
954 * src/sndfile.c
955 On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
956 command handler.
957
958 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
959
960 * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
961 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
962 channel data in WAV and W64 files.
963 Add a test for the above.
964
965 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
966
967 * src/FAQ.html
968 Update the section about pre-compiled binaries for Win64.
969
970 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
971
972 * src/common.h src/test_conversions.c
973 Be more careful when including <stdint.h> so compiling on pre-C99 platforms
974 (hello Slowlaris) might actually work.
975
976 * NEWS README doc/*.html
977 Updates for 1.0.20.
978
979 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
980
981 * src/voc.c
982 Fix a bug whereby opening a specially crafted VOC file could result in a
983 heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
984 this issue.
985
986 * src/aiff.c
987 Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
988
989 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
990
991 * tests/stdin_test.c
992 Check psf->error after opening file.
993
994 * src/file_io.c
995 Fix obscure seeking bug reported by Hugh Secker-Walker.
996
997 * tests/utils.tpl
998 Add check of sf_error to test_open_file_or_die().
999
1000 * src/sndfile.c
1001 Clear error if opening resource fork fails.
1002
1003 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1004
1005 * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
1006 Cleanup output.
1007
1008 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1009
1010 * src/float32.c
1011 Fix f2s_clip_array.
1012
1013 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1014
1015 * src/float32.c
1016 In host_read_f2s call convert instead of f2s_array.
1017
1018 * src/ima_adpcm.c
1019 Remove dead code.
1020
1021 * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
1022 tests/dwvw_test.c tests/fix_this.c tests/generate.c
1023 tests/multi_file_test.c
1024 Minor fixes.
1025
1026 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1027
1028 * M4/shave.m4 shave.in
1029 Pulled update from upstream.
1030
1031 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1032
1033 * doc/api.html
1034 Add pointers to example programs in source code tarball.
1035
1036 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1037
1038 * src/common.h
1039 Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
1040
1041 * configure.ac
1042 Add documentation for --disable-external-libs and improve error handling
1043 for that option.
1044
1045 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
1046 Add public function sf_version_string.
1047
1048 * tests/sfversion.c
1049 Test function sf_version_string.
1050
1051 * M4/shave.m4 shave-libtool.in shave.in
1052 Add new files from 'git clone git://git.lespiau.name/shave'.
1053
1054 * configure.ac
1055 Enable shave.
1056
1057 * src/Makefile.am src/binheader_writef_check.py Octave/*
1058 Shave related tweaks.
1059
1060 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1061
1062 * src/common.h src/caf.c src/sndfile.c
1063 Add SF_MAX_CHANNELS (set to 256) and use it.
1064
1065 * src/sndfile.h.in
1066 Check for either _MSCVER or _MSC_VER being defined.
1067
1068 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1069
1070 * tests/vorbis_test.c
1071 Relax test slighly to allow test to pass on more CPUs etc.
1072
1073 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1074
1075 * configure.ac
1076 Detect vorbis_version_string() correctly.
1077
1078 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1079
1080 * doc/index.html
1081 Add a 'See Also' section with a link to sndfile-tools.
1082
1083 * NEWS README doc/*.html
1084 Updates for 1.0.19 release.
1085
1086 * configure.ac
1087 Fix --enable-external-libs logic.
1088
1089 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1090
1091 * src/aiff.c
1092 Fix resource leak and potential read beyond end of buffer.
1093
1094 * src/nist.c
1095 Fix reading of header value sample_n_bytes.
1096
1097 * src/sd2.c src/wav.c
1098 Fix potential read beyond end of buffer.
1099
1100 * src/sndfile.c src/svx.c
1101 Check return values of file_io functions.
1102
1103 * tests/win32_test.c
1104 Fix resource leak.
1105
1106 * configure.ac
1107 Detect the presence/absence of vorbis_version_string() in libvorbis.
1108
1109 * src/ogg.c
1110 Only call vorbis_version_string() from libvorbis if present.
1111
1112 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1113
1114 * tests/win32_test.c
1115 Don't use sprintf, even on windows.
1116
1117 * src/aiff.c src/rf64.c src/wav.c
1118 Eliminate dead code, more validation of data read from file.
1119
1120 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1121
1122 * src/ima_adpcm.c
1123 Clamp values to a valid range before indexing ima_step_size array.
1124
1125 * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
1126 Don't include un-needed headers.
1127
1128 * programs/sndfile-info.c
1129 Remove dead code.
1130
1131 * tests/test_wrapper.sh.in
1132 Add 'set -e' so the script exits on error.
1133
1134 * src/test_ima_oki_adpcm.c
1135 Fix read beyond end of array.
1136
1137 * tests/win32_test.c
1138 Add missing close on file descriptor.
1139
1140 * src/nist.c programs/sndfile-metadata-set.c
1141 Fix 'unused variable' warnings.
1142
1143 * src/aiff.c
1144 Fix potential memory leak in handling of 'MARK' chunk.
1145 Remove un-needed test (unsigned > 0).
1146
1147 * src/sd2.c
1148 Improve handling of heap allocated buffer.
1149
1150 * src/sndfile.c
1151 Remove un-needed test (always true).
1152
1153 * src/wav.c src/rf64.c
1154 Ifdef out dead code that will be resurected some time in the future.
1155
1156 * src/wav.c src/w64.c src/xi.c
1157 Handle error return values from psf_ftell.
1158
1159 * src/wav_w64.c
1160 Fix handling and error checking of MSADPCM coefficient arrays.
1161
1162 * regtest/*.c
1163 Bunch of fixes.
1164
1165 * src/test_file_io.c
1166 Use snprintf instead of strncpy in test program.
1167
1168 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1169
1170 * src/sd2.c
1171 Validate data before using.
1172
1173 * src/caf.c
1174 Validate channels per frame value before using, fixing a possible integer
1175 overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
1176 Secunia Research (CVE-2009-0186).
1177
1178 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1179
1180 * Octave/octave_test.sh
1181 Unset TERM environment variable and export LD_LIBRARY_PATH.
1182
1183 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1184
1185 * src/file_io.c
1186 In windows code, cast LPVOID to 'char*' in printf.
1187
1188 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1189
1190 * M4/octave.m4
1191 Clear the TERM environment before evaluating anything in Octave. This works
1192 around problems that might occur if a users TERM settings are incorrect.
1193 Thanks to Rob Til Freedmen for helping to debug this.
1194
1195 * src/wav.c
1196 Handle four zero bytes as a marker within a LIST or INFO chunk.
1197 Thanks to Rogério Brito for supplying an example file.
1198
1199 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1200
1201 * src/common.h src/*.c
1202 Use C99 snprintf everywhere.
1203
1204 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1205
1206 * tests/test_wrapper.sh.in
1207 New file to act as the template for the test wrapper script.
1208
1209 * configure.ac
1210 Generate tests/test_wrapper.sh from the template.
1211
1212 * tests/Makefile.am
1213 Replace all tests with a single invocation of the test wrapper script.
1214
1215 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1216
1217 * src/ogg.c
1218 Record vorbis library version string.
1219
1220 * configure.ac
1221 Require libvorbis >= 1.2.2.
1222
1223 * M4/endian.m4
1224 Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
1225
1226 * M4/octave.m4 M4/mkoctfile_version.m4
1227 Clean up AC_WITH_ARG usage using AC_HELP_STRING.
1228
1229 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1230
1231 * Octave/Makefile.am
1232 Use $(top_buildir) instead of $(builddir) which may not be defined.
1233
1234 * M4/octave.m4
1235 Improve logic and status reporting.
1236
1237 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1238
1239 * configure.ac AUTHORS NEWS README doc/*.html
1240 Final tweaks for 1.0.18 release.
1241
1242 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1243
1244 * programs/sndfile-convert.c
1245 Add 'htk' to the list of convert formats.
1246
1247 * programs/sndfile-info.c
1248 Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
1249 Increase size of files for which signal max will be calculated.
1250
1251 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1252
1253 * doc/index.html
1254 Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
1255
1256 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1257
1258 * programs/sndfile-metadata-get.c
1259 Make valgrind clean.
1260 Clean up temp string array usage.
1261 Error out if trying to update coding history in RDWR mode.
1262
1263 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1264
1265 * doc/index.html
1266 Fix links to versions of the LGPL.
1267
1268 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1269
1270 * tests/string_test.c
1271 Add test for RDWR mode where the file ends up shorter than when it was
1272 opened.
1273
1274 * src/wav.c
1275 Truncate the file on close for RDWR mode where the file ends up shorter
1276 than when it was opened.
1277
1278 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1279
1280 * M4/add_cflags.m4
1281 Fix problem with quoting of '#include'.
1282
1283 * M4/add_cxxflags.m4 configure.ac
1284 Add new file M4/add_cxxflags.m4 and use it in configure.ac.
1285
1286 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1287
1288 * programs/sndfile-info.c
1289 Apply patch from Conrad Parker to calculate and display total duration when
1290 more than one file is dumped.
1291
1292 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1293
1294 * configure.ac src/Makefile.am
1295 Tweaks to generation of Symbols files.
1296
1297 * tests/win32_ordinal_test.c
1298 Update tests for above changes.
1299
1300 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1301
1302 * programs/common.c
1303 When merging broadcast info, make sure to clear the destination field
1304 before copying in the new data.
1305
1306 * programs/test-sndfile-metadata-set.py
1307 Add test for the above.
1308
1309 * src/broadcast.c
1310 Fix checking of required coding_history_size.
1311
1312 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1313
1314 * tests/command_test.c
1315 Add test to detect if coding history is truncated.
1316
1317 * src/broadcast.c
1318 Fix truncation of coding history.
1319
1320 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1321
1322 * tests/command_test.c
1323 Add broadcast_coding_history_size test.
1324
1325 * programs/*.[ch]
1326 Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
1327
1328 * src/rf64.c
1329 Add code to prevent infinite loop on malformed file.
1330
1331 * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
1332 Rationalize and improve error handling when parsing 'fmt ' chunk.
1333
1334 * M4/octave.m4
1335 Simplify and remove cruft.
1336 Check for correct Octave version.
1337
1338 * Octave/*
1339 Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
1340
1341 * Octave/sndfile.cc Octave/PKG_ADD
1342 Add Octave function sfversion which returns the libsndfile version that the
1343 module is linked against.
1344
1345 * Octave/Makefile.am
1346 Bunch of build and 'make distcheck' fixes.
1347
1348 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1349
1350 * programs/common.c
1351 Return 1 if SFC_SET_BROADCAST_INFO fails.
1352
1353 * programs/test-sndfile-metadata-set.py
1354 Update for new programs directory, exit on any error.
1355
1356 * tests/error_test.c
1357 Fix failure behaviour in error_number_test.
1358
1359 * src/common.h src/sndfile.c
1360 Add error number SFE_BAD_BROADCAST_INFO_SIZE.
1361
1362 * src/*
1363 Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
1364
1365 * src/broadcast.c
1366 Fix generation of added coding history.
1367
1368 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1369
1370 * programs/sndfile-metadata-get.c programs/sndfile-info.c
1371 Exit with non-zero on errors.
1372
1373 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1374
1375 * examples/sndfile-to-text.c examples/Makefile.am
1376 Add a new example program and hook it into the build.
1377
1378 * examples/ programs/
1379 Add a new directory programs and move sndfile-info, sndfile-play and other
1380 real programs to the new directory, leaving example programs where they
1381 were.
1382
1383 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1384
1385 * tests/Makefile.am
1386 Automake 1.10 MinGW cross compiling fixes.
1387
1388 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1389
1390 * examples/sndfile-play.c
1391 Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
1392 Fix gcc-4.3 compiler warnings.
1393
1394 * tests/command_test.c
1395 Fix a valgrind warning.
1396
1397 * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
1398 tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
1399 Fix gcc-4.3 compiler warnings.
1400
1401 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1402
1403 * src/broadcast.c
1404 Fix termination of desitination string in strncpy_crlf.
1405 When copying BROADCAST_INFO chunk, make sure destination gets correct line
1406 endings.
1407
1408 * examples/common.c
1409 Fix copying of BROADCAST_INFO coding_history field.
1410
1411 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1412
1413 * tests/command_test.c
1414 Add test function instrument_rw_test, but don't hook it into the testing
1415 yet.
1416
1417 * src/common.h src/command.c src/sndfile.c src/flac.c
1418 Error code rationalization.
1419
1420 * src/common.h src/sndfile.c
1421 Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
1422 fails due to psf->have_written being true.
1423
1424 * doc/command.html
1425 Document the SFC_GET/SET_BROADCAST_INFO comamnds.
1426
1427 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1428
1429 * tests/command_test.c
1430 Improve error reporting when '\0' is found in coding history.
1431 Fix false failure.
1432
1433 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1434
1435 * src/broadcast.c
1436 Convert all coding history line endings to \r\n.
1437
1438 * tests/command_test.c
1439 Add test to make sure all line endings are converted to \r\n.
1440
1441 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1442
1443 * src/broadcast.c
1444 Changed the order of coding history fields.
1445
1446 * tests/command_test.c
1447 Update bextch test to cope with previous change.
1448
1449 * examples/common.c
1450 Add extra length check when copying broadcast info data.
1451
1452 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1453
1454 * tests/utils.tpl tests/pcm_test.tpl
1455 Update check_file_hash_or_die to use 64 bit hash.
1456
1457 * tests/checksum_test.c tests/Makefile.am
1458 Add new checksum_test specifically for lossy compression of headerless
1459 files.
1460
1461 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1462
1463 * src/gsm610.c
1464 Seek to psf->dataoffset before decoding first block.
1465
1466 * src/sndfile.c
1467 Fix detection of mpc2k files on big endian systems.
1468
1469 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1470
1471 * src/broadcast.c
1472 Use '\r\n' newlines in Coding History as required by spec.
1473
1474 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1475
1476 * src/test_conversions.c
1477 Use int64_t instead of 'long long'.
1478
1479 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1480
1481 * examples/sndfile-metadata-set.c
1482 Remove --bext-coding-history-append command line option because it didn't
1483 really make sense.
1484
1485 * examples/sndfile-metadata-(get|set).c
1486 Add usage messages.
1487
1488 * examples/test-sndfile-metadata-set.py
1489 Start work on test coding history.
1490
1491 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1492
1493 * README doc/win32.html
1494 Bring these up to date.
1495
1496 * src/aiff.c
1497 Fix parsing of REX files.
1498
1499 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1500
1501 * src/file_io.c
1502 Use intptr_t instead of long for return value of _get_osfhandle.
1503
1504 * src/test_conversions.c src/test_endswap.tpl
1505 Fix printing of int64_t values.
1506
1507 * examples/sndfile-play.c
1508 Fix win64 issues.
1509
1510 * tests/win32_ordinal_test.c
1511 Fix calling of GetProcAddress with ordinal under win64.
1512
1513 * tests/utils.tpl
1514 Fix win64 issues.
1515
1516 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1517
1518 * examples/*
1519 Rename copy_data.[ch] to common.[ch]. Fix build.
1520 Move code from sndfile-metadata-set.c to common.c.
1521
1522 * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
1523 Clean paths.
1524
1525 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1526
1527 * doc/tutorial.html doc/Makefile.am
1528 Add file doc/tutorial.html and hook into build/dist system.
1529
1530 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1531
1532 * examples/sndfile-metadata-set.c
1533 Clean up handling of bext command line params.
1534
1535 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1536
1537 * src/w64.c
1538 Add handling/skipping of a couple of new chunk types.
1539
1540 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1541
1542 * configure.ac
1543 Add -funsigned-char to CFLAGS if the compiler supports it.
1544
1545 * examples/sndfile-metadata-(get|set).c
1546 Add handling for more metadata types.
1547
1548 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1549
1550 * src/common.h
1551 Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
1552 field of SF_INFO into component parts.
1553
1554 * src/*.c
1555 Use new macros everywhere it is appropriate.
1556
1557 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1558
1559 * examples/sndfile-bwf-set.c
1560 Massive reworking.
1561
1562 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1563
1564 * examples/sndfile-bwf-set.c
1565 Add --info-auto-create-date command line option.
1566
1567 * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
1568 examples/Makefile.am examples/test-sndfile-bwf-set.py
1569 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
1570 Change command line args.
1571
1572 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1573
1574 * src/wav.c
1575 Allow 'PAD ' chunk to be modified in RDWR mode.
1576
1577 * src/sndfile.h.in src/sndfile.c
1578 Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
1579
1580 * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
1581 tests/misc_test.c
1582 Add tests for RF64.
1583
1584 * src/rf64.c
1585 Fixes to make sure all tests pass.
1586
1587 * tests/Makefile.am tests/string_test.c
1588 Add string tests (not yet passing).
1589
1590 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1591
1592 * src/rf64.c
1593 First pass at writing RF64 now working.
1594
1595 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1596
1597 * examples/sndfile-convert.c
1598 Add SF_FORMAT_RF64 to format_map.
1599
1600 * src/common.h src/sndfile.c
1601 More RF64 support code.
1602
1603 * examples/sndfile-bwf-set.c
1604 Fix the month number in autogenerated date string and use hypen in date
1605 instead of slash.
1606
1607 * examples/test-sndfile-bwf-set.py
1608 Update tests.
1609
1610 * examples/sndfile-info.c
1611 When called with -i or -b option, operate on all files on command line, not
1612 just the first.
1613
1614 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1615
1616 * src/rf64.c
1617 New file to handle RF64 (WAV like format supportting > 4Gig files).
1618
1619 * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
1620 Hook the above into build so hacking can begin.
1621
1622 * src/pcm.c
1623 Improve log message when pcm_init fails.
1624
1625 * src/sndfile-info.c
1626 Only calculate and print 'Signal Max' if file is less than 10 megabytes in
1627 length.
1628
1629 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1630
1631 * tests/string_test.c
1632 Polish string_multi_set_test.
1633
1634 * src/wav.c
1635 In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
1636 length has changed).
1637 Minor fixes in wav_write_strings.
1638 Write PAD chunk with default endian-ness, not a specific endian-ness.
1639
1640 * examples/test-sndfile-bwf-set.py
1641 Add Python script to test sndfile-bwf-set/get.
1642
1643 * examples/sndfile-bwf-set.c
1644 Clean up and fixes.
1645
1646 * src/wav.c
1647 Merge function wavex_write_header into wav_write_header, deleting about 70
1648 lines of code.
1649
1650 * src/common.h
1651 Double value of SF_MAX_STRINGS.
1652
1653 * tests/string_test.c
1654 Add string tests for WAVEX and RIFX files.
1655
1656 * tests/command_test.c
1657 Add broadcast test for WAVEX files.
1658
1659 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1660
1661 * tests/string_test.c
1662 Add a new string_rdwr_test (currently failing for WAV).
1663 Add a new string_multi_set_test (currently failing).
1664
1665 * tests/command_test.c
1666 Add new broadcast_rdwr_test (currently failing).
1667
1668 * src/wav.c
1669 Fix to WAV parser to allow 'bext' chunk to be updated in place.
1670 In wav_write_tailer, seek to psf->dataend if its greater than zero.
1671
1672 * src/sndfile.c
1673 Make sure psf->have_written gets set correctly in mode SFM_RDWR.
1674
1675 * configure.ac
1676 Test for <sys/time.h> and gettimeofday.
1677
1678 * src/common.c
1679 Use gettimeofday() to initialize psf_rand_int32.
1680
1681 * src/common.h src/sndfile.c
1682 Add unique_id field to SF_PRIVATE struct.
1683
1684 * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
1685 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
1686
1687 * src/common.h src/strings.c
1688 Add function psf_location_string_count.
1689
1690 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1691
1692 * configure.ac
1693 Test for localtime and localtime_r.
1694
1695 * examples/sndfile-convert.c
1696 In function copy_metadata(), copy broadcast info if present.
1697
1698 * examples/copy_data.[ch] examples/Makefile.am
1699 Break some functionality out of sndfile-convert.c so it can be used in
1700 examples/sndfile-bwf-set.c.
1701
1702 * tests/utils.tpl
1703 Add new function create_short_sndfile().
1704
1705 * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
1706 examples/Makefile.am
1707 Add new files and hook into build.
1708
1709 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1710
1711 * src/sndfile.h.in
1712 Fix comments. Patch from Mark Glines.
1713
1714 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1715
1716 * tests/misc_test.c
1717 Use zero_data_test on Ogg/Vorbis files.
1718
1719 * src/ogg.c
1720 Fix segfault when closing an Ogg/Vorbis file that has been opened for write
1721 but had no actual data written to it. Bug reported by Chinoy Gupta.
1722
1723 * tests/Makefile.am
1724 Make sure to run mist_test on Ogg/Vorbis files.
1725
1726 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1727
1728 * regtest/Makefile.am
1729 Use SQLITE3_CFLAGS to locate sqlite headers.
1730
1731 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1732
1733 * doc/index.html doc/FAQ.html
1734 Add notes about which versions of windows libsndfile works on.
1735
1736 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1737
1738 * tests/misc_test.c
1739 Add a test for correct handling of Ambisonic files. Thanks to Fons
1740 Adriaensen for the test.
1741
1742 * src/wav.c src/wav_w64.c
1743 Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
1744
1745 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1746
1747 * configure.ac
1748 Fix detection/enabling of external libs.
1749
1750 * M4/extra_pkg.m4 M4/Makefile.am
1751 Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
1752 PKG_CHECK_MODULES. The new macro prints the version number of the package
1753 it is searching for.
1754
1755 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1756
1757 * src/aiff.c
1758 Apply a fix from Axel Röbel where if the second loop in the instrument
1759 chunk is none, the loop mode is written into the first loop.
1760
1761 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1762
1763 * src/test_float.c src/test_main.(c|h) src/Makefile.am
1764 Add new file to test functions float32_(le|be)_(read|write) and
1765 double64_(le|be)_(read|write). Hook into build and testsuite.
1766
1767 * src/double64.c src/float32.c
1768 Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
1769 for reporting this bug.
1770
1771 * src/sndfile.h.in
1772 Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
1773 unsigned.
1774
1775 * examples/sndfile-info.c
1776 Print out the BEXT time reference in a sensible format.
1777
1778 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1779
1780 * src/*.c
1781 Fuzz fixes.
1782
1783 * src/ogg.c
1784 Add call to ogg_stream_clear to fix valgrind warning.
1785
1786 * src/aiff.c
1787 Fix x86_64 compile issue.
1788
1789 * configure.ac src/Makefile.am src/flac.c src/ogg.c
1790 Link to external versions of FLAC, Ogg and Vorbis.
1791
1792 * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
1793 tests/vorbis_test.c tests/write_read_test.tpl
1794 Fix tests when configured with --disable-external-libs.
1795
1796 * tests/external_libs_test.c tests/Makefile.am
1797 Add new test and hook into build and test suite.
1798
1799 * src/command.c
1800 Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
1801 the right data when external libs are disabled.
1802
1803 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1804
1805 * tests/write_read_test.tpl
1806 Add a test for extending a file during write by seeking past the current
1807 end of file.
1808
1809 * src/sndfile.c
1810 Allow seeking past end of file during write.
1811
1812 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1813
1814 * doc/api.html doc/command.html
1815 Move all information about the sf_command function to command.html and add
1816 a link from documentation of the sf_read/write_raw function to the
1817 SFC_RAW_NEEDS_ENDSWAP command.
1818
1819 * doc/index.html doc/FAQ.html doc/libsndfile.css
1820 Minor documentation tweaks.
1821
1822 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1823
1824 * configure.ac
1825 Add AM_PROG_CC_C_O.
1826
1827 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1828
1829 * tests/error_test.c
1830 Add a test to make sure if file opened with sf_open_fd, and then the file
1831 descriptor is closed, then sf_close will return an error code. Thanks to
1832 Dave Flogeras for the bug report.
1833
1834 * src/sndfile.c
1835 Make sf_close return an error is the file descriptor is already closed.
1836
1837 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1838
1839 * configure.ac
1840 Set object format to aout for OS/2. Thanks to David Yeo.
1841
1842 * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
1843 Add ability to read MPC 2000 file.
1844
1845 * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
1846 tests/Makefile.am
1847 Add tests for MPC 2000 file format.
1848
1849 * examples/sndfile-convert.c
1850 Allow conversion to MPC 2000 file format.
1851
1852 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1853
1854 * src/VORBIS/lib/codebook.c
1855 Sync from upstream SVN.
1856
1857 * autogen.sh configure.ac
1858 Minor tweaks.
1859
1860 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1861
1862 * src/ogg.c
1863 Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
1864 The patch as supplied segfaulted and required many hours of debugging.
1865
1866 * src/OGG/bitwise.c
1867 Sync from upstream SVN.
1868
1869 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1870
1871 * src/aiff.c
1872 Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
1873 this issue.
1874
1875 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1876
1877 * tests/*.c
1878 Add calls to sf_close() where needed.
1879
1880 * tests/utils.tpl tests/multi_file_test.c
1881 Always pass 0 as the third argument to open when OS_IS_WIN32.
1882
1883 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1884
1885 * src/test_*
1886 Add files test_main.[ch].
1887 Collapse all tests into a single executable.
1888
1889 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1890
1891 * src/FLAC
1892 Sync to upstream CVS.
1893
1894 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1895
1896 * src/common.h
1897 Make SF_MIN and SF_MAX macros MinGW friendly.
1898
1899 * examples/sndfile-(info|play).c
1900 Use Sleep function from <windows.h> instead of _sleep.
1901
1902 * tests/locale_test.c
1903 Disable some tests when OS_IS_WIN32.
1904
1905 * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
1906 src/FLAC/src/share/utf8/utf8.c
1907 MinGW fixes.
1908
1909 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1910
1911 * doc/FAQ.html
1912 Tweaks to pcm16 <-> float conversion answer.
1913
1914 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1915
1916 * src/OGG
1917 Sync to SVN upstream.
1918
1919 * Makefile.am
1920 Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
1921
1922 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1923
1924 * examples/sndfile-jackplay.c
1925 Minor tweaks to warning message printed when compiled without libjack.
1926
1927 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1928
1929 * tests/peak_chunk_test.c
1930 Improve read_write_peak_test to find more errors. Inspired by example
1931 provided by Nicolas Castagne.
1932
1933 * src/aiff.c
1934 Another SFM_RDWR fix shown up by above test.
1935
1936 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1937
1938 * src/aiff.c
1939 Fix reading of COMM encoding string.
1940
1941 * src/chunk.c src/common.h src/Makefile.am
1942 New file for storing and retrieving info about header chunks. Hook into
1943 build.
1944
1945 * src/aiff.c
1946 Use new chunk logging to fix problem with AIFF in RDWR mode.
1947
1948 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1949
1950 * src/command.c
1951 Add WVE to the list of major formats.
1952
1953 * tests/aiff_rw_test.c
1954 Fix error reporting.
1955
1956 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1957
1958 * src/common.[ch]
1959 Add internal functions str_of_major_format, str_of_minor_format,
1960 str_of_open_mode and str_of_endianness.
1961
1962 * tests/write_read_test.tpl
1963 Fix reporting of errors in new_rdwr_XXXX_test.
1964
1965 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1966
1967 * examples/sndfile-play.c
1968 Apply patch from Yair K. to fix compiles with OSS v4.
1969
1970 * src/common.h src/float32.c src/double64.c
1971 Rename psf->float_enswap to psf->data_endswap.
1972
1973 * src/sndfile.h.in src/sndfile.c src/pcm.c
1974 Add command SFC_RAW_NEEDS_ENDSWAP.
1975
1976 * tests/command.c
1977 Add test for SFC_RAW_NEEDS_ENDSWAP.
1978
1979 * doc/command.html
1980 Document SFC_RAW_NEEDS_ENDSWAP.
1981
1982 * tests/peak_chunk_test.c
1983 Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
1984 bug report.
1985
1986 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1987
1988 * examples/sndfile-cmp.c
1989 Add new example program contributed by Conrad Parker.
1990
1991 * examples/Makefile.am
1992 Hook into build.
1993
1994 * doc/development.html
1995 Change use or reconfigure.mk to autogen.sh.
1996
1997 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1998
1999 * tests/win32_test.c
2000 Add another win32 test.
2001
2002 * tests/util.tpl
2003 Add function file_length_fd which wraps fstat.
2004
2005 * tests/Makefile.am
2006 Run the multi_file_test on AU files.
2007
2008 * tests/multi_file_test.c
2009 Use function file_length_fd() instead of file_length() to overcome stupid
2010 win32 bug. Fscking hell Microsoft sucks so much.
2011
2012 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2013
2014 * src/sd2.c
2015 Fix a rsrc parsing bug. Example file supplied by Uli Franke.
2016
2017 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2018
2019 * doc/index.html
2020 Allow use of either LGPL v2.1 or LGPL v3.
2021
2022 * tests/header_test.tpl
2023 Add header_shrink_test from Axel Röbel.
2024
2025 * src/wav.c
2026 Add fix from Axel Röbel for writing files with float data but no peak
2027 chunk (ie peak chunk gets removed after the file is opened).
2028
2029 * src/aiff.c tests/header_test.tpl
2030 Apply similar fix to above for AIFF files.
2031
2032 * src/wav.c tests/header_test.tpl
2033 Apply similar fix to above for WAVEX files.
2034
2035 * src/command.c
2036 Add Ogg/Vorbis to 'get format' commands.
2037
2038 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2039
2040 * src/ogg.c
2041 Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
2042 Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
2043
2044 * tests/ogg_test.c
2045 Add stereo seek tests.
2046
2047 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2048
2049 * tests/ogg_test.c
2050 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
2051 case supplied by Bodo.
2052
2053 * tests/utils.(def|tpl)
2054 Add compare_XXX_or_die functions.
2055
2056 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2057
2058 * src/aiff.c
2059 Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
2060 misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
2061
2062 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2063
2064 * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
2065 Merge in code from the vox-patch branch. Thanks to Robs for the patch
2066 which fixes a long standing bug in the VOX codec.
2067
2068 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2069
2070 * examples/sndfile-convert.c
2071 Fix handling of -override-sample-rate=X option.
2072
2073 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2074
2075 * src/ogg.c src/VORBIS
2076 Merge in Ogg Vorbis support from John ffitch of the Csound project.
2077
2078 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2079
2080 * src/sndfile.c
2081 Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
2082 recognise 'vox8' as and 'vox' as 8kHz files.
2083
2084 * configure.ac
2085 Detect libjack (JACK Audio Connect Kit).
2086
2087 * examples/sndfile-jackplay.c examples/Makefile.am
2088 Add new example program to play sound files using the JACK audio server.
2089 Thanks to Jonatan Liljedahl for allowing this to be included.
2090
2091 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2092
2093 * doc/index.html
2094 Update support table with SD2 and FLAC.
2095
2096 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2097
2098 * src/sndfile.c
2099 Fix calculation of internal value psf->read_current when attempting to read
2100 past end of audio data.
2101 Remove redundant code.
2102
2103 * tests/lossy_comp_test.c
2104 Add read_raw_test to check that raw reads do not go past the end of the
2105 audio data section.
2106 Clean up error output messages.
2107
2108 * src/sndfile.c
2109 Add code to prevent sf_read_raw from reading past the end of the audio data.
2110
2111 * tests/Makefile.am
2112 Add the wav_pcm lossy_comp_test.
2113
2114 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2115
2116 * configure.ac src/Makefile.am src/create_symbols_file.py
2117 More OS/2 fixes from David Yeo.
2118
2119 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2120
2121 * src/file_io.c tests/utils.tpl tests/benchmark.tpl
2122 Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
2123
2124 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2125
2126 * src/common.h
2127 Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
2128
2129 * src/create_symbols_file.py
2130 Add support for OS/2 contributed by David Yeo.
2131
2132 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2133
2134 * M4/gcc_version.m4
2135 Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
2136
2137 * configure.ac
2138 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
2139 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
2140 Use -fgnu-inline to prevent stupid warnings.
2141
2142 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2143
2144 * tests/util.tpl
2145 Increase the printing width for print_test_name().
2146
2147 * tests/command_test.c tests/Makefile.am
2148 Add tests for correct updating of broadcast WAV coding history.
2149
2150 * examples/sndfilehandle.cc examples/Makefile.am
2151 Add example program using the C++ SndfileHandle class.
2152
2153 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2154
2155 * src/common.h src/sndfile.c
2156 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
2157
2158 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2159
2160 * src/sd2.c
2161 Identify sample-rate/sample-size/channels by resource id.
2162
2163 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2164
2165 * src/broadcast.c src/common.h src/sndfile.c
2166 Improvements to handling of broadcast info in WAV files. Thanks to Frederic
2167 Cornu and other for their input.
2168
2169 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2170
2171 * src/FLAC/include/share/alloc.h
2172 Mingw fix for SIZE_T_MAX from Uli Franke.
2173
2174 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2175
2176 * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
2177 Move tests from open_fail_test.c to error_test.c and remove the former.
2178
2179 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2180
2181 * tests/scale_clip_test.(def|tpl)
2182 Add tests for SFC_SET_INT_FLOAT_WRITE command.
2183
2184 * doc/command.html
2185 Add docs for SFC_SET_INT_FLOAT_WRITE command.
2186
2187 * examples/sndfile-play.c tests/dft_cmp.c
2188 Fix gcc-4.2 warning messages.
2189
2190 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2191
2192 * src/sndfile.h.in src/sndfile.c
2193 Add command SFC_GET_CURRENT_SF_INFO.
2194
2195 * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
2196 Remove function sf_get_info (only ever in pre-release code).
2197
2198 * tests/command_test.c
2199 Add test for SFC_GET_CURRENT_SF_INFO.
2200
2201 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2202
2203 * src/wav.c
2204 Add parsing of 'exif' chunks. Originally coded by Trent Apted.
2205
2206 * configure.ac
2207 Put config stuff in Cfg directory.
2208 Remove check for inttypes.h.
2209
2210 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2211
2212 * src/w64.c
2213 Fix writing of 'riff' chunk length and check for correct value in parser.
2214
2215 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2216
2217 * doc/index.html
2218 Link to MP3 FAQ entry.
2219
2220 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2221
2222 * src/flac.c
2223 Move the blocksize check to an earlier stage of flac_buffer_copy.
2224
2225 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2226
2227 * src/FLAC
2228 Huge merge from FLAC upstream.
2229
2230 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2231
2232 * examples/*.c
2233 Change license to all example programs to BSD.
2234
2235 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2236
2237 * src/FLAC/include/FLAC/metadata.h
2238 Include <sys/types.h> to prevent compile error on OSX.
2239
2240 * Octave/octave_test.sh
2241 Disable test on OSX. Can't get it to work.
2242
2243 * src/flac.c
2244 Check the blocksize returned from the FLAC decoder to prevent buffer
2245 overruns. Reported by Jeremy Friesner. Thanks.
2246
2247 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2248
2249 * Makefile.am M4/octave.m4
2250 Fix build when Octave headers are not present.
2251
2252 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2253
2254 * doc/development.html
2255 Add note about bzr repository directory looking empty.
2256
2257 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2258
2259 * configure.ac Octave/* M4/octave_*
2260 Bunch of changes to add ability to build GNU Octave modules to read/write
2261 sound files using libsndfile from Octave.
2262
2263 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2264
2265 * acinclude.m4 configure.ac ...
2266 Get rid of acinclude.m4 and replace it with an M4 directory.
2267
2268 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2269
2270 * src/sndfile.h.in
2271 Remove crufty Metrowerks compiler support. Allow header file to be compiled
2272 on windows with both GCC and microsoft compiler.
2273
2274 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2275
2276 * tests/dft_cmp.[ch] tests/floating_point_test.tpl
2277 Clean up floating point tests.
2278
2279 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2280
2281 * src/aiff.c
2282 Fix segfault when COMM chunk length is byte swapped.
2283
2284 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2285
2286 * src/common.h src/mat4.c src/mat5.c src/sndfile.c
2287 Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
2288
2289 * src/au.c
2290 Fix crash on AU files with zero channel count. Reported by Ben Alison.
2291
2292 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2293
2294 * src/voc.c
2295 Fix bug in handling file supplied by Matt Olenik.
2296
2297 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2298
2299 * src/OGG
2300 Merge from OGG upstream sources.
2301
2302 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2303
2304 * src/FLAC
2305 Merge from FLAC upstream sources.
2306
2307 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2308
2309 * src/flac.c
2310 Fix memory leak; set copy parameter to FALSE in call to
2311 FLAC__metadata_object_vorbiscomment_append_comment.
2312
2313 * src/common.[ch]
2314 Add function psf_rand_int32().
2315
2316 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2317
2318 * src/FLAC
2319 Merge from FLAC upstream sources.
2320
2321 * src/strings.c tests/string_test.c tests/Makefile.am
2322 Make sure string tests for SF_STR_LICENSE actually works.
2323
2324 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2325
2326 * tests/string_test.c
2327 Add ability to test strings stored in metadata secion of FLAC files.
2328
2329 * src/string.c
2330 Fix logic for testing if audio data has been written and string is added.
2331 Make sure SF_STR_ALBUM actually works.
2332
2333 * src/flac.c
2334 Finalize reading/writing string metadata. Tests pass.
2335
2336 * src/sndfile.h.in tests/string_test.c src/flac.c
2337 Add string type SF_STR_LICENSE, update test and use for FLAC files.
2338
2339 * src/sndfile.h.in
2340 Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
2341
2342 * src/common.h src/double64.c src/float32.c src/sndfile.c
2343 Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
2344
2345 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2346
2347 * src/flac.c
2348 Apply patch from Ed Schouten to read artist and title metadata from FLAC
2349 files.
2350 Improve reporting of FLAC metadata.
2351
2352 * src/sndfile.h.in tests/string_test.c src/flac.c
2353 Add string type SF_STR_ALBUM, update test and use for FLAC files.
2354
2355 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2356
2357 * src/FLAC/*
2358 Merge from upstream CVS.
2359
2360 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2361
2362 * src/FLAC/*
2363 Update from upstream CVS.
2364
2365 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2366
2367 * tests/cpp_test.cc
2368 Add extra tests for when the SndfileHandle constructor fails.
2369
2370 * src/sndfile.hh
2371 Make sure failure to open the file in the constructor does not allow later
2372 calls to other methods to fail.
2373
2374 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2375
2376 * tests/util.tpl
2377 Add function write_mono_file.
2378
2379 * tests/generate.[ch] tests/Makefile.am
2380 Add files generate.[ch] and hook into build.
2381
2382 * tests/write_read_test.tpl
2383 Add multi_seek_test.
2384
2385 * src/flac.c
2386 Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
2387 by David Viens.
2388
2389 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2390
2391 * doc/FAQ.html
2392 Minor update.
2393
2394 * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
2395 Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
2396
2397 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2398
2399 * src/wav.c
2400 Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
2401
2402 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2403
2404 * src/wav.c
2405 Fix array indexing bug raised by Bruce Sharpe.
2406
2407 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2408
2409 * src/FLAC/src/share/getopt/getopt.c
2410 Fix Mac OSX / PowerPC compile warnings.
2411
2412 * configure.ac
2413 Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
2414
2415 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2416
2417 * doc/FAQ.html
2418 Add Q/A about MP3 support.
2419
2420 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2421
2422 * doc/new_file_type.HOWTO
2423 Minor updates.
2424
2425 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2426
2427 * src/wve.c
2428 Fix a couple bad parameters with psf_log_printf.
2429
2430 * src/pcm.c
2431 Improve error reporting.
2432
2433 * src/common.h src/common.c
2434 Constify psf_hexdump.
2435
2436 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2437
2438 * src/FLAC
2439 Ditch and re-import required FLAC code.
2440
2441 * configure.ac
2442 Force FLAC__HAS_OGG variable to 1.
2443
2444 * src/FLAC/src/libFLAC/stream_encoder.c
2445 Fix compiler warnings.
2446
2447 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2448
2449 * configure.ac tests/win32_ordinal_test.c
2450 Detect if win32 DLL is beging generated and only run win32_ordinal_test if
2451 true.
2452
2453 * src/G72x/Makefile.am src/Makefile.am
2454 Use $(EXEEXT) where possible.
2455
2456 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2457
2458 * src/wve.c src/common.h src/sndfile.c
2459 Complete definition of SfE_WVE_NO_WVE error message.
2460
2461 * src/wve.c
2462 Fix error in files generated on big endian systems. Robustify parsing.
2463
2464 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2465
2466 * src/double64.c
2467 Fix clipping of double to short conversions on 64 bit systems.
2468
2469 * src/flac.c regtest/database.c tests/cpp_test.cc
2470 Fix compile warnings for 64 bit systems.
2471
2472 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2473
2474 * src/wav.c src/wav_w64.c
2475 Use audio detect function when 'fmt ' chunk data is suspicious.
2476
2477 * configure.ac
2478 Add ugly hack to remove -Werror from some Makefiles.
2479
2480 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2481
2482 * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
2483 Add patch from André Pang to clean up compiles on OSX.
2484
2485 * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
2486 examples/sndfile-convert.c
2487 Merge changes from Reuben Thomas to improve WVE support.
2488
2489 * tests/lossy_comp_test.c tests/Makefile.am
2490 Add tests for WVE files.
2491
2492 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2493
2494 * src/sndfile.hh
2495 Add a static SndfileHandle::formatCheck method as suggested by Jorge
2496 Jiménez.
2497
2498 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2499
2500 * src/sndfile.c
2501 Fixed a bug in sf_error() where the function itself was being compared
2502 against zero. Add a check for a NULL return from peak_info_calloc. Fix a
2503 possible NULL dereference.
2504
2505 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2506
2507 * src/flac.c
2508 Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
2509 opening file for RDWR.
2510
2511 * src/sndfile.c
2512 Improve error message for SFE_BAD_RDWR_FORMAT.
2513
2514 * src/mat4.c
2515 Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
2516
2517 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2518
2519 * doc/FAQ.html
2520 Add Q/A 19 on project files.
2521
2522 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2523
2524 * src/sndfile.c
2525 Guard agains MacOSX universal binary compiles.
2526
2527 * doc/FAQ.html
2528 Add Q/A 18 and clean up Q3.
2529
2530 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2531
2532 * src/aiff.c
2533 Add support for 'in24' files.
2534
2535 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2536
2537 * src/wav.c src/wav_w64.c src/wav_w64.h
2538 Start work towards detecting ausio codec type from the actual audio data.
2539
2540 * src/audio_detect.c src/test_audio_detect.c
2541 Add new file and its unit test.
2542
2543 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2544
2545 * examples/cooledit-fixer.c examples/Makefile.am
2546 Remove old broken example program.
2547
2548 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2549
2550 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
2551 Add function sf_get_info.
2552
2553 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2554
2555 * examples/sndfile-play.c
2556 For ALSA, use the 'default' device instead of 'plughw:0'.
2557
2558 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2559
2560 * src/sndfile.c
2561 Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
2562
2563 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2564
2565 * doc/development.html doc/embedded_files.html man/sndfile-play.1
2566 Minor documentation fixes. Thanks Reuben Thomas.
2567
2568 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2569
2570 * examples/sndfile-convert.c
2571 Add -override-sample-rate command line option.
2572
2573 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2574
2575 * tests/misc_test.c
2576 Force errno to zero at start of some tests.
2577
2578 * src/sndfile.c
2579 Minor clean up of error handling.
2580
2581 * configure.ac
2582 Remove an assembler test which was failing on OSX.
2583
2584 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2585
2586 * src/common.h
2587 Fix the definition of SF_PLATFORM_S64 for MinGW.
2588
2589 * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
2590 Fix path problems for MinGW.
2591
2592 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2593
2594 * src/sfendian.h
2595 Add include guard.
2596
2597 * src/Makefile.am src/flac.c
2598 Clean up include paths.
2599
2600 * src/test_conversions.c
2601 New file to test psf_binheader_readf/writef functions.
2602
2603 * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
2604 Clean up unit testing.
2605
2606 * src/common.c
2607 Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
2608 for reporting this.
2609
2610 * src/test_conversions.c
2611 Complete unit test for above fix.
2612
2613 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2614
2615 * src/sndfile.c
2616 More refactoring to clean up psf_open_file() and vairous sf_open()
2617 functions.
2618
2619 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2620
2621 * src/wav.c
2622 Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
2623 files of over 4 gigabytes.
2624
2625 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2626
2627 * src/sndfile.c
2628 Refactor function psf_open_file() to provide a single return point.
2629
2630 * tests/misc_test.c
2631 Fix permission_test to ensure that read only file can be created.
2632
2633 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2634
2635 * src/common.h
2636 Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
2637 bit integers.
2638
2639 * src/aiff.c src/svx.c src/wav.c
2640 Add warning in log if files are larger than 4 gigabytes in size.
2641
2642 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2643
2644 * src/FLAC src/OGG confgure.ac src/Makefile.am
2645 Pull in all required FLAC and OGG code so external libraries are not
2646 needed. This makes compiling on stupid fscking Windoze easier.
2647
2648 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2649
2650 * src/sd2.c
2651 Add workaround for switched sample rate and sample size.
2652
2653 * src/wav.c
2654 Add workaround for excessively long coding history in the 'bext' chunk.
2655
2656 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2657
2658 * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
2659 Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
2660
2661 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2662
2663 * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
2664 Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
2665 files. Still needs a little tweaking before its ready for release.
2666
2667 * src/*.c
2668 Use the UNUSED macro to prevent compiler warnings.
2669
2670 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2671
2672 * src/aiff.c
2673 Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
2674 to David Viens for providing two example files.
2675
2676 * src/common.(c|h) src/aiff.c
2677 Add a function psf_sanitize_string and use it in aiff.c.
2678
2679 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2680
2681 * src/wav_w64.c
2682 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
2683
2684 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2685
2686 * src/Makefile.am
2687 Fix problem related to recent test coverage changes.
2688
2689 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2690
2691 * configure.ac tests/Makefile.am
2692 Add --enable-test-coverage configure option.
2693
2694 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2695
2696 * src/sndfile.hh
2697 Add an std::string SndfileHandle constructor.
2698
2699 * tests/scale_clip_test.tpl
2700 Fix the 'make distcheck' target.
2701
2702 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2703
2704 * src/double64.c src/float32.c
2705 Add optional clipping on float file data to int read data conversions.
2706
2707 * tests/tests/scale_clip_test.(def|tpl)
2708 Add test for above new code.
2709
2710 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2711
2712 * tests/aiff_rw_test.c
2713 Add 'MARK' chunks to make sure they are parsed correctly.
2714
2715 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2716
2717 * src/aiff.c
2718 Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
2719 help debug the problem.
2720
2721 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2722
2723 * src/common.h
2724 Make the SF_MIN and SF_MAX macros at least partially type safe.
2725
2726 * tests/lossy_comp_test.c
2727 Fix overflow problems when ensuring that signalis not zero.
2728
2729 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2730
2731 * configure.ac docs/*.html
2732 Changes for release 1.0.17.
2733
2734 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2735
2736 * src/flac.c
2737 Remove inline from functions called by pointer. Thanks to Sampo Savolainen
2738 for notifying me of this.
2739
2740 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2741
2742 * src/sndfile.hh
2743 Add writeSync method.
2744 Add copy constructor and assignment operator (thanks Daniel Schmitt).
2745 Add methods readRaw and writeRaw.
2746 Make read/write/readf/writef simple overlaods instead of templates (thanks
2747 to Trent Apted for suggesting this).
2748
2749 * tests/cpp_test.cc
2750 Cleanup. Add tests.
2751
2752 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2753
2754 * src/sndfile.hh
2755 Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
2756 Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
2757 openReadWrite methods.
2758 Add const to SF_INFO pointer in Sndfile constructor.
2759 Make the destrictor call the close() method.
2760
2761 * tests/cpp_test.cc
2762 Add more tests.
2763
2764 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2765
2766 * tests/cpp_test.cc
2767 Remove the generated file so "make distcheck" passes.
2768
2769 * src/Makefile.am
2770 Add sndfile.hh to distributed header files.
2771
2772 * src/sndfile.hh
2773 Change the license for the C++ wrapper to modified BSD.
2774
2775 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2776
2777 * src/sndfile.hh
2778 Complete it.
2779
2780 * tests/cpp_test.cc
2781 Add more tests.
2782
2783 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2784
2785 * tests/utils.tpl
2786 Add extern C to generated header file.
2787
2788 * src/sndfile.hh
2789 Work towards completing this.
2790
2791 * tests/cpp_test.cc tests/Makefile.am
2792 Add a C++ test and hook into build.
2793
2794 * configure.ac
2795 Add appropriate CXXFLAGS.
2796
2797 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2798
2799 * configure.ac
2800 Test if compiler supports -Wpointer-arith.
2801
2802 * src/common.c
2803 Fix a warning resulting from -Wpointer-arith.
2804
2805 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2806
2807 * examples/sndfile-play.c
2808 Explicitly set endian-ness as well as setting 16 bit output.
2809
2810 * examples/sndfile-info.c
2811 Make sure to parse info if file fails to open.
2812
2813 * src/sndfile.c
2814 Handle parse error a little better.
2815
2816 * src/wav_w64.[ch]
2817 Minor clean up, add detection of IPP ITU G723.1.
2818
2819 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2820
2821 * src/sndfile.c
2822 Make sure psf->dataoffset gets reset to zero when openning headersless
2823 files based on the file name extension.
2824
2825 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2826
2827 * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
2828 tests/write_read_test.(tpl|def)
2829 Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
2830 break strict-aliasing rules".
2831
2832 * examples/cooledit-fixer.c
2833 More fixes like above.
2834
2835 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2836
2837 * src/file_io.c
2838 Fix a windows bug where the syserr string of SF_PRIVATE was not being set
2839 correctly.
2840
2841 * src/sndfile.c
2842 Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
2843
2844 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2845
2846 * configure.ac
2847 Fixed detection of S_IRGRP.
2848
2849 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2850
2851 * sndfile-convert.c
2852 Add conversion SF_INSTRUMENT data when present.
2853
2854 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2855
2856 * doc/development.html
2857 Removed references to tla on windows.
2858
2859 * src/common.h src/sndfile.c
2860 Add separate void pointers for file containter and file codec data to
2861 SF_PRIVATE struct. Still need to move all existing fdata pointers.
2862
2863 * tests/write_read_test.tpl
2864 Change the order of some tests.
2865
2866 * src/aiff.c
2867 When writing 'AIFC' files, make sure get an 'FVER' gets added.
2868
2869 * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
2870 src/(sndfile|voc|vox_adpcm|xi).c
2871 Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
2872
2873 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2874
2875 * Win32/testprog.c Win32/Makefile.am
2876 Add a minimal win32 test program.
2877
2878 * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
2879 Update readme and Mingw build script.
2880
2881 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2882
2883 * configure.ac acinclude.m4
2884 Minor fixes for Solaris.
2885
2886 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2887
2888 * src/test_endswap.(def|tpl)
2889 Fix printf formatting for int64_t on 64 bit machines.
2890
2891 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2892
2893 * src/binhead_check.py
2894 New file to check for bad parameters passed to psf_binheader_writef().
2895
2896 * src/Makefile.am
2897 Hook into test suite.
2898
2899 * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
2900 Fix bugs found by new test program.
2901
2902 * src/double64.c
2903 Clean up double64_get_capability().
2904
2905 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2906
2907 * src/wav_w64.c
2908 Fix a bug on x86_64 where an int was being passed via stdargs and being
2909 read using size_t which is 64 bits. Thenks to John ffitch for giving me a
2910 login on his box.
2911
2912 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2913
2914 * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
2915 tests/utils.tpl
2916 Fix a couple of signed/unsigned problems.
2917
2918 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2919
2920 * tests/command_test.c
2921 Add channel map tests.
2922
2923 * src/common.h src/sndfile.c
2924 Add a pointer the the SF_PRIVATE struct and make sure it gets freed in
2925 sf_close().
2926
2927 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2928
2929 * configure.ac doc/(command|index|api).html NEWS README
2930 Updates for 1.0.16 release.
2931
2932 * src/sndfile.h.in
2933 Define enums for channel mapping.
2934
2935 * examples/sndfile-info.c
2936 Clean up usage of SF_INFO struct.
2937
2938 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2939
2940 * tests/util.tpl
2941 Add function testing function exit_if_true().
2942
2943 * tests/floating_point_test.tpl
2944 Fix a problem where the test program was not exiting when the test failed.
2945
2946 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2947
2948 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
2949 Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
2950
2951 * doc/commands.html
2952 Document new commands. Other minor updates.
2953
2954 * tests/peak_chunk_test.c
2955 Update tests for new commands.
2956
2957 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2958
2959 * tests/peak_chunk_test.c
2960 Add test for RIFX and WAVEX files.
2961 Try and confuse the PEAK chunk writing by enabling and disabling it.
2962
2963 * src/sndfile.c
2964 Fix a bug where enabling and disabling PEAK chunk was screwing up.
2965
2966 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2967
2968 * src/sndfile.h.in
2969 Add the block of 190 reserved bytes into this struct to allow for
2970 future expansion.
2971
2972 * src/wav.c src/sndfile.c src/broadcast.c
2973 Significant cleanup of broadcast wave stuff.
2974
2975 * examples/sndfile-info.c
2976 Fix print message.
2977
2978 * tests/command_test.c tests/Makefile.am
2979 Complete bext tests, hook test in test suite.
2980
2981 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2982
2983 * src/sndfile.h.in
2984 Make coding_history field of SF_BROADCAST_INFO struct a char array instead
2985 of a char pointer.
2986
2987 * src/sndfile.c src/common.h src/wav.c
2988 Clean up knock on effects of above chnage.
2989
2990 * examples/sndfile-info.c
2991 Add -b command line option to usage message.
2992 Clean up output of broadcast wave info.
2993
2994 * src/wav.c
2995 Ignore and skip the 'levl' chunk.
2996
2997 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
2998
2999 * configure.ac
3000 Fix handling of --enable and --disable configure args. Thanks to Diego
3001 'Flameeyes' Pettenò who sent the patch.
3002
3003 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3004
3005 * doc/win32.html
3006 Make it really clear that although the MSVC++ cannot compile libsndfile,
3007 the precompiled DLL can be used in C++ programs compiled with MSVC++.
3008
3009 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3010
3011 * src/aiff.c
3012 Fix bug in writing of INST chunk in AIFF files.
3013 Fix potential bug in writing MARK chunks.
3014
3015 * src/sndfile.c
3016 Make sure the instrument chunk can only be written at the start of the file.
3017
3018 * tests/command_test.c
3019 Add check of log buffer.
3020
3021 * tests/utils.tpl
3022 Add usage of space character to psf_binheader_writef.
3023
3024 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3025
3026 * src/Makefile.am tests/Makefile.am
3027 Remove --source-time argument from autogen command lines.
3028
3029 * src/broadcast.c
3030 New file for EBU Broadcast chunk in WAV files.
3031
3032 * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
3033 Add patch from Paul Davis implementing read/write of the BEXT chunk.
3034
3035 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3036
3037 * Win32/README-precompiled-dll.txt
3038 New file descibing how to use the precompiled DLL.
3039
3040 * Win32/Makefile.am
3041 Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
3042
3043 * configure.ac
3044 Bump version to 1.0.15.
3045
3046 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3047
3048 * src/wav.c
3049 On read, only add the endian flag if the file is big endian.
3050
3051 * src/ms_adpcm.c
3052 Fixed writing of APDCM coeffs in RIFX files.
3053
3054 * tests/write_read_test.tpl tests/lossy_comp_test.c
3055 Add tests for RIFX files.
3056
3057 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3058
3059 * Mingw-make-dist.sh
3060 Bunch of improvements.
3061
3062 * doc/win32.html
3063 Update MinGW program versions.
3064
3065 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3066
3067 * src/create_symbols_file.py
3068 Fix the library name in created win32 DEF file. Add correct DLL name for
3069 Cygwin DLL.
3070
3071 * Win32/Makefile.am tests/Makefile.am
3072 Remove redundant files, add win32_ordinal_test to test suite.
3073
3074 * tests/win32_ordinal_test.c
3075 Update to do test in cygsndfile-1.dll as well.
3076
3077 * doc/win32.html
3078 Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
3079
3080 * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
3081 Apply large patch from Jesse Chappell which adds support for RIFX files.
3082
3083 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3084
3085 * Makefile.am
3086 Add Mingw-make-dist.sh to the extra dist files.
3087
3088 * configure.ac
3089 Fix setting SHLIB_VERSION_ARG for MinGW.
3090
3091 * tests/win32_ordinal_test.c
3092 New test program to test that the win32 DLL ordinals agree with the DEF
3093 file.
3094
3095 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3096
3097 * src/common.h
3098 Add a static inline function to convert an int to a size_t. This will be
3099 a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
3100
3101 * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
3102 Fix an ia64 problem where a varargs function was being passed an int in
3103 some places and a size_t in other places.
3104
3105 * src/sd2.c
3106 Add a workaround for situations where OSX seems to add an extra 0x52 bytes
3107 to the start of the resource fork.
3108
3109 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3110
3111 * Mingw-make-dist.sh
3112 Add a shell script to build the windows binary/source ZIP file.
3113
3114 * doc/index.html
3115 Add download link for windows binary/source ZIP file. Add links for GPG
3116 signatures.
3117
3118 * doc/win32.html
3119 Remove info about building using microsoft compiler.
3120
3121 * configure.ac
3122 Bump version to 1.0.14.
3123
3124 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3125
3126 * src/sd2.c
3127 Improve logging of errors in resource fork parser.
3128
3129 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3130
3131 * Win32/Makefile.msvc
3132 Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
3133
3134 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3135
3136 * src/common.c
3137 Make sure return values are initialised header buffer is full.
3138
3139 * src/wav.c
3140 Add workarounds for messed up WAV files.
3141
3142 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3143
3144 * Win32/config.h
3145 Undef HAVE_INTTYPES_H for win32.
3146
3147 * tests/command_test.c
3148 Don't exit on error in instrument test for XI files.
3149
3150 * configure.ac
3151 Bump version to 1.0.13.
3152
3153 * doc/*.html NEWS README
3154 Update version numbers.
3155
3156 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3157
3158 * src/xi.c
3159 Start work on add read/write of instrument chunks.
3160
3161 * src/command_test.c
3162 Add tests for XI instrument chunk.
3163
3164 * tests/largefile_test.c tests/Makefile.am
3165 Add new test and hook it into the build system. This test will not be run
3166 automatically because it requires 3 Gig of disk space and takes 3 minutes
3167 to run.
3168
3169 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3170
3171 * examples/sndfile-play.c
3172 Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
3173
3174 * src/common.h
3175 Make sure length of header buffer can hold header plus strings. Thanks Axel
3176 Röbel.
3177
3178 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3179
3180 * src/sndfile.h.in src/aiff.c src/wav.c
3181 Apply a patch from John ffitch (Csound project).
3182 Add detune field to SF_INSTRUMENT struct.
3183 Add reading/writing instrument chunks to WAV files.
3184
3185 * tests/command_test.c
3186 Update SF_INSTRUMENT tests.
3187
3188 * tests/Makefile.am
3189 Hook instrument tests into test suite.
3190
3191 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3192
3193 * configure.ac
3194 Check for <inttypes.h> because some broken systems (like Solaris) don't have
3195 <stdint.h> which is the 1999 ISO C standard file containing int64_t.
3196
3197 * src/sfendian.h src/common.h
3198 Use <inttypes.h> if <stdint.h> is not available.
3199
3200 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3201
3202 * tests/peak_chunk_test.c
3203 Extend and clean up tests.
3204
3205 * src/sndfile.c
3206 Fix a bug that prevented the turning off of PEAK chunks.
3207
3208 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3209
3210 * tests/error_test.c
3211 Make the test distclean correct.
3212
3213 * src/file_io.c
3214 Fix an SD2 MacOSX bug (reported by vince schwarzinger).
3215
3216 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3217
3218 * src/aiff.c tests/command_test.c
3219 Apply a big patch from John ffitch (Csound project) to add reading and
3220 writing of instrument chunks to AIFF files. Also update the test.
3221
3222 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3223
3224 * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
3225 Move test function dump_data_to_file() to utils.tpl.
3226
3227 * tests/error_test.c tests/Makefile.am
3228 Updates, including a new test to test that sf_error() returns a valid error
3229 number.
3230
3231 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3232
3233 * examples/list_formats.c
3234 Make sure the SF_INFO struct is memset to all zero before being used.
3235 Thanks to Stephen F. Booth.
3236
3237 * src/sndfile.c
3238 Make the return value of sf_error() match the API documentation.
3239
3240 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3241
3242 * examples/sndfile-convert.c
3243 Allow conversion to raw gsm610.
3244
3245 * src/common.h src/sndfile.c src/au.c
3246 Remove au_nh_open() and all references to it (wasn't working anyway).
3247
3248 * tests/headerless_test.c
3249 Add new test for file extension based detection.
3250
3251 * src/sndfile.c
3252 Rejig file extension based file type detection.
3253
3254 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3255
3256 * src/sndfile.c
3257 Add "gsm" as a recognised file extension when no magic number can be found.
3258
3259 * tests/lossy_comp_test.c tests/Makefile.am
3260 Test headerless GSM610.
3261
3262 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3263
3264 * doc/api.html
3265 Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
3266
3267 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3268
3269 * src/wav_w64.c
3270 Add more reporting of 'fmt ' chunk for G721 encoded files.
3271
3272 * src/wav.c
3273 Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
3274
3275 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3276
3277 * src/G72x/g72x.[ch]
3278 Minor cleanup of interface.
3279
3280 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3281
3282 * src/ogg.c
3283 Removed the horribly broken and non-functional OGG implementation when
3284 --enable-experimental was enabled. When OGG does finally work it will be
3285 merged.
3286
3287 * src/caf.c
3288 Fix a memory leak.
3289
3290 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3291
3292 * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
3293 Add support for G721 encoded WAV files.
3294
3295 * doc/index.html
3296 Update support matrix.
3297
3298 * tests/lossy_comp_test.c
3299 For file formats that support it, add string data after the audio data and
3300 make sure it isn't treated as audio data on read.
3301
3302 * src/gsm610.c
3303 Add code to ensure that the container close function (ie for WAV files) gets
3304 called after the codec's close function. This allows GSM610 encoded WAV files
3305 to have string data following the audio data.
3306 Add an AIFF specific check on psf->datalength.
3307
3308 * src/wav.c
3309 Simplify wav_close function.
3310
3311 * src/aiff.c
3312 Make sure the tailer data gets written at an even file offset. Pad if
3313 necessary.
3314
3315 * src/common.h
3316 Replace the close function pointer in SF_PRIVATE with separate functions
3317 codec_close and container_close. The former is always called first.
3318
3319 * src/*.c
3320 Fix knock on effects of above.
3321
3322 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3323
3324 * examples/sndfile-info.c
3325 Complete dumping SF_INSTRUMENT data.
3326
3327 * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
3328 Add extra checks in *_init function.
3329
3330 * tests/lossy_comp_test.c
3331 Add a string comment to the end of the files to make sure that the decoder
3332 doesn't decode beyond the end of the audio data section.
3333
3334 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3335
3336 * examples/sndfile-info.c
3337 Minor code cleanup.
3338 Start work on dumping SF_INSTRUMENT data.
3339
3340 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3341
3342 * src/sndfile.h.in src/common.h src/common.c
3343 Update definition of SF_INSTRUMENT struct and create a function to allocate
3344 and initialize the struct (input from David Viens).
3345 Clean up definition of SF_INSTRUMENT struct.
3346
3347 * src/wav.c src/wav_w64.c
3348 Add support for Ambisoncs B WAVEX files (David Viens).
3349
3350 * src/aiff.c src/wav.c src/wav_w64.c
3351 Start work on reading/writing the SF_INSTRUMENT data.
3352
3353 * src/sndfile.c
3354 Add code to get and set SF_INSTRUMENT data.
3355
3356 * tests/command_test.* tests/Makefile.am
3357 Add test for set and getof SF_INSTRUMENT data.
3358 The file command_test.c is no longer autogen generated.
3359
3360 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3361
3362 * src/gsm610.c
3363 Minor cleanup.
3364
3365 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3366
3367 * tests/lossy_comp_test.c
3368 Minor cleanup.
3369
3370 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3371
3372 * src/*.c
3373 Ensure sfconfig.h is included before any other header file.
3374
3375 * src/file_io.c
3376 Add comments documenting the three sections of the file.
3377
3378 * src/gsm610.c
3379 Make sure SF_FORMAT_WAVEX are handled correctly.
3380
3381 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3382
3383 * configure.ac
3384 Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
3385
3386 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3387
3388 * tests/locale_test.c
3389 Modify the way the unicode strings were encoded so that older compilers
3390 do not complain. Thanks Axel Röbel.
3391
3392 * configure.ac
3393 Bump the version to 1.0.12 for release.
3394
3395 * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
3396 Update version numbers.
3397
3398 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3399
3400 * src/flac.c
3401 Fix valgrind error and minor cleanup.
3402
3403 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3404
3405 * src/(au|paf|aiff|w64|wav|svx).c
3406 Make sure structs are initialised.
3407
3408 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3409
3410 * configure.ac
3411 Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
3412 option.
3413 Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
3414 compiler supports it.
3415
3416 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3417
3418 * configure.ac acinclude.m4
3419 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
3420
3421 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3422
3423 * tests/util.(tpl|def)
3424 Make the test_write_*_or_die() functions const safe.
3425
3426 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3427
3428 * src/nist.c
3429 Make sure the data offset is read from the file header. Thanks to
3430 David A. van Leeuwen for a patch.
3431
3432 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3433
3434 * configure.ac src/sfconfig.h
3435 Check for <locale.h> and the function setlocale().
3436 Set config variables to zero if not found.
3437
3438 * tests/locale_test.c tests/Makefile.am
3439 Add new test program and hook into build/test system.
3440
3441 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3442
3443 * src/common.h src/file_io.c
3444 On windows, use windows specific types for file handles.
3445 Add functions psf_init_files() and psf_use_rsrc().
3446
3447 * src/sd2.c
3448 Make resource fork handling independant of file desciptor/handles.
3449
3450 * src/sndfile.c src/test_file_io.c
3451 Fix knock on effects.
3452
3453 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3454
3455 * src/float_cast.h
3456 The lrint and lrintf implementations in Cygwin are both buggy and slow.
3457 Add replacements which were pulled from the Public Domain MinGW math.h
3458 header file.
3459
3460 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3461
3462 * tests/(lossy_comp_test|virtual_io_test).c
3463 More Valgrind fixups.
3464
3465 * configure.ac
3466 Simplify and correct configuring for Cygwin.
3467
3468 * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
3469 Update build for MSVC.
3470
3471 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3472
3473 * tests/lossy_comp_test.c
3474 Make sure to close SNDFILE when exiting test when file format is not seekable.
3475
3476 * tests/(aiff_rw_test|virtual_io_test).c
3477 Do a few valgrind fix ups.
3478
3479 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3480
3481 * src/float32.c src/double64.c
3482 Replace floating point equality comparisons with greater/less comparisons.
3483 Found by John Pavel using the Intel compiler.
3484
3485 * src/sfconfig.h
3486 New file to clean up issues surrounding autoconf generated preprocessor
3487 symbols.
3488
3489 * src/*.(c|h) tests/*.(c|tpl) examples/*.c
3490 Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
3491
3492 * src/file_io.c
3493 Remove Mac OS9 Metrowerks compiler specific hacks.
3494
3495 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3496
3497 * src/w64.c
3498 Cast integer literal to sf_count_t in call to psf_binheader_writef() to
3499 prevent Valgrind error.
3500
3501 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3502
3503 * doc/command.html
3504 Improve documentation of SF_GET_FORMAT_SUBTYPE.
3505
3506 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3507
3508 * examples/sndfile-convert.c
3509 Allow files to be converted to SD2 format.
3510
3511 * src/sd2.c
3512 Fix a bug in reading and writing of SD2 files on little endian CPUs.
3513 Thanks to Matthew Willis for finding this.
3514
3515 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3516
3517 * doc/api.html
3518 Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
3519
3520 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3521
3522 * configure.ac
3523 Use $host_os instead of $target_os (thanks to Mo De Jong).
3524
3525 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3526
3527 * src/Makefile.am
3528 Apply a patch from Mo DeJong to allow building outside of the source dir.
3529
3530 * src/file_io.c
3531 Fix psf_fsync() for win32.
3532
3533 * src/wav.c src/wav_w64.(c|h)
3534 Move some code from wav.c to wav_w64.c to improve the log output of files of
3535 type WAVE_FORMAT_EXTENSIBLE.
3536
3537 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3538
3539 * src/create_symbols_file.py
3540 Make sure sf_write_fsync is an exported symbol.
3541
3542 * examples/sndfile-convert.c
3543 Add support for writing VOX adpcm files.
3544
3545 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3546
3547 * doc/api.html
3548 Document the new function sf_write_sync().
3549
3550 * doc/FAQ.html
3551 Do you plan to support XYZ codec.
3552
3553 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3554
3555 * src/sndfile.h.in src/sndfile.c
3556 Add function sf_write_sync() to the API.
3557
3558 * src/common.h src/file_io.c
3559 Low level implementation (win32 not done yet).
3560
3561 * tests/write_read_test.tpl
3562 Use the new function in the tests.
3563
3564 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3565
3566 * src/common.h src/double64.c src/float32.c src/sndfile.c
3567 Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
3568 for position and a double as the value.
3569
3570 * src/aiff.c src/caf.c src/wav.c
3571 Fix knock on effects of above changes.
3572
3573 * src/caf.c
3574 Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
3575 SF_FORMAT_DOUBLE format.
3576
3577 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3578
3579 * src/nist.c
3580 Fix a bug where a variable was being used without being initialized.
3581
3582 * src/flac.c
3583 Add extra debug in sf_flac_meta_callback.
3584 Make a bunch of private functions static.
3585
3586 * src/aiff.c src/wav.c
3587 Fix allocation for PEAK_CHUNK (bug found using valgrind).
3588
3589 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3590
3591 * src/common.h
3592 Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
3593 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
3594 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
3595
3596 * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
3597 Fix knock on effects from above.
3598
3599 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3600
3601 * src/wav.c
3602 Prevent files with unknown chunks from being opened read/write.
3603
3604 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3605
3606 * src/flac.c
3607 Do not use psf->end_of_file because it never gets set to anything.
3608
3609 * src/common.h
3610 Remove unused SF_PRIVATE field end_of_file.
3611
3612 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3613
3614 * src/common.c
3615 Change the 'S' format specifier of psf_binheader_writef() to write AIFF
3616 style strings (no terminating character).
3617
3618 * src/aiff.c
3619 Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
3620 so persistent on this issue.
3621
3622 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3623
3624 * src/sndfile.c
3625 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
3626
3627 * doc/api.html doc/command.html
3628 Documentation updates (thanks to Kyroz for promoting these updates).
3629
3630 * src/mat5.c
3631 Modify the way the header is written.
3632
3633 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3634
3635 * src/caf.c
3636 Add a 'free' chunk to the written file so that the audio data starts at
3637 an offset of 0x1000.
3638
3639 * src/sndfile.c
3640 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
3641
3642 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3643
3644 * src/caf.c src/sndfile.c
3645 Add support for signed 8 bit integers.
3646
3647 * tests/write_read_test.tpl
3648 Add test for signed 8 bit integers in CAF files.
3649
3650 * doc/index.html
3651 Update matrix for signed 8 bit integers in CAF files.
3652
3653 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3654
3655 * src/sndfile.c
3656 Update sf_check_format() to support CAF.
3657
3658 * examples/sndfile-convert.c
3659 Add support for ".caf" file extension.
3660
3661 * doc/index.html
3662 Add Apple CAF to the support matrix.
3663
3664 * src/caf.c
3665 Add file write support.
3666
3667 * src/common.c
3668 Fix printing of Frames.
3669
3670 * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
3671 tests/header_test.tpl misc_test.c
3672 Add tests for CAF files.
3673
3674 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3675
3676 * doc/FAQ.html
3677 Fix Q/A about reading/writing memory buffers.
3678
3679 * src/caf.c
3680 Bunch of work to support reading of CAF files.
3681
3682 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3683
3684 * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
3685 Fix sign conversion errors reported by gcc-4.0.
3686
3687 * src/caf.c
3688 New file for Apple's Core Audio File format.
3689
3690 * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
3691 Hook new file into build system.
3692
3693 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3694
3695 * src_wav_w64.c
3696 Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
3697 for supplying an example file.
3698
3699 * src/common.h src/sndfile.c
3700 Remove redundant error code SFE_WAV_FMT_TOO_BIG.
3701
3702 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3703
3704 * src/sndfile.h.in src/common.h src/sndfile.c
3705 Add public error value SF_ERR_MALFORMED_FILE.
3706
3707 * src/sndfile.c
3708 When parsing a file header fails and we don't have a system error, then set
3709 the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
3710
3711 * configure.ac
3712 Allow sqlite support to be disabled in configure script.
3713
3714 * regtest/database.c regtest/sndfile-regtest.c
3715 Fix compiling when sqlite is missing.
3716
3717 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3718
3719 * src/file_io.c
3720 Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
3721
3722 * src/sndfile.c
3723 Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
3724
3725 * tests/virtual_io_test.c
3726 Fill in skeleton test program.
3727
3728 * tests/Makefile.am
3729 Move virtual i/o tests to end of tests with stdio/pipe tests.
3730
3731 * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
3732 Rename some of the virtual i/o functions and data types.
3733
3734 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3735
3736 * src/sndfile.c
3737 Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
3738 SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
3739 Kyroz for pointing out these errors.
3740
3741 * doc/command.html
3742 Correct documented return values for SFC_SET_NORM_DOUBLE and
3743 SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
3744
3745 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3746
3747 * regtest/*
3748 Add new files for sndfile-regtest program.
3749
3750 * configure.ac Makefile.am
3751 Hook regetest into build.
3752
3753 * src/wav.c src/common.c
3754 Fix a regression where long ICMT chunks were causing the WAV parser
3755 to exit.
3756
3757 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3758
3759 * libsndfile.spec.in
3760 Add html docs to the files section as suggested by Karsten Jeppesen.
3761
3762 * src/aiff.c
3763 Fix parsing of odd length ANNO chunks.
3764
3765 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3766
3767 * src/common.h
3768 Change the include guard to prevent clashes with other code.
3769
3770 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3771
3772 * examples/sndfile-play.c
3773 Improve error handling in code for playback under Linux/ALSA.
3774
3775 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3776
3777 * src/ircam.c
3778 Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
3779
3780 * src/wav.c
3781 Add workaround for files created by the Peak audio editor on Mac which can
3782 produce files with very short LIST chunks (thanks to Jonathan Segel who
3783 supplied the file).
3784
3785 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3786
3787 * src/aiff.c
3788 Apply a patch From David Viens to make the parsing of basc chunks more
3789 robust.
3790
3791 * src/wav.c
3792 Another patch from David Viens to write correct wavex channel masks for
3793 the most common channel configurations.
3794
3795 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3796
3797 * src/command.c
3798 Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
3799 Leigh Smith.
3800
3801 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3802
3803 * src/common.h
3804 Add a directory field for storing the file directory to the SF_PRIVATE
3805 struct.
3806
3807 * src/sndfile.c
3808 Grab the directory name when copying the file path.
3809
3810 * src/file_io.c
3811 Cleanup psf_open_rsrc() and also check for resource fork in
3812 .AppleDouble/filename.
3813
3814 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3815
3816 * src/svx.c
3817 Fix a bug in the printing of the channel count. Bug reported by Michael
3818 Schwendt. Thanks.
3819
3820 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3821
3822 * src/paf.c
3823 Fix a seek bug for 24 bit PAF files.
3824
3825 * tests/write_read_test.tpl
3826 Update write_read_test to trigger the previously hidden PAF seek bug.
3827
3828 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3829
3830 * src/aiff.c src/w64.c src/wav.c
3831 Do not return a header parse error when the log buffer overflows.
3832 Continuing parsing works even on files where the log buffer does overflow.
3833 This avoids a bug on some weirdo WAV (and other) files.
3834
3835 * src/common.h src/sndfile.c
3836 Remove SFE_LOG_OVERRIN error and its associated error message.
3837
3838 * src/file_io.c
3839 Fix a rsrc fork problem on MacOSX.
3840
3841 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3842
3843 * src/sndfile-play.c
3844 In the ALSA output code, added call to snd_pcm_drain() just before
3845 snd_pcm_close() as suggested by Thomas Kaeding.
3846 In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
3847 SNDCTL_DSP_SYNC) just before the close of the audio device.
3848
3849 * tests/virtual_io_test.c tests/Makefile.am
3850 Add a new test program (currently empty) and add it to the build.
3851
3852 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3853
3854 * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
3855 src/create_symbols_file.py
3856 Apply patch from Steve Baker which is the beginnings of a virtual
3857 I/O interface.
3858
3859 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3860
3861 * src/*.c src/sndfile.h.in
3862 Const-ify the write path throughout the library.
3863
3864 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3865
3866 * doc/development.html
3867 Minor improvements.
3868
3869 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3870
3871 * doc/bugs.html
3872 Minor improvements.
3873
3874 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3875
3876 * src/aiff.c
3877 Add workaround for Logic Platinum AIFF files with broken COMT chunks.
3878
3879 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3880
3881 * doc/FAQ.html
3882 Remove some ambiguities in the SD2 FAQ answer.
3883
3884 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3885
3886 * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
3887 Updates from autoconfig versions.
3888
3889 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3890
3891 * src/aiff.c
3892 Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
3893 instead of COMT chunk.
3894
3895 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3896
3897 * src/file_io.c src/common.h
3898 Change the ptr argument to psf_write() from "void*" to a "const void*".
3899 Thanks to Tobias Gehrig for suggesting this.
3900
3901 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3902
3903 * src/file_io.c src/common.h
3904 Add functions psf_close_rsrc() and read length of resourse fork into
3905 rsrclength field of SF_PRIVATE.
3906
3907 * src/sd2.c
3908 Make sure resource fork gets closed.
3909
3910 * tests/util.tpl
3911 Add functions to check for file descriptor leakage.
3912
3913 * src/write_read_test.tpl
3914 Use the file descriptor leak checks.
3915
3916 * src/sndfile.h.in
3917 Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
3918
3919 * src/common.h
3920 Add SF_LOOP_INFO pointer to SF_PRIVATE.
3921
3922 * src/wav.c src/aiff.c
3923 Improve and add parsing of 'ACID' and 'basc' chunks, filling in
3924 SF_LOOP_INFO data in SF_PRIVATE.
3925
3926 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3927
3928 * src/sd2.c
3929 Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
3930
3931 * Win32/config.h Win32/sndfile.h
3932 Updates.
3933
3934 * tests/util.tpl
3935 Add win32 macro for snprintf.
3936
3937 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3938
3939 * src/sfendian.h
3940 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
3941
3942 * src/sd2.c
3943 Use macros to make sure writing SD2 files on little endian machines works
3944 correctly.
3945
3946 * tests/util.tpl
3947 Add a delete_file() function which also deletes the resource fork of SD2
3948 files.
3949
3950 * tests/write_read_test.tpl
3951 Use delete_file() so that "make distcheck" works.
3952
3953 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3954
3955 * src/sndfile.c src/file_io.c
3956 Move resource filename construction and testing to psf_open_rsrc().
3957
3958 * src/common.h src/sndfile.c
3959 Add error SFE_SD2_FD_DISALLOWED.
3960
3961 * tests/util.tpl tests/*.(c|tpl)
3962 Add and allow_fd parameter to test_open_file_or_die() so that use of
3963 sf_open_fd() can be avoided when opening SD2 files.
3964
3965 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3966
3967 * src/wav.c
3968 Update ACID chunk parsing.
3969
3970 * src/sd2.c
3971 More fixes for files with large resource forks.
3972
3973 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3974
3975 * src/common.h src/sndfile.c
3976 Add error numbers and messages for sd2 files.
3977
3978 * src/sd2.c
3979 Reading of sd2 (resource fork version) now seems to be working.
3980
3981 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3982
3983 * src/file_io.h
3984 Update file_io.c to include win32 psf_rsrc_open().
3985
3986 * tests/floating_point_test.tpl
3987 Remove use of __func__ in test programs (MSVC++ doesn't grok this).
3988
3989 * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
3990 Updates.
3991
3992 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3993
3994 * src/sfendian.h
3995 Fix endswap_int64_t_(array|copy).
3996
3997 * src/test_endswap.(tpl|def)
3998 Add tests for above and inprove all tests.
3999
4000 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4001
4002 * src/sfendian.h
4003 Improve type safety, add endswap_double_array().
4004
4005 * src/double64.c
4006 Use endswap_double_array() instead of endswap_long_array().
4007
4008 * src/test_endswap.(tpl|def) src/Makefile.am
4009 Add preliminary endswap tests and hook into build system.
4010
4011 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4012
4013 * src/configure.ac src/makefile.am
4014 Finally fix the bulding of DLLs on Win32/MinGW.
4015
4016 * tests/makefile.am
4017 Fix running of tests on Win32/MinGW.
4018
4019 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4020
4021 * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
4022 Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
4023
4024 * doc/command.html
4025 Document SFC_SET_SCALE_FLOAT_INT_READ.
4026
4027 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4028
4029 * tests/floating_point_test.(tpl|def)
4030 Derived from floating_point_test.c.
4031 Add (float|double)_(short|int)_test functions.
4032
4033 * tests/util.(tpl|def)
4034 Make separate float and double versions of gen_windowed_sine().
4035
4036 * tests/write_read_test.tpl
4037 Fix after changes to gen_windowed_sine().
4038
4039 * src/(float32|double64).c
4040 Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
4041
4042 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4043
4044 * acinclude.m4
4045 Fix warnings from automake 1.8 and later.
4046
4047 * examples/sndfile-info.c
4048 Add a "fflush (stdout)" after printing Win32 message.
4049
4050 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4051
4052 * Win32/Makefile.mingw.in
4053 Add a "make install" target.
4054
4055 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4056
4057 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
4058 Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
4059
4060 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4061
4062 * examples/sndfile-convert.c
4063 Fix a bug converting stereo integer PCM files to float.
4064
4065 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4066
4067 * examples/sndfile-play.c
4068 Appy patch from Conrad Parker to make Mac OSX error messages more
4069 consistent and informative.
4070
4071 * doc/api.html
4072 Fix a HTML HREF which was wrong.
4073
4074 * doc/win32.html
4075 Add information about when nmake fails.
4076
4077 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4078
4079 * examples/sndfile-play.c
4080 Another patch from Denis Cote to prevent race conditions.
4081
4082 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4083
4084 * src/common.h src/ms_adpcm.c src/ima_adpcm.c
4085 Fix alternative to ISO standard flexible struct array feature for broken
4086 compilers.
4087
4088 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4089
4090 * src/common.h src/string.c src/sndfile.c
4091 Make sf_set_string() return an error if trying to set a string when in
4092 read mode.
4093
4094 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4095
4096 * src/common.h
4097 Change the unnamed union into a named union so gcc-2.95 will compile it.
4098
4099 * src/*.c
4100 Fixes to allow for the above change.
4101
4102 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4103
4104 * examples/sndfile-play.c
4105 Fixes for Win32. Thanks to Denis Cote.
4106
4107 * Win32/Win32/Makefile.(msvc|mingw.in)
4108 Fix build system after removal of sfendian.h.
4109 Build sndfile-convert.
4110
4111 * src/Makefile.am
4112 Remove sfendian.c from dependancies.
4113
4114 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4115
4116 * src/sndfile.h.in
4117 Fix typo in comments (thanks Tommi Sakari Uimonen).
4118
4119 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4120
4121 * tests/(a|u)law_test.c
4122 Minor cleanup.
4123
4124 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4125
4126 * src/(pcm|float|double64|ulaw|alaw|xi).c
4127 Optimise read/write loops by removing a redundant variable.
4128
4129 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4130
4131 * src/file_io.c
4132 Remove call to fsync() in psf_close().
4133
4134 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4135
4136 * src/pcm.c
4137 Inline x2y_array() functions where possible.
4138
4139 * configure.ac
4140 Detect presence of type int64_t.
4141
4142 * src/sfendian.c src/sfendian.h
4143 Move functions in the first file to the sfendian.h as static inline
4144 functions.
4145 Improve endswap_long_*() where possible.
4146
4147 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4148
4149 * src/pcm.c
4150 When converting from unsigned char to float or double, subtract 128 before
4151 converting to float/double rather than after to save a floating point
4152 operation as suggested by Stefan Briesenick.
4153
4154 * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
4155 Optimize inner loops by changing the loop counting slightly as suggested
4156 by Stefan Briesenick.
4157
4158 * configure.ac
4159 Detect presence of <byteswap.h>.
4160
4161 * src/sfendian.h
4162 Use <byteswap.h> if present as suggested by Stefan Briesenick.
4163
4164 * src/pcm.c
4165 Update bytewapping.
4166
4167 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4168
4169 * src/common.h src/*.c
4170 Change the psf->buffer field of SF_PRIVATE into a more type safe union with
4171 double, float, int etc elements.
4172
4173 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4174
4175 * examples/sndfile-play.c
4176 Merge slightly modifed patch from Stanko Juzbasic which allows playback of
4177 mono files on MacOSX.
4178
4179 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4180
4181 * examples/sndfile-convert.c
4182 Move copy_metadata() after the second sf_open().
4183
4184 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4185
4186 * examples/sndfile-convert.c
4187 Fix a bug which caused the program to go into an infinite loop if the source
4188 file has no meta-data. Thanks to Ron Parker for reporting this.
4189
4190 * src/sndfile.h.in
4191 Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
4192
4193 * Win32/sndfile.h MacOS9/sndfile.h
4194 Update these as per the above file.
4195
4196 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4197
4198 * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
4199 src/Makefile.am
4200 Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
4201 Annodex support via liboggz and libfishsound. Thanks Conrad.
4202
4203 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4204
4205 * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
4206 Add cast to size_t for some parameters passed to psf_binheader_writef. This
4207 is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
4208
4209 * src/w64.c
4210 Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
4211 chunk.
4212
4213 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4214
4215 * configure.ac
4216 Bump version to 1.0.10 ready for release.
4217
4218 * Makefile.am
4219 Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
4220 from distribution tarball.
4221
4222 * tests/header_test.tpl
4223 Fix uninitialised variable.
4224
4225 * src/GSM610/short_term.c
4226 Fix compiler warning on MSVC++.
4227
4228 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4229
4230 * src/wav.c
4231 Improve record keeping of chunks seen and return an error if a file with
4232 unusual chunks is opened in mode SFM_RDWR.
4233
4234 * src/mmreg.h
4235 This file not needed so remove it.
4236
4237 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4238
4239 * tests/header_test.tpl
4240 Add extra_header_test().
4241
4242 * src/common.h src/sndfile.c
4243 Add SFE_RDWR_BAD_HEADER error number and string.
4244
4245 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4246
4247 * tests/utils.tpl tests/*.c tests/*.tpl
4248 Add a line number argument to check_log_buffer_or_die() and update all
4249 files that use that function.
4250
4251 * tests/header_test.tpl
4252 Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
4253
4254 * src/aiff.c src/wav.c
4255 Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
4256 SFC_UPDATE_HEADER_AUTO.
4257
4258 * src/test_file_io.c
4259 Add a test for psf_ftruncate() function.
4260
4261 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4262
4263 * src/sndfile.c
4264 Fix another weird corner case bug found by Martin Rumori. Thanks.
4265
4266 * tests/header_test.(tpl|def)
4267 Two new files to test for the absence of the above bug and include tests
4268 moved from tests/misc_test.c.
4269
4270 * tests/Makefile.am
4271 Hook new tests into build/test system.
4272
4273 * tests/misc_test.c
4274 Remove update_header_test() which has been moved to the new files above.
4275
4276 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4277
4278 * src/aiff.c
4279 Fixed a bug reported by Martin Rumori on the LAD list. If a file created
4280 with a format of SF_FORMAT_FLOAT and then closed before any data is written
4281 to it, the header can get screwed up (PEAK chunk gets overwritten).
4282
4283 * tests/write_read_test.tpl
4284 Add a test (empty_file_test) for the above bug.
4285
4286 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4287
4288 * Win32/Makefile.mingw.in
4289 Added a Makefile for MinGW (needs to be processed by configure).
4290
4291 * src/mmsystem.h src/mmreg.h
4292 Add files from the Wine project (under the LGPL) to allow build of
4293 sndfile-play.exe under MinGW.
4294
4295 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4296
4297 * src/GSM610/gsm610_priv.h
4298 Replace ugly macros with inline functions.
4299
4300 * src/GSM610/*.c
4301 Remove temporary variables used by macros and other minor fixes required by
4302 above change.
4303
4304 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4305
4306 * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
4307 Make sure these programs compile (even though they do nothing) on Win32
4308 and add them to the "make check" target.
4309
4310 * src/sfendian.h
4311 Fix warning on Sparc CPU and code cleanup.
4312
4313 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4314
4315 * src/file_io.c
4316 Fix warning messages when compiling under MinGW.
4317
4318 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4319
4320 * configure.ac
4321 Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
4322 accepts the flexible array struct member as per 1999 ISO C standard.
4323
4324 * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
4325 Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
4326 hack for non 1999 ISO C compliant compilers.
4327
4328 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4329
4330 * src/strings.c
4331 If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
4332 string does not already have libsndfile in the string. Thanks to Conrad
4333 Parker.
4334
4335 * tests/string_test.c
4336 Add test to verify the above.
4337
4338 * examples/sndfile-convert.c
4339 Add ability to transcode meta data as well (Conrad Parker).
4340
4341 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4342
4343 * doc/command.html
4344 Fix minor error. Thanks to Simon Burton.
4345
4346 * doc/win32.html
4347 Started adding instructions for compiling libsndfile under MinGW.
4348
4349 * configure.ac
4350 Add --enable-bow-docs to enable black text on a white background HTML docs.
4351
4352 * doc/libsndfile.css.in
4353 This is now a template file for configure which sets the foreground and
4354 background colours.
4355
4356 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4357
4358 * configure.ac
4359 Do some MinGW fixes.
4360
4361 * configure.ac doc/Makefile.am
4362 Install HTML docs when doing make install.
4363
4364 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4365
4366 * examples/sndfile-info.c
4367 Print out the dB level with the signal max.
4368
4369 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4370
4371 * src/file_io.c
4372 Define S_ISSOCK in src/file_io.c if required.
4373
4374 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4375
4376 * configure.ac
4377 Improve printout configuration summary (as suggested by Axel Röbel).
4378
4379 * doc/index.html
4380 Add link to pre-release location.
4381
4382 * src/sndfile.h.in
4383 Remove comma after last element of enum.
4384
4385 * src/float32.c src/double64.c
4386 Fix read/write of float/double encoded raw files to/from pipes.
4387
4388 * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
4389 Turn pipe_test.c into an autogenerated file and add tests for reading/
4390 writing floats and doubles.
4391
4392 * tests/Makefile.am
4393 Hook tests/pipe_test.* into build system.
4394
4395 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4396
4397 * configure.ac acinclude.m4
4398 Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
4399
4400 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4401
4402 * tests/misc_test.c
4403 Perform update_header_test in RDWR mode as well.
4404
4405 * src/aiff.c
4406 Fix problems when updating header in RDWR mode.
4407
4408 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4409
4410 * src/wav.c src/w64.c src/wav_w64.c
4411 Integrate code supplied by David Viens for supporting microsoft's
4412 WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
4413
4414 * configure.ac doc/*.html
4415 Bump version to 1.0.9.
4416
4417 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4418
4419 * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
4420 Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
4421
4422 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4423
4424 * src/avr.c
4425 New file to handle Audio Visual Resaerch files.
4426
4427 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
4428 Hook AVR into everything else.
4429
4430 * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
4431 Add testing for AVR files.
4432
4433 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4434
4435 * src/file_io.c
4436 Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
4437 Technologie) for coming up with the solution.
4438
4439 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4440
4441 * tests/write_read_test.tpl
4442 Fixed a bug that was causing valgrind to report a memory leak. The bug was
4443 in the test code itself, not the library.
4444
4445 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4446
4447 * examples/generate.cs
4448 An example showing how to use libsndfile from C#. Thanks to James Robson
4449 for providing this.
4450
4451 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4452
4453 * src/common.c
4454 Fix problems with WAV files containing large chunks after the 'data'
4455 chunk. Thanks to Koen Tanghe for providing a sample file.
4456
4457 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4458
4459 * configure.ac
4460 Detect presense of ALSA (Advanced Linux Sound Architecture).
4461
4462 * examples/sndfile-play.c
4463 Add ALSA output support.
4464
4465 * examples/Makefile.am
4466 Add ALSA_LIBS to link line of sndfile-play.c.
4467
4468 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4469
4470 * acinclude.m4
4471 Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
4472 the use of the what is known as the struct hack introduced by the 1999 ISO
4473 C Standard.
4474
4475 * configure.ac
4476 The last release would not compile with gcc-2.95 due to the use of features
4477 (ie struct hack) introduced by the 1999 ISO C Standard.
4478 Add check to make sure compiler handles this and bomb out if it doesn't.
4479
4480 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4481
4482 * tests/write_read_test.tpl
4483 Fix compiler warning on Win32.
4484
4485 * src/file_io.c
4486 Fix use of an un-initialised variable in Win32 stuff.
4487
4488 * Win32/config.h examples/sndfile-play.c
4489 Win32 fixes.
4490
4491 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4492
4493 * configure.ac
4494 Fix bug which occurres when configuring for MinGW.
4495 If compiler is gcc and cross compiling use -nostdinc.
4496
4497 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4498
4499 * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
4500 src/sndfile.c
4501 Fix a bug with PEAK chunk handling for files with more than 16 channels.
4502 Thanks to Remy Bruno for finding this.
4503
4504 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4505
4506 * src/common.c
4507 Fix a bug which was preventing WAV files being openned correctly if the
4508 file had a very large header. Thanks to Eldad Zack for finding this.
4509
4510 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4511
4512 * configure.ac src/file_io.c
4513 Fix cross-compiling from Linux to Win32 using the MinGW tools.
4514
4515 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4516
4517 * src/create_symbols_file.sh
4518 Christian Weisgerber pointed out that the shell script did not run on a
4519 real Bourne shell although it did run under Bash in Bourne shell mode.
4520
4521 * src/create_symbols_file.py
4522 Rewrite of above in Python. Also add support for writing Win32 .def files.
4523 The Python script generates Symbols.linux, Symbols.darwin and
4524 libsndfile.def (Win32 version). These files get shipped with the tarball
4525 so there should not be necessary to run the Python script when building
4526 the code from the tarball.
4527
4528 * configure.ac src/Makefile.am Win32/Makefile.am
4529 Hook new Python script into the build system.
4530
4531 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4532
4533 * src/configure.ac
4534 Add --enable-gcc-werror option and move GCC specific stuff down.
4535
4536 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4537
4538 * acinclude.m4 configure.ac
4539 Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
4540
4541 * src/file_io.c
4542 Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
4543 of missing large file support on Linux and Solaris.
4544
4545 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4546
4547 * examples/sndfile-play.c
4548 Fix a MacOSX specific bug which was caused by a space being inserted in
4549 the middle of a file name.
4550
4551 * configure.ac src/Makefile.am examples/Makefile.am
4552 Fix a couple of MacOSX build issues.
4553
4554 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4555
4556 * doc/command.html
4557 Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
4558
4559 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4560
4561 * doc/*.html
4562 Applied patch from Frank Neumann (author of lakai) which fixes many minor
4563 typos in documentation. Thanks Frank.
4564
4565 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4566
4567 * ChangeLog
4568 Changed my email address throughout source and docs.
4569
4570 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4571
4572 * src/file_io.c
4573 Make sure config.h is included before stdio.h to make sure large file
4574 support is enabled on Linux (and Solaris).
4575
4576 * tests/misc_test.c
4577 Disable update_header test on Win32. This should work but doesn't and
4578 I'm not sure why.
4579
4580 * Make.bat Win32/Makefile.msvc
4581 Updates.
4582
4583 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4584
4585 * src/common.h
4586 Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
4587 int to int to prevent weird arithmetic bugs.
4588
4589 * src/common.c src/aiff.c src/wav.c src/w64.c
4590 Fixed compiler warnings resulting from above change.
4591
4592 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4593
4594 * src/common.c
4595 Fixed a bug in header reader for some files with data after the sample data.
4596
4597 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4598
4599 * tests/lossy_comp_test.c tests/Makefile.am
4600 Add tests for AIFF/IMA files.
4601
4602 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4603
4604 * src/macbinary3.c src/macos.c
4605 Two new files required for handling SD2 files.
4606
4607 * src/common.h
4608 Add prototypes for functions in above two files.
4609
4610 * src/Makefile.am
4611 Hook new files into build system.
4612
4613 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4614
4615 * configure.ac
4616 Add checks for mmap() and getpagesize() which might be used at some time
4617 for faster file reads.
4618 Add detection of MacOSX.
4619
4620 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4621
4622 * doc/FAQ.html
4623 Minor mods to pkg-config section.
4624
4625 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4626
4627 * src/create_symbols_file.sh
4628 Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
4629 static symbols are exported causing troubles when trying to link
4630 libsndfile with another library which has any of the same symbols.
4631 He fixed this by supplying the MacOSX linker with a file containing
4632 all the public symbols so that only they would be exported and then
4633 supplied a patch for libsndfile.
4634 This wasn't quite ideal, because I would have to maintain two (3 if
4635 you include Win32) separate files containing the exported symbols.
4636 A better solution was to create this script which can generate a
4637 Symbols file for Linux, MacoSX and any other OS that supports
4638 minimising the number of exported symbols.
4639
4640 * configure.ac src/Makefile.am
4641 Hook the new script into the build process.
4642
4643 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4644
4645 * doc/index.html
4646 Added comments about Steve Dekorte's SoundConverter scam.
4647
4648 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4649
4650 * src/file_io.c
4651 Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
4652 (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
4653 true). The test has therefore been changed to is S_ISREG and anything
4654 which which does not return true for S_ISREG is considered a pipe.
4655
4656 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4657
4658 * tests/misc_test.c
4659 Fix update_header_test to pass SDS.
4660
4661 * src/sds.c
4662 More minor fixes.
4663
4664 * tests/floating_point_test.c
4665 Add test for SDS files.
4666
4667 * src/command.c
4668 Add SDS to major_formats array.
4669
4670 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4671
4672 * tests/write_read_test.tpl tests/misc_test.c
4673 Add tests for SDS files.
4674
4675 * src/sds.c
4676 Fix a bug in header update code.
4677
4678 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4679
4680 * src/sds.c
4681 Get file write working.
4682
4683 * src/paf.c
4684 Fix a potential bug in paf24_seek().
4685
4686 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4687
4688 * doc/FAQ.html
4689 Add Q/A about u-law encoded WAV files.
4690
4691 * Win32/*.h
4692 Updated so it compiles on Win32.
4693
4694 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
4695
4696 * examples/sndfile-convert.c
4697 Add -alaw and -ulaw command line arguments.
4698
4699 * configure.ac
4700 Add library versioning comments.
4701 Add arguments to AC_INIT.
4702
4703 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>