~ubuntu-branches/debian/jessie/libsndfile/jessie

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2009-02-17 19:21:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090217192103-7rhu1n8p79jnbzy3
Tags: 1.0.18-2
Add missing build-dependencies on pkg-config and libvorbis-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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>
 
2
 
 
3
    * configure.ac  AUTHORS NEWS README doc/*.html
 
4
    Final tweaks for 1.0.18 release.
 
5
 
 
6
2009-02-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
7
 
 
8
    * programs/sndfile-convert.c
 
9
    Add 'htk' to the list of convert formats.
 
10
 
 
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.
 
14
 
 
15
2009-01-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
16
 
 
17
    * doc/index.html
 
18
    Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
 
19
 
 
20
2009-01-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
21
 
 
22
    * programs/sndfile-metadata-get.c
 
23
    Make valgrind clean.
 
24
    Clean up temp string array usage.
 
25
    Error out if trying to update coding history in RDWR mode.
 
26
 
 
27
2009-01-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
28
 
 
29
    * doc/index.html
 
30
        Fix links to versions of the LGPL.
 
31
 
 
32
2008-12-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
33
 
 
34
    * tests/string_test.c
 
35
    Add test for RDWR mode where the file ends up shorter than when it was
 
36
    opened.
 
37
 
 
38
    * src/wav.c
 
39
    Truncate the file on close for RDWR mode where the file ends up shorter
 
40
    than when it was opened.
 
41
 
 
42
2008-11-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
43
 
 
44
    * M4/add_cflags.m4
 
45
    Fix problem with quoting of '#include'.
 
46
 
 
47
    * M4/add_cxxflags.m4 configure.ac
 
48
    Add new file M4/add_cxxflags.m4 and use it in configure.ac.
 
49
 
 
50
2008-11-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
51
 
 
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.
 
55
 
 
56
2008-11-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
57
 
 
58
    * configure.ac src/Makefile.am
 
59
    Tweaks to generation of Symbols files.
 
60
 
 
61
    * tests/win32_ordinal_test.c
 
62
    Update tests for above changes.
 
63
 
 
64
2008-11-06  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
65
 
 
66
    * programs/common.c
 
67
    When merging broadcast info, make sure to clear the destination field
 
68
    before copying in the new data.
 
69
 
 
70
    * programs/test-sndfile-metadata-set.py
 
71
    Add test for the above.
 
72
 
 
73
    * src/broadcast.c
 
74
    Fix checking of required coding_history_size.
 
75
 
 
76
2008-10-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
77
 
 
78
    * tests/command_test.c
 
79
    Add test to detect if coding history is truncated.
 
80
 
 
81
    * src/broadcast.c
 
82
    Fix truncation of coding history.
 
83
 
 
84
2008-10-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
85
 
 
86
    * tests/command_test.c
 
87
    Add broadcast_coding_history_size test.
 
88
 
 
89
    * programs/*.[ch]
 
90
    Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
 
91
 
 
92
    * src/rf64.c
 
93
    Add code to prevent infinite loop on malformed file.
 
94
 
 
95
    * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
 
96
    Rationalize and improve error handling when parsing 'fmt ' chunk.
 
97
 
 
98
    * M4/octave.m4
 
99
    Simplify and remove cruft.
 
100
    Check for correct Octave version.
 
101
 
 
102
    * Octave/*
 
103
    Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
 
104
 
 
105
    * Octave/sndfile.cc Octave/PKG_ADD
 
106
    Add Octave function sfversion which returns the libsndfile version that the
 
107
    module is linked against.
 
108
 
 
109
    * Octave/Makefile.am
 
110
    Bunch of build and 'make distcheck' fixes.
 
111
 
 
112
2008-10-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
113
 
 
114
    * programs/common.c
 
115
    Return 1 if SFC_SET_BROADCAST_INFO fails.
 
116
 
 
117
    * programs/test-sndfile-metadata-set.py
 
118
    Update for new programs directory, exit on any error.
 
119
 
 
120
    * tests/error_test.c
 
121
    Fix failure behaviour in error_number_test.
 
122
 
 
123
    * src/common.h src/sndfile.c
 
124
    Add error number SFE_BAD_BROADCAST_INFO_SIZE.
 
125
 
 
126
    * src/*
 
127
    Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
 
128
 
 
129
    * src/broadcast.c
 
130
    Fix generation of added coding history.
 
131
 
 
132
2008-10-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
133
 
 
134
    * programs/sndfile-metadata-get.c programs/sndfile-info.c
 
135
    Exit with non-zero on errors.
 
136
 
 
137
2008-10-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
138
 
 
139
    * examples/sndfile-to-text.c examples/Makefile.am
 
140
    Add a new example program and hook it into the build.
 
141
 
 
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
 
145
    were.
 
146
 
 
147
2008-10-20  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
148
 
 
149
    * tests/Makefile.am
 
150
    Automake 1.10 MinGW cross compiling fixes.
 
151
 
 
152
2008-10-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
153
 
 
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.
 
157
 
 
158
    * tests/command_test.c
 
159
    Fix a valgrind warning.
 
160
 
 
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.
 
164
 
 
165
2008-10-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
166
 
 
167
    * src/broadcast.c
 
168
    Fix termination of desitination string in strncpy_crlf.
 
169
    When copying BROADCAST_INFO chunk, make sure destination gets correct line
 
170
    endings.
 
171
 
 
172
    * examples/common.c
 
173
    Fix copying of BROADCAST_INFO coding_history field.
 
174
 
 
175
2008-10-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
176
 
 
177
    * tests/command_test.c
 
178
    Add test function instrument_rw_test, but don't hook it into the testing
 
179
    yet.
 
180
 
 
181
    * src/common.h src/command.c src/sndfile.c src/flac.c
 
182
    Error code rationalization.
 
183
 
 
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.
 
187
 
 
188
    * doc/command.html
 
189
    Document the SFC_GET/SET_BROADCAST_INFO comamnds.
 
190
 
 
191
2008-10-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
192
 
 
193
    * tests/command_test.c
 
194
    Improve error reporting when '\0' is found in coding history.
 
195
    Fix false failure.
 
196
 
 
197
2008-10-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
198
 
 
199
    * src/broadcast.c
 
200
    Convert all coding history line endings to \r\n.
 
201
 
 
202
    * tests/command_test.c
 
203
    Add test to make sure all line endings are converted to \r\n.
 
204
 
 
205
2008-10-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
206
 
 
207
    * src/broadcast.c
 
208
    Changed the order of coding history fields.
 
209
 
 
210
    * tests/command_test.c
 
211
    Update bextch test to cope with previous change.
 
212
 
 
213
    * examples/common.c
 
214
    Add extra length check when copying broadcast info data.
 
215
 
 
216
2008-10-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
217
 
 
218
    * tests/utils.tpl tests/pcm_test.tpl
 
219
    Update check_file_hash_or_die to use 64 bit hash.
 
220
 
 
221
    * tests/checksum_test.c tests/Makefile.am
 
222
    Add new checksum_test specifically for lossy compression of headerless
 
223
    files.
 
224
 
 
225
2008-10-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
226
 
 
227
    * src/gsm610.c
 
228
    Seek to psf->dataoffset before decoding first block.
 
229
 
 
230
    * src/sndfile.c
 
231
    Fix detection of mpc2k files on big endian systems.
 
232
 
 
233
2008-10-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
234
 
 
235
    * src/broadcast.c
 
236
    Use '\r\n' newlines in Coding History as required by spec.
 
237
 
 
238
2008-10-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
239
 
 
240
    * src/test_conversions.c
 
241
    Use int64_t instead of 'long long'.
 
242
 
 
243
2008-10-01  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
244
 
 
245
    * examples/sndfile-metadata-set.c
 
246
    Remove --bext-coding-history-append command line option because it didn't
 
247
    really make sense.
 
248
 
 
249
    * examples/sndfile-metadata-(get|set).c
 
250
    Add usage messages.
 
251
 
 
252
    * examples/test-sndfile-metadata-set.py
 
253
    Start work on test coding history.
 
254
 
 
255
2008-09-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
256
 
 
257
    * README doc/win32.html
 
258
    Bring these up to date.
 
259
 
 
260
    * src/aiff.c
 
261
    Fix parsing of REX files.
 
262
 
 
263
2008-09-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
264
 
 
265
    * src/file_io.c
 
266
    Use intptr_t instead of long for return value of _get_osfhandle.
 
267
 
 
268
    * src/test_conversions.c src/test_endswap.tpl
 
269
    Fix printing of int64_t values.
 
270
 
 
271
    * examples/sndfile-play.c
 
272
    Fix win64 issues.
 
273
 
 
274
    * tests/win32_ordinal_test.c
 
275
    Fix calling of GetProcAddress with ordinal under win64.
 
276
 
 
277
    * tests/utils.tpl
 
278
    Fix win64 issues.
 
279
 
 
280
2008-09-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
281
 
 
282
    * examples/*
 
283
    Rename copy_data.[ch] to common.[ch]. Fix build.
 
284
    Move code from sndfile-metadata-set.c to common.c.
 
285
 
 
286
    * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
 
287
    Clean paths.
 
288
 
 
289
2008-09-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
290
 
 
291
    * doc/tutorial.html doc/Makefile.am
 
292
    Add file doc/tutorial.html and hook into build/dist system.
 
293
 
 
294
2008-09-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
295
 
 
296
    * examples/sndfile-metadata-set.c
 
297
    Clean up handling of bext command line params.
 
298
 
 
299
2008-09-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
300
 
 
301
    * src/w64.c
 
302
    Add handling/skipping of a couple of new chunk types.
 
303
 
 
304
2008-09-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
305
 
 
306
    * configure.ac
 
307
    Add -funsigned-char to CFLAGS if the compiler supports it.
 
308
 
 
309
    * examples/sndfile-metadata-(get|set).c
 
310
    Add handling for more metadata types.
 
311
 
 
312
2008-09-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
313
 
 
314
    * src/common.h
 
315
    Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
 
316
    field of SF_INFO into component parts.
 
317
 
 
318
    * src/*.c
 
319
    Use new macros everywhere it is appropriate.
 
320
 
 
321
2008-09-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
322
 
 
323
    * examples/sndfile-bwf-set.c
 
324
    Massive reworking.
 
325
 
 
326
2008-08-24  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
327
 
 
328
    * examples/sndfile-bwf-set.c
 
329
    Add --info-auto-create-date command line option.
 
330
 
 
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.
 
335
 
 
336
2008-08-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
337
 
 
338
    * src/wav.c
 
339
    Allow 'PAD ' chunk to be modified in RDWR mode.
 
340
 
 
341
    * src/sndfile.h.in src/sndfile.c
 
342
    Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
 
343
 
 
344
    * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
 
345
        tests/misc_test.c
 
346
    Add tests for RF64.
 
347
 
 
348
    * src/rf64.c
 
349
    Fixes to make sure all tests pass.
 
350
 
 
351
    * tests/Makefile.am tests/string_test.c
 
352
    Add string tests (not yet passing).
 
353
 
 
354
2008-08-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
355
 
 
356
    * src/rf64.c
 
357
    First pass at writing RF64 now working.
 
358
 
 
359
2008-08-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
360
 
 
361
    * examples/sndfile-convert.c
 
362
    Add SF_FORMAT_RF64 to format_map.
 
363
 
 
364
    * src/common.h src/sndfile.c
 
365
    More RF64 support code.
 
366
 
 
367
    * examples/sndfile-bwf-set.c
 
368
    Fix the month number in autogenerated date string and use hypen in date
 
369
    instead of slash.
 
370
 
 
371
    * examples/test-sndfile-bwf-set.py
 
372
    Update tests.
 
373
 
 
374
    * examples/sndfile-info.c
 
375
    When called with -i or -b option, operate on all files on command line, not
 
376
    just the first.
 
377
 
 
378
2008-08-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
379
 
 
380
    * src/rf64.c
 
381
    New file to handle RF64 (WAV like format supportting > 4Gig files).
 
382
 
 
383
    * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
 
384
    Hook the above into build so hacking can begin.
 
385
 
 
386
    * src/pcm.c
 
387
    Improve log message when pcm_init fails.
 
388
 
 
389
    * src/sndfile-info.c
 
390
    Only calculate and print 'Signal Max' if file is less than 10 megabytes in
 
391
    length.
 
392
 
 
393
2008-08-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
394
 
 
395
    * tests/string_test.c
 
396
    Polish string_multi_set_test.
 
397
 
 
398
    * src/wav.c
 
399
    In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
 
400
    length has changed).
 
401
    Minor fixes in wav_write_strings.
 
402
    Write PAD chunk with default endian-ness, not a specific endian-ness.
 
403
 
 
404
    * examples/test-sndfile-bwf-set.py
 
405
    Add Python script to test sndfile-bwf-set/get.
 
406
 
 
407
    * examples/sndfile-bwf-set.c
 
408
    Clean up and fixes.
 
409
 
 
410
    * src/wav.c
 
411
    Merge function wavex_write_header into wav_write_header, deleting about 70
 
412
    lines of code.
 
413
 
 
414
    * src/common.h
 
415
    Double value of SF_MAX_STRINGS.
 
416
 
 
417
    * tests/string_test.c
 
418
    Add string tests for WAVEX and RIFX files.
 
419
 
 
420
    * tests/command_test.c
 
421
    Add broadcast test for WAVEX files.
 
422
 
 
423
2008-08-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
424
 
 
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).
 
428
 
 
429
    * tests/command_test.c
 
430
    Add new broadcast_rdwr_test (currently failing).
 
431
 
 
432
    * src/wav.c
 
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.
 
435
 
 
436
    * src/sndfile.c
 
437
    Make sure psf->have_written gets set correctly in mode SFM_RDWR.
 
438
 
 
439
    * configure.ac
 
440
    Test for <sys/time.h> and gettimeofday.
 
441
 
 
442
    * src/common.c
 
443
    Use gettimeofday() to initialize psf_rand_int32.
 
444
 
 
445
    * src/common.h src/sndfile.c
 
446
    Add unique_id field to SF_PRIVATE struct.
 
447
 
 
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.
 
450
 
 
451
    * src/common.h src/strings.c
 
452
    Add function psf_location_string_count.
 
453
 
 
454
2008-08-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
455
 
 
456
    * configure.ac
 
457
    Test for localtime and localtime_r.
 
458
 
 
459
    * examples/sndfile-convert.c
 
460
    In function copy_metadata(), copy broadcast info if present.
 
461
 
 
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.
 
465
 
 
466
    * tests/utils.tpl
 
467
    Add new function create_short_sndfile().
 
468
 
 
469
    * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
 
470
        examples/Makefile.am
 
471
    Add new files and hook into build.
 
472
 
 
473
2008-08-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
474
 
 
475
    * src/sndfile.h.in
 
476
    Fix comments. Patch from Mark Glines.
 
477
 
 
478
2008-07-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
479
 
 
480
    * tests/misc_test.c
 
481
    Use zero_data_test on Ogg/Vorbis files.
 
482
 
 
483
    * src/ogg.c
 
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.
 
486
 
 
487
    * tests/Makefile.am
 
488
    Make sure to run mist_test on Ogg/Vorbis files.
 
489
 
 
490
2008-07-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
491
 
 
492
    * regtest/Makefile.am
 
493
    Use SQLITE3_CFLAGS to locate sqlite headers.
 
494
 
 
495
2008-07-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
496
 
 
497
    * doc/index.html doc/FAQ.html
 
498
    Add notes about which versions of windows libsndfile works on.
 
499
 
 
500
2008-07-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
501
 
 
502
    * tests/misc_test.c
 
503
    Add a test for correct handling of Ambisonic files. Thanks to Fons
 
504
    Adriaensen for the test.
 
505
 
 
506
    * src/wav.c src/wav_w64.c
 
507
    Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
 
508
 
 
509
2008-06-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
510
 
 
511
    * configure.ac
 
512
    Fix detection/enabling of external libs.
 
513
 
 
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
 
517
    it is searching for.
 
518
 
 
519
2008-06-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
520
 
 
521
    * src/aiff.c
 
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.
 
524
 
 
525
2008-05-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
526
 
 
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.
 
530
 
 
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.
 
534
 
 
535
    * src/sndfile.h.in
 
536
    Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
 
537
    unsigned.
 
538
 
 
539
    * examples/sndfile-info.c
 
540
    Print out the BEXT time reference in a sensible format.
 
541
 
 
542
2008-05-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
543
 
 
544
    * src/*.c
 
545
    Fuzz fixes.
 
546
 
 
547
    * src/ogg.c
 
548
    Add call to ogg_stream_clear to fix valgrind warning.
 
549
 
 
550
    * src/aiff.c
 
551
    Fix x86_64 compile issue.
 
552
 
 
553
    * configure.ac src/Makefile.am src/flac.c src/ogg.c
 
554
    Link to external versions of FLAC, Ogg and Vorbis.
 
555
 
 
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.
 
559
 
 
560
    * tests/external_libs_test.c tests/Makefile.am
 
561
    Add new test and hook into build and test suite.
 
562
 
 
563
    * src/command.c
 
564
    Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
 
565
    the right data when external libs are disabled.
 
566
 
 
567
2008-05-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
568
 
 
569
    * tests/write_read_test.tpl
 
570
    Add a test for extending a file during write by seeking past the current
 
571
    end of file.
 
572
 
 
573
    * src/sndfile.c
 
574
    Allow seeking past end of file during write.
 
575
 
 
576
2008-05-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
577
 
 
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.
 
582
 
 
583
    * doc/index.html doc/FAQ.html doc/libsndfile.css
 
584
    Minor documentation tweaks.
 
585
 
 
586
2008-05-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
587
 
 
588
    * configure.ac
 
589
    Add AM_PROG_CC_C_O.
 
590
 
 
591
2008-04-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
592
 
 
593
    * tests/error_test.c
 
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.
 
597
 
 
598
    * src/sndfile.c
 
599
    Make sf_close return an error is the file descriptor is already closed.
 
600
 
 
601
2008-04-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
602
 
 
603
    * configure.ac
 
604
    Set object format to aout for OS/2. Thanks to David Yeo.
 
605
 
 
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.
 
608
 
 
609
    * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
 
610
        tests/Makefile.am
 
611
    Add tests for MPC 2000 file format.
 
612
 
 
613
    * examples/sndfile-convert.c
 
614
    Allow conversion to MPC 2000 file format.
 
615
 
 
616
2008-04-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
617
 
 
618
    * src/VORBIS/lib/codebook.c
 
619
    Sync from upstream SVN.
 
620
 
 
621
    * autogen.sh configure.ac
 
622
    Minor tweaks.
 
623
 
 
624
2008-04-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
625
 
 
626
    * src/ogg.c
 
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.
 
629
 
 
630
    * src/OGG/bitwise.c
 
631
    Sync from upstream SVN.
 
632
 
 
633
2008-04-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
634
 
 
635
    * src/aiff.c
 
636
    Fix up handling of 'APPL' chunk. Thanks to Axel Roebel for bringing up
 
637
    this issue.
 
638
 
 
639
2008-04-06  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
640
 
 
641
    * tests/*.c
 
642
    Add calls to sf_close() where needed.
 
643
 
 
644
    * tests/utils.tpl tests/multi_file_test.c
 
645
    Always pass 0 as the third argument to open when OS_IS_WIN32.
 
646
 
 
647
2008-04-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
648
 
 
649
    * src/test_*
 
650
    Add files test_main.[ch].
 
651
    Collapse all tests into a single executable.
 
652
 
 
653
2008-03-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
654
 
 
655
    * src/FLAC
 
656
    Sync to upstream CVS.
 
657
 
 
658
2008-03-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
659
 
 
660
    * src/common.h
 
661
    Make SF_MIN and SF_MAX macros MinGW friendly.
 
662
 
 
663
    * examples/sndfile-(info|play).c
 
664
    Use Sleep function from <windows.h> instead of _sleep.
 
665
 
 
666
    * tests/locale_test.c
 
667
    Disable some tests when OS_IS_WIN32.
 
668
 
 
669
    * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
 
670
        src/FLAC/src/share/utf8/utf8.c
 
671
    MinGW fixes.
 
672
 
 
673
2008-03-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
674
 
 
675
    * doc/FAQ.html
 
676
    Tweaks to pcm16 <-> float conversion answer.
 
677
 
 
678
2008-02-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
679
 
 
680
    * src/OGG
 
681
    Sync to SVN upstream.
 
682
 
 
683
    * Makefile.am
 
684
    Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
 
685
 
 
686
2008-02-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
687
 
 
688
    * examples/sndfile-jackplay.c
 
689
    Minor tweaks to warning message printed when compiled without libjack.
 
690
 
 
691
2008-01-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
692
 
 
693
    * tests/peak_chunk_test.c
 
694
    Improve read_write_peak_test to find more errors. Inspired by example
 
695
    provided by Nicolas Castagne.
 
696
 
 
697
    * src/aiff.c
 
698
    Another SFM_RDWR fix shown up by above test.
 
699
 
 
700
2008-01-24  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
701
 
 
702
    * src/aiff.c
 
703
    Fix reading of COMM encoding string.
 
704
 
 
705
    * src/chunk.c src/common.h src/Makefile.am
 
706
    New file for storing and retrieving info about header chunks. Hook into
 
707
    build.
 
708
 
 
709
    * src/aiff.c
 
710
    Use new chunk logging to fix problem with AIFF in RDWR mode.
 
711
 
 
712
2008-01-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
713
 
 
714
    * src/command.c
 
715
    Add WVE to the list of major formats.
 
716
 
 
717
    * tests/aiff_rw_test.c
 
718
    Fix error reporting.
 
719
 
 
720
2008-01-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
721
 
 
722
    * src/common.[ch]
 
723
    Add internal functions str_of_major_format, str_of_minor_format,
 
724
    str_of_open_mode and str_of_endianness.
 
725
 
 
726
    * tests/write_read_test.tpl
 
727
    Fix reporting of errors in new_rdwr_XXXX_test.
 
728
 
 
729
2008-01-20  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
730
 
 
731
    * examples/sndfile-play.c
 
732
    Apply patch from Yair K. to fix compiles with OSS v4.
 
733
 
 
734
    * src/common.h src/float32.c src/double64.c
 
735
    Rename psf->float_enswap to psf->data_endswap.
 
736
 
 
737
    * src/sndfile.h.in src/sndfile.c src/pcm.c
 
738
    Add command SFC_RAW_NEEDS_ENDSWAP.
 
739
 
 
740
    * tests/command.c
 
741
    Add test for SFC_RAW_NEEDS_ENDSWAP.
 
742
 
 
743
    * doc/command.html
 
744
    Document SFC_RAW_NEEDS_ENDSWAP.
 
745
 
 
746
    * tests/peak_chunk_test.c
 
747
    Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
 
748
    bug report.
 
749
 
 
750
2008-01-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
751
 
 
752
    * examples/sndfile-cmp.c
 
753
    Add new example program contributed by Conrad Parker.
 
754
 
 
755
    * examples/Makefile.am
 
756
    Hook into build.
 
757
 
 
758
    * doc/development.html
 
759
    Change use or reconfigure.mk to autogen.sh.
 
760
 
 
761
2008-01-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
762
 
 
763
    * tests/win32_test.c
 
764
    Add another win32 test.
 
765
 
 
766
    * tests/util.tpl
 
767
    Add function file_length_fd which wraps fstat.
 
768
 
 
769
    * tests/Makefile.am
 
770
    Run the multi_file_test on AU files.
 
771
 
 
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.
 
775
 
 
776
2008-01-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
777
 
 
778
    * src/sd2.c
 
779
    Fix a rsrc parsing bug. Example file supplied by Uli Franke.
 
780
 
 
781
2007-12-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
782
 
 
783
    * doc/index.html
 
784
    Allow use of either LGPL v2.1 or LGPL v3.
 
785
 
 
786
    * tests/header_test.tpl
 
787
    Add header_shrink_test from Axel Roebel.
 
788
 
 
789
    * src/wav.c
 
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).
 
792
 
 
793
    * src/aiff.c tests/header_test.tpl
 
794
    Apply similar fix to above for AIFF files.
 
795
 
 
796
    * src/wav.c tests/header_test.tpl
 
797
    Apply similar fix to above for WAVEX files.
 
798
 
 
799
    * src/command.c
 
800
    Add Ogg/Vorbis to 'get format' commands.
 
801
 
 
802
2007-12-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
803
 
 
804
    * src/ogg.c
 
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).
 
807
 
 
808
    * tests/ogg_test.c
 
809
    Add stereo seek tests.
 
810
 
 
811
2007-12-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
812
 
 
813
    * tests/ogg_test.c
 
814
    Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
 
815
    case supplied by Bodo.
 
816
 
 
817
    * tests/utils.(def|tpl)
 
818
    Add compare_XXX_or_die functions.
 
819
 
 
820
2007-12-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
821
 
 
822
    * src/aiff.c
 
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.
 
825
 
 
826
2007-12-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
827
 
 
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.
 
831
 
 
832
2007-12-01  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
833
 
 
834
    * examples/sndfile-convert.c
 
835
    Fix handling of -override-sample-rate=X option.
 
836
 
 
837
2007-11-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
838
 
 
839
    * src/ogg.c src/VORBIS
 
840
    Merge in Ogg Vorbis support from John ffitch of the Csound project.
 
841
 
 
842
2007-11-24  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
843
 
 
844
    * src/sndfile.c
 
845
    Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
 
846
    recognise 'vox8' as and 'vox' as 8kHz files.
 
847
 
 
848
    * configure.ac
 
849
    Detect libjack (JACK Audio Connect Kit).
 
850
 
 
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.
 
854
 
 
855
2007-11-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
856
 
 
857
    * doc/index.html
 
858
    Update support table with SD2 and FLAC.
 
859
 
 
860
2007-11-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
861
 
 
862
    * src/sndfile.c
 
863
    Fix calculation of internal value psf->read_current when attempting to read
 
864
    past end of audio data.
 
865
    Remove redundant code.
 
866
 
 
867
    * tests/lossy_comp_test.c
 
868
    Add read_raw_test to check that raw reads do not go past the end of the
 
869
    audio data section.
 
870
    Clean up error output messages.
 
871
 
 
872
    * src/sndfile.c
 
873
    Add code to prevent sf_read_raw from reading past the end of the audio data.
 
874
 
 
875
    * tests/Makefile.am
 
876
    Add the wav_pcm lossy_comp_test.
 
877
 
 
878
2007-11-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
879
 
 
880
    * configure.ac src/Makefile.am src/create_symbols_file.py
 
881
    More OS/2 fixes from David Yeo.
 
882
 
 
883
2007-11-12  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
884
 
 
885
    * src/file_io.c tests/utils.tpl tests/benchmark.tpl
 
886
    Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
 
887
 
 
888
2007-11-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
889
 
 
890
    * src/common.h
 
891
    Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
 
892
 
 
893
    * src/create_symbols_file.py
 
894
    Add support for OS/2 contributed by David Yeo.
 
895
 
 
896
2007-11-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
897
 
 
898
    * M4/gcc_version.m4
 
899
    Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
 
900
 
 
901
    * configure.ac
 
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.
 
905
 
 
906
2007-11-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
907
 
 
908
    * tests/util.tpl
 
909
    Increase the printing width for print_test_name().
 
910
 
 
911
    * tests/command_test.c tests/Makefile.am
 
912
    Add tests for correct updating of broadcast WAV coding history.
 
913
 
 
914
    * examples/sndfilehandle.cc examples/Makefile.am
 
915
    Add example program using the C++ SndfileHandle class.
 
916
 
 
917
2007-10-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
918
 
 
919
    * src/common.h src/sndfile.c
 
920
    Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
 
921
 
 
922
2007-10-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
923
 
 
924
    * src/sd2.c
 
925
    Identify sample-rate/sample-size/channels by resource id.
 
926
 
 
927
2007-10-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
928
 
 
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.
 
932
 
 
933
2007-10-24  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
934
 
 
935
    * src/FLAC/include/share/alloc.h
 
936
    Mingw fix for SIZE_T_MAX from Uli Franke.
 
937
 
 
938
2007-10-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
939
 
 
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.
 
942
 
 
943
2007-10-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
944
 
 
945
    * tests/scale_clip_test.(def|tpl)
 
946
    Add tests for SFC_SET_INT_FLOAT_WRITE command.
 
947
 
 
948
    * doc/command.html
 
949
    Add docs for SFC_SET_INT_FLOAT_WRITE command.
 
950
 
 
951
    * examples/sndfile-play.c tests/dft_cmp.c
 
952
    Fix gcc-4.2 warning messages.
 
953
 
 
954
2007-10-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
955
 
 
956
    * src/sndfile.h.in src/sndfile.c
 
957
    Add command SFC_GET_CURRENT_SF_INFO.
 
958
 
 
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).
 
961
 
 
962
    * tests/command_test.c
 
963
    Add test for SFC_GET_CURRENT_SF_INFO.
 
964
 
 
965
2007-10-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
966
 
 
967
    * src/wav.c
 
968
    Add parsing of 'exif' chunks. Originally coded by Trent Apted.
 
969
 
 
970
    * configure.ac
 
971
    Put config stuff in Cfg directory.
 
972
    Remove check for inttypes.h.
 
973
 
 
974
2007-10-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
975
 
 
976
    * src/w64.c
 
977
    Fix writing of 'riff' chunk length and check for correct value in parser.
 
978
 
 
979
2007-09-20  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
980
 
 
981
    * doc/index.html
 
982
    Link to MP3 FAQ entry.
 
983
 
 
984
2007-09-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
985
 
 
986
    * src/flac.c
 
987
    Move the blocksize check to an earlier stage of flac_buffer_copy.
 
988
 
 
989
2007-09-12  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
990
 
 
991
    * src/FLAC
 
992
    Huge merge from FLAC upstream.
 
993
 
 
994
2007-09-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
995
 
 
996
    * examples/*.c
 
997
    Change license to all example programs to BSD.
 
998
 
 
999
2007-09-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1000
 
 
1001
    * src/FLAC/include/FLAC/metadata.h
 
1002
    Include <sys/types.h> to prevent compile error on OSX.
 
1003
 
 
1004
    * Octave/octave_test.sh
 
1005
    Disable test on OSX. Can't get it to work.
 
1006
 
 
1007
    * src/flac.c
 
1008
    Check the blocksize returned from the FLAC decoder to prevent buffer
 
1009
    overruns. Reported by Jeremy Friesner. Thanks.
 
1010
 
 
1011
2007-09-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1012
 
 
1013
    * Makefile.am M4/octave.m4
 
1014
    Fix build when Octave headers are not present.
 
1015
 
 
1016
2007-08-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1017
 
 
1018
    * doc/development.html
 
1019
    Add note about bzr repository directory looking empty.
 
1020
 
 
1021
2007-08-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1022
 
 
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.
 
1026
 
 
1027
2007-08-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1028
 
 
1029
    * acinclude.m4 configure.ac ...
 
1030
    Get rid of acinclude.m4 and replace it with an M4 directory.
 
1031
 
 
1032
2007-08-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1033
 
 
1034
    * src/sndfile.h.in
 
1035
    Remove crufty Metrowerks compiler support. Allow header file to be compiled
 
1036
    on windows with both GCC and microsoft compiler.
 
1037
 
 
1038
2007-08-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1039
 
 
1040
    * tests/dft_cmp.[ch] tests/floating_point_test.tpl
 
1041
    Clean up floating point tests.
 
1042
 
 
1043
2007-08-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1044
 
 
1045
    * src/aiff.c
 
1046
    Fix segfault when COMM chunk length is byte swapped.
 
1047
 
 
1048
2007-08-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1049
 
 
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.
 
1052
 
 
1053
    * src/au.c
 
1054
    Fix crash on AU files with zero channel count. Reported by Ben Alison.
 
1055
 
 
1056
2007-08-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1057
 
 
1058
    * src/voc.c
 
1059
    Fix bug in handling file supplied by Matt Olenik.
 
1060
 
 
1061
2007-07-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1062
 
 
1063
    * src/OGG
 
1064
    Merge from OGG upstream sources.
 
1065
 
 
1066
2007-07-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1067
 
 
1068
    * src/FLAC
 
1069
    Merge from FLAC upstream sources.
 
1070
 
 
1071
2007-07-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1072
 
 
1073
    * src/flac.c
 
1074
    Fix memory leak; set copy parameter to FALSE in call to
 
1075
    FLAC__metadata_object_vorbiscomment_append_comment.
 
1076
 
 
1077
    * src/common.[ch]
 
1078
    Add function psf_rand_int32().
 
1079
 
 
1080
2007-07-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1081
 
 
1082
    * src/FLAC
 
1083
    Merge from FLAC upstream sources.
 
1084
 
 
1085
    * src/strings.c tests/string_test.c tests/Makefile.am
 
1086
    Make sure string tests for SF_STR_LICENSE actually works.
 
1087
 
 
1088
2007-07-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1089
 
 
1090
    * tests/string_test.c
 
1091
    Add ability to test strings stored in metadata secion of FLAC files.
 
1092
 
 
1093
    * src/string.c
 
1094
    Fix logic for testing if audio data has been written and string is added.
 
1095
    Make sure SF_STR_ALBUM actually works.
 
1096
 
 
1097
    * src/flac.c
 
1098
    Finalize reading/writing string metadata. Tests pass.
 
1099
 
 
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.
 
1102
 
 
1103
    * src/sndfile.h.in
 
1104
    Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
 
1105
 
 
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).
 
1108
 
 
1109
2007-07-12  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1110
 
 
1111
    * src/flac.c
 
1112
    Apply patch from Ed Schouten to read artist and title metadata from FLAC
 
1113
    files.
 
1114
    Improve reporting of FLAC metadata.
 
1115
 
 
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.
 
1118
 
 
1119
2007-06-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1120
 
 
1121
    * src/FLAC/*
 
1122
    Merge from upstream CVS.
 
1123
 
 
1124
2007-06-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1125
 
 
1126
    * src/FLAC/*
 
1127
    Update from upstream CVS.
 
1128
 
 
1129
2007-06-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1130
 
 
1131
    * tests/cpp_test.cc
 
1132
    Add extra tests for when the SndfileHandle constructor fails.
 
1133
 
 
1134
    * src/sndfile.hh
 
1135
    Make sure failure to open the file in the constructor does not allow later
 
1136
    calls to other methods to fail.
 
1137
 
 
1138
2007-06-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1139
 
 
1140
    * tests/util.tpl
 
1141
    Add function write_mono_file.
 
1142
 
 
1143
    * tests/generate.[ch] tests/Makefile.am
 
1144
    Add files generate.[ch] and hook into build.
 
1145
 
 
1146
    * tests/write_read_test.tpl
 
1147
    Add multi_seek_test.
 
1148
 
 
1149
    * src/flac.c
 
1150
    Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
 
1151
    by David Viens.
 
1152
 
 
1153
2007-06-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1154
 
 
1155
    * doc/FAQ.html
 
1156
    Minor update.
 
1157
 
 
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.
 
1160
 
 
1161
2007-05-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1162
 
 
1163
    * src/wav.c
 
1164
    Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
 
1165
 
 
1166
2007-05-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1167
 
 
1168
    * src/wav.c
 
1169
    Fix array indexing bug raised by Bruce Sharpe.
 
1170
 
 
1171
2007-05-12  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1172
 
 
1173
    * src/FLAC/src/share/getopt/getopt.c
 
1174
    Fix Mac OSX / PowerPC compile warnings.
 
1175
 
 
1176
    * configure.ac
 
1177
    Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
 
1178
 
 
1179
2007-05-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1180
 
 
1181
    * doc/FAQ.html
 
1182
    Add Q/A about MP3 support.
 
1183
 
 
1184
2007-05-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1185
 
 
1186
    * doc/new_file_type.HOWTO
 
1187
    Minor updates.
 
1188
 
 
1189
2007-05-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1190
 
 
1191
    * src/wve.c
 
1192
    Fix a couple bad parameters with psf_log_printf.
 
1193
 
 
1194
    * src/pcm.c
 
1195
    Improve error reporting.
 
1196
 
 
1197
    * src/common.h src/common.c
 
1198
    Constify psf_hexdump.
 
1199
 
 
1200
2007-04-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1201
 
 
1202
    * src/FLAC
 
1203
    Ditch and re-import required FLAC code.
 
1204
 
 
1205
    * configure.ac
 
1206
    Force FLAC__HAS_OGG variable to 1.
 
1207
 
 
1208
    * src/FLAC/src/libFLAC/stream_encoder.c
 
1209
    Fix compiler warnings.
 
1210
 
 
1211
2007-04-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1212
 
 
1213
    * configure.ac tests/win32_ordinal_test.c
 
1214
    Detect if win32 DLL is beging generated and only run win32_ordinal_test if
 
1215
    true.
 
1216
 
 
1217
    * src/G72x/Makefile.am src/Makefile.am
 
1218
    Use $(EXEEXT) where possible.
 
1219
 
 
1220
2007-04-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1221
 
 
1222
    * src/wve.c src/common.h src/sndfile.c
 
1223
    Complete definition of SfE_WVE_NO_WVE error message.
 
1224
 
 
1225
    * src/wve.c
 
1226
    Fix error in files generated on big endian systems. Robustify parsing.
 
1227
 
 
1228
2007-04-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1229
 
 
1230
    * src/double64.c
 
1231
    Fix clipping of double to short conversions on 64 bit systems.
 
1232
 
 
1233
    * src/flac.c regtest/database.c tests/cpp_test.cc
 
1234
    Fix compile warnings for 64 bit systems.
 
1235
 
 
1236
2007-04-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1237
 
 
1238
    * src/wav.c src/wav_w64.c
 
1239
    Use audio detect function when 'fmt ' chunk data is suspicious.
 
1240
 
 
1241
    * configure.ac
 
1242
    Add ugly hack to remove -Werror from some Makefiles.
 
1243
 
 
1244
2007-04-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1245
 
 
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.
 
1248
 
 
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.
 
1252
 
 
1253
    * tests/lossy_comp_test.c tests/Makefile.am
 
1254
    Add tests for WVE files.
 
1255
 
 
1256
2007-04-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1257
 
 
1258
    * src/sndfile.hh
 
1259
    Add a static SndfileHandle::formatCheck method as suggested by Jorge
 
1260
    Jim�nez.
 
1261
 
 
1262
2007-04-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1263
 
 
1264
    * src/sndfile.c
 
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.
 
1268
 
 
1269
2007-04-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1270
 
 
1271
    * src/flac.c
 
1272
    Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
 
1273
    opening file for RDWR.
 
1274
 
 
1275
    * src/sndfile.c
 
1276
    Improve error message for SFE_BAD_RDWR_FORMAT.
 
1277
 
 
1278
    * src/mat4.c
 
1279
    Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
 
1280
 
 
1281
2007-03-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1282
 
 
1283
    * doc/FAQ.html
 
1284
    Add Q/A 19 on project files.
 
1285
 
 
1286
2007-03-01  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1287
 
 
1288
    * src/sndfile.c
 
1289
    Guard agains MacOSX universal binary compiles.
 
1290
 
 
1291
    * doc/FAQ.html
 
1292
    Add Q/A 18 and clean up Q3.
 
1293
 
 
1294
2007-02-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1295
 
 
1296
    * src/aiff.c
 
1297
    Add support for 'in24' files.
 
1298
 
 
1299
2007-02-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1300
 
 
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.
 
1303
 
 
1304
    * src/audio_detect.c src/test_audio_detect.c
 
1305
    Add new file and its unit test.
 
1306
 
 
1307
2007-02-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1308
 
 
1309
    * examples/cooledit-fixer.c examples/Makefile.am
 
1310
    Remove old broken example program.
 
1311
 
 
1312
2007-02-06  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1313
 
 
1314
    * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
 
1315
    Add function sf_get_info.
 
1316
 
 
1317
2007-01-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1318
 
 
1319
    * examples/sndfile-play.c
 
1320
    For ALSA, use the 'default' device instead of 'plughw:0'.
 
1321
 
 
1322
2007-01-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1323
 
 
1324
    * src/sndfile.c
 
1325
    Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
 
1326
 
 
1327
2007-01-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1328
 
 
1329
    * doc/development.html doc/embedded_files.html man/sndfile-play.1
 
1330
    Minor documentation fixes. Thanks Reuben Thomas.
 
1331
 
 
1332
2006-12-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1333
 
 
1334
    * examples/sndfile-convert.c
 
1335
    Add -override-sample-rate command line option.
 
1336
 
 
1337
2006-11-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1338
 
 
1339
    * tests/misc_test.c
 
1340
    Force errno to zero at start of some tests.
 
1341
 
 
1342
    * src/sndfile.c
 
1343
    Minor clean up of error handling.
 
1344
 
 
1345
    * configure.ac
 
1346
    Remove an assembler test which was failing on OSX.
 
1347
 
 
1348
2006-11-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1349
 
 
1350
    * src/common.h
 
1351
    Fix the definition of SF_PLATFORM_S64 for MinGW.
 
1352
 
 
1353
    * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
 
1354
    Fix path problems for MinGW.
 
1355
 
 
1356
2006-11-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1357
 
 
1358
    * src/sfendian.h
 
1359
    Add include guard.
 
1360
 
 
1361
    * src/Makefile.am src/flac.c
 
1362
    Clean up include paths.
 
1363
 
 
1364
    * src/test_conversions.c
 
1365
    New file to test psf_binheader_readf/writef functions.
 
1366
 
 
1367
    * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
 
1368
    Clean up unit testing.
 
1369
 
 
1370
    * src/common.c
 
1371
    Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
 
1372
    for reporting this.
 
1373
 
 
1374
    * src/test_conversions.c
 
1375
    Complete unit test for above fix.
 
1376
 
 
1377
2006-11-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1378
 
 
1379
    * src/sndfile.c
 
1380
    More refactoring to clean up psf_open_file() and vairous sf_open()
 
1381
    functions.
 
1382
 
 
1383
2006-11-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1384
 
 
1385
    * src/wav.c
 
1386
    Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
 
1387
    files of over 4 gigabytes.
 
1388
 
 
1389
2006-11-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1390
 
 
1391
    * src/sndfile.c
 
1392
    Refactor function psf_open_file() to provide a single return point.
 
1393
 
 
1394
    * tests/misc_test.c
 
1395
    Fix permission_test to ensure that read only file can be created.
 
1396
 
 
1397
2006-11-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1398
 
 
1399
    * src/common.h
 
1400
    Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
 
1401
    bit integers.
 
1402
 
 
1403
    * src/aiff.c src/svx.c src/wav.c
 
1404
    Add warning in log if files are larger than 4 gigabytes in size.
 
1405
 
 
1406
2006-11-01  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1407
 
 
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.
 
1411
 
 
1412
2006-10-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1413
 
 
1414
    * src/sd2.c
 
1415
    Add workaround for switched sample rate and sample size.
 
1416
 
 
1417
    * src/wav.c
 
1418
    Add workaround for excessively long coding history in the 'bext' chunk.
 
1419
 
 
1420
2006-10-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1421
 
 
1422
    * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
 
1423
    Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
 
1424
 
 
1425
2006-10-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1426
 
 
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.
 
1430
 
 
1431
    * src/*.c
 
1432
    Use the UNUSED macro to prevent compiler warnings.
 
1433
 
 
1434
2006-10-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1435
 
 
1436
    * src/aiff.c
 
1437
    Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
 
1438
    to David Viens for providing two example files.
 
1439
 
 
1440
    * src/common.(c|h) src/aiff.c
 
1441
    Add a function psf_sanitize_string and use it in aiff.c.
 
1442
 
 
1443
2006-10-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1444
 
 
1445
    * src/wav_w64.c
 
1446
    Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
 
1447
 
 
1448
2006-10-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1449
 
 
1450
    * src/Makefile.am
 
1451
    Fix problem related to recent test coverage changes.
 
1452
 
 
1453
2006-10-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1454
 
 
1455
    * configure.ac tests/Makefile.am
 
1456
    Add --enable-test-coverage configure option.
 
1457
 
 
1458
2006-10-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1459
 
 
1460
    * src/sndfile.hh
 
1461
    Add an std::string SndfileHandle constructor.
 
1462
 
 
1463
    * tests/scale_clip_test.tpl
 
1464
    Fix the 'make distcheck' target.
 
1465
 
 
1466
2006-10-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1467
 
 
1468
    * src/double64.c src/float32.c
 
1469
    Add optional clipping on float file data to int read data conversions.
 
1470
 
 
1471
    * tests/tests/scale_clip_test.(def|tpl)
 
1472
    Add test for above new code.
 
1473
 
 
1474
2006-09-06  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1475
 
 
1476
    * tests/aiff_rw_test.c
 
1477
    Add 'MARK' chunks to make sure they are parsed correctly.
 
1478
 
 
1479
2006-09-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1480
 
 
1481
    * src/aiff.c
 
1482
    Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
 
1483
    help debug the problem.
 
1484
 
 
1485
2006-09-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1486
 
 
1487
    * src/common.h
 
1488
    Make the SF_MIN and SF_MAX macros at least partially type safe.
 
1489
 
 
1490
    * tests/lossy_comp_test.c
 
1491
    Fix overflow problems when ensuring that signalis not zero.
 
1492
 
 
1493
2006-08-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
2
1494
 
3
1495
    * configure.ac docs/*.html
4
1496
    Changes for release 1.0.17.
5
1497
 
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>
7
1499
 
8
1500
    * src/flac.c
9
1501
    Remove inline from functions called by pointer. Thanks to Sampo Savolainen
10
1502
    for notifying me of this.
11
1503
 
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>
13
1505
 
14
1506
    * src/sndfile.hh
15
1507
    Add writeSync method.
21
1513
    * tests/cpp_test.cc
22
1514
    Cleanup. Add tests.
23
1515
 
24
 
2006-07-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1516
2006-07-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
25
1517
 
26
1518
    * src/sndfile.hh
27
1519
    Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
33
1525
    * tests/cpp_test.cc
34
1526
    Add more tests.
35
1527
 
36
 
2006-07-29 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1528
2006-07-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
37
1529
 
38
1530
    * tests/cpp_test.cc
39
1531
    Remove the generated file so "make distcheck" passes.
44
1536
    * src/sndfile.hh
45
1537
    Change the license for the C++ wrapper to modified BSD.
46
1538
 
47
 
2006-07-28 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1539
2006-07-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
48
1540
 
49
1541
    * src/sndfile.hh
50
1542
    Complete it.
52
1544
    * tests/cpp_test.cc
53
1545
    Add more tests.
54
1546
 
55
 
2006-07-27 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1547
2006-07-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
56
1548
 
57
1549
    * tests/utils.tpl
58
1550
    Add extern C to generated header file.
66
1558
    * configure.ac
67
1559
    Add appropriate CXXFLAGS.
68
1560
 
69
 
2006-07-26 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1561
2006-07-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
70
1562
 
71
1563
    * configure.ac
72
1564
    Test if compiler supports -Wpointer-arith.
74
1566
    * src/common.c
75
1567
    Fix a warning resulting from -Wpointer-arith.
76
1568
 
77
 
2006-07-15 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1569
2006-07-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
78
1570
 
79
1571
    * examples/sndfile-play.c
80
1572
    Explicitly set endian-ness as well as setting 16 bit output.
88
1580
    * src/wav_w64.[ch]
89
1581
    Minor clean up, add detection of IPP ITU G723.1.
90
1582
 
91
 
2006-06-23 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1583
2006-06-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
92
1584
 
93
1585
    * src/sndfile.c
94
1586
    Make sure psf->dataoffset gets reset to zero when openning headersless
95
1587
    files based on the file name extension.
96
1588
 
97
 
2006-06-21 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1589
2006-06-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
98
1590
 
99
1591
    * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
100
1592
        tests/write_read_test.(tpl|def)
104
1596
    * examples/cooledit-fixer.c
105
1597
    More fixes like above.
106
1598
 
107
 
2006-06-20 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1599
2006-06-20  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
108
1600
 
109
1601
    * src/file_io.c
110
1602
    Fix a windows bug where the syserr string of SF_PRIVATE was not being set
113
1605
    * src/sndfile.c
114
1606
    Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
115
1607
 
116
 
2006-06-04 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1608
2006-06-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
117
1609
 
118
1610
    * configure.ac
119
1611
    Fixed detection of S_IRGRP.
120
1612
 
121
 
2006-05-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1613
2006-05-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
122
1614
 
123
1615
    * sndfile-convert.c
124
1616
    Add conversion SF_INSTRUMENT data when present.
125
1617
 
126
 
2006-05-22 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1618
2006-05-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
127
1619
 
128
1620
    * doc/development.html
129
1621
    Removed references to tla on windows.
142
1634
        src/(sndfile|voc|vox_adpcm|xi).c
143
1635
    Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
144
1636
 
145
 
2006-05-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1637
2006-05-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
146
1638
 
147
1639
    * Win32/testprog.c Win32/Makefile.am
148
1640
    Add a minimal win32 test program.
150
1642
    * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
151
1643
    Update readme and Mingw build script.
152
1644
 
153
 
2006-05-09 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1645
2006-05-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
154
1646
 
155
1647
    * configure.ac acinclude.m4
156
1648
    Minor fixes for Solaris.
157
1649
 
158
 
2006-05-05 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1650
2006-05-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
159
1651
 
160
1652
    * src/test_endswap.(def|tpl)
161
1653
    Fix printf formatting for int64_t on 64 bit machines.
162
1654
 
163
 
2006-05-04 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1655
2006-05-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
164
1656
 
165
1657
    * src/binhead_check.py
166
1658
    New file to check for bad parameters passed to psf_binheader_writef().
174
1666
    * src/double64.c
175
1667
    Clean up double64_get_capability().
176
1668
 
177
 
2006-05-03 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1669
2006-05-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
178
1670
 
179
1671
    * src/wav_w64.c
180
1672
    Fix a bug on x86_64 where an int was being passed via stdargs and being
181
1673
    read using size_t which is 64 bits. Thenks to John ffitch for giving me a
182
1674
    login on his box.
183
1675
 
184
 
2006-05-02 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1676
2006-05-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
185
1677
 
186
1678
    * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
187
1679
            tests/utils.tpl
188
1680
    Fix a couple of signed/unsigned problems.
189
1681
 
190
 
2006-05-01 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1682
2006-05-01  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
191
1683
 
192
1684
    * tests/command_test.c
193
1685
    Add channel map tests.
196
1688
    Add a pointer the the SF_PRIVATE struct and make sure it gets freed in
197
1689
    sf_close().
198
1690
 
199
 
2006-04-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1691
2006-04-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
200
1692
 
201
1693
    * configure.ac doc/(command|index|api).html NEWS README
202
1694
    Updates for 1.0.16 release.
207
1699
    * examples/sndfile-info.c
208
1700
    Clean up usage of SF_INFO struct.
209
1701
 
210
 
2006-04-29 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1702
2006-04-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
211
1703
 
212
1704
    * tests/util.tpl
213
1705
    Add function testing function exit_if_true().
215
1707
    * tests/floating_point_test.tpl
216
1708
    Fix a problem where the test program was not exiting when the test failed.
217
1709
 
218
 
2006-04-15 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1710
2006-04-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
219
1711
 
220
1712
    * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
221
1713
    Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
226
1718
    * tests/peak_chunk_test.c
227
1719
    Update tests for new commands.
228
1720
 
229
 
2006-04-02 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1721
2006-04-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
230
1722
 
231
1723
    * tests/peak_chunk_test.c
232
1724
    Add test for RIFX and WAVEX files.
235
1727
    * src/sndfile.c
236
1728
    Fix a bug where enabling and disabling PEAK chunk was screwing up.
237
1729
 
238
 
2006-03-31 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1730
2006-03-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
239
1731
 
240
1732
    * src/sndfile.h.in
241
1733
    Add the block of 190 reserved bytes into this struct to allow for
250
1742
    * tests/command_test.c tests/Makefile.am
251
1743
    Complete bext tests, hook test in test suite.
252
1744
 
253
 
2006-03-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1745
2006-03-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
254
1746
 
255
1747
    * src/sndfile.h.in
256
1748
    Make coding_history field of SF_BROADCAST_INFO struct a char array instead
266
1758
    * src/wav.c
267
1759
    Ignore and skip the 'levl' chunk.
268
1760
 
269
 
2006-03-26 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1761
2006-03-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
270
1762
 
271
1763
    * configure.ac
272
1764
    Fix handling of --enable and --disable configure args. Thanks to Diego
273
1765
    'Flameeyes' Petten� who sent the patch.
274
1766
 
275
 
2006-03-22 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1767
2006-03-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
276
1768
 
277
1769
    * doc/win32.html
278
1770
    Make it really clear that although the MSVC++ cannot compile libsndfile,
279
1771
    the precompiled DLL can be used in C++ programs compiled with MSVC++.
280
1772
 
281
 
2006-03-18 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1773
2006-03-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
282
1774
 
283
1775
    * src/aiff.c
284
1776
    Fix bug in writing of INST chunk in AIFF files.
293
1785
    * tests/utils.tpl
294
1786
    Add usage of space character to psf_binheader_writef.
295
1787
 
296
 
2006-03-17 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1788
2006-03-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
297
1789
 
298
1790
    * src/Makefile.am tests/Makefile.am
299
1791
    Remove --source-time argument from autogen command lines.
304
1796
    * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
305
1797
    Add patch from Paul Davis implementing read/write of the BEXT chunk.
306
1798
 
307
 
2006-03-16 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1799
2006-03-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
308
1800
 
309
1801
    * Win32/README-precompiled-dll.txt
310
1802
    New file descibing how to use the precompiled DLL.
315
1807
    * configure.ac
316
1808
    Bump version to 1.0.15.
317
1809
 
318
 
2006-03-11 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1810
2006-03-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
319
1811
 
320
1812
    * src/wav.c
321
1813
    On read, only add the endian flag if the file is big endian.
326
1818
    * tests/write_read_test.tpl tests/lossy_comp_test.c
327
1819
    Add tests for RIFX files.
328
1820
 
329
 
2006-03-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1821
2006-03-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
330
1822
 
331
1823
    * Mingw-make-dist.sh
332
1824
    Bunch of improvements.
334
1826
    * doc/win32.html
335
1827
    Update MinGW program versions.
336
1828
 
337
 
2006-03-09 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1829
2006-03-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
338
1830
 
339
1831
    * src/create_symbols_file.py
340
1832
    Fix the library name in created win32 DEF file. Add correct DLL name for
352
1844
    * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
353
1845
    Apply large patch from Jesse Chappell which adds support for RIFX files.
354
1846
 
355
 
2006-03-08 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1847
2006-03-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
356
1848
 
357
1849
    * Makefile.am
358
1850
    Add Mingw-make-dist.sh to the extra dist files.
364
1856
    New test program to test that the win32 DLL ordinals agree with the DEF
365
1857
    file.
366
1858
 
367
 
2006-03-04 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1859
2006-03-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
368
1860
 
369
1861
    * src/common.h
370
1862
    Add a static inline function to convert an int to a size_t. This will be
378
1870
    Add a workaround for situations where OSX seems to add an extra 0x52 bytes
379
1871
    to the start of the resource fork.
380
1872
 
381
 
2006-02-19 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1873
2006-02-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
382
1874
 
383
1875
    * Mingw-make-dist.sh
384
1876
    Add a shell script to build the windows binary/source ZIP file.
393
1885
    * configure.ac
394
1886
    Bump version to 1.0.14.
395
1887
 
396
 
2006-02-11 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1888
2006-02-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
397
1889
 
398
1890
    * src/sd2.c
399
1891
    Improve logging of errors in resource fork parser.
400
1892
 
401
 
2006-01-31 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1893
2006-01-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
402
1894
 
403
1895
    * Win32/Makefile.msvc
404
1896
    Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
405
1897
 
406
 
2006-01-29 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1898
2006-01-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
407
1899
 
408
1900
    * src/common.c
409
1901
    Make sure return values are initialised header buffer is full.
411
1903
    * src/wav.c
412
1904
    Add workarounds for messed up WAV files.
413
1905
 
414
 
2006-01-21 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1906
2006-01-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
415
1907
 
416
1908
    * Win32/config.h
417
1909
    Undef HAVE_INTTYPES_H for win32.
425
1917
    * doc/*.html NEWS README
426
1918
    Update version numbers.
427
1919
 
428
 
2006-01-19 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1920
2006-01-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
429
1921
 
430
1922
    * src/xi.c
431
1923
    Start work on add read/write of instrument chunks.
438
1930
    automatically because it requires 3 Gig of disk space and takes 3 minutes
439
1931
    to run.
440
1932
 
441
 
2006-01-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1933
2006-01-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
442
1934
 
443
1935
    * examples/sndfile-play.c
444
1936
    Fix calculation of samples remaining in win32 code. Thanks Axel Roebel.
447
1939
    Make sure length of header buffer can hold header plus strings. Thanks Axel
448
1940
    Roebel.
449
1941
 
450
 
2006-01-09 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1942
2006-01-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
451
1943
 
452
1944
    * src/sndfile.h.in src/aiff.c src/wav.c
453
 
    Apply a patch from John Fitch (Csound project).
 
1945
    Apply a patch from John ffitch (Csound project).
454
1946
    Add detune field to SF_INSTRUMENT struct.
455
1947
    Add reading/writing instrument chunks to WAV files.
456
1948
 
460
1952
    * tests/Makefile.am
461
1953
    Hook instrument tests into test suite.
462
1954
 
463
 
2006-01-05 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1955
2006-01-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
464
1956
 
465
1957
    * configure.ac
466
1958
    Check for <inttypes.h> because some broken systems (like Solaris) don't have
469
1961
    * src/sfendian.h src/common.h
470
1962
    Use <inttypes.h> if <stdint.h> is not available.
471
1963
 
472
 
2005-12-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1964
2005-12-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
473
1965
 
474
1966
    * tests/peak_chunk_test.c
475
1967
    Extend and clean up tests.
477
1969
    * src/sndfile.c
478
1970
    Fix a bug that prevented the turning off of PEAK chunks.
479
1971
 
480
 
2005-12-29 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1972
2005-12-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
481
1973
 
482
1974
    * tests/error_test.c
483
1975
    Make the test distclean correct.
485
1977
    * src/file_io.c
486
1978
    Fix an SD2 MacOSX bug (reported by vince schwarzinger).
487
1979
 
488
 
2005-12-28 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1980
2005-12-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
489
1981
 
490
1982
    * src/aiff.c tests/command_test.c
491
1983
    Apply a big patch from John ffitch (Csound project) to add reading and
492
1984
    writing of instrument chunks to AIFF files. Also update the test.
493
1985
 
494
 
2005-12-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1986
2005-12-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
495
1987
 
496
1988
    * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
497
1989
    Move test function dump_data_to_file() to utils.tpl.
500
1992
    Updates, including a new test to test that sf_error() returns a valid error
501
1993
    number.
502
1994
 
503
 
2005-12-07 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
1995
2005-12-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
504
1996
 
505
1997
    * examples/list_formats.c
506
1998
    Make sure the SF_INFO struct is memset to all zero before being used.
509
2001
    * src/sndfile.c
510
2002
    Make the return value of sf_error() match the API documentation.
511
2003
 
512
 
2005-11-19 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2004
2005-11-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
513
2005
 
514
2006
    * examples/sndfile-convert.c
515
2007
    Allow conversion to raw gsm610.
523
2015
    * src/sndfile.c
524
2016
    Rejig file extension based file type detection.
525
2017
 
526
 
2005-11-16 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2018
2005-11-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
527
2019
 
528
2020
    * src/sndfile.c
529
2021
    Add "gsm" as a recognised file extension when no magic number can be found.
531
2023
    * tests/lossy_comp_test.c tests/Makefile.am
532
2024
    Test headerless GSM610.
533
2025
 
534
 
2005-11-13 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2026
2005-11-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
535
2027
 
536
2028
    * doc/api.html
537
2029
    Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
538
2030
 
539
 
2005-10-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2031
2005-10-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
540
2032
 
541
2033
    * src/wav_w64.c
542
2034
    Add more reporting of 'fmt ' chunk for G721 encoded files.
544
2036
    * src/wav.c
545
2037
    Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
546
2038
 
547
 
2005-10-29 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2039
2005-10-29  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
548
2040
 
549
2041
    * src/G72x/g72x.[ch]
550
2042
    Minor cleanup of interface.
551
2043
 
552
 
2005-10-28 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2044
2005-10-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
553
2045
 
554
2046
    * src/ogg.c
555
2047
    Removed the horribly broken and non-functional OGG implementation when
559
2051
    * src/caf.c
560
2052
    Fix a memory leak.
561
2053
 
562
 
2005-10-27 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2054
2005-10-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
563
2055
 
564
2056
    * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
565
2057
    Add support for G721 encoded WAV files.
591
2083
    *  src/*.c
592
2084
    Fix knock on effects of above.
593
2085
 
594
 
2005-10-26 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2086
2005-10-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
595
2087
 
596
2088
    * examples/sndfile-info.c
597
2089
    Complete dumping SF_INSTRUMENT data.
603
2095
    Add a string comment to the end of the files to make sure that the decoder
604
2096
    doesn't decode beyond the end of the audio data section.
605
2097
 
606
 
2005-10-25 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2098
2005-10-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
607
2099
 
608
2100
    * examples/sndfile-info.c
609
2101
    Minor code cleanup.
610
2102
    Start work on dumping SF_INSTRUMENT data.
611
2103
 
612
 
2005-10-23 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2104
2005-10-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
613
2105
 
614
2106
    * src/sndfile.h.in src/common.h src/common.c
615
2107
    Update definition of SF_INSTRUMENT struct and create a function to allocate
629
2121
    Add test for set and getof SF_INSTRUMENT data.
630
2122
    The file command_test.c is no longer autogen generated.
631
2123
 
632
 
2005-10-15 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2124
2005-10-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
633
2125
 
634
2126
    * src/gsm610.c
635
2127
    Minor cleanup.
636
2128
 
637
 
2005-10-14 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2129
2005-10-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
638
2130
 
639
2131
    * tests/lossy_comp_test.c
640
2132
    Minor cleanup.
641
2133
 
642
 
2005-10-13 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2134
2005-10-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
643
2135
 
644
2136
    * src/*.c
645
2137
    Ensure sfconfig.h is included before any other header file.
650
2142
    * src/gsm610.c
651
2143
    Make sure SF_FORMAT_WAVEX are handled correctly.
652
2144
 
653
 
2005-10-07 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2145
2005-10-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
654
2146
 
655
2147
    * configure.ac
656
2148
    Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
657
2149
 
658
 
2005-09-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2150
2005-09-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
659
2151
 
660
2152
    * tests/locale_test.c
661
2153
    Modify the way the unicode strings were encoded so that older compilers
667
2159
    * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
668
2160
    Update version numbers.
669
2161
 
670
 
2005-09-26 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2162
2005-09-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
671
2163
 
672
2164
    * src/flac.c
673
2165
    Fix valgrind error and minor cleanup.
674
2166
 
675
 
2005-09-25 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2167
2005-09-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
676
2168
 
677
2169
    * src/(au|paf|aiff|w64|wav|svx).c
678
2170
    Make sure structs are initialised.
679
2171
 
680
 
2005-09-24 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2172
2005-09-24  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
681
2173
 
682
2174
    * configure.ac
683
2175
    Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
685
2177
    Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
686
2178
    compiler supports it.
687
2179
 
688
 
2005-09-23 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2180
2005-09-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
689
2181
 
690
2182
    * configure.ac acinclude.m4
691
2183
    Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
692
2184
 
693
 
2005-09-22 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2185
2005-09-22  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
694
2186
 
695
2187
    * tests/util.(tpl|def)
696
2188
    Make the test_write_*_or_die() functions const safe.
697
2189
 
698
 
2005-09-21 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2190
2005-09-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
699
2191
 
700
2192
    * src/nist.c
701
2193
    Make sure the data offset is read from the file header. Thanks to
702
2194
    David A. van Leeuwen for a patch.
703
2195
 
704
 
2005-09-20 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2196
2005-09-20  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
705
2197
 
706
2198
    * configure.ac src/sfconfig.h
707
2199
    Check for <locale.h> and the function setlocale().
710
2202
    * tests/locale_test.c tests/Makefile.am
711
2203
    Add new test program and hook into build/test system.
712
2204
 
713
 
2005-09-18 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2205
2005-09-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
714
2206
 
715
2207
    * src/common.h src/file_io.c
716
2208
    On windows, use windows specific types for file handles.
722
2214
    * src/sndfile.c src/test_file_io.c
723
2215
    Fix knock on effects.
724
2216
 
725
 
2005-09-06 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2217
2005-09-06  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
726
2218
 
727
2219
    * src/float_cast.h
728
2220
    The lrint and lrintf implementations in Cygwin are both buggy and slow.
729
2221
    Add replacements which were pulled from the Public Domain MinGW math.h
730
2222
    header file.
731
2223
 
732
 
2005-09-05 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2224
2005-09-05  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
733
2225
 
734
2226
    * tests/(lossy_comp_test|virtual_io_test).c
735
2227
    More Valgrind fixups.
740
2232
    * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
741
2233
    Update build for MSVC.
742
2234
 
743
 
2005-09-04 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2235
2005-09-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
744
2236
 
745
2237
    * tests/lossy_comp_test.c
746
2238
    Make sure to close SNDFILE when exiting test when file format is not seekable.
748
2240
    * tests/(aiff_rw_test|virtual_io_test).c
749
2241
    Do a few valgrind fix ups.
750
2242
 
751
 
2005-09-03 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2243
2005-09-03  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
752
2244
 
753
2245
    * src/float32.c src/double64.c
754
2246
    Replace floating point equality comparisons with greater/less comparisons.
764
2256
    * src/file_io.c
765
2257
    Remove Mac OS9 Metrowerks compiler specific hacks.
766
2258
 
767
 
2005-08-31 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2259
2005-08-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
768
2260
 
769
2261
    * src/w64.c
770
2262
    Cast integer literal to sf_count_t in call to psf_binheader_writef() to
771
2263
    prevent Valgrind error.
772
2264
 
773
 
2005-08-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2265
2005-08-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
774
2266
 
775
2267
    * doc/command.html
776
2268
    Improve documentation of SF_GET_FORMAT_SUBTYPE.
777
2269
 
778
 
2005-08-26 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2270
2005-08-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
779
2271
 
780
2272
    * examples/sndfile-convert.c
781
2273
    Allow files to be converted to SD2 format.
784
2276
    Fix a bug in reading and writing of SD2 files on little endian CPUs.
785
2277
    Thanks to Matthew Willis for finding this.
786
2278
 
787
 
2005-08-25 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2279
2005-08-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
788
2280
 
789
2281
    * doc/api.html
790
2282
    Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
791
2283
 
792
 
2005-08-16 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2284
2005-08-16  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
793
2285
 
794
2286
    * configure.ac
795
2287
    Use $host_os instead of $target_os (thanks to Mo De Jong).
796
2288
 
797
 
2005-08-15 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2289
2005-08-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
798
2290
 
799
2291
    * src/Makefile.am
800
2292
    Apply a patch from Mo DeJong to allow building outside of the source dir.
806
2298
    Move some code from wav.c to wav_w64.c to improve the log output of files of
807
2299
    type WAVE_FORMAT_EXTENSIBLE.
808
2300
 
809
 
2005-08-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2301
2005-08-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
810
2302
 
811
2303
    * src/create_symbols_file.py
812
2304
    Make sure sf_write_fsync is an exported symbol.
814
2306
    * examples/sndfile-convert.c
815
2307
    Add support for writing VOX adpcm files.
816
2308
 
817
 
2005-07-31 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2309
2005-07-31  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
818
2310
 
819
2311
    * doc/api.html
820
2312
    Document the new function sf_write_sync().
822
2314
    * doc/FAQ.html
823
2315
    Do you plan to support XYZ codec.
824
2316
 
825
 
2005-07-28 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2317
2005-07-28  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
826
2318
 
827
2319
    * src/sndfile.h.in src/sndfile.c
828
2320
    Add function sf_write_sync() to the API.
833
2325
    * tests/write_read_test.tpl
834
2326
    Use the new function in the tests.
835
2327
 
836
 
2005-07-24 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2328
2005-07-24  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
837
2329
 
838
2330
    * src/common.h src/double64.c src/float32.c src/sndfile.c
839
2331
    Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
846
2338
    Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
847
2339
    SF_FORMAT_DOUBLE format.
848
2340
 
849
 
2005-07-23 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2341
2005-07-23  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
850
2342
 
851
2343
    * src/nist.c
852
2344
    Fix a bug where a variable was being used without being initialized.
858
2350
    * src/aiff.c src/wav.c
859
2351
    Fix allocation for PEAK_CHUNK (bug found using valgrind).
860
2352
 
861
 
2005-07-21 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2353
2005-07-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
862
2354
 
863
2355
    * src/common.h
864
2356
    Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
868
2360
    * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
869
2361
    Fix knock on effects from above.
870
2362
 
871
 
2005-07-19 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2363
2005-07-19  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
872
2364
 
873
2365
    * src/wav.c
874
2366
    Prevent files with unknown chunks from being opened read/write.
875
2367
 
876
 
2005-07-14 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2368
2005-07-14  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
877
2369
 
878
2370
    * src/flac.c
879
2371
    Do not use psf->end_of_file because it never gets set to anything.
881
2373
    * src/common.h
882
2374
    Remove unused SF_PRIVATE field end_of_file.
883
2375
 
884
 
2005-07-12 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2376
2005-07-12  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
885
2377
 
886
2378
    * src/common.c
887
2379
    Change the 'S' format specifier of psf_binheader_writef() to write AIFF
891
2383
    Move to new (correct) AIFF string style. Thanks to Axel Roebel for being
892
2384
    so persistent on this issue.
893
2385
 
894
 
2005-07-11 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2386
2005-07-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
895
2387
 
896
2388
    * src/sndfile.c
897
2389
    Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
902
2394
    * src/mat5.c
903
2395
    Modify the way the header is written.
904
2396
 
905
 
2005-07-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2397
2005-07-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
906
2398
 
907
2399
    * src/caf.c
908
2400
    Add a 'free' chunk to the written file so that the audio data starts at
911
2403
    * src/sndfile.c
912
2404
    Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
913
2405
 
914
 
2005-07-09 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2406
2005-07-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
915
2407
 
916
2408
    * src/caf.c src/sndfile.c
917
2409
    Add support for signed 8 bit integers.
922
2414
    * doc/index.html
923
2415
    Update matrix for signed 8 bit integers in CAF files.
924
2416
 
925
 
2005-07-08 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2417
2005-07-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
926
2418
 
927
2419
    * src/sndfile.c
928
2420
    Update sf_check_format() to support CAF.
943
2435
        tests/header_test.tpl misc_test.c
944
2436
    Add tests for CAF files.
945
2437
 
946
 
2005-07-07 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2438
2005-07-07  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
947
2439
 
948
2440
    * doc/FAQ.html
949
2441
    Fix Q/A about reading/writing memory buffers.
951
2443
    * src/caf.c
952
2444
    Bunch of work to support reading of CAF files.
953
2445
 
954
 
2005-07-04 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2446
2005-07-04  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
955
2447
 
956
2448
    * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
957
2449
    Fix sign conversion errors reported by gcc-4.0.
962
2454
    * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
963
2455
    Hook new file into build system.
964
2456
 
965
 
2005-06-21 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2457
2005-06-21  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
966
2458
 
967
2459
    * src_wav_w64.c
968
2460
    Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
971
2463
    * src/common.h src/sndfile.c
972
2464
    Remove redundant error code SFE_WAV_FMT_TOO_BIG.
973
2465
 
974
 
2005-06-20 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2466
2005-06-20  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
975
2467
 
976
2468
    * src/sndfile.h.in src/common.h src/sndfile.c
977
2469
    Add public error value SF_ERR_MALFORMED_FILE.
986
2478
    * regtest/database.c regtest/sndfile-regtest.c
987
2479
    Fix compiling when sqlite is missing.
988
2480
 
989
 
2005-06-11 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2481
2005-06-11  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
990
2482
 
991
2483
    * src/file_io.c
992
2484
    Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
1003
2495
    * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
1004
2496
    Rename some of the virtual i/o functions and data types.
1005
2497
 
1006
 
2005-06-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2498
2005-06-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1007
2499
 
1008
2500
    * src/sndfile.c
1009
2501
    Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
1014
2506
    Correct documented return values for SFC_SET_NORM_DOUBLE and
1015
2507
    SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
1016
2508
 
1017
 
2005-05-17 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2509
2005-05-17  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1018
2510
 
1019
2511
    * regtest/*
1020
2512
    Add new files for sndfile-regtest program.
1026
2518
    Fix a regression where long ICMT chunks were causing the WAV parser
1027
2519
    to exit.
1028
2520
 
1029
 
2005-05-15 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2521
2005-05-15  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1030
2522
 
1031
2523
    * libsndfile.spec.in
1032
2524
    Add html docs to the files section as suggested by Karsten Jeppesen.
1034
2526
    * src/aiff.c
1035
2527
    Fix parsing of odd length ANNO chunks.
1036
2528
 
1037
 
2005-05-13 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2529
2005-05-13  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1038
2530
 
1039
2531
    * src/common.h
1040
2532
    Change the include guard to prevent clashes with other code.
1041
2533
 
1042
 
2005-05-12 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2534
2005-05-12  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1043
2535
 
1044
2536
    * examples/sndfile-play.c
1045
2537
    Improve error handling in code for playback under Linux/ALSA.
1046
2538
 
1047
 
2005-05-10 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2539
2005-05-10  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1048
2540
 
1049
2541
    * src/ircam.c
1050
2542
    Fix writing of IRCAM files on big endian systems (thanks to Axel Roebel).
1054
2546
    produce files with very short LIST chunks (thanks to Jonathan Segel who
1055
2547
    supplied the file).
1056
2548
 
1057
 
2005-04-30 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2549
2005-04-30  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1058
2550
 
1059
2551
    * src/aiff.c
1060
2552
    Apply a patch From David Viens to make the parsing of basc chunks more
1064
2556
    Another patch from David Viens to write correct wavex channel masks for
1065
2557
    the most common channel configurations.
1066
2558
 
1067
 
2005-04-08 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2559
2005-04-08  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1068
2560
 
1069
2561
    * src/command.c
1070
2562
    Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
1071
2563
    Leigh Smith.
1072
2564
 
1073
 
2005-03-09 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2565
2005-03-09  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1074
2566
 
1075
2567
    * src/common.h
1076
2568
    Add a directory field for storing the file directory to the SF_PRIVATE
1083
2575
    Cleanup psf_open_rsrc() and also check for resource fork in
1084
2576
    .AppleDouble/filename.
1085
2577
 
1086
 
2005-03-01 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2578
2005-03-01  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1087
2579
 
1088
2580
    * src/svx.c
1089
2581
    Fix a bug in the printing of the channel count. Bug reported by Michael
1090
2582
    Schwendt. Thanks.
1091
2583
 
1092
 
2005-01-26 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2584
2005-01-26  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1093
2585
 
1094
2586
    * src/paf.c
1095
2587
    Fix a seek bug for 24 bit PAF files.
1097
2589
    * tests/write_read_test.tpl
1098
2590
    Update write_read_test to trigger the previously hidden PAF seek bug.
1099
2591
 
1100
 
2005-01-25 Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
2592
2005-01-25  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
1101
2593
 
1102
2594
    * src/aiff.c src/w64.c src/wav.c
1103
2595
    Do not return a header parse error when the log buffer overflows.
2162
3654
    * src/*.c examples/*.c tests/*.c
2163
3655
    Fix all compiler warnings arising from the above.
2164
3656
 
2165
 
2003-08-02
 
3657
2003-08-02  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
2166
3658
 
2167
3659
    * tests/aiff_rw_test.c tests/Makefile.am
2168
3660
    New test program to check for errors re-writing the headers of AIFC files