1
2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1
2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3
* configure.ac AUTHORS NEWS README doc/*.html
4
Final tweaks for 1.0.18 release.
6
2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
8
* programs/sndfile-convert.c
9
Add 'htk' to the list of convert formats.
11
* programs/sndfile-info.c
12
Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
13
Increase size of files for which signal max will be calculated.
15
2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
18
Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
20
2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
22
* programs/sndfile-metadata-get.c
24
Clean up temp string array usage.
25
Error out if trying to update coding history in RDWR mode.
27
2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
30
Fix links to versions of the LGPL.
32
2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
35
Add test for RDWR mode where the file ends up shorter than when it was
39
Truncate the file on close for RDWR mode where the file ends up shorter
40
than when it was opened.
42
2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
45
Fix problem with quoting of '#include'.
47
* M4/add_cxxflags.m4 configure.ac
48
Add new file M4/add_cxxflags.m4 and use it in configure.ac.
50
2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
52
* programs/sndfile-info.c
53
Apply patch from Conrad Parker to calculate and display total duration when
54
more than one file is dumped.
56
2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
58
* configure.ac src/Makefile.am
59
Tweaks to generation of Symbols files.
61
* tests/win32_ordinal_test.c
62
Update tests for above changes.
64
2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
67
When merging broadcast info, make sure to clear the destination field
68
before copying in the new data.
70
* programs/test-sndfile-metadata-set.py
71
Add test for the above.
74
Fix checking of required coding_history_size.
76
2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
78
* tests/command_test.c
79
Add test to detect if coding history is truncated.
82
Fix truncation of coding history.
84
2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
86
* tests/command_test.c
87
Add broadcast_coding_history_size test.
90
Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
93
Add code to prevent infinite loop on malformed file.
95
* src/common.h src/sndfile.c src/w64.c src/wav_w64.c
96
Rationalize and improve error handling when parsing 'fmt ' chunk.
99
Simplify and remove cruft.
100
Check for correct Octave version.
103
Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
105
* Octave/sndfile.cc Octave/PKG_ADD
106
Add Octave function sfversion which returns the libsndfile version that the
107
module is linked against.
110
Bunch of build and 'make distcheck' fixes.
112
2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
115
Return 1 if SFC_SET_BROADCAST_INFO fails.
117
* programs/test-sndfile-metadata-set.py
118
Update for new programs directory, exit on any error.
121
Fix failure behaviour in error_number_test.
123
* src/common.h src/sndfile.c
124
Add error number SFE_BAD_BROADCAST_INFO_SIZE.
127
Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
130
Fix generation of added coding history.
132
2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
134
* programs/sndfile-metadata-get.c programs/sndfile-info.c
135
Exit with non-zero on errors.
137
2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
139
* examples/sndfile-to-text.c examples/Makefile.am
140
Add a new example program and hook it into the build.
142
* examples/ programs/
143
Add a new directory programs and move sndfile-info, sndfile-play and other
144
real programs to the new directory, leaving example programs where they
147
2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
150
Automake 1.10 MinGW cross compiling fixes.
152
2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
154
* examples/sndfile-play.c
155
Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
156
Fix gcc-4.3 compiler warnings.
158
* tests/command_test.c
159
Fix a valgrind warning.
161
* tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
162
tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
163
Fix gcc-4.3 compiler warnings.
165
2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
168
Fix termination of desitination string in strncpy_crlf.
169
When copying BROADCAST_INFO chunk, make sure destination gets correct line
173
Fix copying of BROADCAST_INFO coding_history field.
175
2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
177
* tests/command_test.c
178
Add test function instrument_rw_test, but don't hook it into the testing
181
* src/common.h src/command.c src/sndfile.c src/flac.c
182
Error code rationalization.
184
* src/common.h src/sndfile.c
185
Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
186
fails due to psf->have_written being true.
189
Document the SFC_GET/SET_BROADCAST_INFO comamnds.
191
2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
193
* tests/command_test.c
194
Improve error reporting when '\0' is found in coding history.
197
2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
200
Convert all coding history line endings to \r\n.
202
* tests/command_test.c
203
Add test to make sure all line endings are converted to \r\n.
205
2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
208
Changed the order of coding history fields.
210
* tests/command_test.c
211
Update bextch test to cope with previous change.
214
Add extra length check when copying broadcast info data.
216
2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
218
* tests/utils.tpl tests/pcm_test.tpl
219
Update check_file_hash_or_die to use 64 bit hash.
221
* tests/checksum_test.c tests/Makefile.am
222
Add new checksum_test specifically for lossy compression of headerless
225
2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
228
Seek to psf->dataoffset before decoding first block.
231
Fix detection of mpc2k files on big endian systems.
233
2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
236
Use '\r\n' newlines in Coding History as required by spec.
238
2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
240
* src/test_conversions.c
241
Use int64_t instead of 'long long'.
243
2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
245
* examples/sndfile-metadata-set.c
246
Remove --bext-coding-history-append command line option because it didn't
249
* examples/sndfile-metadata-(get|set).c
252
* examples/test-sndfile-metadata-set.py
253
Start work on test coding history.
255
2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
257
* README doc/win32.html
258
Bring these up to date.
261
Fix parsing of REX files.
263
2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
266
Use intptr_t instead of long for return value of _get_osfhandle.
268
* src/test_conversions.c src/test_endswap.tpl
269
Fix printing of int64_t values.
271
* examples/sndfile-play.c
274
* tests/win32_ordinal_test.c
275
Fix calling of GetProcAddress with ordinal under win64.
280
2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
283
Rename copy_data.[ch] to common.[ch]. Fix build.
284
Move code from sndfile-metadata-set.c to common.c.
286
* examples/Makefile.am tests/Makefile.am regtest/Makefile.am
289
2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
291
* doc/tutorial.html doc/Makefile.am
292
Add file doc/tutorial.html and hook into build/dist system.
294
2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
296
* examples/sndfile-metadata-set.c
297
Clean up handling of bext command line params.
299
2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
302
Add handling/skipping of a couple of new chunk types.
304
2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
307
Add -funsigned-char to CFLAGS if the compiler supports it.
309
* examples/sndfile-metadata-(get|set).c
310
Add handling for more metadata types.
312
2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
315
Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
316
field of SF_INFO into component parts.
319
Use new macros everywhere it is appropriate.
321
2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
323
* examples/sndfile-bwf-set.c
326
2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
328
* examples/sndfile-bwf-set.c
329
Add --info-auto-create-date command line option.
331
* examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
332
examples/Makefile.am examples/test-sndfile-bwf-set.py
333
Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
334
Change command line args.
336
2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
339
Allow 'PAD ' chunk to be modified in RDWR mode.
341
* src/sndfile.h.in src/sndfile.c
342
Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
344
* tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
349
Fixes to make sure all tests pass.
351
* tests/Makefile.am tests/string_test.c
352
Add string tests (not yet passing).
354
2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
357
First pass at writing RF64 now working.
359
2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
361
* examples/sndfile-convert.c
362
Add SF_FORMAT_RF64 to format_map.
364
* src/common.h src/sndfile.c
365
More RF64 support code.
367
* examples/sndfile-bwf-set.c
368
Fix the month number in autogenerated date string and use hypen in date
371
* examples/test-sndfile-bwf-set.py
374
* examples/sndfile-info.c
375
When called with -i or -b option, operate on all files on command line, not
378
2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
381
New file to handle RF64 (WAV like format supportting > 4Gig files).
383
* src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
384
Hook the above into build so hacking can begin.
387
Improve log message when pcm_init fails.
390
Only calculate and print 'Signal Max' if file is less than 10 megabytes in
393
2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
395
* tests/string_test.c
396
Polish string_multi_set_test.
399
In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
401
Minor fixes in wav_write_strings.
402
Write PAD chunk with default endian-ness, not a specific endian-ness.
404
* examples/test-sndfile-bwf-set.py
405
Add Python script to test sndfile-bwf-set/get.
407
* examples/sndfile-bwf-set.c
411
Merge function wavex_write_header into wav_write_header, deleting about 70
415
Double value of SF_MAX_STRINGS.
417
* tests/string_test.c
418
Add string tests for WAVEX and RIFX files.
420
* tests/command_test.c
421
Add broadcast test for WAVEX files.
423
2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
425
* tests/string_test.c
426
Add a new string_rdwr_test (currently failing for WAV).
427
Add a new string_multi_set_test (currently failing).
429
* tests/command_test.c
430
Add new broadcast_rdwr_test (currently failing).
433
Fix to WAV parser to allow 'bext' chunk to be updated in place.
434
In wav_write_tailer, seek to psf->dataend if its greater than zero.
437
Make sure psf->have_written gets set correctly in mode SFM_RDWR.
440
Test for <sys/time.h> and gettimeofday.
443
Use gettimeofday() to initialize psf_rand_int32.
445
* src/common.h src/sndfile.c
446
Add unique_id field to SF_PRIVATE struct.
448
* src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
449
Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
451
* src/common.h src/strings.c
452
Add function psf_location_string_count.
454
2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
457
Test for localtime and localtime_r.
459
* examples/sndfile-convert.c
460
In function copy_metadata(), copy broadcast info if present.
462
* examples/copy_data.[ch] examples/Makefile.am
463
Break some functionality out of sndfile-convert.c so it can be used in
464
examples/sndfile-bwf-set.c.
467
Add new function create_short_sndfile().
469
* examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
471
Add new files and hook into build.
473
2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
476
Fix comments. Patch from Mark Glines.
478
2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
481
Use zero_data_test on Ogg/Vorbis files.
484
Fix segfault when closing an Ogg/Vorbis file that has been opened for write
485
but had no actual data written to it. Bug reported by Chinoy Gupta.
488
Make sure to run mist_test on Ogg/Vorbis files.
490
2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
492
* regtest/Makefile.am
493
Use SQLITE3_CFLAGS to locate sqlite headers.
495
2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
497
* doc/index.html doc/FAQ.html
498
Add notes about which versions of windows libsndfile works on.
500
2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
503
Add a test for correct handling of Ambisonic files. Thanks to Fons
504
Adriaensen for the test.
506
* src/wav.c src/wav_w64.c
507
Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
509
2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
512
Fix detection/enabling of external libs.
514
* M4/extra_pkg.m4 M4/Makefile.am
515
Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
516
PKG_CHECK_MODULES. The new macro prints the version number of the package
519
2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
522
Apply a fix from Axel Roebel where if the second loop in the instrument
523
chunk is none, the loop mode is written into the first loop.
525
2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
527
* src/test_float.c src/test_main.(c|h) src/Makefile.am
528
Add new file to test functions float32_(le|be)_(read|write) and
529
double64_(le|be)_(read|write). Hook into build and testsuite.
531
* src/double64.c src/float32.c
532
Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
533
for reporting this bug.
536
Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
539
* examples/sndfile-info.c
540
Print out the BEXT time reference in a sensible format.
542
2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
548
Add call to ogg_stream_clear to fix valgrind warning.
551
Fix x86_64 compile issue.
553
* configure.ac src/Makefile.am src/flac.c src/ogg.c
554
Link to external versions of FLAC, Ogg and Vorbis.
556
* tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
557
tests/vorbis_test.c tests/write_read_test.tpl
558
Fix tests when configured with --disable-external-libs.
560
* tests/external_libs_test.c tests/Makefile.am
561
Add new test and hook into build and test suite.
564
Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
565
the right data when external libs are disabled.
567
2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
569
* tests/write_read_test.tpl
570
Add a test for extending a file during write by seeking past the current
574
Allow seeking past end of file during write.
576
2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
578
* doc/api.html doc/command.html
579
Move all information about the sf_command function to command.html and add
580
a link from documentation of the sf_read/write_raw function to the
581
SFC_RAW_NEEDS_ENDSWAP command.
583
* doc/index.html doc/FAQ.html doc/libsndfile.css
584
Minor documentation tweaks.
586
2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
591
2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
594
Add a test to make sure if file opened with sf_open_fd, and then the file
595
descriptor is closed, then sf_close will return an error code. Thanks to
596
Dave Flogeras for the bug report.
599
Make sf_close return an error is the file descriptor is already closed.
601
2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
604
Set object format to aout for OS/2. Thanks to David Yeo.
606
* src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
607
Add ability to read MPC 2000 file.
609
* tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
611
Add tests for MPC 2000 file format.
613
* examples/sndfile-convert.c
614
Allow conversion to MPC 2000 file format.
616
2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
618
* src/VORBIS/lib/codebook.c
619
Sync from upstream SVN.
621
* autogen.sh configure.ac
624
2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
627
Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
628
The patch as supplied segfaulted and required many hours of debugging.
631
Sync from upstream SVN.
633
2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
636
Fix up handling of 'APPL' chunk. Thanks to Axel Roebel for bringing up
639
2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
642
Add calls to sf_close() where needed.
644
* tests/utils.tpl tests/multi_file_test.c
645
Always pass 0 as the third argument to open when OS_IS_WIN32.
647
2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
650
Add files test_main.[ch].
651
Collapse all tests into a single executable.
653
2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
656
Sync to upstream CVS.
658
2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
661
Make SF_MIN and SF_MAX macros MinGW friendly.
663
* examples/sndfile-(info|play).c
664
Use Sleep function from <windows.h> instead of _sleep.
666
* tests/locale_test.c
667
Disable some tests when OS_IS_WIN32.
669
* src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
670
src/FLAC/src/share/utf8/utf8.c
673
2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
676
Tweaks to pcm16 <-> float conversion answer.
678
2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
681
Sync to SVN upstream.
684
Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
686
2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
688
* examples/sndfile-jackplay.c
689
Minor tweaks to warning message printed when compiled without libjack.
691
2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
693
* tests/peak_chunk_test.c
694
Improve read_write_peak_test to find more errors. Inspired by example
695
provided by Nicolas Castagne.
698
Another SFM_RDWR fix shown up by above test.
700
2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
703
Fix reading of COMM encoding string.
705
* src/chunk.c src/common.h src/Makefile.am
706
New file for storing and retrieving info about header chunks. Hook into
710
Use new chunk logging to fix problem with AIFF in RDWR mode.
712
2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
715
Add WVE to the list of major formats.
717
* tests/aiff_rw_test.c
720
2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
723
Add internal functions str_of_major_format, str_of_minor_format,
724
str_of_open_mode and str_of_endianness.
726
* tests/write_read_test.tpl
727
Fix reporting of errors in new_rdwr_XXXX_test.
729
2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
731
* examples/sndfile-play.c
732
Apply patch from Yair K. to fix compiles with OSS v4.
734
* src/common.h src/float32.c src/double64.c
735
Rename psf->float_enswap to psf->data_endswap.
737
* src/sndfile.h.in src/sndfile.c src/pcm.c
738
Add command SFC_RAW_NEEDS_ENDSWAP.
741
Add test for SFC_RAW_NEEDS_ENDSWAP.
744
Document SFC_RAW_NEEDS_ENDSWAP.
746
* tests/peak_chunk_test.c
747
Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
750
2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
752
* examples/sndfile-cmp.c
753
Add new example program contributed by Conrad Parker.
755
* examples/Makefile.am
758
* doc/development.html
759
Change use or reconfigure.mk to autogen.sh.
761
2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
764
Add another win32 test.
767
Add function file_length_fd which wraps fstat.
770
Run the multi_file_test on AU files.
772
* tests/multi_file_test.c
773
Use function file_length_fd() instead of file_length() to overcome stupid
774
win32 bug. Fscking hell Microsoft sucks so much.
776
2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
779
Fix a rsrc parsing bug. Example file supplied by Uli Franke.
781
2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
784
Allow use of either LGPL v2.1 or LGPL v3.
786
* tests/header_test.tpl
787
Add header_shrink_test from Axel Roebel.
790
Add fix from Axel Roebel for writing files with float data but no peak
791
chunk (ie peak chunk gets removed after the file is opened).
793
* src/aiff.c tests/header_test.tpl
794
Apply similar fix to above for AIFF files.
796
* src/wav.c tests/header_test.tpl
797
Apply similar fix to above for WAVEX files.
800
Add Ogg/Vorbis to 'get format' commands.
802
2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
805
Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
806
Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
809
Add stereo seek tests.
811
2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
814
Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
815
case supplied by Bodo.
817
* tests/utils.(def|tpl)
818
Add compare_XXX_or_die functions.
820
2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
823
Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
824
misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
826
2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
828
* src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
829
Merge in code from the vox-patch branch. Thanks to Robs for the patch
830
which fixes a long standing bug in the VOX codec.
832
2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
834
* examples/sndfile-convert.c
835
Fix handling of -override-sample-rate=X option.
837
2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
839
* src/ogg.c src/VORBIS
840
Merge in Ogg Vorbis support from John ffitch of the Csound project.
842
2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
845
Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
846
recognise 'vox8' as and 'vox' as 8kHz files.
849
Detect libjack (JACK Audio Connect Kit).
851
* examples/sndfile-jackplay.c examples/Makefile.am
852
Add new example program to play sound files using the JACK audio server.
853
Thanks to Jonatan Liljedahl for allowing this to be included.
855
2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
858
Update support table with SD2 and FLAC.
860
2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
863
Fix calculation of internal value psf->read_current when attempting to read
864
past end of audio data.
865
Remove redundant code.
867
* tests/lossy_comp_test.c
868
Add read_raw_test to check that raw reads do not go past the end of the
870
Clean up error output messages.
873
Add code to prevent sf_read_raw from reading past the end of the audio data.
876
Add the wav_pcm lossy_comp_test.
878
2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
880
* configure.ac src/Makefile.am src/create_symbols_file.py
881
More OS/2 fixes from David Yeo.
883
2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
885
* src/file_io.c tests/utils.tpl tests/benchmark.tpl
886
Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
888
2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
891
Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
893
* src/create_symbols_file.py
894
Add support for OS/2 contributed by David Yeo.
896
2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
899
Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
902
Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
903
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
904
Use -fgnu-inline to prevent stupid warnings.
906
2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
909
Increase the printing width for print_test_name().
911
* tests/command_test.c tests/Makefile.am
912
Add tests for correct updating of broadcast WAV coding history.
914
* examples/sndfilehandle.cc examples/Makefile.am
915
Add example program using the C++ SndfileHandle class.
917
2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
919
* src/common.h src/sndfile.c
920
Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
922
2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
925
Identify sample-rate/sample-size/channels by resource id.
927
2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
929
* src/broadcast.c src/common.h src/sndfile.c
930
Improvements to handling of broadcast info in WAV files. Thanks to Frederic
931
Cornu and other for their input.
933
2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
935
* src/FLAC/include/share/alloc.h
936
Mingw fix for SIZE_T_MAX from Uli Franke.
938
2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
940
* tests/open_fail_test.c tests/error_test.c tests/Makefile.am
941
Move tests from open_fail_test.c to error_test.c and remove the former.
943
2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
945
* tests/scale_clip_test.(def|tpl)
946
Add tests for SFC_SET_INT_FLOAT_WRITE command.
949
Add docs for SFC_SET_INT_FLOAT_WRITE command.
951
* examples/sndfile-play.c tests/dft_cmp.c
952
Fix gcc-4.2 warning messages.
954
2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
956
* src/sndfile.h.in src/sndfile.c
957
Add command SFC_GET_CURRENT_SF_INFO.
959
* src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
960
Remove function sf_get_info (only ever in pre-release code).
962
* tests/command_test.c
963
Add test for SFC_GET_CURRENT_SF_INFO.
965
2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
968
Add parsing of 'exif' chunks. Originally coded by Trent Apted.
971
Put config stuff in Cfg directory.
972
Remove check for inttypes.h.
974
2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
977
Fix writing of 'riff' chunk length and check for correct value in parser.
979
2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
982
Link to MP3 FAQ entry.
984
2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
987
Move the blocksize check to an earlier stage of flac_buffer_copy.
989
2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
992
Huge merge from FLAC upstream.
994
2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
997
Change license to all example programs to BSD.
999
2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1001
* src/FLAC/include/FLAC/metadata.h
1002
Include <sys/types.h> to prevent compile error on OSX.
1004
* Octave/octave_test.sh
1005
Disable test on OSX. Can't get it to work.
1008
Check the blocksize returned from the FLAC decoder to prevent buffer
1009
overruns. Reported by Jeremy Friesner. Thanks.
1011
2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1013
* Makefile.am M4/octave.m4
1014
Fix build when Octave headers are not present.
1016
2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1018
* doc/development.html
1019
Add note about bzr repository directory looking empty.
1021
2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1023
* configure.ac Octave/* M4/octave_*
1024
Bunch of changes to add ability to build GNU Octave modules to read/write
1025
sound files using libsndfile from Octave.
1027
2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1029
* acinclude.m4 configure.ac ...
1030
Get rid of acinclude.m4 and replace it with an M4 directory.
1032
2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1035
Remove crufty Metrowerks compiler support. Allow header file to be compiled
1036
on windows with both GCC and microsoft compiler.
1038
2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1040
* tests/dft_cmp.[ch] tests/floating_point_test.tpl
1041
Clean up floating point tests.
1043
2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1046
Fix segfault when COMM chunk length is byte swapped.
1048
2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1050
* src/common.h src/mat4.c src/mat5.c src/sndfile.c
1051
Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
1054
Fix crash on AU files with zero channel count. Reported by Ben Alison.
1056
2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1059
Fix bug in handling file supplied by Matt Olenik.
1061
2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1064
Merge from OGG upstream sources.
1066
2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1069
Merge from FLAC upstream sources.
1071
2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1074
Fix memory leak; set copy parameter to FALSE in call to
1075
FLAC__metadata_object_vorbiscomment_append_comment.
1078
Add function psf_rand_int32().
1080
2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1083
Merge from FLAC upstream sources.
1085
* src/strings.c tests/string_test.c tests/Makefile.am
1086
Make sure string tests for SF_STR_LICENSE actually works.
1088
2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1090
* tests/string_test.c
1091
Add ability to test strings stored in metadata secion of FLAC files.
1094
Fix logic for testing if audio data has been written and string is added.
1095
Make sure SF_STR_ALBUM actually works.
1098
Finalize reading/writing string metadata. Tests pass.
1100
* src/sndfile.h.in tests/string_test.c src/flac.c
1101
Add string type SF_STR_LICENSE, update test and use for FLAC files.
1104
Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
1106
* src/common.h src/double64.c src/float32.c src/sndfile.c
1107
Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
1109
2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1112
Apply patch from Ed Schouten to read artist and title metadata from FLAC
1114
Improve reporting of FLAC metadata.
1116
* src/sndfile.h.in tests/string_test.c src/flac.c
1117
Add string type SF_STR_ALBUM, update test and use for FLAC files.
1119
2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1122
Merge from upstream CVS.
1124
2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1127
Update from upstream CVS.
1129
2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1132
Add extra tests for when the SndfileHandle constructor fails.
1135
Make sure failure to open the file in the constructor does not allow later
1136
calls to other methods to fail.
1138
2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1141
Add function write_mono_file.
1143
* tests/generate.[ch] tests/Makefile.am
1144
Add files generate.[ch] and hook into build.
1146
* tests/write_read_test.tpl
1147
Add multi_seek_test.
1150
Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
1153
2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1158
* configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
1159
Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
1161
2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1164
Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
1166
2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1169
Fix array indexing bug raised by Bruce Sharpe.
1171
2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1173
* src/FLAC/src/share/getopt/getopt.c
1174
Fix Mac OSX / PowerPC compile warnings.
1177
Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
1179
2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1182
Add Q/A about MP3 support.
1184
2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1186
* doc/new_file_type.HOWTO
1189
2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1192
Fix a couple bad parameters with psf_log_printf.
1195
Improve error reporting.
1197
* src/common.h src/common.c
1198
Constify psf_hexdump.
1200
2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1203
Ditch and re-import required FLAC code.
1206
Force FLAC__HAS_OGG variable to 1.
1208
* src/FLAC/src/libFLAC/stream_encoder.c
1209
Fix compiler warnings.
1211
2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1213
* configure.ac tests/win32_ordinal_test.c
1214
Detect if win32 DLL is beging generated and only run win32_ordinal_test if
1217
* src/G72x/Makefile.am src/Makefile.am
1218
Use $(EXEEXT) where possible.
1220
2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1222
* src/wve.c src/common.h src/sndfile.c
1223
Complete definition of SfE_WVE_NO_WVE error message.
1226
Fix error in files generated on big endian systems. Robustify parsing.
1228
2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1231
Fix clipping of double to short conversions on 64 bit systems.
1233
* src/flac.c regtest/database.c tests/cpp_test.cc
1234
Fix compile warnings for 64 bit systems.
1236
2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1238
* src/wav.c src/wav_w64.c
1239
Use audio detect function when 'fmt ' chunk data is suspicious.
1242
Add ugly hack to remove -Werror from some Makefiles.
1244
2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1246
* src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
1247
Add patch from Andr� Pang to clean up compiles on OSX.
1249
* src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
1250
examples/sndfile-convert.c
1251
Merge changes from Reuben Thomas to improve WVE support.
1253
* tests/lossy_comp_test.c tests/Makefile.am
1254
Add tests for WVE files.
1256
2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1259
Add a static SndfileHandle::formatCheck method as suggested by Jorge
1262
2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1265
Fixed a bug in sf_error() where the function itself was being compared
1266
against zero. Add a check for a NULL return from peak_info_calloc. Fix a
1267
possible NULL dereference.
1269
2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1272
Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
1273
opening file for RDWR.
1276
Improve error message for SFE_BAD_RDWR_FORMAT.
1279
Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
1281
2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1284
Add Q/A 19 on project files.
1286
2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1289
Guard agains MacOSX universal binary compiles.
1292
Add Q/A 18 and clean up Q3.
1294
2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1297
Add support for 'in24' files.
1299
2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1301
* src/wav.c src/wav_w64.c src/wav_w64.h
1302
Start work towards detecting ausio codec type from the actual audio data.
1304
* src/audio_detect.c src/test_audio_detect.c
1305
Add new file and its unit test.
1307
2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1309
* examples/cooledit-fixer.c examples/Makefile.am
1310
Remove old broken example program.
1312
2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1314
* src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
1315
Add function sf_get_info.
1317
2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1319
* examples/sndfile-play.c
1320
For ALSA, use the 'default' device instead of 'plughw:0'.
1322
2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1325
Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
1327
2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1329
* doc/development.html doc/embedded_files.html man/sndfile-play.1
1330
Minor documentation fixes. Thanks Reuben Thomas.
1332
2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1334
* examples/sndfile-convert.c
1335
Add -override-sample-rate command line option.
1337
2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1340
Force errno to zero at start of some tests.
1343
Minor clean up of error handling.
1346
Remove an assembler test which was failing on OSX.
1348
2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1351
Fix the definition of SF_PLATFORM_S64 for MinGW.
1353
* src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
1354
Fix path problems for MinGW.
1356
2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1361
* src/Makefile.am src/flac.c
1362
Clean up include paths.
1364
* src/test_conversions.c
1365
New file to test psf_binheader_readf/writef functions.
1367
* src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
1368
Clean up unit testing.
1371
Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
1374
* src/test_conversions.c
1375
Complete unit test for above fix.
1377
2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1380
More refactoring to clean up psf_open_file() and vairous sf_open()
1383
2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1386
Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
1387
files of over 4 gigabytes.
1389
2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1392
Refactor function psf_open_file() to provide a single return point.
1395
Fix permission_test to ensure that read only file can be created.
1397
2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1400
Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
1403
* src/aiff.c src/svx.c src/wav.c
1404
Add warning in log if files are larger than 4 gigabytes in size.
1406
2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1408
* src/FLAC src/OGG confgure.ac src/Makefile.am
1409
Pull in all required FLAC and OGG code so external libraries are not
1410
needed. This makes compiling on stupid fscking Windoze easier.
1412
2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1415
Add workaround for switched sample rate and sample size.
1418
Add workaround for excessively long coding history in the 'bext' chunk.
1420
2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1422
* src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
1423
Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
1425
2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1427
* src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
1428
Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
1429
files. Still needs a little tweaking before its ready for release.
1432
Use the UNUSED macro to prevent compiler warnings.
1434
2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1437
Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
1438
to David Viens for providing two example files.
1440
* src/common.(c|h) src/aiff.c
1441
Add a function psf_sanitize_string and use it in aiff.c.
1443
2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1446
Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
1448
2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1451
Fix problem related to recent test coverage changes.
1453
2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1455
* configure.ac tests/Makefile.am
1456
Add --enable-test-coverage configure option.
1458
2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1461
Add an std::string SndfileHandle constructor.
1463
* tests/scale_clip_test.tpl
1464
Fix the 'make distcheck' target.
1466
2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1468
* src/double64.c src/float32.c
1469
Add optional clipping on float file data to int read data conversions.
1471
* tests/tests/scale_clip_test.(def|tpl)
1472
Add test for above new code.
1474
2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1476
* tests/aiff_rw_test.c
1477
Add 'MARK' chunks to make sure they are parsed correctly.
1479
2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1482
Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
1483
help debug the problem.
1485
2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1488
Make the SF_MIN and SF_MAX macros at least partially type safe.
1490
* tests/lossy_comp_test.c
1491
Fix overflow problems when ensuring that signalis not zero.
1493
2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
3
1495
* configure.ac docs/*.html
4
1496
Changes for release 1.0.17.
6
2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1498
2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
9
1501
Remove inline from functions called by pointer. Thanks to Sampo Savolainen
10
1502
for notifying me of this.
12
2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
1504
2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
15
1507
Add writeSync method.