annotate src/libsndfile-1.0.25/ChangeLog @ 58:eab3b14ddc95

Further win32 build updates
author Chris Cannam
date Mon, 09 Jan 2017 13:51:38 +0000
parents c7265573341e
children
rev   line source
Chris@0 1 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2
Chris@0 3 * src/ogg_vorbis.c
Chris@0 4 Fix return value of SFC_SET_VBR_ENCODING_QUALITY command.
Chris@0 5
Chris@0 6 * doc/command.html
Chris@0 7 Document SFC_SET_VBR_ENCODING_QUALITY, SFC_GET/SET_LOOP_INFO and
Chris@0 8 SFC_GET_INSTRUMENT.
Chris@0 9
Chris@0 10 * NEWS README configure.ac doc/*.html
Chris@0 11 Updates for 1.0.25.
Chris@0 12
Chris@0 13 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 14
Chris@0 15 * src/sfconfig.h
Chris@0 16 Add handling for HAVE_SYS_WAIT_H.
Chris@0 17
Chris@0 18 * Makefile.am src/Makefile.am tests/Makefile.am
Chris@0 19 Add 'checkprograms' target.
Chris@0 20
Chris@0 21 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 22
Chris@0 23 * src/common.h src/sndfile.c
Chris@0 24 Purge SF_ASSERT macro. Use standard C assert instead.
Chris@0 25
Chris@0 26 * src/paf.c src/common.h src/sndfile.c
Chris@0 27 Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
Chris@0 28 byte value of 0) due to integer overflow if PAF file handler.
Chris@0 29
Chris@0 30 * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
Chris@0 31 Use calloc instead of malloc followed by memset.
Chris@0 32
Chris@0 33 * tests/utils.tpl
Chris@0 34 Clean up use of memset.
Chris@0 35
Chris@0 36 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 37
Chris@0 38 * src/ogg.c
Chris@0 39 Fix log message.
Chris@0 40
Chris@0 41 * tests/format_check_test.c
Chris@0 42 Fix compiler warnings.
Chris@0 43
Chris@0 44 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 45
Chris@0 46 * src/sndfile.c
Chris@0 47 Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
Chris@0 48
Chris@0 49 * tests/format_check_test.c
Chris@0 50 Add a test to for SF_FINFO format field validation.
Chris@0 51
Chris@0 52 * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
Chris@0 53 src/common.h src/Makefile.am
Chris@0 54 Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
Chris@0 55 and Speex codecs in an Ogg container. The later two are only enabled with
Chris@0 56 ENABLE_EXPERIMENTAL_CODE config variable.
Chris@0 57
Chris@0 58 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 59
Chris@0 60 * src/strings.c
Chris@0 61 Clean up and refactor storage of SF_STR_SOFTWARE.
Chris@0 62
Chris@0 63 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 64
Chris@0 65 * src/sndfile.h.in doc/api.html
Chris@0 66 Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
Chris@0 67 Tim van der Molen for the patch.
Chris@0 68
Chris@0 69 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 70
Chris@0 71 * programs/sndfile-interleave.c
Chris@0 72 Fix handling of argc. Thanks to Marius Hennecke.
Chris@0 73
Chris@0 74 * src/wav_w64.c
Chris@0 75 Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
Chris@0 76 providing example files.
Chris@0 77
Chris@0 78 * src/wav.c
Chris@0 79 Jump over 'FLLR' chunks.
Chris@0 80
Chris@0 81 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 82
Chris@0 83 * src/sndfile.h.in
Chris@0 84 Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@0 85
Chris@0 86 * configure.ac
Chris@0 87 Add -Wundef to CFLAGS.
Chris@0 88
Chris@0 89 * src/ogg.c
Chris@0 90 Fix -Wunder warning.
Chris@0 91
Chris@0 92 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 93
Chris@0 94 * configure.ac
Chris@0 95 Use int64_t instead of off_t when they are the same size.
Chris@0 96
Chris@0 97 * src/Makefile.am tests/Makefile.am
Chris@0 98 Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
Chris@0 99
Chris@0 100 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 101
Chris@0 102 * src/wav.c
Chris@0 103 Don't allow unknown and/or un-editable chunks to prevent the file from being
Chris@0 104 opened in SFM_RDWR mode.
Chris@0 105
Chris@0 106 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 107
Chris@0 108 * tests/format_check_test.c
Chris@0 109 Fix segfault in test program.
Chris@0 110
Chris@0 111 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 112
Chris@0 113 * tests/format_check_test.c
Chris@0 114 New test program to check to make sure that sf_open() and sf_check_format()
Chris@0 115 agree as to what is a valid program.
Chris@0 116
Chris@0 117 * tests/Makefile.am tests/test_wrapper.sh.in
Chris@0 118 Hook into build and test runner.
Chris@0 119
Chris@0 120 * src/sndfile.c
Chris@0 121 Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
Chris@0 122 notification.
Chris@0 123
Chris@0 124 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 125
Chris@0 126 * src/caf.c
Chris@0 127 Add validation to size of 'data' chunk and fix size of written 'data'
Chris@0 128 chunk. Thanks to Michael Pruett for reporting this.
Chris@0 129
Chris@0 130 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 131
Chris@0 132 * src/* tests/* programs/*
Chris@0 133 Fix a bunch of compiler warnings with gcc-4.6.
Chris@0 134
Chris@0 135 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 136
Chris@0 137 * tests/util.tpl
Chris@0 138 Add NOT macro to util.h.
Chris@0 139
Chris@0 140 * src/strings.c
Chris@0 141 Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
Chris@0 142 strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
Chris@0 143 this problem.
Chris@0 144
Chris@0 145 * tests/string_test.c
Chris@0 146 Add test for SF_STR_SOFTWARE segfault bug.
Chris@0 147
Chris@0 148 * configure.ac
Chris@0 149 Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
Chris@0 150 '-I${includedir}/FLAC'. However FLAC also provides an include file
Chris@0 151 <assert.h> which clashes with the Standard C header of the same name. The
Chris@0 152 solution is strip the 'FLAC' part off the end and include all FLAC headers
Chris@0 153 as <FLAC/header.h>.
Chris@0 154
Chris@0 155 * configure.ac src/Makefile.am
Chris@0 156 Use non-recursive make in src/ directory.
Chris@0 157
Chris@0 158 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 159
Chris@0 160 * NEWS README docs/*.html
Chris@0 161 Updates for 1.0.24 release.
Chris@0 162
Chris@0 163 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 164
Chris@0 165 * configure.ac
Chris@0 166 Fix up usage of sed (should not assume GNU sed).
Chris@0 167
Chris@0 168 * M4/add_(c|cxx)flags.m4
Chris@0 169 Test flags in isolation.
Chris@0 170
Chris@0 171 * tests/cpp_test.cc
Chris@0 172 Fix a broken test (test segfaults). Report by Dave Flogeras.
Chris@0 173
Chris@0 174 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 175
Chris@0 176 * programs/common.[ch]
Chris@0 177 Add function program_name() which returns the program name minus the path
Chris@0 178 from argv [0].
Chris@0 179
Chris@0 180 * programs/*.c programs/Makefile.am
Chris@0 181 Use program_name() where appropriate. Fix build.
Chris@0 182
Chris@0 183 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 184
Chris@0 185 * src/wav.c
Chris@0 186 For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
Chris@0 187 byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
Chris@0 188 version accept 18 byte but not 16 byte.
Chris@0 189
Chris@0 190 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 191
Chris@0 192 * doc/FAQ.html
Chris@0 193 Add examples for question 12.
Chris@0 194
Chris@0 195 * doc/libsndfile.css.in
Chris@0 196 Add tweaks for h4 element.
Chris@0 197
Chris@0 198 * doc/api.html
Chris@0 199 Add documentation for virtual I/O functionality. Thanks to Uli Franke.
Chris@0 200
Chris@0 201 * tests/util.tpl
Chris@0 202 Add static inline functions sf_info_clear() and sf_info_setup().
Chris@0 203
Chris@0 204 * tests/(alaw|dwvw|ulaw)_test.c
Chris@0 205 Use functions sf_info_clear() and sf_info_setup().
Chris@0 206
Chris@0 207 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 208
Chris@0 209 * configure.ac
Chris@0 210 Fail more gracefully if pkg-config is missing. Suggestion from Brian
Chris@0 211 Willoughby.
Chris@0 212
Chris@0 213 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 214
Chris@0 215 * src/common.c
Chris@0 216 Use size_t instead of int for size params with varargs.
Chris@0 217
Chris@0 218 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 219
Chris@0 220 * doc/index.html
Chris@0 221 Update supported platforms with more Debian platforms and Android.
Chris@0 222
Chris@0 223 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 224
Chris@0 225 * src/sndfile.hh
Chris@0 226 Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
Chris@0 227 class definition. Thanks to Eric Eizenman for pointing out this was missing.
Chris@0 228
Chris@0 229 * tests/cpp_test.cc
Chris@0 230 Add test for LPCWSTR version of the SndfileHandle constructor.
Chris@0 231
Chris@0 232 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 233
Chris@0 234 * programs/sndfile-play.c
Chris@0 235 Remove cruft.
Chris@0 236
Chris@0 237 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 238
Chris@0 239 * src/sndfile.hh
Chris@0 240 Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
Chris@0 241 the patch.
Chris@0 242
Chris@0 243 * tests/cpp_test.cc
Chris@0 244 Add tests for above two methods. Also supplied by Tim Blechmann.
Chris@0 245
Chris@0 246 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 247
Chris@0 248 * doc/api.html
Chris@0 249 Add mention of use of sf_strerror() when sf_open() fails.
Chris@0 250
Chris@0 251 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 252
Chris@0 253 * configure.ac
Chris@0 254 Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
Chris@0 255 people are compiling on a 64 bit system with the GCC -m32 flag.
Chris@0 256
Chris@0 257 * src/sndfile.h.in
Chris@0 258 Fix comments on sf_count_t.
Chris@0 259
Chris@0 260 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 261
Chris@0 262 * src/aiff.c
Chris@0 263 Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
Chris@0 264
Chris@0 265 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 266
Chris@0 267 * configure.ac
Chris@0 268 Sed fix for FreeBSD. Thanks Tony Theodore.
Chris@0 269
Chris@0 270 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 271
Chris@0 272 * shave.in M4/shave.m4
Chris@0 273 Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
Chris@0 274 shave author).
Chris@0 275
Chris@0 276 * configure.ac M4/shave.m4 shave-libtool.in shave.in
Chris@0 277 Switch from shave to automake-1.11's AM_SILENT_RULES.
Chris@0 278
Chris@0 279 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 280
Chris@0 281 * shave-libtool.in shave.in
Chris@0 282 Sync to upstream version.
Chris@0 283
Chris@0 284 * src/rf64.c
Chris@0 285 More work to make the parser more robust and accepting of mal-formed files.
Chris@0 286
Chris@0 287 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 288
Chris@0 289 * src/common.h
Chris@0 290 Add functions psf_strlcpy() and psf_strlcat().
Chris@0 291
Chris@0 292 * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
Chris@0 293 src/test_main.h src/test_strncpy_crlf.c
Chris@0 294 Use functions psf_strlcpy() and psf_strlcat() as appropriate.
Chris@0 295
Chris@0 296 * tests/string_test.c
Chris@0 297 Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
Chris@0 298
Chris@0 299 * src/rf64.c
Chris@0 300 Fix size of 'ds64' chunk when writing RF64.
Chris@0 301
Chris@0 302 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 303
Chris@0 304 * programs/*.c
Chris@0 305 Add the libsndfile version to the usage message of all programs.
Chris@0 306
Chris@0 307 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 308
Chris@0 309 * configure.ac src/version-metadata.rc.in src/Makefile.am
Chris@0 310 Add version string resources to the windows DLL.
Chris@0 311
Chris@0 312 * doc/api.html
Chris@0 313 Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
Chris@0 314
Chris@0 315 * NEWS README configure.ac doc/*.html
Chris@0 316 Updates for 1.0.23 release.
Chris@0 317
Chris@0 318 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 319
Chris@0 320 * tests/pedantic-header-test.sh.in
Chris@0 321 Handle unusual values of CC environment variable.
Chris@0 322
Chris@0 323 * src/rf64.c
Chris@0 324 Minor tweaks and additional sanity checking.
Chris@0 325
Chris@0 326 * src/Makefile.am src/binheader_writef_check.py
Chris@0 327 Use python 2.6.
Chris@0 328
Chris@0 329 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 330
Chris@0 331 * src/sndfile.hh
Chris@0 332 Add a missing 'inline' before a constructor defintion.
Chris@0 333
Chris@0 334 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 335
Chris@0 336 * src/common.h
Chris@0 337 Add macro NOT.
Chris@0 338
Chris@0 339 * src/rf64.c
Chris@0 340 Minor tweaks.
Chris@0 341
Chris@0 342 * Makefile.am */Makefile.am
Chris@0 343 Add *~ to CLEANFILES.
Chris@0 344
Chris@0 345 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 346
Chris@0 347 * src/sndfile.c
Chris@0 348 Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
Chris@0 349 Van Winkle for the report.
Chris@0 350
Chris@0 351 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 352
Chris@0 353 * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
Chris@0 354 Add ability to read/write tracknumber and genre to flac/ogg/wav files.
Chris@0 355 Thanks to Matti Nykyri for the patch.
Chris@0 356
Chris@0 357 * src/common.h src/broadcast.c src/strings.c
Chris@0 358 Add function psf_safe_strncpy() and use where appropriate.
Chris@0 359
Chris@0 360 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 361
Chris@0 362 * NEWS README configure.ac doc/*.html
Chris@0 363 Updates for 1.0.22 release.
Chris@0 364
Chris@0 365 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 366
Chris@0 367 * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
Chris@0 368 Rewrite of SF_BROADCAST_INFO handling.
Chris@0 369
Chris@0 370 * src/test_broadcast_var.c tests/command_test.c
Chris@0 371 Tweak SF_BROADCAST_INFO tests.
Chris@0 372
Chris@0 373 * src/test_broadcast_var.c
Chris@0 374 Fix OSX stack check error.
Chris@0 375
Chris@0 376 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 377
Chris@0 378 * src/sds.c
Chris@0 379 Set sustain_loop_end to 0 as suggested by Brian Lewis.
Chris@0 380
Chris@0 381 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 382
Chris@0 383 * src/sds.c
Chris@0 384 Make sure the correct frame count gets written into the header.
Chris@0 385
Chris@0 386 * tests/write_read_test.tpl
Chris@0 387 Don't allow SDS files to have a long frame count.
Chris@0 388
Chris@0 389 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 390
Chris@0 391 * src/sds.c
Chris@0 392 Apply a pair of patches from Brian Lewis to fix the packet number location
Chris@0 393 and the checksum.
Chris@0 394
Chris@0 395 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 396
Chris@0 397 * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
Chris@0 398 src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
Chris@0 399 src/wav.c tests/pcm_test.tpl
Chris@0 400 Fix a bunch of minor issues found using static analysis.
Chris@0 401
Chris@0 402 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 403
Chris@0 404 * src/test_broadcast_var.c
Chris@0 405 New file containing tests for broadcast_set_var().
Chris@0 406
Chris@0 407 * src/Makefile.am src/test_main.[ch]
Chris@0 408 Hook test_broadcast_var.c into tests.
Chris@0 409
Chris@0 410 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 411
Chris@0 412 * src/broadcast.c src/common.(c|h)
Chris@0 413 Move function strncpy_crlf() to src/common.c so the function can be tested
Chris@0 414 in isolation.
Chris@0 415
Chris@0 416 * src/test_strncpy_crlf.c
Chris@0 417 New file.
Chris@0 418
Chris@0 419 * src/Makefile.am src/test_main.[ch]
Chris@0 420 Hook test_strncpy_crlf.c into tests.
Chris@0 421
Chris@0 422 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 423
Chris@0 424 * src/common.h
Chris@0 425 Move code around to make comments make sense.
Chris@0 426
Chris@0 427 * src/broadcast.c
Chris@0 428 Add debugging code that is disabled by default.
Chris@0 429
Chris@0 430 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 431
Chris@0 432 * src/flac.c
Chris@0 433 When the file meta data says the file has zero frames set psf->sf.frames
Chris@0 434 to SF_COUNT_MAX. Fixes Debian bug #590752.
Chris@0 435
Chris@0 436 * programs/sndfile-info.c
Chris@0 437 Print 'unknown' if frame count == SF_COUNT_MAX.
Chris@0 438
Chris@0 439 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 440
Chris@0 441 * src/sndfile.c
Chris@0 442 Only support writing mono SVX files. Multichannel SVX files are not
Chris@0 443 interleaved and there is no support infrastructure to cache and write
Chris@0 444 multiple channels to create a non-interleaved file.
Chris@0 445
Chris@0 446 * src/file_io.c
Chris@0 447 Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
Chris@0 448 for the bug report.
Chris@0 449
Chris@0 450 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 451
Chris@0 452 * src/common.h
Chris@0 453 Add macro SF_ASSERT.
Chris@0 454
Chris@0 455 * src/sndfile.c
Chris@0 456 Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
Chris@0 457
Chris@0 458 * src/svx.c
Chris@0 459 Add support for reading and writing stereo SVX files.
Chris@0 460
Chris@0 461 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 462
Chris@0 463 * configure.ac
Chris@0 464 When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
Chris@0 465
Chris@0 466 * programs/common.c programs/sndfile-metadata-set.c
Chris@0 467 Update metadata after the audio data is copied. Other minor fixes. Patch
Chris@0 468 from Marius Hennecke.
Chris@0 469
Chris@0 470 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 471
Chris@0 472 * src/nist.c
Chris@0 473 Fix a regression reported by Hugh Secker-Walker.
Chris@0 474
Chris@0 475 * src/api.html
Chris@0 476 Add comment about sf_open_fd() not working on Windows if the application
Chris@0 477 and the libsndfile DLL are linked to different versions of the Microsoft
Chris@0 478 C runtime DLL.
Chris@0 479
Chris@0 480 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 481
Chris@0 482 * tests/pedantic-header-test.sh.in
Chris@0 483 Fix 'make distcheck'.
Chris@0 484
Chris@0 485 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 486
Chris@0 487 * tests/pedantic-header-test.sh.in
Chris@0 488 New file to test whether sndfile.h can be compiled with gcc's -pedantic
Chris@0 489 flag.
Chris@0 490
Chris@0 491 * configure.ac tests/test_wrapper.sh.in
Chris@0 492 Hook pedantic-header-test into test suite.
Chris@0 493
Chris@0 494 * src/sndfile.h.in
Chris@0 495 Fix -pedantic warning.
Chris@0 496
Chris@0 497 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 498
Chris@0 499 * programs/sndfile-salvage.c programs/Makefile.am
Chris@0 500 New program to salvage the audio data from WAV/WAVEX/AIFF files which are
Chris@0 501 greater than 4Gig in size.
Chris@0 502
Chris@0 503 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 504
Chris@0 505 * programs/sndfile-convert.c
Chris@0 506 Fix valgrind warning.
Chris@0 507
Chris@0 508 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 509
Chris@0 510 * programs/sndfile-cmp.c
Chris@0 511 When files differ in the PCM data, also print the difference offset.
Chris@0 512 Minor cleanup.
Chris@0 513
Chris@0 514 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 515
Chris@0 516 * src/aiff.c
Chris@0 517 Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
Chris@0 518 instead. Thanks to Paul Davis (Ardour) for this suggestion.
Chris@0 519
Chris@0 520 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 521
Chris@0 522 * configure.ac
Chris@0 523 Clean up configure report.
Chris@0 524
Chris@0 525 * tests/utils.tpl
Chris@0 526 Add functions test_read_raw_or_die and test_write_raw_or_die.
Chris@0 527
Chris@0 528 * tests/rdwr_test.(def|tpl) tests/Makefile.am
Chris@0 529 Add new test program and hook into build.
Chris@0 530
Chris@0 531 * src/sndfile.c
Chris@0 532 Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
Chris@0 533
Chris@0 534 * tests/test_wrapper.sh.in
Chris@0 535 Add rdwr_test to the test wrapper script.
Chris@0 536
Chris@0 537 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 538
Chris@0 539 * configure.ac
Chris@0 540 Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
Chris@0 541
Chris@0 542 * programs/common.[ch] programs/sndfile-metadata-set.c
Chris@0 543 Apply a patch from Robin Gareus allowing the setting of the time reference
Chris@0 544 field of the BEXT chunk.
Chris@0 545
Chris@0 546 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 547
Chris@0 548 * src/ima_adpcm.c
Chris@0 549 Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
Chris@0 550 IMA4.
Chris@0 551
Chris@0 552 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 553
Chris@0 554 * src/sndfile.hh
Chris@0 555 Add a constructor which takes an existing file descriptor and then calls
Chris@0 556 sf_open_fd(). Patch from Sakari Bergen.
Chris@0 557
Chris@0 558 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 559
Chris@0 560 * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
Chris@0 561 Improve usage messages.
Chris@0 562
Chris@0 563 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 564
Chris@0 565 * src/id3.c src/Makefile.am
Chris@0 566 Add new file src/id3.c and hook into build.
Chris@0 567
Chris@0 568 * src/sndfile.c src/common.h
Chris@0 569 Detect and skip and ID3 header at the start of the file.
Chris@0 570
Chris@0 571 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 572
Chris@0 573 * programs/common.c
Chris@0 574 Fix update_strings() copyright, comment, album and license are correctly
Chris@0 575 written. Thanks to Todd Allen for reporting this.
Chris@0 576
Chris@0 577 * man/Makefile.am
Chris@0 578 Change GNU makeism to something more widely supported. Thanks to Christian
Chris@0 579 Weisgerber for reporting this.
Chris@0 580
Chris@0 581 * configure.ac programs/Makefile.am programs/sndfile-play.c
Chris@0 582 Apply patch from Christian Weisgerber and Jacob Meuserto add support for
Chris@0 583 OpenBSD's sndio.
Chris@0 584
Chris@0 585 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 586
Chris@0 587 * doc/api.html
Chris@0 588 Discourage the use of sf_read/write_raw().
Chris@0 589
Chris@0 590 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 591
Chris@0 592 * configure.ac
Chris@0 593 Test for Unix pipe() and waitpid() functions.
Chris@0 594
Chris@0 595 * src/sfconfig.h tests/pipe_test.tpl
Chris@0 596 Disable pipe_test if pipe() and waitpid() aren't available.
Chris@0 597
Chris@0 598 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 599
Chris@0 600 * configure.ac src/Makefile.am src/create_symbols_file.py
Chris@0 601 src/make-static-lib-hidden-privates.sh
Chris@0 602 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
Chris@0 603 and use the same symbols file for other systems which use GNU binutils like
Chris@0 604 Debian's kfreebsd.
Chris@0 605
Chris@0 606 * M4/shave.m4 shave.in
Chris@0 607 Update shave files from upstream.
Chris@0 608
Chris@0 609 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 610
Chris@0 611 * man/sndfile-metadata-get.1
Chris@0 612 Fix typo.
Chris@0 613
Chris@0 614 * man/sndfile-interleave.1 man/Makefile.am
Chris@0 615 New man page.
Chris@0 616
Chris@0 617 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 618
Chris@0 619 * src/ogg.c
Chris@0 620 When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
Chris@0 621 its too hot. Thanks to Dmitry Baikov for suggesting this.
Chris@0 622
Chris@0 623 * NEWS README doc/*.html
Chris@0 624 Updates for 1.0.21.
Chris@0 625
Chris@0 626 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 627
Chris@0 628 * programs/sndfile-jackplay.c man/sndfile-jackplay.1
Chris@0 629 Remove these which will now be in found in the sndfile-tools package.
Chris@0 630
Chris@0 631 * programs/Makefile.am man/Makefile.am
Chris@0 632 Remove build rules for sndfile-jackplay.
Chris@0 633
Chris@0 634 * configure.ac
Chris@0 635 Remove detection of JACK Audio Connect Kit.
Chris@0 636
Chris@0 637 * programs/sndfile-concat.c man/sndfile-concat.1
Chris@0 638 Add new program with man page.
Chris@0 639
Chris@0 640 * man/Makefile.am programs/Makefile.am
Chris@0 641 Hook sndfile-concat into build system.
Chris@0 642
Chris@0 643 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 644
Chris@0 645 * tests/error_test.c
Chris@0 646 Don't terminate when sf_close() returns zero in error_close_test().
Chris@0 647 It seems that Windows 7 behaves differently from earlier versions of
Chris@0 648 Windows.
Chris@0 649
Chris@0 650 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 651
Chris@0 652 * configure.ac M4/*.m4
Chris@0 653 Rename all custom macros from AC_* to MN_*.
Chris@0 654
Chris@0 655 * programs/sndfile-interleave.c
Chris@0 656 Make it actually work.
Chris@0 657
Chris@0 658 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 659
Chris@0 660 * doc/*.html configure.ac
Chris@0 661 Corrections and clarifications courtesy of Robin Forder.
Chris@0 662
Chris@0 663 * programs/sndfile-convert.c programs/common.[ch]
Chris@0 664 Move some code from convert to common for reuse.
Chris@0 665
Chris@0 666 * programs/sndfile-interleave.c programs/sndfile-interleave.c
Chris@0 667 Add new programs sndfile-interleave and sndfile-deinterleave.
Chris@0 668
Chris@0 669 * programs/Makefile.am
Chris@0 670 Hook new programs into build.
Chris@0 671
Chris@0 672 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 673
Chris@0 674 * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
Chris@0 675 Minor OS/2 tweaks as suggested by David Yeo.
Chris@0 676
Chris@0 677 * tests/multi_file_test.c
Chris@0 678 Fix file creation flags on windows. Thanks to Bruce Sharpe.
Chris@0 679
Chris@0 680 * src/sf_unistd.h
Chris@0 681 Set all group and other file create permssions to zero.
Chris@0 682
Chris@0 683 * tests/win32_test.c
Chris@0 684 Add a new test.
Chris@0 685
Chris@0 686 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 687
Chris@0 688 * doc/print.css doc/*.html
Chris@0 689 Add a print stylesheet and update all HTML documents to reference it.
Chris@0 690 Thanks to Aditya Bhargava for suggesting this.
Chris@0 691
Chris@0 692 * doc/index.html
Chris@0 693 Minor corrections.
Chris@0 694
Chris@0 695 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 696
Chris@0 697 * sndfile.pc.in
Chris@0 698 Add a Libs.private entry to assist with static linking.
Chris@0 699
Chris@0 700 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 701
Chris@0 702 * src/make-static-lib-hidden-privates.sh src/Makefile.am
Chris@0 703 Add a script to hide all non-public symbols in the libsndfile.a static
Chris@0 704 library.
Chris@0 705
Chris@0 706 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 707
Chris@0 708 * tests/locale_test.c
Chris@0 709 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@0 710
Chris@0 711 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 712
Chris@0 713 * src/windows.c
Chris@0 714 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@0 715
Chris@0 716 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 717
Chris@0 718 * programs/sndfile-convert.c
Chris@0 719 Allow the program to read from stdin by specifying '-' on the command line
Chris@0 720 as the input file.
Chris@0 721
Chris@0 722 * src/sndfile.h.in
Chris@0 723 Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
Chris@0 724
Chris@0 725 * tests/virtual_io_test.c
Chris@0 726 Add a PAF/PCM_24 test and verify the file length is not negative
Chris@0 727 immediately after openning the file for write.
Chris@0 728
Chris@0 729 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 730
Chris@0 731 * src/wav.c
Chris@0 732 When writing loop lengths, adjust the end position by one to make up for
Chris@0 733 Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
Chris@0 734
Chris@0 735 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 736
Chris@0 737 * src/flac.c
Chris@0 738 Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
Chris@0 739 rate.
Chris@0 740
Chris@0 741 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 742
Chris@0 743 * src/nist.c
Chris@0 744 Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
Chris@0 745
Chris@0 746 * configure.ac
Chris@0 747 Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
Chris@0 748 libsndfile test suite to fail on MIPS, PowerPC and others.
Chris@0 749 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
Chris@0 750
Chris@0 751 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 752
Chris@0 753 * man/sndfile-convert.1
Chris@0 754 Fix warning from Debian's lintian checks.
Chris@0 755
Chris@0 756 * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
Chris@0 757 man/Makefile.am
Chris@0 758 Add three new minimal manpages and hook into build.
Chris@0 759
Chris@0 760 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 761
Chris@0 762 * tests/test_wrapper.sh.in
Chris@0 763 Don't run cpp_test on x86_64-w64-mingw32.
Chris@0 764
Chris@0 765 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 766
Chris@0 767 * tests/utils.tpl
Chris@0 768 On windows, make sure the open() function doesn't get called with a third
Chris@0 769 parameter of 0 which fails for no good reason. Also make sure this third
Chris@0 770 parameter doesn't get called with S_IRGRP when compiling for windows because
Chris@0 771 Wine complains.
Chris@0 772
Chris@0 773 * src/sndfile.hh
Chris@0 774 Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
Chris@0 775 string.
Chris@0 776
Chris@0 777 * doc/FAQ.html
Chris@0 778 Add Q/A : I'm cross compiling libsndfile for another platform. How can I
Chris@0 779 run the test suite?
Chris@0 780
Chris@0 781 * src/create_symbols_file.py src/Makefile.am
Chris@0 782 Add Symbols.static target, a list of symbols, one per line.
Chris@0 783
Chris@0 784 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 785
Chris@0 786 * tests/test_wrapper.sh.in
Chris@0 787 Update to allow all tests to be gathered up into a testsuite tarball and
Chris@0 788 then be run using this script.
Chris@0 789
Chris@0 790 * build-test-tarball.mk.in
Chris@0 791 Add a Make script to build a tarball of all the test binaries and the test
Chris@0 792 wrapper script. This is useful for cross compiling; you can build the
Chris@0 793 binaries, build test test tarball and transfer the test tarball to the
Chris@0 794 target machine for testing.
Chris@0 795
Chris@0 796 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 797
Chris@0 798 * src/common.h src/*.c
Chris@0 799 Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
Chris@0 800 for the file path, directory and name. Fixes for this change throughout.
Chris@0 801
Chris@0 802 * src/windows.c src/Makefile.am
Chris@0 803 New file defining new windows only public function sf_wchar_open() which
Chris@0 804 takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
Chris@0 805
Chris@0 806 * src/sndfile.h.in
Chris@0 807 Add SF_CHANNEL_MAP_ABISONIC_* entries.
Chris@0 808 Add windows only defintion for sf_wchar_open().
Chris@0 809
Chris@0 810 * src/create_symbols_file.py
Chris@0 811 Add sf_wchar_open() to the list of public symbols (windows only).
Chris@0 812
Chris@0 813 * tests/locale_test.c
Chris@0 814 Add a wchar_test() to test sf_wchar_open().
Chris@0 815
Chris@0 816 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 817
Chris@0 818 * src/common.h src/*.c
Chris@0 819 Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
Chris@0 820
Chris@0 821 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 822
Chris@0 823 * src/aiff.c src/voc.c
Chris@0 824 When a byte is needed, use unsigned char.
Chris@0 825
Chris@0 826 * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
Chris@0 827 Include sfconfig.h to prevent compile errors with MinGW compilers.
Chris@0 828
Chris@0 829 * configure.ac
Chris@0 830 Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
Chris@0 831
Chris@0 832 * tests/locale_test.c
Chris@0 833 Update to work with xx_XX.UTF-8 style locales. Refactoring.
Chris@0 834
Chris@0 835 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 836
Chris@0 837 * configure.ac
Chris@0 838 Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
Chris@0 839 Remove unneeded AC_SUBST.
Chris@0 840 Report Host CPU/OS/vendor.
Chris@0 841
Chris@0 842 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 843
Chris@0 844 * src/sndfile.c
Chris@0 845 Fix error message string.
Chris@0 846
Chris@0 847 * src/flac.c
Chris@0 848 Add 88200 to the list of supported sample rates.
Chris@0 849
Chris@0 850 * src/ogg.c
Chris@0 851 Fix compiler warning when using gcc-4.5.0.
Chris@0 852
Chris@0 853 * programs/sndfile-info.c tests/utils.tpl
Chris@0 854 Remove WIN32 snprintf #define.
Chris@0 855
Chris@0 856 * src/ima_adpcm.c
Chris@0 857 Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
Chris@0 858 this.
Chris@0 859
Chris@0 860 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 861
Chris@0 862 * src/caf.c
Chris@0 863 Use the correct C99 format specifier for int64_t.
Chris@0 864
Chris@0 865 * M4/endian.m4
Chris@0 866 Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
Chris@0 867 Ossman for the bug report.
Chris@0 868
Chris@0 869 * src/caf.c src/sndfile.c
Chris@0 870 Fix reading and writing of PEAK chunks in CAF files.
Chris@0 871
Chris@0 872 * tests/peak_chunk_test.c tests/test_wrapper.sh.in
Chris@0 873 Run peak_chunk_test on CAF files.
Chris@0 874
Chris@0 875 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 876
Chris@0 877 * src/aiff.c src/wav.c
Chris@0 878 Use the correct C99 format specifier for int64_t.
Chris@0 879
Chris@0 880 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 881
Chris@0 882 * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
Chris@0 883 Apply a patch (massaged slightly) from Uli Franke adding handling of the
Chris@0 884 BEXT chunk in RF64 files.
Chris@0 885
Chris@0 886 * tests/command_test.c
Chris@0 887 Update channel_map_test() function so WAV test passes.
Chris@0 888
Chris@0 889 * src/rf64.c
Chris@0 890 Add channel mapping and ambisonic support.
Chris@0 891
Chris@0 892 * src/sndfile.h
Chris@0 893 Add comments showing correspondance between libsndfile channel map
Chris@0 894 defintiions and those used by Apple and MS.
Chris@0 895
Chris@0 896 Add handling of reading/writing channel map info.
Chris@0 897
Chris@0 898 * tests/command_test.c tests/test_wrapper.sh.in
Chris@0 899 Update channel map tests.
Chris@0 900
Chris@0 901 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 902
Chris@0 903 * src/common.h
Chris@0 904 Add function psf_isprint() a replacement for the standard C isprint()
Chris@0 905 function which ignores any locale settings and treats all input as ASCII.
Chris@0 906
Chris@0 907 * src/(aiff|common|rf64|sd2|strings|svx|wav).c
Chris@0 908 Use psf_isprint() instead of isprint().
Chris@0 909
Chris@0 910 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 911
Chris@0 912 * src/command.c
Chris@0 913 Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
Chris@0 914
Chris@0 915 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 916
Chris@0 917 * programs/sndfile-play.c
Chris@0 918 Allow use of Open Sound System audio output under FreeBSD.
Chris@0 919
Chris@0 920 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 921
Chris@0 922 * configure.ac
Chris@0 923 Add patch from Conrad Parker to add --disable-jack.
Chris@0 924
Chris@0 925 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 926
Chris@0 927 * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
Chris@0 928 Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
Chris@0 929 Thanks to Sami Liedes for reporting this a Debian bug #530831.
Chris@0 930
Chris@0 931 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 932
Chris@0 933 * src/chanmap.[ch]
Chris@0 934 New files for channel map decoding/encoding.
Chris@0 935
Chris@0 936 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 937
Chris@0 938 * configure.ac src/sndfile.h.in
Chris@0 939 Fix MSVC definition of sf_count_t.
Chris@0 940
Chris@0 941 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 942
Chris@0 943 * src/wav_w64.[ch]
Chris@0 944 Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
Chris@0 945 an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
Chris@0 946
Chris@0 947 * src/wav.c
Chris@0 948 Add ability to write the channel mask.
Chris@0 949
Chris@0 950 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 951
Chris@0 952 * programs/sndfile-info.c
Chris@0 953 Add -c command line option to dump the channel map information.
Chris@0 954
Chris@0 955 * src/wav_w64.c
Chris@0 956 Don't bail from parser if channel map bitmask is faulty.
Chris@0 957
Chris@0 958 * src/common.h src/sndfile.c
Chris@0 959 Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
Chris@0 960
Chris@0 961 * src/sndfile.c
Chris@0 962 On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
Chris@0 963 command handler.
Chris@0 964
Chris@0 965 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 966
Chris@0 967 * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
Chris@0 968 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
Chris@0 969 channel data in WAV and W64 files.
Chris@0 970 Add a test for the above.
Chris@0 971
Chris@0 972 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 973
Chris@0 974 * src/FAQ.html
Chris@0 975 Update the section about pre-compiled binaries for Win64.
Chris@0 976
Chris@0 977 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 978
Chris@0 979 * src/common.h src/test_conversions.c
Chris@0 980 Be more careful when including <stdint.h> so compiling on pre-C99 platforms
Chris@0 981 (hello Slowlaris) might actually work.
Chris@0 982
Chris@0 983 * NEWS README doc/*.html
Chris@0 984 Updates for 1.0.20.
Chris@0 985
Chris@0 986 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 987
Chris@0 988 * src/voc.c
Chris@0 989 Fix a bug whereby opening a specially crafted VOC file could result in a
Chris@0 990 heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
Chris@0 991 this issue.
Chris@0 992
Chris@0 993 * src/aiff.c
Chris@0 994 Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
Chris@0 995
Chris@0 996 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 997
Chris@0 998 * tests/stdin_test.c
Chris@0 999 Check psf->error after opening file.
Chris@0 1000
Chris@0 1001 * src/file_io.c
Chris@0 1002 Fix obscure seeking bug reported by Hugh Secker-Walker.
Chris@0 1003
Chris@0 1004 * tests/utils.tpl
Chris@0 1005 Add check of sf_error to test_open_file_or_die().
Chris@0 1006
Chris@0 1007 * src/sndfile.c
Chris@0 1008 Clear error if opening resource fork fails.
Chris@0 1009
Chris@0 1010 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1011
Chris@0 1012 * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
Chris@0 1013 Cleanup output.
Chris@0 1014
Chris@0 1015 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1016
Chris@0 1017 * src/float32.c
Chris@0 1018 Fix f2s_clip_array.
Chris@0 1019
Chris@0 1020 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1021
Chris@0 1022 * src/float32.c
Chris@0 1023 In host_read_f2s call convert instead of f2s_array.
Chris@0 1024
Chris@0 1025 * src/ima_adpcm.c
Chris@0 1026 Remove dead code.
Chris@0 1027
Chris@0 1028 * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
Chris@0 1029 tests/dwvw_test.c tests/fix_this.c tests/generate.c
Chris@0 1030 tests/multi_file_test.c
Chris@0 1031 Minor fixes.
Chris@0 1032
Chris@0 1033 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1034
Chris@0 1035 * M4/shave.m4 shave.in
Chris@0 1036 Pulled update from upstream.
Chris@0 1037
Chris@0 1038 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1039
Chris@0 1040 * doc/api.html
Chris@0 1041 Add pointers to example programs in source code tarball.
Chris@0 1042
Chris@0 1043 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1044
Chris@0 1045 * src/common.h
Chris@0 1046 Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
Chris@0 1047
Chris@0 1048 * configure.ac
Chris@0 1049 Add documentation for --disable-external-libs and improve error handling
Chris@0 1050 for that option.
Chris@0 1051
Chris@0 1052 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
Chris@0 1053 Add public function sf_version_string.
Chris@0 1054
Chris@0 1055 * tests/sfversion.c
Chris@0 1056 Test function sf_version_string.
Chris@0 1057
Chris@0 1058 * M4/shave.m4 shave-libtool.in shave.in
Chris@0 1059 Add new files from 'git clone git://git.lespiau.name/shave'.
Chris@0 1060
Chris@0 1061 * configure.ac
Chris@0 1062 Enable shave.
Chris@0 1063
Chris@0 1064 * src/Makefile.am src/binheader_writef_check.py Octave/*
Chris@0 1065 Shave related tweaks.
Chris@0 1066
Chris@0 1067 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1068
Chris@0 1069 * src/common.h src/caf.c src/sndfile.c
Chris@0 1070 Add SF_MAX_CHANNELS (set to 256) and use it.
Chris@0 1071
Chris@0 1072 * src/sndfile.h.in
Chris@0 1073 Check for either _MSCVER or _MSC_VER being defined.
Chris@0 1074
Chris@0 1075 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1076
Chris@0 1077 * tests/vorbis_test.c
Chris@0 1078 Relax test slighly to allow test to pass on more CPUs etc.
Chris@0 1079
Chris@0 1080 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1081
Chris@0 1082 * configure.ac
Chris@0 1083 Detect vorbis_version_string() correctly.
Chris@0 1084
Chris@0 1085 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1086
Chris@0 1087 * doc/index.html
Chris@0 1088 Add a 'See Also' section with a link to sndfile-tools.
Chris@0 1089
Chris@0 1090 * NEWS README doc/*.html
Chris@0 1091 Updates for 1.0.19 release.
Chris@0 1092
Chris@0 1093 * configure.ac
Chris@0 1094 Fix --enable-external-libs logic.
Chris@0 1095
Chris@0 1096 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1097
Chris@0 1098 * src/aiff.c
Chris@0 1099 Fix resource leak and potential read beyond end of buffer.
Chris@0 1100
Chris@0 1101 * src/nist.c
Chris@0 1102 Fix reading of header value sample_n_bytes.
Chris@0 1103
Chris@0 1104 * src/sd2.c src/wav.c
Chris@0 1105 Fix potential read beyond end of buffer.
Chris@0 1106
Chris@0 1107 * src/sndfile.c src/svx.c
Chris@0 1108 Check return values of file_io functions.
Chris@0 1109
Chris@0 1110 * tests/win32_test.c
Chris@0 1111 Fix resource leak.
Chris@0 1112
Chris@0 1113 * configure.ac
Chris@0 1114 Detect the presence/absence of vorbis_version_string() in libvorbis.
Chris@0 1115
Chris@0 1116 * src/ogg.c
Chris@0 1117 Only call vorbis_version_string() from libvorbis if present.
Chris@0 1118
Chris@0 1119 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1120
Chris@0 1121 * tests/win32_test.c
Chris@0 1122 Don't use sprintf, even on windows.
Chris@0 1123
Chris@0 1124 * src/aiff.c src/rf64.c src/wav.c
Chris@0 1125 Eliminate dead code, more validation of data read from file.
Chris@0 1126
Chris@0 1127 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1128
Chris@0 1129 * src/ima_adpcm.c
Chris@0 1130 Clamp values to a valid range before indexing ima_step_size array.
Chris@0 1131
Chris@0 1132 * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
Chris@0 1133 Don't include un-needed headers.
Chris@0 1134
Chris@0 1135 * programs/sndfile-info.c
Chris@0 1136 Remove dead code.
Chris@0 1137
Chris@0 1138 * tests/test_wrapper.sh.in
Chris@0 1139 Add 'set -e' so the script exits on error.
Chris@0 1140
Chris@0 1141 * src/test_ima_oki_adpcm.c
Chris@0 1142 Fix read beyond end of array.
Chris@0 1143
Chris@0 1144 * tests/win32_test.c
Chris@0 1145 Add missing close on file descriptor.
Chris@0 1146
Chris@0 1147 * src/nist.c programs/sndfile-metadata-set.c
Chris@0 1148 Fix 'unused variable' warnings.
Chris@0 1149
Chris@0 1150 * src/aiff.c
Chris@0 1151 Fix potential memory leak in handling of 'MARK' chunk.
Chris@0 1152 Remove un-needed test (unsigned > 0).
Chris@0 1153
Chris@0 1154 * src/sd2.c
Chris@0 1155 Improve handling of heap allocated buffer.
Chris@0 1156
Chris@0 1157 * src/sndfile.c
Chris@0 1158 Remove un-needed test (always true).
Chris@0 1159
Chris@0 1160 * src/wav.c src/rf64.c
Chris@0 1161 Ifdef out dead code that will be resurected some time in the future.
Chris@0 1162
Chris@0 1163 * src/wav.c src/w64.c src/xi.c
Chris@0 1164 Handle error return values from psf_ftell.
Chris@0 1165
Chris@0 1166 * src/wav_w64.c
Chris@0 1167 Fix handling and error checking of MSADPCM coefficient arrays.
Chris@0 1168
Chris@0 1169 * regtest/*.c
Chris@0 1170 Bunch of fixes.
Chris@0 1171
Chris@0 1172 * src/test_file_io.c
Chris@0 1173 Use snprintf instead of strncpy in test program.
Chris@0 1174
Chris@0 1175 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1176
Chris@0 1177 * src/sd2.c
Chris@0 1178 Validate data before using.
Chris@0 1179
Chris@0 1180 * src/caf.c
Chris@0 1181 Validate channels per frame value before using, fixing a possible integer
Chris@0 1182 overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
Chris@0 1183 Secunia Research (CVE-2009-0186).
Chris@0 1184
Chris@0 1185 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1186
Chris@0 1187 * Octave/octave_test.sh
Chris@0 1188 Unset TERM environment variable and export LD_LIBRARY_PATH.
Chris@0 1189
Chris@0 1190 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1191
Chris@0 1192 * src/file_io.c
Chris@0 1193 In windows code, cast LPVOID to 'char*' in printf.
Chris@0 1194
Chris@0 1195 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1196
Chris@0 1197 * M4/octave.m4
Chris@0 1198 Clear the TERM environment before evaluating anything in Octave. This works
Chris@0 1199 around problems that might occur if a users TERM settings are incorrect.
Chris@0 1200 Thanks to Rob Til Freedmen for helping to debug this.
Chris@0 1201
Chris@0 1202 * src/wav.c
Chris@0 1203 Handle four zero bytes as a marker within a LIST or INFO chunk.
Chris@0 1204 Thanks to Rogério Brito for supplying an example file.
Chris@0 1205
Chris@0 1206 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1207
Chris@0 1208 * src/common.h src/*.c
Chris@0 1209 Use C99 snprintf everywhere.
Chris@0 1210
Chris@0 1211 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1212
Chris@0 1213 * tests/test_wrapper.sh.in
Chris@0 1214 New file to act as the template for the test wrapper script.
Chris@0 1215
Chris@0 1216 * configure.ac
Chris@0 1217 Generate tests/test_wrapper.sh from the template.
Chris@0 1218
Chris@0 1219 * tests/Makefile.am
Chris@0 1220 Replace all tests with a single invocation of the test wrapper script.
Chris@0 1221
Chris@0 1222 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1223
Chris@0 1224 * src/ogg.c
Chris@0 1225 Record vorbis library version string.
Chris@0 1226
Chris@0 1227 * configure.ac
Chris@0 1228 Require libvorbis >= 1.2.2.
Chris@0 1229
Chris@0 1230 * M4/endian.m4
Chris@0 1231 Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
Chris@0 1232
Chris@0 1233 * M4/octave.m4 M4/mkoctfile_version.m4
Chris@0 1234 Clean up AC_WITH_ARG usage using AC_HELP_STRING.
Chris@0 1235
Chris@0 1236 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1237
Chris@0 1238 * Octave/Makefile.am
Chris@0 1239 Use $(top_buildir) instead of $(builddir) which may not be defined.
Chris@0 1240
Chris@0 1241 * M4/octave.m4
Chris@0 1242 Improve logic and status reporting.
Chris@0 1243
Chris@0 1244 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1245
Chris@0 1246 * configure.ac AUTHORS NEWS README doc/*.html
Chris@0 1247 Final tweaks for 1.0.18 release.
Chris@0 1248
Chris@0 1249 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1250
Chris@0 1251 * programs/sndfile-convert.c
Chris@0 1252 Add 'htk' to the list of convert formats.
Chris@0 1253
Chris@0 1254 * programs/sndfile-info.c
Chris@0 1255 Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
Chris@0 1256 Increase size of files for which signal max will be calculated.
Chris@0 1257
Chris@0 1258 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1259
Chris@0 1260 * doc/index.html
Chris@0 1261 Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
Chris@0 1262
Chris@0 1263 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1264
Chris@0 1265 * programs/sndfile-metadata-get.c
Chris@0 1266 Make valgrind clean.
Chris@0 1267 Clean up temp string array usage.
Chris@0 1268 Error out if trying to update coding history in RDWR mode.
Chris@0 1269
Chris@0 1270 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1271
Chris@0 1272 * doc/index.html
Chris@0 1273 Fix links to versions of the LGPL.
Chris@0 1274
Chris@0 1275 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1276
Chris@0 1277 * tests/string_test.c
Chris@0 1278 Add test for RDWR mode where the file ends up shorter than when it was
Chris@0 1279 opened.
Chris@0 1280
Chris@0 1281 * src/wav.c
Chris@0 1282 Truncate the file on close for RDWR mode where the file ends up shorter
Chris@0 1283 than when it was opened.
Chris@0 1284
Chris@0 1285 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1286
Chris@0 1287 * M4/add_cflags.m4
Chris@0 1288 Fix problem with quoting of '#include'.
Chris@0 1289
Chris@0 1290 * M4/add_cxxflags.m4 configure.ac
Chris@0 1291 Add new file M4/add_cxxflags.m4 and use it in configure.ac.
Chris@0 1292
Chris@0 1293 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1294
Chris@0 1295 * programs/sndfile-info.c
Chris@0 1296 Apply patch from Conrad Parker to calculate and display total duration when
Chris@0 1297 more than one file is dumped.
Chris@0 1298
Chris@0 1299 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1300
Chris@0 1301 * configure.ac src/Makefile.am
Chris@0 1302 Tweaks to generation of Symbols files.
Chris@0 1303
Chris@0 1304 * tests/win32_ordinal_test.c
Chris@0 1305 Update tests for above changes.
Chris@0 1306
Chris@0 1307 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1308
Chris@0 1309 * programs/common.c
Chris@0 1310 When merging broadcast info, make sure to clear the destination field
Chris@0 1311 before copying in the new data.
Chris@0 1312
Chris@0 1313 * programs/test-sndfile-metadata-set.py
Chris@0 1314 Add test for the above.
Chris@0 1315
Chris@0 1316 * src/broadcast.c
Chris@0 1317 Fix checking of required coding_history_size.
Chris@0 1318
Chris@0 1319 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1320
Chris@0 1321 * tests/command_test.c
Chris@0 1322 Add test to detect if coding history is truncated.
Chris@0 1323
Chris@0 1324 * src/broadcast.c
Chris@0 1325 Fix truncation of coding history.
Chris@0 1326
Chris@0 1327 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1328
Chris@0 1329 * tests/command_test.c
Chris@0 1330 Add broadcast_coding_history_size test.
Chris@0 1331
Chris@0 1332 * programs/*.[ch]
Chris@0 1333 Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
Chris@0 1334
Chris@0 1335 * src/rf64.c
Chris@0 1336 Add code to prevent infinite loop on malformed file.
Chris@0 1337
Chris@0 1338 * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
Chris@0 1339 Rationalize and improve error handling when parsing 'fmt ' chunk.
Chris@0 1340
Chris@0 1341 * M4/octave.m4
Chris@0 1342 Simplify and remove cruft.
Chris@0 1343 Check for correct Octave version.
Chris@0 1344
Chris@0 1345 * Octave/*
Chris@0 1346 Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
Chris@0 1347
Chris@0 1348 * Octave/sndfile.cc Octave/PKG_ADD
Chris@0 1349 Add Octave function sfversion which returns the libsndfile version that the
Chris@0 1350 module is linked against.
Chris@0 1351
Chris@0 1352 * Octave/Makefile.am
Chris@0 1353 Bunch of build and 'make distcheck' fixes.
Chris@0 1354
Chris@0 1355 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1356
Chris@0 1357 * programs/common.c
Chris@0 1358 Return 1 if SFC_SET_BROADCAST_INFO fails.
Chris@0 1359
Chris@0 1360 * programs/test-sndfile-metadata-set.py
Chris@0 1361 Update for new programs directory, exit on any error.
Chris@0 1362
Chris@0 1363 * tests/error_test.c
Chris@0 1364 Fix failure behaviour in error_number_test.
Chris@0 1365
Chris@0 1366 * src/common.h src/sndfile.c
Chris@0 1367 Add error number SFE_BAD_BROADCAST_INFO_SIZE.
Chris@0 1368
Chris@0 1369 * src/*
Chris@0 1370 Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
Chris@0 1371
Chris@0 1372 * src/broadcast.c
Chris@0 1373 Fix generation of added coding history.
Chris@0 1374
Chris@0 1375 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1376
Chris@0 1377 * programs/sndfile-metadata-get.c programs/sndfile-info.c
Chris@0 1378 Exit with non-zero on errors.
Chris@0 1379
Chris@0 1380 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1381
Chris@0 1382 * examples/sndfile-to-text.c examples/Makefile.am
Chris@0 1383 Add a new example program and hook it into the build.
Chris@0 1384
Chris@0 1385 * examples/ programs/
Chris@0 1386 Add a new directory programs and move sndfile-info, sndfile-play and other
Chris@0 1387 real programs to the new directory, leaving example programs where they
Chris@0 1388 were.
Chris@0 1389
Chris@0 1390 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1391
Chris@0 1392 * tests/Makefile.am
Chris@0 1393 Automake 1.10 MinGW cross compiling fixes.
Chris@0 1394
Chris@0 1395 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1396
Chris@0 1397 * examples/sndfile-play.c
Chris@0 1398 Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
Chris@0 1399 Fix gcc-4.3 compiler warnings.
Chris@0 1400
Chris@0 1401 * tests/command_test.c
Chris@0 1402 Fix a valgrind warning.
Chris@0 1403
Chris@0 1404 * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
Chris@0 1405 tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
Chris@0 1406 Fix gcc-4.3 compiler warnings.
Chris@0 1407
Chris@0 1408 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1409
Chris@0 1410 * src/broadcast.c
Chris@0 1411 Fix termination of desitination string in strncpy_crlf.
Chris@0 1412 When copying BROADCAST_INFO chunk, make sure destination gets correct line
Chris@0 1413 endings.
Chris@0 1414
Chris@0 1415 * examples/common.c
Chris@0 1416 Fix copying of BROADCAST_INFO coding_history field.
Chris@0 1417
Chris@0 1418 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1419
Chris@0 1420 * tests/command_test.c
Chris@0 1421 Add test function instrument_rw_test, but don't hook it into the testing
Chris@0 1422 yet.
Chris@0 1423
Chris@0 1424 * src/common.h src/command.c src/sndfile.c src/flac.c
Chris@0 1425 Error code rationalization.
Chris@0 1426
Chris@0 1427 * src/common.h src/sndfile.c
Chris@0 1428 Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
Chris@0 1429 fails due to psf->have_written being true.
Chris@0 1430
Chris@0 1431 * doc/command.html
Chris@0 1432 Document the SFC_GET/SET_BROADCAST_INFO comamnds.
Chris@0 1433
Chris@0 1434 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1435
Chris@0 1436 * tests/command_test.c
Chris@0 1437 Improve error reporting when '\0' is found in coding history.
Chris@0 1438 Fix false failure.
Chris@0 1439
Chris@0 1440 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1441
Chris@0 1442 * src/broadcast.c
Chris@0 1443 Convert all coding history line endings to \r\n.
Chris@0 1444
Chris@0 1445 * tests/command_test.c
Chris@0 1446 Add test to make sure all line endings are converted to \r\n.
Chris@0 1447
Chris@0 1448 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1449
Chris@0 1450 * src/broadcast.c
Chris@0 1451 Changed the order of coding history fields.
Chris@0 1452
Chris@0 1453 * tests/command_test.c
Chris@0 1454 Update bextch test to cope with previous change.
Chris@0 1455
Chris@0 1456 * examples/common.c
Chris@0 1457 Add extra length check when copying broadcast info data.
Chris@0 1458
Chris@0 1459 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1460
Chris@0 1461 * tests/utils.tpl tests/pcm_test.tpl
Chris@0 1462 Update check_file_hash_or_die to use 64 bit hash.
Chris@0 1463
Chris@0 1464 * tests/checksum_test.c tests/Makefile.am
Chris@0 1465 Add new checksum_test specifically for lossy compression of headerless
Chris@0 1466 files.
Chris@0 1467
Chris@0 1468 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1469
Chris@0 1470 * src/gsm610.c
Chris@0 1471 Seek to psf->dataoffset before decoding first block.
Chris@0 1472
Chris@0 1473 * src/sndfile.c
Chris@0 1474 Fix detection of mpc2k files on big endian systems.
Chris@0 1475
Chris@0 1476 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1477
Chris@0 1478 * src/broadcast.c
Chris@0 1479 Use '\r\n' newlines in Coding History as required by spec.
Chris@0 1480
Chris@0 1481 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1482
Chris@0 1483 * src/test_conversions.c
Chris@0 1484 Use int64_t instead of 'long long'.
Chris@0 1485
Chris@0 1486 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1487
Chris@0 1488 * examples/sndfile-metadata-set.c
Chris@0 1489 Remove --bext-coding-history-append command line option because it didn't
Chris@0 1490 really make sense.
Chris@0 1491
Chris@0 1492 * examples/sndfile-metadata-(get|set).c
Chris@0 1493 Add usage messages.
Chris@0 1494
Chris@0 1495 * examples/test-sndfile-metadata-set.py
Chris@0 1496 Start work on test coding history.
Chris@0 1497
Chris@0 1498 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1499
Chris@0 1500 * README doc/win32.html
Chris@0 1501 Bring these up to date.
Chris@0 1502
Chris@0 1503 * src/aiff.c
Chris@0 1504 Fix parsing of REX files.
Chris@0 1505
Chris@0 1506 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1507
Chris@0 1508 * src/file_io.c
Chris@0 1509 Use intptr_t instead of long for return value of _get_osfhandle.
Chris@0 1510
Chris@0 1511 * src/test_conversions.c src/test_endswap.tpl
Chris@0 1512 Fix printing of int64_t values.
Chris@0 1513
Chris@0 1514 * examples/sndfile-play.c
Chris@0 1515 Fix win64 issues.
Chris@0 1516
Chris@0 1517 * tests/win32_ordinal_test.c
Chris@0 1518 Fix calling of GetProcAddress with ordinal under win64.
Chris@0 1519
Chris@0 1520 * tests/utils.tpl
Chris@0 1521 Fix win64 issues.
Chris@0 1522
Chris@0 1523 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1524
Chris@0 1525 * examples/*
Chris@0 1526 Rename copy_data.[ch] to common.[ch]. Fix build.
Chris@0 1527 Move code from sndfile-metadata-set.c to common.c.
Chris@0 1528
Chris@0 1529 * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
Chris@0 1530 Clean paths.
Chris@0 1531
Chris@0 1532 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1533
Chris@0 1534 * doc/tutorial.html doc/Makefile.am
Chris@0 1535 Add file doc/tutorial.html and hook into build/dist system.
Chris@0 1536
Chris@0 1537 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1538
Chris@0 1539 * examples/sndfile-metadata-set.c
Chris@0 1540 Clean up handling of bext command line params.
Chris@0 1541
Chris@0 1542 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1543
Chris@0 1544 * src/w64.c
Chris@0 1545 Add handling/skipping of a couple of new chunk types.
Chris@0 1546
Chris@0 1547 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1548
Chris@0 1549 * configure.ac
Chris@0 1550 Add -funsigned-char to CFLAGS if the compiler supports it.
Chris@0 1551
Chris@0 1552 * examples/sndfile-metadata-(get|set).c
Chris@0 1553 Add handling for more metadata types.
Chris@0 1554
Chris@0 1555 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1556
Chris@0 1557 * src/common.h
Chris@0 1558 Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
Chris@0 1559 field of SF_INFO into component parts.
Chris@0 1560
Chris@0 1561 * src/*.c
Chris@0 1562 Use new macros everywhere it is appropriate.
Chris@0 1563
Chris@0 1564 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1565
Chris@0 1566 * examples/sndfile-bwf-set.c
Chris@0 1567 Massive reworking.
Chris@0 1568
Chris@0 1569 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1570
Chris@0 1571 * examples/sndfile-bwf-set.c
Chris@0 1572 Add --info-auto-create-date command line option.
Chris@0 1573
Chris@0 1574 * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
Chris@0 1575 examples/Makefile.am examples/test-sndfile-bwf-set.py
Chris@0 1576 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
Chris@0 1577 Change command line args.
Chris@0 1578
Chris@0 1579 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1580
Chris@0 1581 * src/wav.c
Chris@0 1582 Allow 'PAD ' chunk to be modified in RDWR mode.
Chris@0 1583
Chris@0 1584 * src/sndfile.h.in src/sndfile.c
Chris@0 1585 Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
Chris@0 1586
Chris@0 1587 * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
Chris@0 1588 tests/misc_test.c
Chris@0 1589 Add tests for RF64.
Chris@0 1590
Chris@0 1591 * src/rf64.c
Chris@0 1592 Fixes to make sure all tests pass.
Chris@0 1593
Chris@0 1594 * tests/Makefile.am tests/string_test.c
Chris@0 1595 Add string tests (not yet passing).
Chris@0 1596
Chris@0 1597 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1598
Chris@0 1599 * src/rf64.c
Chris@0 1600 First pass at writing RF64 now working.
Chris@0 1601
Chris@0 1602 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1603
Chris@0 1604 * examples/sndfile-convert.c
Chris@0 1605 Add SF_FORMAT_RF64 to format_map.
Chris@0 1606
Chris@0 1607 * src/common.h src/sndfile.c
Chris@0 1608 More RF64 support code.
Chris@0 1609
Chris@0 1610 * examples/sndfile-bwf-set.c
Chris@0 1611 Fix the month number in autogenerated date string and use hypen in date
Chris@0 1612 instead of slash.
Chris@0 1613
Chris@0 1614 * examples/test-sndfile-bwf-set.py
Chris@0 1615 Update tests.
Chris@0 1616
Chris@0 1617 * examples/sndfile-info.c
Chris@0 1618 When called with -i or -b option, operate on all files on command line, not
Chris@0 1619 just the first.
Chris@0 1620
Chris@0 1621 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1622
Chris@0 1623 * src/rf64.c
Chris@0 1624 New file to handle RF64 (WAV like format supportting > 4Gig files).
Chris@0 1625
Chris@0 1626 * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
Chris@0 1627 Hook the above into build so hacking can begin.
Chris@0 1628
Chris@0 1629 * src/pcm.c
Chris@0 1630 Improve log message when pcm_init fails.
Chris@0 1631
Chris@0 1632 * src/sndfile-info.c
Chris@0 1633 Only calculate and print 'Signal Max' if file is less than 10 megabytes in
Chris@0 1634 length.
Chris@0 1635
Chris@0 1636 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1637
Chris@0 1638 * tests/string_test.c
Chris@0 1639 Polish string_multi_set_test.
Chris@0 1640
Chris@0 1641 * src/wav.c
Chris@0 1642 In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
Chris@0 1643 length has changed).
Chris@0 1644 Minor fixes in wav_write_strings.
Chris@0 1645 Write PAD chunk with default endian-ness, not a specific endian-ness.
Chris@0 1646
Chris@0 1647 * examples/test-sndfile-bwf-set.py
Chris@0 1648 Add Python script to test sndfile-bwf-set/get.
Chris@0 1649
Chris@0 1650 * examples/sndfile-bwf-set.c
Chris@0 1651 Clean up and fixes.
Chris@0 1652
Chris@0 1653 * src/wav.c
Chris@0 1654 Merge function wavex_write_header into wav_write_header, deleting about 70
Chris@0 1655 lines of code.
Chris@0 1656
Chris@0 1657 * src/common.h
Chris@0 1658 Double value of SF_MAX_STRINGS.
Chris@0 1659
Chris@0 1660 * tests/string_test.c
Chris@0 1661 Add string tests for WAVEX and RIFX files.
Chris@0 1662
Chris@0 1663 * tests/command_test.c
Chris@0 1664 Add broadcast test for WAVEX files.
Chris@0 1665
Chris@0 1666 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1667
Chris@0 1668 * tests/string_test.c
Chris@0 1669 Add a new string_rdwr_test (currently failing for WAV).
Chris@0 1670 Add a new string_multi_set_test (currently failing).
Chris@0 1671
Chris@0 1672 * tests/command_test.c
Chris@0 1673 Add new broadcast_rdwr_test (currently failing).
Chris@0 1674
Chris@0 1675 * src/wav.c
Chris@0 1676 Fix to WAV parser to allow 'bext' chunk to be updated in place.
Chris@0 1677 In wav_write_tailer, seek to psf->dataend if its greater than zero.
Chris@0 1678
Chris@0 1679 * src/sndfile.c
Chris@0 1680 Make sure psf->have_written gets set correctly in mode SFM_RDWR.
Chris@0 1681
Chris@0 1682 * configure.ac
Chris@0 1683 Test for <sys/time.h> and gettimeofday.
Chris@0 1684
Chris@0 1685 * src/common.c
Chris@0 1686 Use gettimeofday() to initialize psf_rand_int32.
Chris@0 1687
Chris@0 1688 * src/common.h src/sndfile.c
Chris@0 1689 Add unique_id field to SF_PRIVATE struct.
Chris@0 1690
Chris@0 1691 * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
Chris@0 1692 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
Chris@0 1693
Chris@0 1694 * src/common.h src/strings.c
Chris@0 1695 Add function psf_location_string_count.
Chris@0 1696
Chris@0 1697 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1698
Chris@0 1699 * configure.ac
Chris@0 1700 Test for localtime and localtime_r.
Chris@0 1701
Chris@0 1702 * examples/sndfile-convert.c
Chris@0 1703 In function copy_metadata(), copy broadcast info if present.
Chris@0 1704
Chris@0 1705 * examples/copy_data.[ch] examples/Makefile.am
Chris@0 1706 Break some functionality out of sndfile-convert.c so it can be used in
Chris@0 1707 examples/sndfile-bwf-set.c.
Chris@0 1708
Chris@0 1709 * tests/utils.tpl
Chris@0 1710 Add new function create_short_sndfile().
Chris@0 1711
Chris@0 1712 * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
Chris@0 1713 examples/Makefile.am
Chris@0 1714 Add new files and hook into build.
Chris@0 1715
Chris@0 1716 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1717
Chris@0 1718 * src/sndfile.h.in
Chris@0 1719 Fix comments. Patch from Mark Glines.
Chris@0 1720
Chris@0 1721 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1722
Chris@0 1723 * tests/misc_test.c
Chris@0 1724 Use zero_data_test on Ogg/Vorbis files.
Chris@0 1725
Chris@0 1726 * src/ogg.c
Chris@0 1727 Fix segfault when closing an Ogg/Vorbis file that has been opened for write
Chris@0 1728 but had no actual data written to it. Bug reported by Chinoy Gupta.
Chris@0 1729
Chris@0 1730 * tests/Makefile.am
Chris@0 1731 Make sure to run mist_test on Ogg/Vorbis files.
Chris@0 1732
Chris@0 1733 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1734
Chris@0 1735 * regtest/Makefile.am
Chris@0 1736 Use SQLITE3_CFLAGS to locate sqlite headers.
Chris@0 1737
Chris@0 1738 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1739
Chris@0 1740 * doc/index.html doc/FAQ.html
Chris@0 1741 Add notes about which versions of windows libsndfile works on.
Chris@0 1742
Chris@0 1743 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1744
Chris@0 1745 * tests/misc_test.c
Chris@0 1746 Add a test for correct handling of Ambisonic files. Thanks to Fons
Chris@0 1747 Adriaensen for the test.
Chris@0 1748
Chris@0 1749 * src/wav.c src/wav_w64.c
Chris@0 1750 Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
Chris@0 1751
Chris@0 1752 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1753
Chris@0 1754 * configure.ac
Chris@0 1755 Fix detection/enabling of external libs.
Chris@0 1756
Chris@0 1757 * M4/extra_pkg.m4 M4/Makefile.am
Chris@0 1758 Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
Chris@0 1759 PKG_CHECK_MODULES. The new macro prints the version number of the package
Chris@0 1760 it is searching for.
Chris@0 1761
Chris@0 1762 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1763
Chris@0 1764 * src/aiff.c
Chris@0 1765 Apply a fix from Axel Röbel where if the second loop in the instrument
Chris@0 1766 chunk is none, the loop mode is written into the first loop.
Chris@0 1767
Chris@0 1768 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1769
Chris@0 1770 * src/test_float.c src/test_main.(c|h) src/Makefile.am
Chris@0 1771 Add new file to test functions float32_(le|be)_(read|write) and
Chris@0 1772 double64_(le|be)_(read|write). Hook into build and testsuite.
Chris@0 1773
Chris@0 1774 * src/double64.c src/float32.c
Chris@0 1775 Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
Chris@0 1776 for reporting this bug.
Chris@0 1777
Chris@0 1778 * src/sndfile.h.in
Chris@0 1779 Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
Chris@0 1780 unsigned.
Chris@0 1781
Chris@0 1782 * examples/sndfile-info.c
Chris@0 1783 Print out the BEXT time reference in a sensible format.
Chris@0 1784
Chris@0 1785 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1786
Chris@0 1787 * src/*.c
Chris@0 1788 Fuzz fixes.
Chris@0 1789
Chris@0 1790 * src/ogg.c
Chris@0 1791 Add call to ogg_stream_clear to fix valgrind warning.
Chris@0 1792
Chris@0 1793 * src/aiff.c
Chris@0 1794 Fix x86_64 compile issue.
Chris@0 1795
Chris@0 1796 * configure.ac src/Makefile.am src/flac.c src/ogg.c
Chris@0 1797 Link to external versions of FLAC, Ogg and Vorbis.
Chris@0 1798
Chris@0 1799 * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
Chris@0 1800 tests/vorbis_test.c tests/write_read_test.tpl
Chris@0 1801 Fix tests when configured with --disable-external-libs.
Chris@0 1802
Chris@0 1803 * tests/external_libs_test.c tests/Makefile.am
Chris@0 1804 Add new test and hook into build and test suite.
Chris@0 1805
Chris@0 1806 * src/command.c
Chris@0 1807 Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
Chris@0 1808 the right data when external libs are disabled.
Chris@0 1809
Chris@0 1810 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1811
Chris@0 1812 * tests/write_read_test.tpl
Chris@0 1813 Add a test for extending a file during write by seeking past the current
Chris@0 1814 end of file.
Chris@0 1815
Chris@0 1816 * src/sndfile.c
Chris@0 1817 Allow seeking past end of file during write.
Chris@0 1818
Chris@0 1819 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1820
Chris@0 1821 * doc/api.html doc/command.html
Chris@0 1822 Move all information about the sf_command function to command.html and add
Chris@0 1823 a link from documentation of the sf_read/write_raw function to the
Chris@0 1824 SFC_RAW_NEEDS_ENDSWAP command.
Chris@0 1825
Chris@0 1826 * doc/index.html doc/FAQ.html doc/libsndfile.css
Chris@0 1827 Minor documentation tweaks.
Chris@0 1828
Chris@0 1829 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1830
Chris@0 1831 * configure.ac
Chris@0 1832 Add AM_PROG_CC_C_O.
Chris@0 1833
Chris@0 1834 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1835
Chris@0 1836 * tests/error_test.c
Chris@0 1837 Add a test to make sure if file opened with sf_open_fd, and then the file
Chris@0 1838 descriptor is closed, then sf_close will return an error code. Thanks to
Chris@0 1839 Dave Flogeras for the bug report.
Chris@0 1840
Chris@0 1841 * src/sndfile.c
Chris@0 1842 Make sf_close return an error is the file descriptor is already closed.
Chris@0 1843
Chris@0 1844 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1845
Chris@0 1846 * configure.ac
Chris@0 1847 Set object format to aout for OS/2. Thanks to David Yeo.
Chris@0 1848
Chris@0 1849 * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
Chris@0 1850 Add ability to read MPC 2000 file.
Chris@0 1851
Chris@0 1852 * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
Chris@0 1853 tests/Makefile.am
Chris@0 1854 Add tests for MPC 2000 file format.
Chris@0 1855
Chris@0 1856 * examples/sndfile-convert.c
Chris@0 1857 Allow conversion to MPC 2000 file format.
Chris@0 1858
Chris@0 1859 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1860
Chris@0 1861 * src/VORBIS/lib/codebook.c
Chris@0 1862 Sync from upstream SVN.
Chris@0 1863
Chris@0 1864 * autogen.sh configure.ac
Chris@0 1865 Minor tweaks.
Chris@0 1866
Chris@0 1867 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1868
Chris@0 1869 * src/ogg.c
Chris@0 1870 Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
Chris@0 1871 The patch as supplied segfaulted and required many hours of debugging.
Chris@0 1872
Chris@0 1873 * src/OGG/bitwise.c
Chris@0 1874 Sync from upstream SVN.
Chris@0 1875
Chris@0 1876 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1877
Chris@0 1878 * src/aiff.c
Chris@0 1879 Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
Chris@0 1880 this issue.
Chris@0 1881
Chris@0 1882 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1883
Chris@0 1884 * tests/*.c
Chris@0 1885 Add calls to sf_close() where needed.
Chris@0 1886
Chris@0 1887 * tests/utils.tpl tests/multi_file_test.c
Chris@0 1888 Always pass 0 as the third argument to open when OS_IS_WIN32.
Chris@0 1889
Chris@0 1890 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1891
Chris@0 1892 * src/test_*
Chris@0 1893 Add files test_main.[ch].
Chris@0 1894 Collapse all tests into a single executable.
Chris@0 1895
Chris@0 1896 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1897
Chris@0 1898 * src/FLAC
Chris@0 1899 Sync to upstream CVS.
Chris@0 1900
Chris@0 1901 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1902
Chris@0 1903 * src/common.h
Chris@0 1904 Make SF_MIN and SF_MAX macros MinGW friendly.
Chris@0 1905
Chris@0 1906 * examples/sndfile-(info|play).c
Chris@0 1907 Use Sleep function from <windows.h> instead of _sleep.
Chris@0 1908
Chris@0 1909 * tests/locale_test.c
Chris@0 1910 Disable some tests when OS_IS_WIN32.
Chris@0 1911
Chris@0 1912 * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
Chris@0 1913 src/FLAC/src/share/utf8/utf8.c
Chris@0 1914 MinGW fixes.
Chris@0 1915
Chris@0 1916 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1917
Chris@0 1918 * doc/FAQ.html
Chris@0 1919 Tweaks to pcm16 <-> float conversion answer.
Chris@0 1920
Chris@0 1921 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1922
Chris@0 1923 * src/OGG
Chris@0 1924 Sync to SVN upstream.
Chris@0 1925
Chris@0 1926 * Makefile.am
Chris@0 1927 Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
Chris@0 1928
Chris@0 1929 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1930
Chris@0 1931 * examples/sndfile-jackplay.c
Chris@0 1932 Minor tweaks to warning message printed when compiled without libjack.
Chris@0 1933
Chris@0 1934 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1935
Chris@0 1936 * tests/peak_chunk_test.c
Chris@0 1937 Improve read_write_peak_test to find more errors. Inspired by example
Chris@0 1938 provided by Nicolas Castagne.
Chris@0 1939
Chris@0 1940 * src/aiff.c
Chris@0 1941 Another SFM_RDWR fix shown up by above test.
Chris@0 1942
Chris@0 1943 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1944
Chris@0 1945 * src/aiff.c
Chris@0 1946 Fix reading of COMM encoding string.
Chris@0 1947
Chris@0 1948 * src/chunk.c src/common.h src/Makefile.am
Chris@0 1949 New file for storing and retrieving info about header chunks. Hook into
Chris@0 1950 build.
Chris@0 1951
Chris@0 1952 * src/aiff.c
Chris@0 1953 Use new chunk logging to fix problem with AIFF in RDWR mode.
Chris@0 1954
Chris@0 1955 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1956
Chris@0 1957 * src/command.c
Chris@0 1958 Add WVE to the list of major formats.
Chris@0 1959
Chris@0 1960 * tests/aiff_rw_test.c
Chris@0 1961 Fix error reporting.
Chris@0 1962
Chris@0 1963 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1964
Chris@0 1965 * src/common.[ch]
Chris@0 1966 Add internal functions str_of_major_format, str_of_minor_format,
Chris@0 1967 str_of_open_mode and str_of_endianness.
Chris@0 1968
Chris@0 1969 * tests/write_read_test.tpl
Chris@0 1970 Fix reporting of errors in new_rdwr_XXXX_test.
Chris@0 1971
Chris@0 1972 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1973
Chris@0 1974 * examples/sndfile-play.c
Chris@0 1975 Apply patch from Yair K. to fix compiles with OSS v4.
Chris@0 1976
Chris@0 1977 * src/common.h src/float32.c src/double64.c
Chris@0 1978 Rename psf->float_enswap to psf->data_endswap.
Chris@0 1979
Chris@0 1980 * src/sndfile.h.in src/sndfile.c src/pcm.c
Chris@0 1981 Add command SFC_RAW_NEEDS_ENDSWAP.
Chris@0 1982
Chris@0 1983 * tests/command.c
Chris@0 1984 Add test for SFC_RAW_NEEDS_ENDSWAP.
Chris@0 1985
Chris@0 1986 * doc/command.html
Chris@0 1987 Document SFC_RAW_NEEDS_ENDSWAP.
Chris@0 1988
Chris@0 1989 * tests/peak_chunk_test.c
Chris@0 1990 Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
Chris@0 1991 bug report.
Chris@0 1992
Chris@0 1993 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1994
Chris@0 1995 * examples/sndfile-cmp.c
Chris@0 1996 Add new example program contributed by Conrad Parker.
Chris@0 1997
Chris@0 1998 * examples/Makefile.am
Chris@0 1999 Hook into build.
Chris@0 2000
Chris@0 2001 * doc/development.html
Chris@0 2002 Change use or reconfigure.mk to autogen.sh.
Chris@0 2003
Chris@0 2004 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2005
Chris@0 2006 * tests/win32_test.c
Chris@0 2007 Add another win32 test.
Chris@0 2008
Chris@0 2009 * tests/util.tpl
Chris@0 2010 Add function file_length_fd which wraps fstat.
Chris@0 2011
Chris@0 2012 * tests/Makefile.am
Chris@0 2013 Run the multi_file_test on AU files.
Chris@0 2014
Chris@0 2015 * tests/multi_file_test.c
Chris@0 2016 Use function file_length_fd() instead of file_length() to overcome stupid
Chris@0 2017 win32 bug. Fscking hell Microsoft sucks so much.
Chris@0 2018
Chris@0 2019 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2020
Chris@0 2021 * src/sd2.c
Chris@0 2022 Fix a rsrc parsing bug. Example file supplied by Uli Franke.
Chris@0 2023
Chris@0 2024 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2025
Chris@0 2026 * doc/index.html
Chris@0 2027 Allow use of either LGPL v2.1 or LGPL v3.
Chris@0 2028
Chris@0 2029 * tests/header_test.tpl
Chris@0 2030 Add header_shrink_test from Axel Röbel.
Chris@0 2031
Chris@0 2032 * src/wav.c
Chris@0 2033 Add fix from Axel Röbel for writing files with float data but no peak
Chris@0 2034 chunk (ie peak chunk gets removed after the file is opened).
Chris@0 2035
Chris@0 2036 * src/aiff.c tests/header_test.tpl
Chris@0 2037 Apply similar fix to above for AIFF files.
Chris@0 2038
Chris@0 2039 * src/wav.c tests/header_test.tpl
Chris@0 2040 Apply similar fix to above for WAVEX files.
Chris@0 2041
Chris@0 2042 * src/command.c
Chris@0 2043 Add Ogg/Vorbis to 'get format' commands.
Chris@0 2044
Chris@0 2045 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2046
Chris@0 2047 * src/ogg.c
Chris@0 2048 Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
Chris@0 2049 Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
Chris@0 2050
Chris@0 2051 * tests/ogg_test.c
Chris@0 2052 Add stereo seek tests.
Chris@0 2053
Chris@0 2054 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2055
Chris@0 2056 * tests/ogg_test.c
Chris@0 2057 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
Chris@0 2058 case supplied by Bodo.
Chris@0 2059
Chris@0 2060 * tests/utils.(def|tpl)
Chris@0 2061 Add compare_XXX_or_die functions.
Chris@0 2062
Chris@0 2063 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2064
Chris@0 2065 * src/aiff.c
Chris@0 2066 Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
Chris@0 2067 misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
Chris@0 2068
Chris@0 2069 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2070
Chris@0 2071 * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
Chris@0 2072 Merge in code from the vox-patch branch. Thanks to Robs for the patch
Chris@0 2073 which fixes a long standing bug in the VOX codec.
Chris@0 2074
Chris@0 2075 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2076
Chris@0 2077 * examples/sndfile-convert.c
Chris@0 2078 Fix handling of -override-sample-rate=X option.
Chris@0 2079
Chris@0 2080 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2081
Chris@0 2082 * src/ogg.c src/VORBIS
Chris@0 2083 Merge in Ogg Vorbis support from John ffitch of the Csound project.
Chris@0 2084
Chris@0 2085 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2086
Chris@0 2087 * src/sndfile.c
Chris@0 2088 Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
Chris@0 2089 recognise 'vox8' as and 'vox' as 8kHz files.
Chris@0 2090
Chris@0 2091 * configure.ac
Chris@0 2092 Detect libjack (JACK Audio Connect Kit).
Chris@0 2093
Chris@0 2094 * examples/sndfile-jackplay.c examples/Makefile.am
Chris@0 2095 Add new example program to play sound files using the JACK audio server.
Chris@0 2096 Thanks to Jonatan Liljedahl for allowing this to be included.
Chris@0 2097
Chris@0 2098 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2099
Chris@0 2100 * doc/index.html
Chris@0 2101 Update support table with SD2 and FLAC.
Chris@0 2102
Chris@0 2103 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2104
Chris@0 2105 * src/sndfile.c
Chris@0 2106 Fix calculation of internal value psf->read_current when attempting to read
Chris@0 2107 past end of audio data.
Chris@0 2108 Remove redundant code.
Chris@0 2109
Chris@0 2110 * tests/lossy_comp_test.c
Chris@0 2111 Add read_raw_test to check that raw reads do not go past the end of the
Chris@0 2112 audio data section.
Chris@0 2113 Clean up error output messages.
Chris@0 2114
Chris@0 2115 * src/sndfile.c
Chris@0 2116 Add code to prevent sf_read_raw from reading past the end of the audio data.
Chris@0 2117
Chris@0 2118 * tests/Makefile.am
Chris@0 2119 Add the wav_pcm lossy_comp_test.
Chris@0 2120
Chris@0 2121 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2122
Chris@0 2123 * configure.ac src/Makefile.am src/create_symbols_file.py
Chris@0 2124 More OS/2 fixes from David Yeo.
Chris@0 2125
Chris@0 2126 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2127
Chris@0 2128 * src/file_io.c tests/utils.tpl tests/benchmark.tpl
Chris@0 2129 Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
Chris@0 2130
Chris@0 2131 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2132
Chris@0 2133 * src/common.h
Chris@0 2134 Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
Chris@0 2135
Chris@0 2136 * src/create_symbols_file.py
Chris@0 2137 Add support for OS/2 contributed by David Yeo.
Chris@0 2138
Chris@0 2139 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2140
Chris@0 2141 * M4/gcc_version.m4
Chris@0 2142 Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
Chris@0 2143
Chris@0 2144 * configure.ac
Chris@0 2145 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
Chris@0 2146 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
Chris@0 2147 Use -fgnu-inline to prevent stupid warnings.
Chris@0 2148
Chris@0 2149 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2150
Chris@0 2151 * tests/util.tpl
Chris@0 2152 Increase the printing width for print_test_name().
Chris@0 2153
Chris@0 2154 * tests/command_test.c tests/Makefile.am
Chris@0 2155 Add tests for correct updating of broadcast WAV coding history.
Chris@0 2156
Chris@0 2157 * examples/sndfilehandle.cc examples/Makefile.am
Chris@0 2158 Add example program using the C++ SndfileHandle class.
Chris@0 2159
Chris@0 2160 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2161
Chris@0 2162 * src/common.h src/sndfile.c
Chris@0 2163 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
Chris@0 2164
Chris@0 2165 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2166
Chris@0 2167 * src/sd2.c
Chris@0 2168 Identify sample-rate/sample-size/channels by resource id.
Chris@0 2169
Chris@0 2170 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2171
Chris@0 2172 * src/broadcast.c src/common.h src/sndfile.c
Chris@0 2173 Improvements to handling of broadcast info in WAV files. Thanks to Frederic
Chris@0 2174 Cornu and other for their input.
Chris@0 2175
Chris@0 2176 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2177
Chris@0 2178 * src/FLAC/include/share/alloc.h
Chris@0 2179 Mingw fix for SIZE_T_MAX from Uli Franke.
Chris@0 2180
Chris@0 2181 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2182
Chris@0 2183 * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
Chris@0 2184 Move tests from open_fail_test.c to error_test.c and remove the former.
Chris@0 2185
Chris@0 2186 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2187
Chris@0 2188 * tests/scale_clip_test.(def|tpl)
Chris@0 2189 Add tests for SFC_SET_INT_FLOAT_WRITE command.
Chris@0 2190
Chris@0 2191 * doc/command.html
Chris@0 2192 Add docs for SFC_SET_INT_FLOAT_WRITE command.
Chris@0 2193
Chris@0 2194 * examples/sndfile-play.c tests/dft_cmp.c
Chris@0 2195 Fix gcc-4.2 warning messages.
Chris@0 2196
Chris@0 2197 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2198
Chris@0 2199 * src/sndfile.h.in src/sndfile.c
Chris@0 2200 Add command SFC_GET_CURRENT_SF_INFO.
Chris@0 2201
Chris@0 2202 * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
Chris@0 2203 Remove function sf_get_info (only ever in pre-release code).
Chris@0 2204
Chris@0 2205 * tests/command_test.c
Chris@0 2206 Add test for SFC_GET_CURRENT_SF_INFO.
Chris@0 2207
Chris@0 2208 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2209
Chris@0 2210 * src/wav.c
Chris@0 2211 Add parsing of 'exif' chunks. Originally coded by Trent Apted.
Chris@0 2212
Chris@0 2213 * configure.ac
Chris@0 2214 Put config stuff in Cfg directory.
Chris@0 2215 Remove check for inttypes.h.
Chris@0 2216
Chris@0 2217 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2218
Chris@0 2219 * src/w64.c
Chris@0 2220 Fix writing of 'riff' chunk length and check for correct value in parser.
Chris@0 2221
Chris@0 2222 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2223
Chris@0 2224 * doc/index.html
Chris@0 2225 Link to MP3 FAQ entry.
Chris@0 2226
Chris@0 2227 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2228
Chris@0 2229 * src/flac.c
Chris@0 2230 Move the blocksize check to an earlier stage of flac_buffer_copy.
Chris@0 2231
Chris@0 2232 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2233
Chris@0 2234 * src/FLAC
Chris@0 2235 Huge merge from FLAC upstream.
Chris@0 2236
Chris@0 2237 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2238
Chris@0 2239 * examples/*.c
Chris@0 2240 Change license to all example programs to BSD.
Chris@0 2241
Chris@0 2242 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2243
Chris@0 2244 * src/FLAC/include/FLAC/metadata.h
Chris@0 2245 Include <sys/types.h> to prevent compile error on OSX.
Chris@0 2246
Chris@0 2247 * Octave/octave_test.sh
Chris@0 2248 Disable test on OSX. Can't get it to work.
Chris@0 2249
Chris@0 2250 * src/flac.c
Chris@0 2251 Check the blocksize returned from the FLAC decoder to prevent buffer
Chris@0 2252 overruns. Reported by Jeremy Friesner. Thanks.
Chris@0 2253
Chris@0 2254 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2255
Chris@0 2256 * Makefile.am M4/octave.m4
Chris@0 2257 Fix build when Octave headers are not present.
Chris@0 2258
Chris@0 2259 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2260
Chris@0 2261 * doc/development.html
Chris@0 2262 Add note about bzr repository directory looking empty.
Chris@0 2263
Chris@0 2264 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2265
Chris@0 2266 * configure.ac Octave/* M4/octave_*
Chris@0 2267 Bunch of changes to add ability to build GNU Octave modules to read/write
Chris@0 2268 sound files using libsndfile from Octave.
Chris@0 2269
Chris@0 2270 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2271
Chris@0 2272 * acinclude.m4 configure.ac ...
Chris@0 2273 Get rid of acinclude.m4 and replace it with an M4 directory.
Chris@0 2274
Chris@0 2275 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2276
Chris@0 2277 * src/sndfile.h.in
Chris@0 2278 Remove crufty Metrowerks compiler support. Allow header file to be compiled
Chris@0 2279 on windows with both GCC and microsoft compiler.
Chris@0 2280
Chris@0 2281 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2282
Chris@0 2283 * tests/dft_cmp.[ch] tests/floating_point_test.tpl
Chris@0 2284 Clean up floating point tests.
Chris@0 2285
Chris@0 2286 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2287
Chris@0 2288 * src/aiff.c
Chris@0 2289 Fix segfault when COMM chunk length is byte swapped.
Chris@0 2290
Chris@0 2291 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2292
Chris@0 2293 * src/common.h src/mat4.c src/mat5.c src/sndfile.c
Chris@0 2294 Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
Chris@0 2295
Chris@0 2296 * src/au.c
Chris@0 2297 Fix crash on AU files with zero channel count. Reported by Ben Alison.
Chris@0 2298
Chris@0 2299 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2300
Chris@0 2301 * src/voc.c
Chris@0 2302 Fix bug in handling file supplied by Matt Olenik.
Chris@0 2303
Chris@0 2304 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2305
Chris@0 2306 * src/OGG
Chris@0 2307 Merge from OGG upstream sources.
Chris@0 2308
Chris@0 2309 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2310
Chris@0 2311 * src/FLAC
Chris@0 2312 Merge from FLAC upstream sources.
Chris@0 2313
Chris@0 2314 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2315
Chris@0 2316 * src/flac.c
Chris@0 2317 Fix memory leak; set copy parameter to FALSE in call to
Chris@0 2318 FLAC__metadata_object_vorbiscomment_append_comment.
Chris@0 2319
Chris@0 2320 * src/common.[ch]
Chris@0 2321 Add function psf_rand_int32().
Chris@0 2322
Chris@0 2323 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2324
Chris@0 2325 * src/FLAC
Chris@0 2326 Merge from FLAC upstream sources.
Chris@0 2327
Chris@0 2328 * src/strings.c tests/string_test.c tests/Makefile.am
Chris@0 2329 Make sure string tests for SF_STR_LICENSE actually works.
Chris@0 2330
Chris@0 2331 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2332
Chris@0 2333 * tests/string_test.c
Chris@0 2334 Add ability to test strings stored in metadata secion of FLAC files.
Chris@0 2335
Chris@0 2336 * src/string.c
Chris@0 2337 Fix logic for testing if audio data has been written and string is added.
Chris@0 2338 Make sure SF_STR_ALBUM actually works.
Chris@0 2339
Chris@0 2340 * src/flac.c
Chris@0 2341 Finalize reading/writing string metadata. Tests pass.
Chris@0 2342
Chris@0 2343 * src/sndfile.h.in tests/string_test.c src/flac.c
Chris@0 2344 Add string type SF_STR_LICENSE, update test and use for FLAC files.
Chris@0 2345
Chris@0 2346 * src/sndfile.h.in
Chris@0 2347 Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
Chris@0 2348
Chris@0 2349 * src/common.h src/double64.c src/float32.c src/sndfile.c
Chris@0 2350 Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
Chris@0 2351
Chris@0 2352 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2353
Chris@0 2354 * src/flac.c
Chris@0 2355 Apply patch from Ed Schouten to read artist and title metadata from FLAC
Chris@0 2356 files.
Chris@0 2357 Improve reporting of FLAC metadata.
Chris@0 2358
Chris@0 2359 * src/sndfile.h.in tests/string_test.c src/flac.c
Chris@0 2360 Add string type SF_STR_ALBUM, update test and use for FLAC files.
Chris@0 2361
Chris@0 2362 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2363
Chris@0 2364 * src/FLAC/*
Chris@0 2365 Merge from upstream CVS.
Chris@0 2366
Chris@0 2367 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2368
Chris@0 2369 * src/FLAC/*
Chris@0 2370 Update from upstream CVS.
Chris@0 2371
Chris@0 2372 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2373
Chris@0 2374 * tests/cpp_test.cc
Chris@0 2375 Add extra tests for when the SndfileHandle constructor fails.
Chris@0 2376
Chris@0 2377 * src/sndfile.hh
Chris@0 2378 Make sure failure to open the file in the constructor does not allow later
Chris@0 2379 calls to other methods to fail.
Chris@0 2380
Chris@0 2381 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2382
Chris@0 2383 * tests/util.tpl
Chris@0 2384 Add function write_mono_file.
Chris@0 2385
Chris@0 2386 * tests/generate.[ch] tests/Makefile.am
Chris@0 2387 Add files generate.[ch] and hook into build.
Chris@0 2388
Chris@0 2389 * tests/write_read_test.tpl
Chris@0 2390 Add multi_seek_test.
Chris@0 2391
Chris@0 2392 * src/flac.c
Chris@0 2393 Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
Chris@0 2394 by David Viens.
Chris@0 2395
Chris@0 2396 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2397
Chris@0 2398 * doc/FAQ.html
Chris@0 2399 Minor update.
Chris@0 2400
Chris@0 2401 * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
Chris@0 2402 Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
Chris@0 2403
Chris@0 2404 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2405
Chris@0 2406 * src/wav.c
Chris@0 2407 Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
Chris@0 2408
Chris@0 2409 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2410
Chris@0 2411 * src/wav.c
Chris@0 2412 Fix array indexing bug raised by Bruce Sharpe.
Chris@0 2413
Chris@0 2414 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2415
Chris@0 2416 * src/FLAC/src/share/getopt/getopt.c
Chris@0 2417 Fix Mac OSX / PowerPC compile warnings.
Chris@0 2418
Chris@0 2419 * configure.ac
Chris@0 2420 Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
Chris@0 2421
Chris@0 2422 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2423
Chris@0 2424 * doc/FAQ.html
Chris@0 2425 Add Q/A about MP3 support.
Chris@0 2426
Chris@0 2427 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2428
Chris@0 2429 * doc/new_file_type.HOWTO
Chris@0 2430 Minor updates.
Chris@0 2431
Chris@0 2432 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2433
Chris@0 2434 * src/wve.c
Chris@0 2435 Fix a couple bad parameters with psf_log_printf.
Chris@0 2436
Chris@0 2437 * src/pcm.c
Chris@0 2438 Improve error reporting.
Chris@0 2439
Chris@0 2440 * src/common.h src/common.c
Chris@0 2441 Constify psf_hexdump.
Chris@0 2442
Chris@0 2443 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2444
Chris@0 2445 * src/FLAC
Chris@0 2446 Ditch and re-import required FLAC code.
Chris@0 2447
Chris@0 2448 * configure.ac
Chris@0 2449 Force FLAC__HAS_OGG variable to 1.
Chris@0 2450
Chris@0 2451 * src/FLAC/src/libFLAC/stream_encoder.c
Chris@0 2452 Fix compiler warnings.
Chris@0 2453
Chris@0 2454 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2455
Chris@0 2456 * configure.ac tests/win32_ordinal_test.c
Chris@0 2457 Detect if win32 DLL is beging generated and only run win32_ordinal_test if
Chris@0 2458 true.
Chris@0 2459
Chris@0 2460 * src/G72x/Makefile.am src/Makefile.am
Chris@0 2461 Use $(EXEEXT) where possible.
Chris@0 2462
Chris@0 2463 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2464
Chris@0 2465 * src/wve.c src/common.h src/sndfile.c
Chris@0 2466 Complete definition of SfE_WVE_NO_WVE error message.
Chris@0 2467
Chris@0 2468 * src/wve.c
Chris@0 2469 Fix error in files generated on big endian systems. Robustify parsing.
Chris@0 2470
Chris@0 2471 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2472
Chris@0 2473 * src/double64.c
Chris@0 2474 Fix clipping of double to short conversions on 64 bit systems.
Chris@0 2475
Chris@0 2476 * src/flac.c regtest/database.c tests/cpp_test.cc
Chris@0 2477 Fix compile warnings for 64 bit systems.
Chris@0 2478
Chris@0 2479 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2480
Chris@0 2481 * src/wav.c src/wav_w64.c
Chris@0 2482 Use audio detect function when 'fmt ' chunk data is suspicious.
Chris@0 2483
Chris@0 2484 * configure.ac
Chris@0 2485 Add ugly hack to remove -Werror from some Makefiles.
Chris@0 2486
Chris@0 2487 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2488
Chris@0 2489 * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
Chris@0 2490 Add patch from André Pang to clean up compiles on OSX.
Chris@0 2491
Chris@0 2492 * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
Chris@0 2493 examples/sndfile-convert.c
Chris@0 2494 Merge changes from Reuben Thomas to improve WVE support.
Chris@0 2495
Chris@0 2496 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 2497 Add tests for WVE files.
Chris@0 2498
Chris@0 2499 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2500
Chris@0 2501 * src/sndfile.hh
Chris@0 2502 Add a static SndfileHandle::formatCheck method as suggested by Jorge
Chris@0 2503 Jiménez.
Chris@0 2504
Chris@0 2505 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2506
Chris@0 2507 * src/sndfile.c
Chris@0 2508 Fixed a bug in sf_error() where the function itself was being compared
Chris@0 2509 against zero. Add a check for a NULL return from peak_info_calloc. Fix a
Chris@0 2510 possible NULL dereference.
Chris@0 2511
Chris@0 2512 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2513
Chris@0 2514 * src/flac.c
Chris@0 2515 Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
Chris@0 2516 opening file for RDWR.
Chris@0 2517
Chris@0 2518 * src/sndfile.c
Chris@0 2519 Improve error message for SFE_BAD_RDWR_FORMAT.
Chris@0 2520
Chris@0 2521 * src/mat4.c
Chris@0 2522 Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
Chris@0 2523
Chris@0 2524 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2525
Chris@0 2526 * doc/FAQ.html
Chris@0 2527 Add Q/A 19 on project files.
Chris@0 2528
Chris@0 2529 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2530
Chris@0 2531 * src/sndfile.c
Chris@0 2532 Guard agains MacOSX universal binary compiles.
Chris@0 2533
Chris@0 2534 * doc/FAQ.html
Chris@0 2535 Add Q/A 18 and clean up Q3.
Chris@0 2536
Chris@0 2537 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2538
Chris@0 2539 * src/aiff.c
Chris@0 2540 Add support for 'in24' files.
Chris@0 2541
Chris@0 2542 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2543
Chris@0 2544 * src/wav.c src/wav_w64.c src/wav_w64.h
Chris@0 2545 Start work towards detecting ausio codec type from the actual audio data.
Chris@0 2546
Chris@0 2547 * src/audio_detect.c src/test_audio_detect.c
Chris@0 2548 Add new file and its unit test.
Chris@0 2549
Chris@0 2550 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2551
Chris@0 2552 * examples/cooledit-fixer.c examples/Makefile.am
Chris@0 2553 Remove old broken example program.
Chris@0 2554
Chris@0 2555 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2556
Chris@0 2557 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
Chris@0 2558 Add function sf_get_info.
Chris@0 2559
Chris@0 2560 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2561
Chris@0 2562 * examples/sndfile-play.c
Chris@0 2563 For ALSA, use the 'default' device instead of 'plughw:0'.
Chris@0 2564
Chris@0 2565 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2566
Chris@0 2567 * src/sndfile.c
Chris@0 2568 Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
Chris@0 2569
Chris@0 2570 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2571
Chris@0 2572 * doc/development.html doc/embedded_files.html man/sndfile-play.1
Chris@0 2573 Minor documentation fixes. Thanks Reuben Thomas.
Chris@0 2574
Chris@0 2575 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2576
Chris@0 2577 * examples/sndfile-convert.c
Chris@0 2578 Add -override-sample-rate command line option.
Chris@0 2579
Chris@0 2580 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2581
Chris@0 2582 * tests/misc_test.c
Chris@0 2583 Force errno to zero at start of some tests.
Chris@0 2584
Chris@0 2585 * src/sndfile.c
Chris@0 2586 Minor clean up of error handling.
Chris@0 2587
Chris@0 2588 * configure.ac
Chris@0 2589 Remove an assembler test which was failing on OSX.
Chris@0 2590
Chris@0 2591 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2592
Chris@0 2593 * src/common.h
Chris@0 2594 Fix the definition of SF_PLATFORM_S64 for MinGW.
Chris@0 2595
Chris@0 2596 * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
Chris@0 2597 Fix path problems for MinGW.
Chris@0 2598
Chris@0 2599 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2600
Chris@0 2601 * src/sfendian.h
Chris@0 2602 Add include guard.
Chris@0 2603
Chris@0 2604 * src/Makefile.am src/flac.c
Chris@0 2605 Clean up include paths.
Chris@0 2606
Chris@0 2607 * src/test_conversions.c
Chris@0 2608 New file to test psf_binheader_readf/writef functions.
Chris@0 2609
Chris@0 2610 * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
Chris@0 2611 Clean up unit testing.
Chris@0 2612
Chris@0 2613 * src/common.c
Chris@0 2614 Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
Chris@0 2615 for reporting this.
Chris@0 2616
Chris@0 2617 * src/test_conversions.c
Chris@0 2618 Complete unit test for above fix.
Chris@0 2619
Chris@0 2620 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2621
Chris@0 2622 * src/sndfile.c
Chris@0 2623 More refactoring to clean up psf_open_file() and vairous sf_open()
Chris@0 2624 functions.
Chris@0 2625
Chris@0 2626 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2627
Chris@0 2628 * src/wav.c
Chris@0 2629 Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
Chris@0 2630 files of over 4 gigabytes.
Chris@0 2631
Chris@0 2632 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2633
Chris@0 2634 * src/sndfile.c
Chris@0 2635 Refactor function psf_open_file() to provide a single return point.
Chris@0 2636
Chris@0 2637 * tests/misc_test.c
Chris@0 2638 Fix permission_test to ensure that read only file can be created.
Chris@0 2639
Chris@0 2640 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2641
Chris@0 2642 * src/common.h
Chris@0 2643 Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
Chris@0 2644 bit integers.
Chris@0 2645
Chris@0 2646 * src/aiff.c src/svx.c src/wav.c
Chris@0 2647 Add warning in log if files are larger than 4 gigabytes in size.
Chris@0 2648
Chris@0 2649 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2650
Chris@0 2651 * src/FLAC src/OGG confgure.ac src/Makefile.am
Chris@0 2652 Pull in all required FLAC and OGG code so external libraries are not
Chris@0 2653 needed. This makes compiling on stupid fscking Windoze easier.
Chris@0 2654
Chris@0 2655 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2656
Chris@0 2657 * src/sd2.c
Chris@0 2658 Add workaround for switched sample rate and sample size.
Chris@0 2659
Chris@0 2660 * src/wav.c
Chris@0 2661 Add workaround for excessively long coding history in the 'bext' chunk.
Chris@0 2662
Chris@0 2663 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2664
Chris@0 2665 * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
Chris@0 2666 Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
Chris@0 2667
Chris@0 2668 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2669
Chris@0 2670 * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
Chris@0 2671 Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
Chris@0 2672 files. Still needs a little tweaking before its ready for release.
Chris@0 2673
Chris@0 2674 * src/*.c
Chris@0 2675 Use the UNUSED macro to prevent compiler warnings.
Chris@0 2676
Chris@0 2677 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2678
Chris@0 2679 * src/aiff.c
Chris@0 2680 Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
Chris@0 2681 to David Viens for providing two example files.
Chris@0 2682
Chris@0 2683 * src/common.(c|h) src/aiff.c
Chris@0 2684 Add a function psf_sanitize_string and use it in aiff.c.
Chris@0 2685
Chris@0 2686 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2687
Chris@0 2688 * src/wav_w64.c
Chris@0 2689 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
Chris@0 2690
Chris@0 2691 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2692
Chris@0 2693 * src/Makefile.am
Chris@0 2694 Fix problem related to recent test coverage changes.
Chris@0 2695
Chris@0 2696 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2697
Chris@0 2698 * configure.ac tests/Makefile.am
Chris@0 2699 Add --enable-test-coverage configure option.
Chris@0 2700
Chris@0 2701 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2702
Chris@0 2703 * src/sndfile.hh
Chris@0 2704 Add an std::string SndfileHandle constructor.
Chris@0 2705
Chris@0 2706 * tests/scale_clip_test.tpl
Chris@0 2707 Fix the 'make distcheck' target.
Chris@0 2708
Chris@0 2709 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2710
Chris@0 2711 * src/double64.c src/float32.c
Chris@0 2712 Add optional clipping on float file data to int read data conversions.
Chris@0 2713
Chris@0 2714 * tests/tests/scale_clip_test.(def|tpl)
Chris@0 2715 Add test for above new code.
Chris@0 2716
Chris@0 2717 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2718
Chris@0 2719 * tests/aiff_rw_test.c
Chris@0 2720 Add 'MARK' chunks to make sure they are parsed correctly.
Chris@0 2721
Chris@0 2722 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2723
Chris@0 2724 * src/aiff.c
Chris@0 2725 Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
Chris@0 2726 help debug the problem.
Chris@0 2727
Chris@0 2728 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2729
Chris@0 2730 * src/common.h
Chris@0 2731 Make the SF_MIN and SF_MAX macros at least partially type safe.
Chris@0 2732
Chris@0 2733 * tests/lossy_comp_test.c
Chris@0 2734 Fix overflow problems when ensuring that signalis not zero.
Chris@0 2735
Chris@0 2736 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2737
Chris@0 2738 * configure.ac docs/*.html
Chris@0 2739 Changes for release 1.0.17.
Chris@0 2740
Chris@0 2741 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2742
Chris@0 2743 * src/flac.c
Chris@0 2744 Remove inline from functions called by pointer. Thanks to Sampo Savolainen
Chris@0 2745 for notifying me of this.
Chris@0 2746
Chris@0 2747 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2748
Chris@0 2749 * src/sndfile.hh
Chris@0 2750 Add writeSync method.
Chris@0 2751 Add copy constructor and assignment operator (thanks Daniel Schmitt).
Chris@0 2752 Add methods readRaw and writeRaw.
Chris@0 2753 Make read/write/readf/writef simple overlaods instead of templates (thanks
Chris@0 2754 to Trent Apted for suggesting this).
Chris@0 2755
Chris@0 2756 * tests/cpp_test.cc
Chris@0 2757 Cleanup. Add tests.
Chris@0 2758
Chris@0 2759 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2760
Chris@0 2761 * src/sndfile.hh
Chris@0 2762 Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
Chris@0 2763 Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
Chris@0 2764 openReadWrite methods.
Chris@0 2765 Add const to SF_INFO pointer in Sndfile constructor.
Chris@0 2766 Make the destrictor call the close() method.
Chris@0 2767
Chris@0 2768 * tests/cpp_test.cc
Chris@0 2769 Add more tests.
Chris@0 2770
Chris@0 2771 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2772
Chris@0 2773 * tests/cpp_test.cc
Chris@0 2774 Remove the generated file so "make distcheck" passes.
Chris@0 2775
Chris@0 2776 * src/Makefile.am
Chris@0 2777 Add sndfile.hh to distributed header files.
Chris@0 2778
Chris@0 2779 * src/sndfile.hh
Chris@0 2780 Change the license for the C++ wrapper to modified BSD.
Chris@0 2781
Chris@0 2782 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2783
Chris@0 2784 * src/sndfile.hh
Chris@0 2785 Complete it.
Chris@0 2786
Chris@0 2787 * tests/cpp_test.cc
Chris@0 2788 Add more tests.
Chris@0 2789
Chris@0 2790 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2791
Chris@0 2792 * tests/utils.tpl
Chris@0 2793 Add extern C to generated header file.
Chris@0 2794
Chris@0 2795 * src/sndfile.hh
Chris@0 2796 Work towards completing this.
Chris@0 2797
Chris@0 2798 * tests/cpp_test.cc tests/Makefile.am
Chris@0 2799 Add a C++ test and hook into build.
Chris@0 2800
Chris@0 2801 * configure.ac
Chris@0 2802 Add appropriate CXXFLAGS.
Chris@0 2803
Chris@0 2804 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2805
Chris@0 2806 * configure.ac
Chris@0 2807 Test if compiler supports -Wpointer-arith.
Chris@0 2808
Chris@0 2809 * src/common.c
Chris@0 2810 Fix a warning resulting from -Wpointer-arith.
Chris@0 2811
Chris@0 2812 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2813
Chris@0 2814 * examples/sndfile-play.c
Chris@0 2815 Explicitly set endian-ness as well as setting 16 bit output.
Chris@0 2816
Chris@0 2817 * examples/sndfile-info.c
Chris@0 2818 Make sure to parse info if file fails to open.
Chris@0 2819
Chris@0 2820 * src/sndfile.c
Chris@0 2821 Handle parse error a little better.
Chris@0 2822
Chris@0 2823 * src/wav_w64.[ch]
Chris@0 2824 Minor clean up, add detection of IPP ITU G723.1.
Chris@0 2825
Chris@0 2826 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2827
Chris@0 2828 * src/sndfile.c
Chris@0 2829 Make sure psf->dataoffset gets reset to zero when openning headersless
Chris@0 2830 files based on the file name extension.
Chris@0 2831
Chris@0 2832 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2833
Chris@0 2834 * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
Chris@0 2835 tests/write_read_test.(tpl|def)
Chris@0 2836 Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
Chris@0 2837 break strict-aliasing rules".
Chris@0 2838
Chris@0 2839 * examples/cooledit-fixer.c
Chris@0 2840 More fixes like above.
Chris@0 2841
Chris@0 2842 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2843
Chris@0 2844 * src/file_io.c
Chris@0 2845 Fix a windows bug where the syserr string of SF_PRIVATE was not being set
Chris@0 2846 correctly.
Chris@0 2847
Chris@0 2848 * src/sndfile.c
Chris@0 2849 Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
Chris@0 2850
Chris@0 2851 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2852
Chris@0 2853 * configure.ac
Chris@0 2854 Fixed detection of S_IRGRP.
Chris@0 2855
Chris@0 2856 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2857
Chris@0 2858 * sndfile-convert.c
Chris@0 2859 Add conversion SF_INSTRUMENT data when present.
Chris@0 2860
Chris@0 2861 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2862
Chris@0 2863 * doc/development.html
Chris@0 2864 Removed references to tla on windows.
Chris@0 2865
Chris@0 2866 * src/common.h src/sndfile.c
Chris@0 2867 Add separate void pointers for file containter and file codec data to
Chris@0 2868 SF_PRIVATE struct. Still need to move all existing fdata pointers.
Chris@0 2869
Chris@0 2870 * tests/write_read_test.tpl
Chris@0 2871 Change the order of some tests.
Chris@0 2872
Chris@0 2873 * src/aiff.c
Chris@0 2874 When writing 'AIFC' files, make sure get an 'FVER' gets added.
Chris@0 2875
Chris@0 2876 * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
Chris@0 2877 src/(sndfile|voc|vox_adpcm|xi).c
Chris@0 2878 Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
Chris@0 2879
Chris@0 2880 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2881
Chris@0 2882 * Win32/testprog.c Win32/Makefile.am
Chris@0 2883 Add a minimal win32 test program.
Chris@0 2884
Chris@0 2885 * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
Chris@0 2886 Update readme and Mingw build script.
Chris@0 2887
Chris@0 2888 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2889
Chris@0 2890 * configure.ac acinclude.m4
Chris@0 2891 Minor fixes for Solaris.
Chris@0 2892
Chris@0 2893 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2894
Chris@0 2895 * src/test_endswap.(def|tpl)
Chris@0 2896 Fix printf formatting for int64_t on 64 bit machines.
Chris@0 2897
Chris@0 2898 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2899
Chris@0 2900 * src/binhead_check.py
Chris@0 2901 New file to check for bad parameters passed to psf_binheader_writef().
Chris@0 2902
Chris@0 2903 * src/Makefile.am
Chris@0 2904 Hook into test suite.
Chris@0 2905
Chris@0 2906 * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
Chris@0 2907 Fix bugs found by new test program.
Chris@0 2908
Chris@0 2909 * src/double64.c
Chris@0 2910 Clean up double64_get_capability().
Chris@0 2911
Chris@0 2912 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2913
Chris@0 2914 * src/wav_w64.c
Chris@0 2915 Fix a bug on x86_64 where an int was being passed via stdargs and being
Chris@0 2916 read using size_t which is 64 bits. Thenks to John ffitch for giving me a
Chris@0 2917 login on his box.
Chris@0 2918
Chris@0 2919 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2920
Chris@0 2921 * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
Chris@0 2922 tests/utils.tpl
Chris@0 2923 Fix a couple of signed/unsigned problems.
Chris@0 2924
Chris@0 2925 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2926
Chris@0 2927 * tests/command_test.c
Chris@0 2928 Add channel map tests.
Chris@0 2929
Chris@0 2930 * src/common.h src/sndfile.c
Chris@0 2931 Add a pointer the the SF_PRIVATE struct and make sure it gets freed in
Chris@0 2932 sf_close().
Chris@0 2933
Chris@0 2934 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2935
Chris@0 2936 * configure.ac doc/(command|index|api).html NEWS README
Chris@0 2937 Updates for 1.0.16 release.
Chris@0 2938
Chris@0 2939 * src/sndfile.h.in
Chris@0 2940 Define enums for channel mapping.
Chris@0 2941
Chris@0 2942 * examples/sndfile-info.c
Chris@0 2943 Clean up usage of SF_INFO struct.
Chris@0 2944
Chris@0 2945 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2946
Chris@0 2947 * tests/util.tpl
Chris@0 2948 Add function testing function exit_if_true().
Chris@0 2949
Chris@0 2950 * tests/floating_point_test.tpl
Chris@0 2951 Fix a problem where the test program was not exiting when the test failed.
Chris@0 2952
Chris@0 2953 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2954
Chris@0 2955 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
Chris@0 2956 Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
Chris@0 2957
Chris@0 2958 * doc/commands.html
Chris@0 2959 Document new commands. Other minor updates.
Chris@0 2960
Chris@0 2961 * tests/peak_chunk_test.c
Chris@0 2962 Update tests for new commands.
Chris@0 2963
Chris@0 2964 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2965
Chris@0 2966 * tests/peak_chunk_test.c
Chris@0 2967 Add test for RIFX and WAVEX files.
Chris@0 2968 Try and confuse the PEAK chunk writing by enabling and disabling it.
Chris@0 2969
Chris@0 2970 * src/sndfile.c
Chris@0 2971 Fix a bug where enabling and disabling PEAK chunk was screwing up.
Chris@0 2972
Chris@0 2973 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2974
Chris@0 2975 * src/sndfile.h.in
Chris@0 2976 Add the block of 190 reserved bytes into this struct to allow for
Chris@0 2977 future expansion.
Chris@0 2978
Chris@0 2979 * src/wav.c src/sndfile.c src/broadcast.c
Chris@0 2980 Significant cleanup of broadcast wave stuff.
Chris@0 2981
Chris@0 2982 * examples/sndfile-info.c
Chris@0 2983 Fix print message.
Chris@0 2984
Chris@0 2985 * tests/command_test.c tests/Makefile.am
Chris@0 2986 Complete bext tests, hook test in test suite.
Chris@0 2987
Chris@0 2988 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2989
Chris@0 2990 * src/sndfile.h.in
Chris@0 2991 Make coding_history field of SF_BROADCAST_INFO struct a char array instead
Chris@0 2992 of a char pointer.
Chris@0 2993
Chris@0 2994 * src/sndfile.c src/common.h src/wav.c
Chris@0 2995 Clean up knock on effects of above chnage.
Chris@0 2996
Chris@0 2997 * examples/sndfile-info.c
Chris@0 2998 Add -b command line option to usage message.
Chris@0 2999 Clean up output of broadcast wave info.
Chris@0 3000
Chris@0 3001 * src/wav.c
Chris@0 3002 Ignore and skip the 'levl' chunk.
Chris@0 3003
Chris@0 3004 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3005
Chris@0 3006 * configure.ac
Chris@0 3007 Fix handling of --enable and --disable configure args. Thanks to Diego
Chris@0 3008 'Flameeyes' Pettenò who sent the patch.
Chris@0 3009
Chris@0 3010 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3011
Chris@0 3012 * doc/win32.html
Chris@0 3013 Make it really clear that although the MSVC++ cannot compile libsndfile,
Chris@0 3014 the precompiled DLL can be used in C++ programs compiled with MSVC++.
Chris@0 3015
Chris@0 3016 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3017
Chris@0 3018 * src/aiff.c
Chris@0 3019 Fix bug in writing of INST chunk in AIFF files.
Chris@0 3020 Fix potential bug in writing MARK chunks.
Chris@0 3021
Chris@0 3022 * src/sndfile.c
Chris@0 3023 Make sure the instrument chunk can only be written at the start of the file.
Chris@0 3024
Chris@0 3025 * tests/command_test.c
Chris@0 3026 Add check of log buffer.
Chris@0 3027
Chris@0 3028 * tests/utils.tpl
Chris@0 3029 Add usage of space character to psf_binheader_writef.
Chris@0 3030
Chris@0 3031 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3032
Chris@0 3033 * src/Makefile.am tests/Makefile.am
Chris@0 3034 Remove --source-time argument from autogen command lines.
Chris@0 3035
Chris@0 3036 * src/broadcast.c
Chris@0 3037 New file for EBU Broadcast chunk in WAV files.
Chris@0 3038
Chris@0 3039 * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
Chris@0 3040 Add patch from Paul Davis implementing read/write of the BEXT chunk.
Chris@0 3041
Chris@0 3042 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3043
Chris@0 3044 * Win32/README-precompiled-dll.txt
Chris@0 3045 New file descibing how to use the precompiled DLL.
Chris@0 3046
Chris@0 3047 * Win32/Makefile.am
Chris@0 3048 Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
Chris@0 3049
Chris@0 3050 * configure.ac
Chris@0 3051 Bump version to 1.0.15.
Chris@0 3052
Chris@0 3053 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3054
Chris@0 3055 * src/wav.c
Chris@0 3056 On read, only add the endian flag if the file is big endian.
Chris@0 3057
Chris@0 3058 * src/ms_adpcm.c
Chris@0 3059 Fixed writing of APDCM coeffs in RIFX files.
Chris@0 3060
Chris@0 3061 * tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@0 3062 Add tests for RIFX files.
Chris@0 3063
Chris@0 3064 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3065
Chris@0 3066 * Mingw-make-dist.sh
Chris@0 3067 Bunch of improvements.
Chris@0 3068
Chris@0 3069 * doc/win32.html
Chris@0 3070 Update MinGW program versions.
Chris@0 3071
Chris@0 3072 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3073
Chris@0 3074 * src/create_symbols_file.py
Chris@0 3075 Fix the library name in created win32 DEF file. Add correct DLL name for
Chris@0 3076 Cygwin DLL.
Chris@0 3077
Chris@0 3078 * Win32/Makefile.am tests/Makefile.am
Chris@0 3079 Remove redundant files, add win32_ordinal_test to test suite.
Chris@0 3080
Chris@0 3081 * tests/win32_ordinal_test.c
Chris@0 3082 Update to do test in cygsndfile-1.dll as well.
Chris@0 3083
Chris@0 3084 * doc/win32.html
Chris@0 3085 Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
Chris@0 3086
Chris@0 3087 * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
Chris@0 3088 Apply large patch from Jesse Chappell which adds support for RIFX files.
Chris@0 3089
Chris@0 3090 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3091
Chris@0 3092 * Makefile.am
Chris@0 3093 Add Mingw-make-dist.sh to the extra dist files.
Chris@0 3094
Chris@0 3095 * configure.ac
Chris@0 3096 Fix setting SHLIB_VERSION_ARG for MinGW.
Chris@0 3097
Chris@0 3098 * tests/win32_ordinal_test.c
Chris@0 3099 New test program to test that the win32 DLL ordinals agree with the DEF
Chris@0 3100 file.
Chris@0 3101
Chris@0 3102 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3103
Chris@0 3104 * src/common.h
Chris@0 3105 Add a static inline function to convert an int to a size_t. This will be
Chris@0 3106 a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
Chris@0 3107
Chris@0 3108 * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
Chris@0 3109 Fix an ia64 problem where a varargs function was being passed an int in
Chris@0 3110 some places and a size_t in other places.
Chris@0 3111
Chris@0 3112 * src/sd2.c
Chris@0 3113 Add a workaround for situations where OSX seems to add an extra 0x52 bytes
Chris@0 3114 to the start of the resource fork.
Chris@0 3115
Chris@0 3116 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3117
Chris@0 3118 * Mingw-make-dist.sh
Chris@0 3119 Add a shell script to build the windows binary/source ZIP file.
Chris@0 3120
Chris@0 3121 * doc/index.html
Chris@0 3122 Add download link for windows binary/source ZIP file. Add links for GPG
Chris@0 3123 signatures.
Chris@0 3124
Chris@0 3125 * doc/win32.html
Chris@0 3126 Remove info about building using microsoft compiler.
Chris@0 3127
Chris@0 3128 * configure.ac
Chris@0 3129 Bump version to 1.0.14.
Chris@0 3130
Chris@0 3131 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3132
Chris@0 3133 * src/sd2.c
Chris@0 3134 Improve logging of errors in resource fork parser.
Chris@0 3135
Chris@0 3136 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3137
Chris@0 3138 * Win32/Makefile.msvc
Chris@0 3139 Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
Chris@0 3140
Chris@0 3141 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3142
Chris@0 3143 * src/common.c
Chris@0 3144 Make sure return values are initialised header buffer is full.
Chris@0 3145
Chris@0 3146 * src/wav.c
Chris@0 3147 Add workarounds for messed up WAV files.
Chris@0 3148
Chris@0 3149 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3150
Chris@0 3151 * Win32/config.h
Chris@0 3152 Undef HAVE_INTTYPES_H for win32.
Chris@0 3153
Chris@0 3154 * tests/command_test.c
Chris@0 3155 Don't exit on error in instrument test for XI files.
Chris@0 3156
Chris@0 3157 * configure.ac
Chris@0 3158 Bump version to 1.0.13.
Chris@0 3159
Chris@0 3160 * doc/*.html NEWS README
Chris@0 3161 Update version numbers.
Chris@0 3162
Chris@0 3163 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3164
Chris@0 3165 * src/xi.c
Chris@0 3166 Start work on add read/write of instrument chunks.
Chris@0 3167
Chris@0 3168 * src/command_test.c
Chris@0 3169 Add tests for XI instrument chunk.
Chris@0 3170
Chris@0 3171 * tests/largefile_test.c tests/Makefile.am
Chris@0 3172 Add new test and hook it into the build system. This test will not be run
Chris@0 3173 automatically because it requires 3 Gig of disk space and takes 3 minutes
Chris@0 3174 to run.
Chris@0 3175
Chris@0 3176 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3177
Chris@0 3178 * examples/sndfile-play.c
Chris@0 3179 Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
Chris@0 3180
Chris@0 3181 * src/common.h
Chris@0 3182 Make sure length of header buffer can hold header plus strings. Thanks Axel
Chris@0 3183 Röbel.
Chris@0 3184
Chris@0 3185 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3186
Chris@0 3187 * src/sndfile.h.in src/aiff.c src/wav.c
Chris@0 3188 Apply a patch from John ffitch (Csound project).
Chris@0 3189 Add detune field to SF_INSTRUMENT struct.
Chris@0 3190 Add reading/writing instrument chunks to WAV files.
Chris@0 3191
Chris@0 3192 * tests/command_test.c
Chris@0 3193 Update SF_INSTRUMENT tests.
Chris@0 3194
Chris@0 3195 * tests/Makefile.am
Chris@0 3196 Hook instrument tests into test suite.
Chris@0 3197
Chris@0 3198 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3199
Chris@0 3200 * configure.ac
Chris@0 3201 Check for <inttypes.h> because some broken systems (like Solaris) don't have
Chris@0 3202 <stdint.h> which is the 1999 ISO C standard file containing int64_t.
Chris@0 3203
Chris@0 3204 * src/sfendian.h src/common.h
Chris@0 3205 Use <inttypes.h> if <stdint.h> is not available.
Chris@0 3206
Chris@0 3207 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3208
Chris@0 3209 * tests/peak_chunk_test.c
Chris@0 3210 Extend and clean up tests.
Chris@0 3211
Chris@0 3212 * src/sndfile.c
Chris@0 3213 Fix a bug that prevented the turning off of PEAK chunks.
Chris@0 3214
Chris@0 3215 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3216
Chris@0 3217 * tests/error_test.c
Chris@0 3218 Make the test distclean correct.
Chris@0 3219
Chris@0 3220 * src/file_io.c
Chris@0 3221 Fix an SD2 MacOSX bug (reported by vince schwarzinger).
Chris@0 3222
Chris@0 3223 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3224
Chris@0 3225 * src/aiff.c tests/command_test.c
Chris@0 3226 Apply a big patch from John ffitch (Csound project) to add reading and
Chris@0 3227 writing of instrument chunks to AIFF files. Also update the test.
Chris@0 3228
Chris@0 3229 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3230
Chris@0 3231 * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
Chris@0 3232 Move test function dump_data_to_file() to utils.tpl.
Chris@0 3233
Chris@0 3234 * tests/error_test.c tests/Makefile.am
Chris@0 3235 Updates, including a new test to test that sf_error() returns a valid error
Chris@0 3236 number.
Chris@0 3237
Chris@0 3238 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3239
Chris@0 3240 * examples/list_formats.c
Chris@0 3241 Make sure the SF_INFO struct is memset to all zero before being used.
Chris@0 3242 Thanks to Stephen F. Booth.
Chris@0 3243
Chris@0 3244 * src/sndfile.c
Chris@0 3245 Make the return value of sf_error() match the API documentation.
Chris@0 3246
Chris@0 3247 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3248
Chris@0 3249 * examples/sndfile-convert.c
Chris@0 3250 Allow conversion to raw gsm610.
Chris@0 3251
Chris@0 3252 * src/common.h src/sndfile.c src/au.c
Chris@0 3253 Remove au_nh_open() and all references to it (wasn't working anyway).
Chris@0 3254
Chris@0 3255 * tests/headerless_test.c
Chris@0 3256 Add new test for file extension based detection.
Chris@0 3257
Chris@0 3258 * src/sndfile.c
Chris@0 3259 Rejig file extension based file type detection.
Chris@0 3260
Chris@0 3261 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3262
Chris@0 3263 * src/sndfile.c
Chris@0 3264 Add "gsm" as a recognised file extension when no magic number can be found.
Chris@0 3265
Chris@0 3266 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 3267 Test headerless GSM610.
Chris@0 3268
Chris@0 3269 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3270
Chris@0 3271 * doc/api.html
Chris@0 3272 Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
Chris@0 3273
Chris@0 3274 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3275
Chris@0 3276 * src/wav_w64.c
Chris@0 3277 Add more reporting of 'fmt ' chunk for G721 encoded files.
Chris@0 3278
Chris@0 3279 * src/wav.c
Chris@0 3280 Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
Chris@0 3281
Chris@0 3282 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3283
Chris@0 3284 * src/G72x/g72x.[ch]
Chris@0 3285 Minor cleanup of interface.
Chris@0 3286
Chris@0 3287 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3288
Chris@0 3289 * src/ogg.c
Chris@0 3290 Removed the horribly broken and non-functional OGG implementation when
Chris@0 3291 --enable-experimental was enabled. When OGG does finally work it will be
Chris@0 3292 merged.
Chris@0 3293
Chris@0 3294 * src/caf.c
Chris@0 3295 Fix a memory leak.
Chris@0 3296
Chris@0 3297 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3298
Chris@0 3299 * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
Chris@0 3300 Add support for G721 encoded WAV files.
Chris@0 3301
Chris@0 3302 * doc/index.html
Chris@0 3303 Update support matrix.
Chris@0 3304
Chris@0 3305 * tests/lossy_comp_test.c
Chris@0 3306 For file formats that support it, add string data after the audio data and
Chris@0 3307 make sure it isn't treated as audio data on read.
Chris@0 3308
Chris@0 3309 * src/gsm610.c
Chris@0 3310 Add code to ensure that the container close function (ie for WAV files) gets
Chris@0 3311 called after the codec's close function. This allows GSM610 encoded WAV files
Chris@0 3312 to have string data following the audio data.
Chris@0 3313 Add an AIFF specific check on psf->datalength.
Chris@0 3314
Chris@0 3315 * src/wav.c
Chris@0 3316 Simplify wav_close function.
Chris@0 3317
Chris@0 3318 * src/aiff.c
Chris@0 3319 Make sure the tailer data gets written at an even file offset. Pad if
Chris@0 3320 necessary.
Chris@0 3321
Chris@0 3322 * src/common.h
Chris@0 3323 Replace the close function pointer in SF_PRIVATE with separate functions
Chris@0 3324 codec_close and container_close. The former is always called first.
Chris@0 3325
Chris@0 3326 * src/*.c
Chris@0 3327 Fix knock on effects of above.
Chris@0 3328
Chris@0 3329 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3330
Chris@0 3331 * examples/sndfile-info.c
Chris@0 3332 Complete dumping SF_INSTRUMENT data.
Chris@0 3333
Chris@0 3334 * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
Chris@0 3335 Add extra checks in *_init function.
Chris@0 3336
Chris@0 3337 * tests/lossy_comp_test.c
Chris@0 3338 Add a string comment to the end of the files to make sure that the decoder
Chris@0 3339 doesn't decode beyond the end of the audio data section.
Chris@0 3340
Chris@0 3341 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3342
Chris@0 3343 * examples/sndfile-info.c
Chris@0 3344 Minor code cleanup.
Chris@0 3345 Start work on dumping SF_INSTRUMENT data.
Chris@0 3346
Chris@0 3347 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3348
Chris@0 3349 * src/sndfile.h.in src/common.h src/common.c
Chris@0 3350 Update definition of SF_INSTRUMENT struct and create a function to allocate
Chris@0 3351 and initialize the struct (input from David Viens).
Chris@0 3352 Clean up definition of SF_INSTRUMENT struct.
Chris@0 3353
Chris@0 3354 * src/wav.c src/wav_w64.c
Chris@0 3355 Add support for Ambisoncs B WAVEX files (David Viens).
Chris@0 3356
Chris@0 3357 * src/aiff.c src/wav.c src/wav_w64.c
Chris@0 3358 Start work on reading/writing the SF_INSTRUMENT data.
Chris@0 3359
Chris@0 3360 * src/sndfile.c
Chris@0 3361 Add code to get and set SF_INSTRUMENT data.
Chris@0 3362
Chris@0 3363 * tests/command_test.* tests/Makefile.am
Chris@0 3364 Add test for set and getof SF_INSTRUMENT data.
Chris@0 3365 The file command_test.c is no longer autogen generated.
Chris@0 3366
Chris@0 3367 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3368
Chris@0 3369 * src/gsm610.c
Chris@0 3370 Minor cleanup.
Chris@0 3371
Chris@0 3372 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3373
Chris@0 3374 * tests/lossy_comp_test.c
Chris@0 3375 Minor cleanup.
Chris@0 3376
Chris@0 3377 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3378
Chris@0 3379 * src/*.c
Chris@0 3380 Ensure sfconfig.h is included before any other header file.
Chris@0 3381
Chris@0 3382 * src/file_io.c
Chris@0 3383 Add comments documenting the three sections of the file.
Chris@0 3384
Chris@0 3385 * src/gsm610.c
Chris@0 3386 Make sure SF_FORMAT_WAVEX are handled correctly.
Chris@0 3387
Chris@0 3388 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3389
Chris@0 3390 * configure.ac
Chris@0 3391 Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
Chris@0 3392
Chris@0 3393 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3394
Chris@0 3395 * tests/locale_test.c
Chris@0 3396 Modify the way the unicode strings were encoded so that older compilers
Chris@0 3397 do not complain. Thanks Axel Röbel.
Chris@0 3398
Chris@0 3399 * configure.ac
Chris@0 3400 Bump the version to 1.0.12 for release.
Chris@0 3401
Chris@0 3402 * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
Chris@0 3403 Update version numbers.
Chris@0 3404
Chris@0 3405 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3406
Chris@0 3407 * src/flac.c
Chris@0 3408 Fix valgrind error and minor cleanup.
Chris@0 3409
Chris@0 3410 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3411
Chris@0 3412 * src/(au|paf|aiff|w64|wav|svx).c
Chris@0 3413 Make sure structs are initialised.
Chris@0 3414
Chris@0 3415 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3416
Chris@0 3417 * configure.ac
Chris@0 3418 Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
Chris@0 3419 option.
Chris@0 3420 Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
Chris@0 3421 compiler supports it.
Chris@0 3422
Chris@0 3423 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3424
Chris@0 3425 * configure.ac acinclude.m4
Chris@0 3426 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
Chris@0 3427
Chris@0 3428 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3429
Chris@0 3430 * tests/util.(tpl|def)
Chris@0 3431 Make the test_write_*_or_die() functions const safe.
Chris@0 3432
Chris@0 3433 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3434
Chris@0 3435 * src/nist.c
Chris@0 3436 Make sure the data offset is read from the file header. Thanks to
Chris@0 3437 David A. van Leeuwen for a patch.
Chris@0 3438
Chris@0 3439 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3440
Chris@0 3441 * configure.ac src/sfconfig.h
Chris@0 3442 Check for <locale.h> and the function setlocale().
Chris@0 3443 Set config variables to zero if not found.
Chris@0 3444
Chris@0 3445 * tests/locale_test.c tests/Makefile.am
Chris@0 3446 Add new test program and hook into build/test system.
Chris@0 3447
Chris@0 3448 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3449
Chris@0 3450 * src/common.h src/file_io.c
Chris@0 3451 On windows, use windows specific types for file handles.
Chris@0 3452 Add functions psf_init_files() and psf_use_rsrc().
Chris@0 3453
Chris@0 3454 * src/sd2.c
Chris@0 3455 Make resource fork handling independant of file desciptor/handles.
Chris@0 3456
Chris@0 3457 * src/sndfile.c src/test_file_io.c
Chris@0 3458 Fix knock on effects.
Chris@0 3459
Chris@0 3460 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3461
Chris@0 3462 * src/float_cast.h
Chris@0 3463 The lrint and lrintf implementations in Cygwin are both buggy and slow.
Chris@0 3464 Add replacements which were pulled from the Public Domain MinGW math.h
Chris@0 3465 header file.
Chris@0 3466
Chris@0 3467 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3468
Chris@0 3469 * tests/(lossy_comp_test|virtual_io_test).c
Chris@0 3470 More Valgrind fixups.
Chris@0 3471
Chris@0 3472 * configure.ac
Chris@0 3473 Simplify and correct configuring for Cygwin.
Chris@0 3474
Chris@0 3475 * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
Chris@0 3476 Update build for MSVC.
Chris@0 3477
Chris@0 3478 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3479
Chris@0 3480 * tests/lossy_comp_test.c
Chris@0 3481 Make sure to close SNDFILE when exiting test when file format is not seekable.
Chris@0 3482
Chris@0 3483 * tests/(aiff_rw_test|virtual_io_test).c
Chris@0 3484 Do a few valgrind fix ups.
Chris@0 3485
Chris@0 3486 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3487
Chris@0 3488 * src/float32.c src/double64.c
Chris@0 3489 Replace floating point equality comparisons with greater/less comparisons.
Chris@0 3490 Found by John Pavel using the Intel compiler.
Chris@0 3491
Chris@0 3492 * src/sfconfig.h
Chris@0 3493 New file to clean up issues surrounding autoconf generated preprocessor
Chris@0 3494 symbols.
Chris@0 3495
Chris@0 3496 * src/*.(c|h) tests/*.(c|tpl) examples/*.c
Chris@0 3497 Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
Chris@0 3498
Chris@0 3499 * src/file_io.c
Chris@0 3500 Remove Mac OS9 Metrowerks compiler specific hacks.
Chris@0 3501
Chris@0 3502 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3503
Chris@0 3504 * src/w64.c
Chris@0 3505 Cast integer literal to sf_count_t in call to psf_binheader_writef() to
Chris@0 3506 prevent Valgrind error.
Chris@0 3507
Chris@0 3508 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3509
Chris@0 3510 * doc/command.html
Chris@0 3511 Improve documentation of SF_GET_FORMAT_SUBTYPE.
Chris@0 3512
Chris@0 3513 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3514
Chris@0 3515 * examples/sndfile-convert.c
Chris@0 3516 Allow files to be converted to SD2 format.
Chris@0 3517
Chris@0 3518 * src/sd2.c
Chris@0 3519 Fix a bug in reading and writing of SD2 files on little endian CPUs.
Chris@0 3520 Thanks to Matthew Willis for finding this.
Chris@0 3521
Chris@0 3522 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3523
Chris@0 3524 * doc/api.html
Chris@0 3525 Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
Chris@0 3526
Chris@0 3527 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3528
Chris@0 3529 * configure.ac
Chris@0 3530 Use $host_os instead of $target_os (thanks to Mo De Jong).
Chris@0 3531
Chris@0 3532 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3533
Chris@0 3534 * src/Makefile.am
Chris@0 3535 Apply a patch from Mo DeJong to allow building outside of the source dir.
Chris@0 3536
Chris@0 3537 * src/file_io.c
Chris@0 3538 Fix psf_fsync() for win32.
Chris@0 3539
Chris@0 3540 * src/wav.c src/wav_w64.(c|h)
Chris@0 3541 Move some code from wav.c to wav_w64.c to improve the log output of files of
Chris@0 3542 type WAVE_FORMAT_EXTENSIBLE.
Chris@0 3543
Chris@0 3544 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3545
Chris@0 3546 * src/create_symbols_file.py
Chris@0 3547 Make sure sf_write_fsync is an exported symbol.
Chris@0 3548
Chris@0 3549 * examples/sndfile-convert.c
Chris@0 3550 Add support for writing VOX adpcm files.
Chris@0 3551
Chris@0 3552 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3553
Chris@0 3554 * doc/api.html
Chris@0 3555 Document the new function sf_write_sync().
Chris@0 3556
Chris@0 3557 * doc/FAQ.html
Chris@0 3558 Do you plan to support XYZ codec.
Chris@0 3559
Chris@0 3560 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3561
Chris@0 3562 * src/sndfile.h.in src/sndfile.c
Chris@0 3563 Add function sf_write_sync() to the API.
Chris@0 3564
Chris@0 3565 * src/common.h src/file_io.c
Chris@0 3566 Low level implementation (win32 not done yet).
Chris@0 3567
Chris@0 3568 * tests/write_read_test.tpl
Chris@0 3569 Use the new function in the tests.
Chris@0 3570
Chris@0 3571 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3572
Chris@0 3573 * src/common.h src/double64.c src/float32.c src/sndfile.c
Chris@0 3574 Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
Chris@0 3575 for position and a double as the value.
Chris@0 3576
Chris@0 3577 * src/aiff.c src/caf.c src/wav.c
Chris@0 3578 Fix knock on effects of above changes.
Chris@0 3579
Chris@0 3580 * src/caf.c
Chris@0 3581 Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
Chris@0 3582 SF_FORMAT_DOUBLE format.
Chris@0 3583
Chris@0 3584 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3585
Chris@0 3586 * src/nist.c
Chris@0 3587 Fix a bug where a variable was being used without being initialized.
Chris@0 3588
Chris@0 3589 * src/flac.c
Chris@0 3590 Add extra debug in sf_flac_meta_callback.
Chris@0 3591 Make a bunch of private functions static.
Chris@0 3592
Chris@0 3593 * src/aiff.c src/wav.c
Chris@0 3594 Fix allocation for PEAK_CHUNK (bug found using valgrind).
Chris@0 3595
Chris@0 3596 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3597
Chris@0 3598 * src/common.h
Chris@0 3599 Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
Chris@0 3600 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
Chris@0 3601 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
Chris@0 3602
Chris@0 3603 * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
Chris@0 3604 Fix knock on effects from above.
Chris@0 3605
Chris@0 3606 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3607
Chris@0 3608 * src/wav.c
Chris@0 3609 Prevent files with unknown chunks from being opened read/write.
Chris@0 3610
Chris@0 3611 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3612
Chris@0 3613 * src/flac.c
Chris@0 3614 Do not use psf->end_of_file because it never gets set to anything.
Chris@0 3615
Chris@0 3616 * src/common.h
Chris@0 3617 Remove unused SF_PRIVATE field end_of_file.
Chris@0 3618
Chris@0 3619 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3620
Chris@0 3621 * src/common.c
Chris@0 3622 Change the 'S' format specifier of psf_binheader_writef() to write AIFF
Chris@0 3623 style strings (no terminating character).
Chris@0 3624
Chris@0 3625 * src/aiff.c
Chris@0 3626 Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
Chris@0 3627 so persistent on this issue.
Chris@0 3628
Chris@0 3629 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3630
Chris@0 3631 * src/sndfile.c
Chris@0 3632 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
Chris@0 3633
Chris@0 3634 * doc/api.html doc/command.html
Chris@0 3635 Documentation updates (thanks to Kyroz for promoting these updates).
Chris@0 3636
Chris@0 3637 * src/mat5.c
Chris@0 3638 Modify the way the header is written.
Chris@0 3639
Chris@0 3640 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3641
Chris@0 3642 * src/caf.c
Chris@0 3643 Add a 'free' chunk to the written file so that the audio data starts at
Chris@0 3644 an offset of 0x1000.
Chris@0 3645
Chris@0 3646 * src/sndfile.c
Chris@0 3647 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
Chris@0 3648
Chris@0 3649 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3650
Chris@0 3651 * src/caf.c src/sndfile.c
Chris@0 3652 Add support for signed 8 bit integers.
Chris@0 3653
Chris@0 3654 * tests/write_read_test.tpl
Chris@0 3655 Add test for signed 8 bit integers in CAF files.
Chris@0 3656
Chris@0 3657 * doc/index.html
Chris@0 3658 Update matrix for signed 8 bit integers in CAF files.
Chris@0 3659
Chris@0 3660 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3661
Chris@0 3662 * src/sndfile.c
Chris@0 3663 Update sf_check_format() to support CAF.
Chris@0 3664
Chris@0 3665 * examples/sndfile-convert.c
Chris@0 3666 Add support for ".caf" file extension.
Chris@0 3667
Chris@0 3668 * doc/index.html
Chris@0 3669 Add Apple CAF to the support matrix.
Chris@0 3670
Chris@0 3671 * src/caf.c
Chris@0 3672 Add file write support.
Chris@0 3673
Chris@0 3674 * src/common.c
Chris@0 3675 Fix printing of Frames.
Chris@0 3676
Chris@0 3677 * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@0 3678 tests/header_test.tpl misc_test.c
Chris@0 3679 Add tests for CAF files.
Chris@0 3680
Chris@0 3681 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3682
Chris@0 3683 * doc/FAQ.html
Chris@0 3684 Fix Q/A about reading/writing memory buffers.
Chris@0 3685
Chris@0 3686 * src/caf.c
Chris@0 3687 Bunch of work to support reading of CAF files.
Chris@0 3688
Chris@0 3689 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3690
Chris@0 3691 * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
Chris@0 3692 Fix sign conversion errors reported by gcc-4.0.
Chris@0 3693
Chris@0 3694 * src/caf.c
Chris@0 3695 New file for Apple's Core Audio File format.
Chris@0 3696
Chris@0 3697 * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
Chris@0 3698 Hook new file into build system.
Chris@0 3699
Chris@0 3700 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3701
Chris@0 3702 * src_wav_w64.c
Chris@0 3703 Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
Chris@0 3704 for supplying an example file.
Chris@0 3705
Chris@0 3706 * src/common.h src/sndfile.c
Chris@0 3707 Remove redundant error code SFE_WAV_FMT_TOO_BIG.
Chris@0 3708
Chris@0 3709 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3710
Chris@0 3711 * src/sndfile.h.in src/common.h src/sndfile.c
Chris@0 3712 Add public error value SF_ERR_MALFORMED_FILE.
Chris@0 3713
Chris@0 3714 * src/sndfile.c
Chris@0 3715 When parsing a file header fails and we don't have a system error, then set
Chris@0 3716 the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
Chris@0 3717
Chris@0 3718 * configure.ac
Chris@0 3719 Allow sqlite support to be disabled in configure script.
Chris@0 3720
Chris@0 3721 * regtest/database.c regtest/sndfile-regtest.c
Chris@0 3722 Fix compiling when sqlite is missing.
Chris@0 3723
Chris@0 3724 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3725
Chris@0 3726 * src/file_io.c
Chris@0 3727 Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
Chris@0 3728
Chris@0 3729 * src/sndfile.c
Chris@0 3730 Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
Chris@0 3731
Chris@0 3732 * tests/virtual_io_test.c
Chris@0 3733 Fill in skeleton test program.
Chris@0 3734
Chris@0 3735 * tests/Makefile.am
Chris@0 3736 Move virtual i/o tests to end of tests with stdio/pipe tests.
Chris@0 3737
Chris@0 3738 * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
Chris@0 3739 Rename some of the virtual i/o functions and data types.
Chris@0 3740
Chris@0 3741 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3742
Chris@0 3743 * src/sndfile.c
Chris@0 3744 Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
Chris@0 3745 SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
Chris@0 3746 Kyroz for pointing out these errors.
Chris@0 3747
Chris@0 3748 * doc/command.html
Chris@0 3749 Correct documented return values for SFC_SET_NORM_DOUBLE and
Chris@0 3750 SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
Chris@0 3751
Chris@0 3752 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3753
Chris@0 3754 * regtest/*
Chris@0 3755 Add new files for sndfile-regtest program.
Chris@0 3756
Chris@0 3757 * configure.ac Makefile.am
Chris@0 3758 Hook regetest into build.
Chris@0 3759
Chris@0 3760 * src/wav.c src/common.c
Chris@0 3761 Fix a regression where long ICMT chunks were causing the WAV parser
Chris@0 3762 to exit.
Chris@0 3763
Chris@0 3764 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3765
Chris@0 3766 * libsndfile.spec.in
Chris@0 3767 Add html docs to the files section as suggested by Karsten Jeppesen.
Chris@0 3768
Chris@0 3769 * src/aiff.c
Chris@0 3770 Fix parsing of odd length ANNO chunks.
Chris@0 3771
Chris@0 3772 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3773
Chris@0 3774 * src/common.h
Chris@0 3775 Change the include guard to prevent clashes with other code.
Chris@0 3776
Chris@0 3777 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3778
Chris@0 3779 * examples/sndfile-play.c
Chris@0 3780 Improve error handling in code for playback under Linux/ALSA.
Chris@0 3781
Chris@0 3782 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3783
Chris@0 3784 * src/ircam.c
Chris@0 3785 Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
Chris@0 3786
Chris@0 3787 * src/wav.c
Chris@0 3788 Add workaround for files created by the Peak audio editor on Mac which can
Chris@0 3789 produce files with very short LIST chunks (thanks to Jonathan Segel who
Chris@0 3790 supplied the file).
Chris@0 3791
Chris@0 3792 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3793
Chris@0 3794 * src/aiff.c
Chris@0 3795 Apply a patch From David Viens to make the parsing of basc chunks more
Chris@0 3796 robust.
Chris@0 3797
Chris@0 3798 * src/wav.c
Chris@0 3799 Another patch from David Viens to write correct wavex channel masks for
Chris@0 3800 the most common channel configurations.
Chris@0 3801
Chris@0 3802 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3803
Chris@0 3804 * src/command.c
Chris@0 3805 Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
Chris@0 3806 Leigh Smith.
Chris@0 3807
Chris@0 3808 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3809
Chris@0 3810 * src/common.h
Chris@0 3811 Add a directory field for storing the file directory to the SF_PRIVATE
Chris@0 3812 struct.
Chris@0 3813
Chris@0 3814 * src/sndfile.c
Chris@0 3815 Grab the directory name when copying the file path.
Chris@0 3816
Chris@0 3817 * src/file_io.c
Chris@0 3818 Cleanup psf_open_rsrc() and also check for resource fork in
Chris@0 3819 .AppleDouble/filename.
Chris@0 3820
Chris@0 3821 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3822
Chris@0 3823 * src/svx.c
Chris@0 3824 Fix a bug in the printing of the channel count. Bug reported by Michael
Chris@0 3825 Schwendt. Thanks.
Chris@0 3826
Chris@0 3827 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3828
Chris@0 3829 * src/paf.c
Chris@0 3830 Fix a seek bug for 24 bit PAF files.
Chris@0 3831
Chris@0 3832 * tests/write_read_test.tpl
Chris@0 3833 Update write_read_test to trigger the previously hidden PAF seek bug.
Chris@0 3834
Chris@0 3835 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3836
Chris@0 3837 * src/aiff.c src/w64.c src/wav.c
Chris@0 3838 Do not return a header parse error when the log buffer overflows.
Chris@0 3839 Continuing parsing works even on files where the log buffer does overflow.
Chris@0 3840 This avoids a bug on some weirdo WAV (and other) files.
Chris@0 3841
Chris@0 3842 * src/common.h src/sndfile.c
Chris@0 3843 Remove SFE_LOG_OVERRIN error and its associated error message.
Chris@0 3844
Chris@0 3845 * src/file_io.c
Chris@0 3846 Fix a rsrc fork problem on MacOSX.
Chris@0 3847
Chris@0 3848 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3849
Chris@0 3850 * src/sndfile-play.c
Chris@0 3851 In the ALSA output code, added call to snd_pcm_drain() just before
Chris@0 3852 snd_pcm_close() as suggested by Thomas Kaeding.
Chris@0 3853 In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
Chris@0 3854 SNDCTL_DSP_SYNC) just before the close of the audio device.
Chris@0 3855
Chris@0 3856 * tests/virtual_io_test.c tests/Makefile.am
Chris@0 3857 Add a new test program (currently empty) and add it to the build.
Chris@0 3858
Chris@0 3859 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3860
Chris@0 3861 * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
Chris@0 3862 src/create_symbols_file.py
Chris@0 3863 Apply patch from Steve Baker which is the beginnings of a virtual
Chris@0 3864 I/O interface.
Chris@0 3865
Chris@0 3866 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3867
Chris@0 3868 * src/*.c src/sndfile.h.in
Chris@0 3869 Const-ify the write path throughout the library.
Chris@0 3870
Chris@0 3871 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3872
Chris@0 3873 * doc/development.html
Chris@0 3874 Minor improvements.
Chris@0 3875
Chris@0 3876 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3877
Chris@0 3878 * doc/bugs.html
Chris@0 3879 Minor improvements.
Chris@0 3880
Chris@0 3881 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3882
Chris@0 3883 * src/aiff.c
Chris@0 3884 Add workaround for Logic Platinum AIFF files with broken COMT chunks.
Chris@0 3885
Chris@0 3886 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3887
Chris@0 3888 * doc/FAQ.html
Chris@0 3889 Remove some ambiguities in the SD2 FAQ answer.
Chris@0 3890
Chris@0 3891 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3892
Chris@0 3893 * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
Chris@0 3894 Updates from autoconfig versions.
Chris@0 3895
Chris@0 3896 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3897
Chris@0 3898 * src/aiff.c
Chris@0 3899 Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
Chris@0 3900 instead of COMT chunk.
Chris@0 3901
Chris@0 3902 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3903
Chris@0 3904 * src/file_io.c src/common.h
Chris@0 3905 Change the ptr argument to psf_write() from "void*" to a "const void*".
Chris@0 3906 Thanks to Tobias Gehrig for suggesting this.
Chris@0 3907
Chris@0 3908 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3909
Chris@0 3910 * src/file_io.c src/common.h
Chris@0 3911 Add functions psf_close_rsrc() and read length of resourse fork into
Chris@0 3912 rsrclength field of SF_PRIVATE.
Chris@0 3913
Chris@0 3914 * src/sd2.c
Chris@0 3915 Make sure resource fork gets closed.
Chris@0 3916
Chris@0 3917 * tests/util.tpl
Chris@0 3918 Add functions to check for file descriptor leakage.
Chris@0 3919
Chris@0 3920 * src/write_read_test.tpl
Chris@0 3921 Use the file descriptor leak checks.
Chris@0 3922
Chris@0 3923 * src/sndfile.h.in
Chris@0 3924 Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
Chris@0 3925
Chris@0 3926 * src/common.h
Chris@0 3927 Add SF_LOOP_INFO pointer to SF_PRIVATE.
Chris@0 3928
Chris@0 3929 * src/wav.c src/aiff.c
Chris@0 3930 Improve and add parsing of 'ACID' and 'basc' chunks, filling in
Chris@0 3931 SF_LOOP_INFO data in SF_PRIVATE.
Chris@0 3932
Chris@0 3933 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3934
Chris@0 3935 * src/sd2.c
Chris@0 3936 Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
Chris@0 3937
Chris@0 3938 * Win32/config.h Win32/sndfile.h
Chris@0 3939 Updates.
Chris@0 3940
Chris@0 3941 * tests/util.tpl
Chris@0 3942 Add win32 macro for snprintf.
Chris@0 3943
Chris@0 3944 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3945
Chris@0 3946 * src/sfendian.h
Chris@0 3947 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
Chris@0 3948
Chris@0 3949 * src/sd2.c
Chris@0 3950 Use macros to make sure writing SD2 files on little endian machines works
Chris@0 3951 correctly.
Chris@0 3952
Chris@0 3953 * tests/util.tpl
Chris@0 3954 Add a delete_file() function which also deletes the resource fork of SD2
Chris@0 3955 files.
Chris@0 3956
Chris@0 3957 * tests/write_read_test.tpl
Chris@0 3958 Use delete_file() so that "make distcheck" works.
Chris@0 3959
Chris@0 3960 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3961
Chris@0 3962 * src/sndfile.c src/file_io.c
Chris@0 3963 Move resource filename construction and testing to psf_open_rsrc().
Chris@0 3964
Chris@0 3965 * src/common.h src/sndfile.c
Chris@0 3966 Add error SFE_SD2_FD_DISALLOWED.
Chris@0 3967
Chris@0 3968 * tests/util.tpl tests/*.(c|tpl)
Chris@0 3969 Add and allow_fd parameter to test_open_file_or_die() so that use of
Chris@0 3970 sf_open_fd() can be avoided when opening SD2 files.
Chris@0 3971
Chris@0 3972 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3973
Chris@0 3974 * src/wav.c
Chris@0 3975 Update ACID chunk parsing.
Chris@0 3976
Chris@0 3977 * src/sd2.c
Chris@0 3978 More fixes for files with large resource forks.
Chris@0 3979
Chris@0 3980 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3981
Chris@0 3982 * src/common.h src/sndfile.c
Chris@0 3983 Add error numbers and messages for sd2 files.
Chris@0 3984
Chris@0 3985 * src/sd2.c
Chris@0 3986 Reading of sd2 (resource fork version) now seems to be working.
Chris@0 3987
Chris@0 3988 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3989
Chris@0 3990 * src/file_io.h
Chris@0 3991 Update file_io.c to include win32 psf_rsrc_open().
Chris@0 3992
Chris@0 3993 * tests/floating_point_test.tpl
Chris@0 3994 Remove use of __func__ in test programs (MSVC++ doesn't grok this).
Chris@0 3995
Chris@0 3996 * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
Chris@0 3997 Updates.
Chris@0 3998
Chris@0 3999 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4000
Chris@0 4001 * src/sfendian.h
Chris@0 4002 Fix endswap_int64_t_(array|copy).
Chris@0 4003
Chris@0 4004 * src/test_endswap.(tpl|def)
Chris@0 4005 Add tests for above and inprove all tests.
Chris@0 4006
Chris@0 4007 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4008
Chris@0 4009 * src/sfendian.h
Chris@0 4010 Improve type safety, add endswap_double_array().
Chris@0 4011
Chris@0 4012 * src/double64.c
Chris@0 4013 Use endswap_double_array() instead of endswap_long_array().
Chris@0 4014
Chris@0 4015 * src/test_endswap.(tpl|def) src/Makefile.am
Chris@0 4016 Add preliminary endswap tests and hook into build system.
Chris@0 4017
Chris@0 4018 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4019
Chris@0 4020 * src/configure.ac src/makefile.am
Chris@0 4021 Finally fix the bulding of DLLs on Win32/MinGW.
Chris@0 4022
Chris@0 4023 * tests/makefile.am
Chris@0 4024 Fix running of tests on Win32/MinGW.
Chris@0 4025
Chris@0 4026 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4027
Chris@0 4028 * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
Chris@0 4029 Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
Chris@0 4030
Chris@0 4031 * doc/command.html
Chris@0 4032 Document SFC_SET_SCALE_FLOAT_INT_READ.
Chris@0 4033
Chris@0 4034 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4035
Chris@0 4036 * tests/floating_point_test.(tpl|def)
Chris@0 4037 Derived from floating_point_test.c.
Chris@0 4038 Add (float|double)_(short|int)_test functions.
Chris@0 4039
Chris@0 4040 * tests/util.(tpl|def)
Chris@0 4041 Make separate float and double versions of gen_windowed_sine().
Chris@0 4042
Chris@0 4043 * tests/write_read_test.tpl
Chris@0 4044 Fix after changes to gen_windowed_sine().
Chris@0 4045
Chris@0 4046 * src/(float32|double64).c
Chris@0 4047 Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
Chris@0 4048
Chris@0 4049 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4050
Chris@0 4051 * acinclude.m4
Chris@0 4052 Fix warnings from automake 1.8 and later.
Chris@0 4053
Chris@0 4054 * examples/sndfile-info.c
Chris@0 4055 Add a "fflush (stdout)" after printing Win32 message.
Chris@0 4056
Chris@0 4057 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4058
Chris@0 4059 * Win32/Makefile.mingw.in
Chris@0 4060 Add a "make install" target.
Chris@0 4061
Chris@0 4062 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4063
Chris@0 4064 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
Chris@0 4065 Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
Chris@0 4066
Chris@0 4067 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4068
Chris@0 4069 * examples/sndfile-convert.c
Chris@0 4070 Fix a bug converting stereo integer PCM files to float.
Chris@0 4071
Chris@0 4072 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4073
Chris@0 4074 * examples/sndfile-play.c
Chris@0 4075 Appy patch from Conrad Parker to make Mac OSX error messages more
Chris@0 4076 consistent and informative.
Chris@0 4077
Chris@0 4078 * doc/api.html
Chris@0 4079 Fix a HTML HREF which was wrong.
Chris@0 4080
Chris@0 4081 * doc/win32.html
Chris@0 4082 Add information about when nmake fails.
Chris@0 4083
Chris@0 4084 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4085
Chris@0 4086 * examples/sndfile-play.c
Chris@0 4087 Another patch from Denis Cote to prevent race conditions.
Chris@0 4088
Chris@0 4089 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4090
Chris@0 4091 * src/common.h src/ms_adpcm.c src/ima_adpcm.c
Chris@0 4092 Fix alternative to ISO standard flexible struct array feature for broken
Chris@0 4093 compilers.
Chris@0 4094
Chris@0 4095 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4096
Chris@0 4097 * src/common.h src/string.c src/sndfile.c
Chris@0 4098 Make sf_set_string() return an error if trying to set a string when in
Chris@0 4099 read mode.
Chris@0 4100
Chris@0 4101 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4102
Chris@0 4103 * src/common.h
Chris@0 4104 Change the unnamed union into a named union so gcc-2.95 will compile it.
Chris@0 4105
Chris@0 4106 * src/*.c
Chris@0 4107 Fixes to allow for the above change.
Chris@0 4108
Chris@0 4109 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4110
Chris@0 4111 * examples/sndfile-play.c
Chris@0 4112 Fixes for Win32. Thanks to Denis Cote.
Chris@0 4113
Chris@0 4114 * Win32/Win32/Makefile.(msvc|mingw.in)
Chris@0 4115 Fix build system after removal of sfendian.h.
Chris@0 4116 Build sndfile-convert.
Chris@0 4117
Chris@0 4118 * src/Makefile.am
Chris@0 4119 Remove sfendian.c from dependancies.
Chris@0 4120
Chris@0 4121 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4122
Chris@0 4123 * src/sndfile.h.in
Chris@0 4124 Fix typo in comments (thanks Tommi Sakari Uimonen).
Chris@0 4125
Chris@0 4126 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4127
Chris@0 4128 * tests/(a|u)law_test.c
Chris@0 4129 Minor cleanup.
Chris@0 4130
Chris@0 4131 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4132
Chris@0 4133 * src/(pcm|float|double64|ulaw|alaw|xi).c
Chris@0 4134 Optimise read/write loops by removing a redundant variable.
Chris@0 4135
Chris@0 4136 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4137
Chris@0 4138 * src/file_io.c
Chris@0 4139 Remove call to fsync() in psf_close().
Chris@0 4140
Chris@0 4141 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4142
Chris@0 4143 * src/pcm.c
Chris@0 4144 Inline x2y_array() functions where possible.
Chris@0 4145
Chris@0 4146 * configure.ac
Chris@0 4147 Detect presence of type int64_t.
Chris@0 4148
Chris@0 4149 * src/sfendian.c src/sfendian.h
Chris@0 4150 Move functions in the first file to the sfendian.h as static inline
Chris@0 4151 functions.
Chris@0 4152 Improve endswap_long_*() where possible.
Chris@0 4153
Chris@0 4154 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4155
Chris@0 4156 * src/pcm.c
Chris@0 4157 When converting from unsigned char to float or double, subtract 128 before
Chris@0 4158 converting to float/double rather than after to save a floating point
Chris@0 4159 operation as suggested by Stefan Briesenick.
Chris@0 4160
Chris@0 4161 * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
Chris@0 4162 Optimize inner loops by changing the loop counting slightly as suggested
Chris@0 4163 by Stefan Briesenick.
Chris@0 4164
Chris@0 4165 * configure.ac
Chris@0 4166 Detect presence of <byteswap.h>.
Chris@0 4167
Chris@0 4168 * src/sfendian.h
Chris@0 4169 Use <byteswap.h> if present as suggested by Stefan Briesenick.
Chris@0 4170
Chris@0 4171 * src/pcm.c
Chris@0 4172 Update bytewapping.
Chris@0 4173
Chris@0 4174 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4175
Chris@0 4176 * src/common.h src/*.c
Chris@0 4177 Change the psf->buffer field of SF_PRIVATE into a more type safe union with
Chris@0 4178 double, float, int etc elements.
Chris@0 4179
Chris@0 4180 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4181
Chris@0 4182 * examples/sndfile-play.c
Chris@0 4183 Merge slightly modifed patch from Stanko Juzbasic which allows playback of
Chris@0 4184 mono files on MacOSX.
Chris@0 4185
Chris@0 4186 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4187
Chris@0 4188 * examples/sndfile-convert.c
Chris@0 4189 Move copy_metadata() after the second sf_open().
Chris@0 4190
Chris@0 4191 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4192
Chris@0 4193 * examples/sndfile-convert.c
Chris@0 4194 Fix a bug which caused the program to go into an infinite loop if the source
Chris@0 4195 file has no meta-data. Thanks to Ron Parker for reporting this.
Chris@0 4196
Chris@0 4197 * src/sndfile.h.in
Chris@0 4198 Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
Chris@0 4199
Chris@0 4200 * Win32/sndfile.h MacOS9/sndfile.h
Chris@0 4201 Update these as per the above file.
Chris@0 4202
Chris@0 4203 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4204
Chris@0 4205 * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
Chris@0 4206 src/Makefile.am
Chris@0 4207 Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
Chris@0 4208 Annodex support via liboggz and libfishsound. Thanks Conrad.
Chris@0 4209
Chris@0 4210 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4211
Chris@0 4212 * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
Chris@0 4213 Add cast to size_t for some parameters passed to psf_binheader_writef. This
Chris@0 4214 is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
Chris@0 4215
Chris@0 4216 * src/w64.c
Chris@0 4217 Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
Chris@0 4218 chunk.
Chris@0 4219
Chris@0 4220 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4221
Chris@0 4222 * configure.ac
Chris@0 4223 Bump version to 1.0.10 ready for release.
Chris@0 4224
Chris@0 4225 * Makefile.am
Chris@0 4226 Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
Chris@0 4227 from distribution tarball.
Chris@0 4228
Chris@0 4229 * tests/header_test.tpl
Chris@0 4230 Fix uninitialised variable.
Chris@0 4231
Chris@0 4232 * src/GSM610/short_term.c
Chris@0 4233 Fix compiler warning on MSVC++.
Chris@0 4234
Chris@0 4235 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4236
Chris@0 4237 * src/wav.c
Chris@0 4238 Improve record keeping of chunks seen and return an error if a file with
Chris@0 4239 unusual chunks is opened in mode SFM_RDWR.
Chris@0 4240
Chris@0 4241 * src/mmreg.h
Chris@0 4242 This file not needed so remove it.
Chris@0 4243
Chris@0 4244 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4245
Chris@0 4246 * tests/header_test.tpl
Chris@0 4247 Add extra_header_test().
Chris@0 4248
Chris@0 4249 * src/common.h src/sndfile.c
Chris@0 4250 Add SFE_RDWR_BAD_HEADER error number and string.
Chris@0 4251
Chris@0 4252 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4253
Chris@0 4254 * tests/utils.tpl tests/*.c tests/*.tpl
Chris@0 4255 Add a line number argument to check_log_buffer_or_die() and update all
Chris@0 4256 files that use that function.
Chris@0 4257
Chris@0 4258 * tests/header_test.tpl
Chris@0 4259 Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
Chris@0 4260
Chris@0 4261 * src/aiff.c src/wav.c
Chris@0 4262 Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
Chris@0 4263 SFC_UPDATE_HEADER_AUTO.
Chris@0 4264
Chris@0 4265 * src/test_file_io.c
Chris@0 4266 Add a test for psf_ftruncate() function.
Chris@0 4267
Chris@0 4268 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4269
Chris@0 4270 * src/sndfile.c
Chris@0 4271 Fix another weird corner case bug found by Martin Rumori. Thanks.
Chris@0 4272
Chris@0 4273 * tests/header_test.(tpl|def)
Chris@0 4274 Two new files to test for the absence of the above bug and include tests
Chris@0 4275 moved from tests/misc_test.c.
Chris@0 4276
Chris@0 4277 * tests/Makefile.am
Chris@0 4278 Hook new tests into build/test system.
Chris@0 4279
Chris@0 4280 * tests/misc_test.c
Chris@0 4281 Remove update_header_test() which has been moved to the new files above.
Chris@0 4282
Chris@0 4283 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4284
Chris@0 4285 * src/aiff.c
Chris@0 4286 Fixed a bug reported by Martin Rumori on the LAD list. If a file created
Chris@0 4287 with a format of SF_FORMAT_FLOAT and then closed before any data is written
Chris@0 4288 to it, the header can get screwed up (PEAK chunk gets overwritten).
Chris@0 4289
Chris@0 4290 * tests/write_read_test.tpl
Chris@0 4291 Add a test (empty_file_test) for the above bug.
Chris@0 4292
Chris@0 4293 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4294
Chris@0 4295 * Win32/Makefile.mingw.in
Chris@0 4296 Added a Makefile for MinGW (needs to be processed by configure).
Chris@0 4297
Chris@0 4298 * src/mmsystem.h src/mmreg.h
Chris@0 4299 Add files from the Wine project (under the LGPL) to allow build of
Chris@0 4300 sndfile-play.exe under MinGW.
Chris@0 4301
Chris@0 4302 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4303
Chris@0 4304 * src/GSM610/gsm610_priv.h
Chris@0 4305 Replace ugly macros with inline functions.
Chris@0 4306
Chris@0 4307 * src/GSM610/*.c
Chris@0 4308 Remove temporary variables used by macros and other minor fixes required by
Chris@0 4309 above change.
Chris@0 4310
Chris@0 4311 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4312
Chris@0 4313 * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
Chris@0 4314 Make sure these programs compile (even though they do nothing) on Win32
Chris@0 4315 and add them to the "make check" target.
Chris@0 4316
Chris@0 4317 * src/sfendian.h
Chris@0 4318 Fix warning on Sparc CPU and code cleanup.
Chris@0 4319
Chris@0 4320 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4321
Chris@0 4322 * src/file_io.c
Chris@0 4323 Fix warning messages when compiling under MinGW.
Chris@0 4324
Chris@0 4325 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4326
Chris@0 4327 * configure.ac
Chris@0 4328 Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
Chris@0 4329 accepts the flexible array struct member as per 1999 ISO C standard.
Chris@0 4330
Chris@0 4331 * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
Chris@0 4332 Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
Chris@0 4333 hack for non 1999 ISO C compliant compilers.
Chris@0 4334
Chris@0 4335 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4336
Chris@0 4337 * src/strings.c
Chris@0 4338 If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
Chris@0 4339 string does not already have libsndfile in the string. Thanks to Conrad
Chris@0 4340 Parker.
Chris@0 4341
Chris@0 4342 * tests/string_test.c
Chris@0 4343 Add test to verify the above.
Chris@0 4344
Chris@0 4345 * examples/sndfile-convert.c
Chris@0 4346 Add ability to transcode meta data as well (Conrad Parker).
Chris@0 4347
Chris@0 4348 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4349
Chris@0 4350 * doc/command.html
Chris@0 4351 Fix minor error. Thanks to Simon Burton.
Chris@0 4352
Chris@0 4353 * doc/win32.html
Chris@0 4354 Started adding instructions for compiling libsndfile under MinGW.
Chris@0 4355
Chris@0 4356 * configure.ac
Chris@0 4357 Add --enable-bow-docs to enable black text on a white background HTML docs.
Chris@0 4358
Chris@0 4359 * doc/libsndfile.css.in
Chris@0 4360 This is now a template file for configure which sets the foreground and
Chris@0 4361 background colours.
Chris@0 4362
Chris@0 4363 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4364
Chris@0 4365 * configure.ac
Chris@0 4366 Do some MinGW fixes.
Chris@0 4367
Chris@0 4368 * configure.ac doc/Makefile.am
Chris@0 4369 Install HTML docs when doing make install.
Chris@0 4370
Chris@0 4371 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4372
Chris@0 4373 * examples/sndfile-info.c
Chris@0 4374 Print out the dB level with the signal max.
Chris@0 4375
Chris@0 4376 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4377
Chris@0 4378 * src/file_io.c
Chris@0 4379 Define S_ISSOCK in src/file_io.c if required.
Chris@0 4380
Chris@0 4381 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4382
Chris@0 4383 * configure.ac
Chris@0 4384 Improve printout configuration summary (as suggested by Axel Röbel).
Chris@0 4385
Chris@0 4386 * doc/index.html
Chris@0 4387 Add link to pre-release location.
Chris@0 4388
Chris@0 4389 * src/sndfile.h.in
Chris@0 4390 Remove comma after last element of enum.
Chris@0 4391
Chris@0 4392 * src/float32.c src/double64.c
Chris@0 4393 Fix read/write of float/double encoded raw files to/from pipes.
Chris@0 4394
Chris@0 4395 * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
Chris@0 4396 Turn pipe_test.c into an autogenerated file and add tests for reading/
Chris@0 4397 writing floats and doubles.
Chris@0 4398
Chris@0 4399 * tests/Makefile.am
Chris@0 4400 Hook tests/pipe_test.* into build system.
Chris@0 4401
Chris@0 4402 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4403
Chris@0 4404 * configure.ac acinclude.m4
Chris@0 4405 Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
Chris@0 4406
Chris@0 4407 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4408
Chris@0 4409 * tests/misc_test.c
Chris@0 4410 Perform update_header_test in RDWR mode as well.
Chris@0 4411
Chris@0 4412 * src/aiff.c
Chris@0 4413 Fix problems when updating header in RDWR mode.
Chris@0 4414
Chris@0 4415 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4416
Chris@0 4417 * src/wav.c src/w64.c src/wav_w64.c
Chris@0 4418 Integrate code supplied by David Viens for supporting microsoft's
Chris@0 4419 WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
Chris@0 4420
Chris@0 4421 * configure.ac doc/*.html
Chris@0 4422 Bump version to 1.0.9.
Chris@0 4423
Chris@0 4424 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4425
Chris@0 4426 * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
Chris@0 4427 Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
Chris@0 4428
Chris@0 4429 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4430
Chris@0 4431 * src/avr.c
Chris@0 4432 New file to handle Audio Visual Resaerch files.
Chris@0 4433
Chris@0 4434 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
Chris@0 4435 Hook AVR into everything else.
Chris@0 4436
Chris@0 4437 * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
Chris@0 4438 Add testing for AVR files.
Chris@0 4439
Chris@0 4440 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4441
Chris@0 4442 * src/file_io.c
Chris@0 4443 Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
Chris@0 4444 Technologie) for coming up with the solution.
Chris@0 4445
Chris@0 4446 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4447
Chris@0 4448 * tests/write_read_test.tpl
Chris@0 4449 Fixed a bug that was causing valgrind to report a memory leak. The bug was
Chris@0 4450 in the test code itself, not the library.
Chris@0 4451
Chris@0 4452 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4453
Chris@0 4454 * examples/generate.cs
Chris@0 4455 An example showing how to use libsndfile from C#. Thanks to James Robson
Chris@0 4456 for providing this.
Chris@0 4457
Chris@0 4458 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4459
Chris@0 4460 * src/common.c
Chris@0 4461 Fix problems with WAV files containing large chunks after the 'data'
Chris@0 4462 chunk. Thanks to Koen Tanghe for providing a sample file.
Chris@0 4463
Chris@0 4464 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4465
Chris@0 4466 * configure.ac
Chris@0 4467 Detect presense of ALSA (Advanced Linux Sound Architecture).
Chris@0 4468
Chris@0 4469 * examples/sndfile-play.c
Chris@0 4470 Add ALSA output support.
Chris@0 4471
Chris@0 4472 * examples/Makefile.am
Chris@0 4473 Add ALSA_LIBS to link line of sndfile-play.c.
Chris@0 4474
Chris@0 4475 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4476
Chris@0 4477 * acinclude.m4
Chris@0 4478 Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
Chris@0 4479 the use of the what is known as the struct hack introduced by the 1999 ISO
Chris@0 4480 C Standard.
Chris@0 4481
Chris@0 4482 * configure.ac
Chris@0 4483 The last release would not compile with gcc-2.95 due to the use of features
Chris@0 4484 (ie struct hack) introduced by the 1999 ISO C Standard.
Chris@0 4485 Add check to make sure compiler handles this and bomb out if it doesn't.
Chris@0 4486
Chris@0 4487 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4488
Chris@0 4489 * tests/write_read_test.tpl
Chris@0 4490 Fix compiler warning on Win32.
Chris@0 4491
Chris@0 4492 * src/file_io.c
Chris@0 4493 Fix use of an un-initialised variable in Win32 stuff.
Chris@0 4494
Chris@0 4495 * Win32/config.h examples/sndfile-play.c
Chris@0 4496 Win32 fixes.
Chris@0 4497
Chris@0 4498 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4499
Chris@0 4500 * configure.ac
Chris@0 4501 Fix bug which occurres when configuring for MinGW.
Chris@0 4502 If compiler is gcc and cross compiling use -nostdinc.
Chris@0 4503
Chris@0 4504 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4505
Chris@0 4506 * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
Chris@0 4507 src/sndfile.c
Chris@0 4508 Fix a bug with PEAK chunk handling for files with more than 16 channels.
Chris@0 4509 Thanks to Remy Bruno for finding this.
Chris@0 4510
Chris@0 4511 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4512
Chris@0 4513 * src/common.c
Chris@0 4514 Fix a bug which was preventing WAV files being openned correctly if the
Chris@0 4515 file had a very large header. Thanks to Eldad Zack for finding this.
Chris@0 4516
Chris@0 4517 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4518
Chris@0 4519 * configure.ac src/file_io.c
Chris@0 4520 Fix cross-compiling from Linux to Win32 using the MinGW tools.
Chris@0 4521
Chris@0 4522 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4523
Chris@0 4524 * src/create_symbols_file.sh
Chris@0 4525 Christian Weisgerber pointed out that the shell script did not run on a
Chris@0 4526 real Bourne shell although it did run under Bash in Bourne shell mode.
Chris@0 4527
Chris@0 4528 * src/create_symbols_file.py
Chris@0 4529 Rewrite of above in Python. Also add support for writing Win32 .def files.
Chris@0 4530 The Python script generates Symbols.linux, Symbols.darwin and
Chris@0 4531 libsndfile.def (Win32 version). These files get shipped with the tarball
Chris@0 4532 so there should not be necessary to run the Python script when building
Chris@0 4533 the code from the tarball.
Chris@0 4534
Chris@0 4535 * configure.ac src/Makefile.am Win32/Makefile.am
Chris@0 4536 Hook new Python script into the build system.
Chris@0 4537
Chris@0 4538 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4539
Chris@0 4540 * src/configure.ac
Chris@0 4541 Add --enable-gcc-werror option and move GCC specific stuff down.
Chris@0 4542
Chris@0 4543 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4544
Chris@0 4545 * acinclude.m4 configure.ac
Chris@0 4546 Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
Chris@0 4547
Chris@0 4548 * src/file_io.c
Chris@0 4549 Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
Chris@0 4550 of missing large file support on Linux and Solaris.
Chris@0 4551
Chris@0 4552 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4553
Chris@0 4554 * examples/sndfile-play.c
Chris@0 4555 Fix a MacOSX specific bug which was caused by a space being inserted in
Chris@0 4556 the middle of a file name.
Chris@0 4557
Chris@0 4558 * configure.ac src/Makefile.am examples/Makefile.am
Chris@0 4559 Fix a couple of MacOSX build issues.
Chris@0 4560
Chris@0 4561 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4562
Chris@0 4563 * doc/command.html
Chris@0 4564 Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
Chris@0 4565
Chris@0 4566 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4567
Chris@0 4568 * doc/*.html
Chris@0 4569 Applied patch from Frank Neumann (author of lakai) which fixes many minor
Chris@0 4570 typos in documentation. Thanks Frank.
Chris@0 4571
Chris@0 4572 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4573
Chris@0 4574 * ChangeLog
Chris@0 4575 Changed my email address throughout source and docs.
Chris@0 4576
Chris@0 4577 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4578
Chris@0 4579 * src/file_io.c
Chris@0 4580 Make sure config.h is included before stdio.h to make sure large file
Chris@0 4581 support is enabled on Linux (and Solaris).
Chris@0 4582
Chris@0 4583 * tests/misc_test.c
Chris@0 4584 Disable update_header test on Win32. This should work but doesn't and
Chris@0 4585 I'm not sure why.
Chris@0 4586
Chris@0 4587 * Make.bat Win32/Makefile.msvc
Chris@0 4588 Updates.
Chris@0 4589
Chris@0 4590 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4591
Chris@0 4592 * src/common.h
Chris@0 4593 Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
Chris@0 4594 int to int to prevent weird arithmetic bugs.
Chris@0 4595
Chris@0 4596 * src/common.c src/aiff.c src/wav.c src/w64.c
Chris@0 4597 Fixed compiler warnings resulting from above change.
Chris@0 4598
Chris@0 4599 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4600
Chris@0 4601 * src/common.c
Chris@0 4602 Fixed a bug in header reader for some files with data after the sample data.
Chris@0 4603
Chris@0 4604 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4605
Chris@0 4606 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 4607 Add tests for AIFF/IMA files.
Chris@0 4608
Chris@0 4609 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4610
Chris@0 4611 * src/macbinary3.c src/macos.c
Chris@0 4612 Two new files required for handling SD2 files.
Chris@0 4613
Chris@0 4614 * src/common.h
Chris@0 4615 Add prototypes for functions in above two files.
Chris@0 4616
Chris@0 4617 * src/Makefile.am
Chris@0 4618 Hook new files into build system.
Chris@0 4619
Chris@0 4620 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4621
Chris@0 4622 * configure.ac
Chris@0 4623 Add checks for mmap() and getpagesize() which might be used at some time
Chris@0 4624 for faster file reads.
Chris@0 4625 Add detection of MacOSX.
Chris@0 4626
Chris@0 4627 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4628
Chris@0 4629 * doc/FAQ.html
Chris@0 4630 Minor mods to pkg-config section.
Chris@0 4631
Chris@0 4632 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4633
Chris@0 4634 * src/create_symbols_file.sh
Chris@0 4635 Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
Chris@0 4636 static symbols are exported causing troubles when trying to link
Chris@0 4637 libsndfile with another library which has any of the same symbols.
Chris@0 4638 He fixed this by supplying the MacOSX linker with a file containing
Chris@0 4639 all the public symbols so that only they would be exported and then
Chris@0 4640 supplied a patch for libsndfile.
Chris@0 4641 This wasn't quite ideal, because I would have to maintain two (3 if
Chris@0 4642 you include Win32) separate files containing the exported symbols.
Chris@0 4643 A better solution was to create this script which can generate a
Chris@0 4644 Symbols file for Linux, MacoSX and any other OS that supports
Chris@0 4645 minimising the number of exported symbols.
Chris@0 4646
Chris@0 4647 * configure.ac src/Makefile.am
Chris@0 4648 Hook the new script into the build process.
Chris@0 4649
Chris@0 4650 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4651
Chris@0 4652 * doc/index.html
Chris@0 4653 Added comments about Steve Dekorte's SoundConverter scam.
Chris@0 4654
Chris@0 4655 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4656
Chris@0 4657 * src/file_io.c
Chris@0 4658 Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
Chris@0 4659 (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
Chris@0 4660 true). The test has therefore been changed to is S_ISREG and anything
Chris@0 4661 which which does not return true for S_ISREG is considered a pipe.
Chris@0 4662
Chris@0 4663 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4664
Chris@0 4665 * tests/misc_test.c
Chris@0 4666 Fix update_header_test to pass SDS.
Chris@0 4667
Chris@0 4668 * src/sds.c
Chris@0 4669 More minor fixes.
Chris@0 4670
Chris@0 4671 * tests/floating_point_test.c
Chris@0 4672 Add test for SDS files.
Chris@0 4673
Chris@0 4674 * src/command.c
Chris@0 4675 Add SDS to major_formats array.
Chris@0 4676
Chris@0 4677 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4678
Chris@0 4679 * tests/write_read_test.tpl tests/misc_test.c
Chris@0 4680 Add tests for SDS files.
Chris@0 4681
Chris@0 4682 * src/sds.c
Chris@0 4683 Fix a bug in header update code.
Chris@0 4684
Chris@0 4685 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4686
Chris@0 4687 * src/sds.c
Chris@0 4688 Get file write working.
Chris@0 4689
Chris@0 4690 * src/paf.c
Chris@0 4691 Fix a potential bug in paf24_seek().
Chris@0 4692
Chris@0 4693 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4694
Chris@0 4695 * doc/FAQ.html
Chris@0 4696 Add Q/A about u-law encoded WAV files.
Chris@0 4697
Chris@0 4698 * Win32/*.h
Chris@0 4699 Updated so it compiles on Win32.
Chris@0 4700
Chris@0 4701 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4702
Chris@0 4703 * examples/sndfile-convert.c
Chris@0 4704 Add -alaw and -ulaw command line arguments.
Chris@0 4705
Chris@0 4706 * configure.ac
Chris@0 4707 Add library versioning comments.
Chris@0 4708 Add arguments to AC_INIT.
Chris@0 4709
Chris@0 4710 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4711
Chris@0 4712 * src/file_io.c
Chris@0 4713 Ross Bencina has contributed code to replace all of the (mostly broken)
Chris@0 4714 Win32 POSIX emulation calls with calls the native Win32 file I/O API.
Chris@0 4715 This code still needs testing but is likely to be a huge improvemnt
Chris@0 4716 of support for Win32. Thanks Ross.
Chris@0 4717
Chris@0 4718 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4719
Chris@0 4720 * src/dwvw.c
Chris@0 4721 Removed filedes field from the DWVW_PRIVATE struct.
Chris@0 4722
Chris@0 4723 * src/file_io.c
Chris@0 4724 Change psf_fopen() so it returns psf->error instead of the file descriptor.
Chris@0 4725 Add new functions psf_set_stdio() and psf_set_file().
Chris@0 4726
Chris@0 4727 * src/sndfile.c
Chris@0 4728 Change these to work with changed psf_fopen() return value.
Chris@0 4729 Remove all uses of psf->filedes from sndfile, making it easier to slot native
Chris@0 4730 Win32 API file handling functions.
Chris@0 4731
Chris@0 4732 * src/test_file_io.c
Chris@0 4733 Minor changes to make it compile with new file_io.c stuff.
Chris@0 4734
Chris@0 4735 2003-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4736
Chris@0 4737 * src/gsm610.h
Chris@0 4738 Rename a variable from true to true_flag. As Ross Bencina points out,
Chris@0 4739 true is defined in the C99 header <stdbool.h>.
Chris@0 4740
Chris@0 4741 * src/file_io.c
Chris@0 4742 If fstat() fails, return SF_TRUE instead of -1 (Ross Bencina).
Chris@0 4743
Chris@0 4744 2003-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4745
Chris@0 4746 * src/common.h
Chris@0 4747 Increase the size of SF_BUFFER_LEN and SF_HEADER_LEN.
Chris@0 4748
Chris@0 4749 * src/sndfile.c
Chris@0 4750 Fix sf_read/write_raw which were dividing by psf->bytwidth and
Chris@0 4751 psf->blockwidth which can both be zero.
Chris@0 4752
Chris@0 4753 * examples/sndfile-info.c
Chris@0 4754 Increase size of BUFFER_LEN.
Chris@0 4755
Chris@0 4756 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4757
Chris@0 4758 * configure.ac
Chris@0 4759 Add checks for <sys/wait.h> and ssize_t.
Chris@0 4760 Other Win32/MinGW checks.
Chris@0 4761
Chris@0 4762 * src/aiff.c src/au_g72x.c src/file_io.c src/gsm610.c src/interleave.c
Chris@0 4763 src/paf.c src/sds.c src/svx.c src/voc.c src/w64.c src/wav.c src/xi.c
Chris@0 4764 Fix compiler warnings.
Chris@0 4765
Chris@0 4766 2003-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4767
Chris@0 4768 * tests/scale_clip_test.tpl
Chris@0 4769 Add definition of M_PI if needed.
Chris@0 4770
Chris@0 4771 2003-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4772
Chris@0 4773 * configure.ac
Chris@0 4774 Detect if S_IRGRP is declared in <unistd.h>.
Chris@0 4775
Chris@0 4776 * src/file_io.c tests/*.tpl tests/*.c
Chris@0 4777 More fixes for Win32/MSVC++ and MinGW. MinGW does have <unistd.h> but that
Chris@0 4778 file doesn't declare S_IRGRP.
Chris@0 4779
Chris@0 4780 2003-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4781
Chris@0 4782 * src/config.h.in
Chris@0 4783 Add comment stating that the sf_count_t typedef is determined when
Chris@0 4784 libsndfile is being compiled.
Chris@0 4785
Chris@0 4786 * tests/utils.tpl
Chris@0 4787 Modified so that utils.c gets one copy of the GPL and not two.
Chris@0 4788
Chris@0 4789
Chris@0 4790 2003-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4791
Chris@0 4792 * Win32/unistd.h src/sf_unistd.h
Chris@0 4793 Move first file to the second. This will help for Win32/MSVC++ and MinGW.
Chris@0 4794
Chris@0 4795 * Win32/Makefile.am src/Makefile.am
Chris@0 4796 Changed in line with above.
Chris@0 4797
Chris@0 4798 * Win32/Makefile.msvc
Chris@0 4799 Removed "/I Win32" which is no longer required.
Chris@0 4800
Chris@0 4801 * src/file_io.c src/test_file_io.c tests/*.tpl tests/*.c
Chris@0 4802 If HAVE_UNISTD_H include <unistd.h> else include <sf_unistd.h>. This should
Chris@0 4803 work for Win32, MinGW and other fakes Unix-like OSes.
Chris@0 4804
Chris@0 4805 * src/*.c
Chris@0 4806 Removed #include <unistd.h> from files which didn't need it.
Chris@0 4807
Chris@0 4808 2003-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4809
Chris@0 4810 * libsndfile.spec.in
Chris@0 4811 Apply fix from Andrew Schultz.
Chris@0 4812
Chris@0 4813 2003-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4814
Chris@0 4815 * src/vox_adpcm.c
Chris@0 4816 Only set psf->sf.samplerate if the existing value is invalid.
Chris@0 4817
Chris@0 4818 2003-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4819
Chris@0 4820 * examples/sndfile-play.c
Chris@0 4821 Started adding support for ALSA output.
Chris@0 4822
Chris@0 4823 2003-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4824
Chris@0 4825 * src/sndfile.h.in
Chris@0 4826 Removed <stdlib.h> from sndfile.h.
Chris@0 4827
Chris@0 4828 * src/*.c examples/*.c tests/*.c tests/*.tpl
Chris@0 4829 Added <stdlib.h> where needed.
Chris@0 4830
Chris@0 4831 2003-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4832
Chris@0 4833 * src/common.h
Chris@0 4834 Added ARRAY_LEN, SF_MAX and SF_MIN macros.
Chris@0 4835
Chris@0 4836 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4837
Chris@0 4838 * doc/index.html
Chris@0 4839 Remove statements about alternative licensing arrangements.
Chris@0 4840
Chris@0 4841 2003-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4842
Chris@0 4843 * MacOS MacOS9 Makefile.am configure.ac
Chris@0 4844 Change directory name from MacOS to MacOS9
Chris@0 4845
Chris@0 4846 * MacOS9/MacOS9-readme.txt
Chris@0 4847 Change name to make it really obvious, add text to top of file to make it
Chris@0 4848 still more obvious again.
Chris@0 4849
Chris@0 4850 2003-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4851
Chris@0 4852 * src/test_log_printf.c
Chris@0 4853 Add tests for %u conversions.
Chris@0 4854
Chris@0 4855 * src/common.c
Chris@0 4856 Fix psf_log_printf() %u conversions.
Chris@0 4857
Chris@0 4858 2003-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4859
Chris@0 4860 * src/aiff.c
Chris@0 4861 Fixed a bug where opening a file with a non-trival header in SFM_RDWR mode
Chris@0 4862 would over-write part of the header. Thanks to Axel Röbel for pointing
Chris@0 4863 this out. Axel also provided a patch to fix this but I came up with a
Chris@0 4864 neater and more general solution.
Chris@0 4865 Return error when openning an AIFF file with data after the SSND chunk
Chris@0 4866 (Thanks Axel Röbel).
Chris@0 4867
Chris@0 4868 * tests/aiff_rw_test.c
Chris@0 4869 Improvements to test program which will later allow it to be generalised to
Chris@0 4870 test WAV, SVX and others as required.
Chris@0 4871
Chris@0 4872 2003-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4873
Chris@0 4874 * tests/pipe_test.c
Chris@0 4875 Add useek_pipe_rw_test() submitted by Russell Francis.
Chris@0 4876
Chris@0 4877 * src/sndfile.c
Chris@0 4878 In sf_open_fd(), check if input file descriptor is a pipe.
Chris@0 4879
Chris@0 4880 * src/sndfile.[ch]
Chris@0 4881 Fix typo in variable name do_not_close_descriptor.
Chris@0 4882
Chris@0 4883 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4884
Chris@0 4885 * src/test_log_printf.c
Chris@0 4886 Improve the tests for %d and %s conversions.
Chris@0 4887
Chris@0 4888 * src/common.c
Chris@0 4889 Fixed a few problems in psf_log_printf() found using new tests.
Chris@0 4890
Chris@0 4891 2003-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4892
Chris@0 4893 * configure.ac
Chris@0 4894 Add -Wwrite-strings warning to CFLAGS if the compiler is GCC. Thanks to
Chris@0 4895 Peter Miller (Aegis author) for suggesting this and supplying a patch.
Chris@0 4896
Chris@0 4897 * src/*.c examples/*.c tests/*.c
Chris@0 4898 Fix all compiler warnings arising from the above.
Chris@0 4899
Chris@0 4900 2003-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4901
Chris@0 4902 * tests/aiff_rw_test.c tests/Makefile.am
Chris@0 4903 New test program to check for errors re-writing the headers of AIFC files
Chris@0 4904 opened in mode SFM_RDWR.
Chris@0 4905
Chris@0 4906 2003-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4907
Chris@0 4908 * examples/sndfile-play.c
Chris@0 4909 Applied a patch from Tero Pelander to allow this program to run on systems
Chris@0 4910 using devfs which used /dev/sound/dsp instead of /dev/dsp.
Chris@0 4911
Chris@0 4912 2003-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4913
Chris@0 4914 * doc/new_file_type.HOWTO
Chris@0 4915 Updated document. Still incomplete.
Chris@0 4916
Chris@0 4917 2003-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4918
Chris@0 4919 * src/sndfile.c
Chris@0 4920 Fix VALIDATE_SNDFILE_AND_ASSIGN_PSF which was returning an error rather
Chris@0 4921 than saving it and returning zero.
Chris@0 4922
Chris@0 4923 2003-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4924
Chris@0 4925 * src/file_io.c
Chris@0 4926 Two fixes for Mac OS9.
Chris@0 4927 Fix all casts from sf_count_t to ssize_t (not size_t).
Chris@0 4928
Chris@0 4929 2003-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4930
Chris@0 4931 * src/wav.c
Chris@0 4932 Fix for reading files with RIFF length of 8 and data length of 0.
Chris@0 4933
Chris@0 4934 2003-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4935
Chris@0 4936 * src/*.c tests/*.c tests/*.tpl
Chris@0 4937 Added comments to mark code for removal when make Lite version of
Chris@0 4938 libsndfile.
Chris@0 4939
Chris@0 4940 2003-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4941
Chris@0 4942 * examples/sndfile-convert.c
Chris@0 4943 Add extra error checking for unrecognised arguments.
Chris@0 4944
Chris@0 4945 2003-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4946
Chris@0 4947 * src/ima_adpcm.c
Chris@0 4948 Started adding code to write IMA ADPCM encoded AIFF files.
Chris@0 4949
Chris@0 4950 * src/test_log_printf.c src/Makefile.am
Chris@0 4951 New file to test psf_log_printf() function and add hooks into build system.
Chris@0 4952
Chris@0 4953 * src/common.c
Chris@0 4954 Move psf_log_printf() function to top of the file and only compile the rest
Chris@0 4955 of the file if if PSF_LOG_PRINTF_ONLY is not defined.
Chris@0 4956
Chris@0 4957 2003-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4958
Chris@0 4959 * Win32/config.h Win32/sndfile.h
Chris@0 4960 Updated with new config variables.
Chris@0 4961
Chris@0 4962 * Win32/unistd.h src/file_io.c
Chris@0 4963 Added implementation of S_ISFIFO macro which Win32 seems to lack and is
Chris@0 4964 used in src/file_io.c.
Chris@0 4965
Chris@0 4966 * tests/utils.tpl
Chris@0 4967 Added #include <unitstd.h> to pull in Win32/unistd.h so it compiles for
Chris@0 4968 Win32.
Chris@0 4969
Chris@0 4970 * src/Makefile.msvc
Chris@0 4971 Added src\test_file_io.exe build target and run this as the very first
Chris@0 4972 test.
Chris@0 4973
Chris@0 4974 * tests/win32_test.c
Chris@0 4975 Add support for testing Cygwin32.
Chris@0 4976
Chris@0 4977 * configure.ac
Chris@0 4978 Detect POSIX fsync() and fdatasync() functions.
Chris@0 4979
Chris@0 4980 * src/file_io.c
Chris@0 4981 If compiling for Cygwin, call fsync() before calling fstat() to retrieve
Chris@0 4982 file length.
Chris@0 4983
Chris@0 4984 * tests/pcm_test.tpl
Chris@0 4985 Add a test for lrintf() function. This was required to detect a really
Chris@0 4986 broken lrint() and lrintf() on Cygwin.
Chris@0 4987
Chris@0 4988 * tests/misc_test.c
Chris@0 4989 Don't run permission test when compiling under Cygwin.
Chris@0 4990
Chris@0 4991 * src/float_cast.h
Chris@0 4992 Fix fallback macro for lrint() and lrintf() to cast to long instead of int
Chris@0 4993 to match official function prototypes.
Chris@0 4994
Chris@0 4995 2003-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4996
Chris@0 4997 * examples/sndfile-convert.c
Chris@0 4998 Modifications to improve accuracy of conversions; use double data for
Chris@0 4999 floating point and int for everything else.
Chris@0 5000
Chris@0 5001 * src/ima_apdcm.c
Chris@0 5002 Completed work on decoding IMA ADPCM encoded AIFF files. Still need to
Chris@0 5003 get encoding working.
Chris@0 5004
Chris@0 5005 2003-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5006
Chris@0 5007 * src/aiff.c src/ima_adpcm.c
Chris@0 5008 Start working on getting IMA ADPCM encoded AIFF files working.
Chris@0 5009
Chris@0 5010 2003-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5011
Chris@0 5012 * configure.ac
Chris@0 5013 Fixed the touch command for when the autogen program is not found (Matt
Chris@0 5014 Flax).
Chris@0 5015
Chris@0 5016 * src/ulaw.c src/alaw.c
Chris@0 5017 Made these pipe-able.
Chris@0 5018
Chris@0 5019 2003-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5020
Chris@0 5021 * src/paf.c src/ircam.c
Chris@0 5022 Fixed writing to pipe.
Chris@0 5023
Chris@0 5024 * src/wav.c src/aiff.c src/nist.c src/mat*.c src/svx.c src/w64.c
Chris@0 5025 Return SFE_NO_PIPE_WRITE if an attempt is made to write to a pipe.
Chris@0 5026
Chris@0 5027 2003-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5028
Chris@0 5029 * examples/sndfile-info.c
Chris@0 5030 Modified to detect unknown file lengths.
Chris@0 5031
Chris@0 5032 * src/mat4.c
Chris@0 5033 Fix reading from a pipe.
Chris@0 5034
Chris@0 5035 2003-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5036
Chris@0 5037 * tests/pipe_test.c
Chris@0 5038 Add more file types to tests.
Chris@0 5039
Chris@0 5040 * src/mat4.c
Chris@0 5041 Removed explicit setting of psf->sf.seekable to SF_TRUE.
Chris@0 5042
Chris@0 5043 * tests/utils.tpl
Chris@0 5044 Add macro for generating and check data in the stdio and pipe tests.
Chris@0 5045
Chris@0 5046 * tests/stdout_test.c tests/stdin_test.c
Chris@0 5047 Use the above macro to generate known data on output and check data on
Chris@0 5048 input.
Chris@0 5049
Chris@0 5050 * src/voc.c src/htk.c common.h sndfile.c
Chris@0 5051 Disallow reading/writing VOC and HTK files from/to pipes be returning new
Chris@0 5052 error values.
Chris@0 5053
Chris@0 5054 * src/w64.c
Chris@0 5055 Fixes to allow reading from a pipe.
Chris@0 5056
Chris@0 5057 2003-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5058
Chris@0 5059 * configure.ac src/sndfile.h.in
Chris@0 5060 When the configure script determines the sizeof (sf_count_t), also set the
Chris@0 5061 value of SF_COUNT_MAX in sndfile.h.
Chris@0 5062
Chris@0 5063 * configure.ac
Chris@0 5064 Remove -pedantic flag from default GCC compiler flags.
Chris@0 5065
Chris@0 5066 * tests/pipe_test.c
Chris@0 5067 Add a pipe_read_test() before doing pipe_write_test().
Chris@0 5068
Chris@0 5069 * tests/scale_clip_test.c
Chris@0 5070 Add test to make sure non-normalized values also clip in the right way.
Chris@0 5071
Chris@0 5072 2003-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5073
Chris@0 5074 * configure.ac
Chris@0 5075 Add test to detect processor clipping capabilities.
Chris@0 5076
Chris@0 5077 * tests/stdin_test.c tests/stdout_test.c
Chris@0 5078 Fix a pair of compiler warnings.
Chris@0 5079
Chris@0 5080 * src/common.h
Chris@0 5081 Add new pipeoffset field to SF_PRIVATE. This will contain the current file
Chris@0 5082 offset when operating on a pipe.
Chris@0 5083
Chris@0 5084 * src/common.c
Chris@0 5085 Removed direct calls to psf_fread()/psf_fseek()/psf_fgets() etc from
Chris@0 5086 psf_binheader_readf and redirect them to new buffered versions
Chris@0 5087 header_read(), header_seek() and header_gets().
Chris@0 5088 Add "G" format specifier to emulate fgets() functionality with buffering.
Chris@0 5089 This will allow reading some file types from pipes.
Chris@0 5090
Chris@0 5091 * src/file_io.c
Chris@0 5092 When the file descriptor is a pipe, manintain psf->pipeoffset.
Chris@0 5093
Chris@0 5094 * src/pvf.c
Chris@0 5095 Change use of psf_fgets() to psf_binheader_readf() as required but changes to header re
Chris@0 5096
Chris@0 5097 * src/au.c
Chris@0 5098 Fix reading from a pipe.
Chris@0 5099
Chris@0 5100 2003-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5101
Chris@0 5102 * src/pcm.c
Chris@0 5103 Add clipping versions of the f2XXX_array() functions to allow option of
Chris@0 5104 clipping data that would otherwise overflow.
Chris@0 5105
Chris@0 5106 * tests/scale_clip_test.tpl tests/scale_clip_test.def
Chris@0 5107 New files test that clipping option does actually work.
Chris@0 5108
Chris@0 5109 2003-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5110
Chris@0 5111 * doc/index.html
Chris@0 5112 Fixed a typo ("OS(" instead of "OS9").
Chris@0 5113
Chris@0 5114 2003-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5115
Chris@0 5116 * tests/open_fail_test.c
Chris@0 5117 Include <string.h> to prevent warning message of missing declaration of
Chris@0 5118 memset().
Chris@0 5119
Chris@0 5120 2003-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5121
Chris@0 5122 * src/common.h
Chris@0 5123 Add new "add_clipping" field to SF_PRIVATE.
Chris@0 5124
Chris@0 5125 * src/sndfile.h.in src/sndfile.c
Chris@0 5126 Add command SFC_SET_CLIPPING which sets/resets add_clipping field.
Chris@0 5127
Chris@0 5128 2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5129
Chris@0 5130 * doc/api.html
Chris@0 5131 Add docs for sf_set_string() and sf_get_string().
Chris@0 5132
Chris@0 5133 * src/common.h src/sndfile.c
Chris@0 5134 Add new SFE_STR_BAD_STRING error.
Chris@0 5135
Chris@0 5136 * tests/stdin_test.c tests/stdout_test.c
Chris@0 5137 Removed all non-error print statements.
Chris@0 5138
Chris@0 5139 * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am
Chris@0 5140 Add print statements removed from two files above.
Chris@0 5141
Chris@0 5142 2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5143
Chris@0 5144 * libsndfile.spec.in
Chris@0 5145 Fixed a coulpe of minor errors discovered by someone calling themselves
Chris@0 5146 Agent Smith.
Chris@0 5147
Chris@0 5148 * src/common.c src/common.h src/file_io.h
Chris@0 5149 Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe()
Chris@0 5150 function. (Axel Röbel)
Chris@0 5151
Chris@0 5152 * src/sndfile.c
Chris@0 5153 Fixed determination of whether the file is a pipe. (Axel Röbel)
Chris@0 5154
Chris@0 5155 * src/paf.c
Chris@0 5156 Force paf24 to start with undefined mode. (Axel Röbel)
Chris@0 5157
Chris@0 5158 * tests/pipe_test.c
Chris@0 5159 Mods to make this test work and actually do the test on RAW files. (Axel
Chris@0 5160 Röbel).
Chris@0 5161
Chris@0 5162 2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5163
Chris@0 5164 * src/sndfile.c
Chris@0 5165 Fixed a potential bug where psf->sf.seekable was being set to FALSE when
Chris@0 5166 operating on stdin or stdout but then the default initialiser was reseting
Chris@0 5167 it to TRUE. Thanks to Axel Röbel.
Chris@0 5168
Chris@0 5169 * src/aiff.c
Chris@0 5170 Fixed a bug in the header parser where it was not handling an odd length
Chris@0 5171 COMM chunk correctly. Thanks to Axel Röbel.
Chris@0 5172
Chris@0 5173 * src/test_file_io.c
Chris@0 5174 Add more tests.
Chris@0 5175
Chris@0 5176 * tests/win32_test.c
Chris@0 5177 New file for showing the bugs in the Win32 implementation of the POSIX API.
Chris@0 5178 It also runs on Linux for sanity checking.
Chris@0 5179
Chris@0 5180 * tests/Makefile.am Win32/Makefile.msvc
Chris@0 5181 Hook the new test program into the build system.
Chris@0 5182
Chris@0 5183 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5184
Chris@0 5185 * src/test_file_io.c
Chris@0 5186 New test program to test operation of functions defined in file_io.c. This
Chris@0 5187 should make supporting win32 significantly easier.
Chris@0 5188
Chris@0 5189 * src/Makefile.am
Chris@0 5190 Hook new test program into the build system.
Chris@0 5191
Chris@0 5192 * src/file_io.c
Chris@0 5193 Add compile/run time check that sizeof statbuf.st_size and sf_count_t are
Chris@0 5194 the same.
Chris@0 5195
Chris@0 5196 * src/common.h src/sndfile.c
Chris@0 5197 Added new error code and error message for new check.
Chris@0 5198
Chris@0 5199 * tests/benchmark.tpl
Chris@0 5200 Fix to use frames instead of samples in SF_INFO.
Chris@0 5201
Chris@0 5202 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5203
Chris@0 5204 * src/file_io.c
Chris@0 5205 More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32.
Chris@0 5206
Chris@0 5207 * examples/sndfile-info.c
Chris@0 5208 Applied patch from Conrad Parker to add "--help" and "-h" options as
Chris@0 5209 well as an improved usage message.
Chris@0 5210
Chris@0 5211 2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5212
Chris@0 5213 * src/au.c
Chris@0 5214 Added embedded file support.
Chris@0 5215
Chris@0 5216 * tests/multi_file_test.c
Chris@0 5217 Added tests for embedded AU files.
Chris@0 5218 Added verbose testing mode.
Chris@0 5219
Chris@0 5220 * src/common.h src/sndfile.c
Chris@0 5221 Added an embedded AU specific error code and message.
Chris@0 5222
Chris@0 5223 * src/wav.c
Chris@0 5224 Added patch from Conrad Parker which filled in a little more information
Chris@0 5225 about ACIDized WAV files.
Chris@0 5226
Chris@0 5227 2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5228
Chris@0 5229 * src/file_io.c
Chris@0 5230 Fixed Win32 version of psf_fseek() which was calling psf_get_filelen()
Chris@0 5231 which was in turn calling psf_fseek() which in the end blew the stack.
Chris@0 5232 Now of course this would have been easy to find on Linux, but this blow
Chris@0 5233 up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't
Chris@0 5234 figure out what call caused this (it couldn't even tell me the stack had
Chris@0 5235 overflowed) and was absolutley useless for this debugging exercise.
Chris@0 5236 On top of that, the reason I got into this mess was that windoze doesn't
Chris@0 5237 have a working fstat() function which can return file lengths > 2 Gig. It
Chris@0 5238 HAS a fscking _fstati64() but the file length value is only updated AFTER
Chris@0 5239 the bloody file is closed. That makes it completely useless.
Chris@0 5240 How the hell do people stand working on this crap excuse of an OS?
Chris@0 5241
Chris@0 5242 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5243
Chris@0 5244 * Win32/unistd.h src/file_io.c
Chris@0 5245 Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these
Chris@0 5246 can be used in the test programs.
Chris@0 5247
Chris@0 5248 * Win32/libsndfile.def
Chris@0 5249 Added sf_open_fd.
Chris@0 5250
Chris@0 5251 * Win32/sndfile.h
Chris@0 5252 Updated to match src/sndfile.h.in.
Chris@0 5253
Chris@0 5254 * Win32/Makefile.msvc
Chris@0 5255 Added dither.c and htk.c to libsndfile.dll target.
Chris@0 5256
Chris@0 5257 2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5258
Chris@0 5259 * src/file_io.c
Chris@0 5260 First attempt at getting the Win32 versions of the these functions working.
Chris@0 5261 They still need to be tested.
Chris@0 5262
Chris@0 5263 2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5264
Chris@0 5265 * src/strings.c
Chris@0 5266 Found and fixed a bug which was causing psf_store_string() to fail on
Chris@0 5267 Motorola 68k processors. Many thanks fo Joshua Haberman (Debian maintainer
Chris@0 5268 of libsndfile) for compiling and running debug code to help me debug the
Chris@0 5269 problem.
Chris@0 5270
Chris@0 5271 2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5272
Chris@0 5273 * src/sndfile.c src/file_io.c src/wav.c src/aiff.c
Chris@0 5274 Much hacking to get reading and writing of embedded files working (ie sound
Chris@0 5275 files at a non-zero files offset).
Chris@0 5276
Chris@0 5277 * doc/embedded_files.html
Chris@0 5278 First pass atempt at documenting reading/writing embedded files.
Chris@0 5279
Chris@0 5280 2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5281
Chris@0 5282 * doc/FAQ.html
Chris@0 5283 Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"
Chris@0 5284
Chris@0 5285 2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5286
Chris@0 5287 * src/wav.c src/aiff.c
Chris@0 5288 Fix retrieving and storing of string data from files. Need to be careful
Chris@0 5289 about using psf->buffer for strings.
Chris@0 5290
Chris@0 5291 2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5292
Chris@0 5293 * src/file_io.c
Chris@0 5294 Fix psf_fseek() for seeks withing embedded files.
Chris@0 5295
Chris@0 5296 2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5297
Chris@0 5298 * src/sndfile.h.in
Chris@0 5299 Changed the definition of SNDFILE slightly to produce warnings when it isn't
Chris@0 5300 used correctly. This should have zero affect in code which uses the SNDFILE
Chris@0 5301 type correctly.
Chris@0 5302
Chris@0 5303 * src/sndfile.c
Chris@0 5304 Fixed a few compiler warnings cause by the changes to the SNDFILE type.
Chris@0 5305
Chris@0 5306 2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5307
Chris@0 5308 * doc/FAQ.html
Chris@0 5309 Added question and answer to the question "How about adding the ability
Chris@0 5310 to write/read sound files to/from memory buffers?".
Chris@0 5311
Chris@0 5312 2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5313
Chris@0 5314 * tests/write_read_test.tpl
Chris@0 5315 Removed un-needed enums declaring TRUE and FALSE and replaced usage of
Chris@0 5316 these with SF_TRUE and SF_FALSE.
Chris@0 5317
Chris@0 5318 * tests/multi_file_test.c
Chris@0 5319 New test program to test sf_open_fd() on files containing data other than
Chris@0 5320 a single sound file.
Chris@0 5321
Chris@0 5322 2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5323
Chris@0 5324 * src/file_io.c
Chris@0 5325 When creating files, set the readable by others flag. This still allows
Chris@0 5326 further restrictions to be enforced by use of the user's umask. Fix
Chris@0 5327 suggested by Eric Lyon.
Chris@0 5328
Chris@0 5329 2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5330
Chris@0 5331 * src/sndfile.h.in src/sndfile.c
Chris@0 5332 Changed sf_open_fd(). Dropped offset parameter and added a close_desc
Chris@0 5333 parameter. If close desc is TRUE, the file descritpor passed into the
Chris@0 5334 library will be closed when sf_close() is called.
Chris@0 5335
Chris@0 5336 * tests/utils.tpl
Chris@0 5337 Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.
Chris@0 5338
Chris@0 5339 2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5340
Chris@0 5341 * tests/write_read_test.tpl
Chris@0 5342 Add a string (using sf_set_string() function) before and after data section
Chris@0 5343 of all files. This will make sure that if string data can be added, it
Chris@0 5344 doesn't overwrite real audio data.
Chris@0 5345
Chris@0 5346 2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5347
Chris@0 5348 * src/sndfile.c
Chris@0 5349 Started work on supporting a non-zero offset parameter for sf_open_fd ().
Chris@0 5350
Chris@0 5351 * src/<file header parsers>.c
Chris@0 5352 Removed many uses of psf_fseek (SEEK_END) which to allow for future use of
Chris@0 5353 sf_open_fd() with non-zero offset.
Chris@0 5354 Associated refactoring.
Chris@0 5355
Chris@0 5356 * src/aiff.c
Chris@0 5357 Implemented functionality required to get sf_get_string() and
Chris@0 5358 sf_set_string() working for AIFF files.
Chris@0 5359
Chris@0 5360 2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5361
Chris@0 5362 * tests/utils.tpl
Chris@0 5363 Modified test_open_file_or_die() to alternately use sf_open() and
Chris@0 5364 sf_open_fd().
Chris@0 5365
Chris@0 5366 * src/svx.c
Chris@0 5367 Fixed a bug which occurred when openning an existing file for read/write
Chris@0 5368 using sf_open_fd(). In this case, the existing NAME chunk needs to be
Chris@0 5369 read into psf->filename.
Chris@0 5370 Fixed printing of sf_count_t types to logbuffer.
Chris@0 5371
Chris@0 5372 2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5373
Chris@0 5374 * src/sndfile.h.in
Chris@0 5375 Added prototype for new function sf_open_fd().
Chris@0 5376
Chris@0 5377 * src/sndfile.c
Chris@0 5378 Moved most of the code in sf_open() to a new function psf_open_file().
Chris@0 5379 Created new function sf_open_fd() which also uses psf_open_file() but
Chris@0 5380 does not currently support the offset parameter.
Chris@0 5381
Chris@0 5382 * doc/api.html
Chris@0 5383 Document sf_open_fd().
Chris@0 5384
Chris@0 5385 2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5386
Chris@0 5387 * src/sndfile.c
Chris@0 5388 Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred
Chris@0 5389 when an attempt was made to read and the open() call fails.
Chris@0 5390
Chris@0 5391 2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5392
Chris@0 5393 * tests/open_fail_test.c
Chris@0 5394 New test program to check for memory leaks when sf_open fails on a valid
Chris@0 5395 file. Currently this must be run manually under valgrid.
Chris@0 5396
Chris@0 5397 * tests/Makefile.am
Chris@0 5398 Hook new test program into build.
Chris@0 5399
Chris@0 5400 2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5401
Chris@0 5402 * Octave/sndfile_save.m Octave/sndfile_play.m
Chris@0 5403 Added a -mat-binary option to the octave save command to force the output
Chris@0 5404 to binary mode even if the user has set ascii data as the default. Found
Chris@0 5405 by Christopher Moore.
Chris@0 5406
Chris@0 5407 2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5408
Chris@0 5409 * doc/dither.html
Chris@0 5410 New file which will document the interface which allows the addition of
Chris@0 5411 audio dither when sample word sizes are being reduced.
Chris@0 5412
Chris@0 5413 * src/dither.c
Chris@0 5414 More work.
Chris@0 5415
Chris@0 5416 2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5417
Chris@0 5418 * tests/misc_test.c
Chris@0 5419 In update_header_test(), make HTK files a special case.
Chris@0 5420
Chris@0 5421 * doc/index.html
Chris@0 5422 Added HTK to the feature matrix.
Chris@0 5423
Chris@0 5424 2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5425
Chris@0 5426 * src/htk.c
Chris@0 5427 New file for reading/writing HMM Tool Kit files.
Chris@0 5428
Chris@0 5429 * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am
Chris@0 5430 Hook in htk.c
Chris@0 5431
Chris@0 5432 * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am
Chris@0 5433 Add tests for HTK files.
Chris@0 5434
Chris@0 5435 2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5436
Chris@0 5437 * src/wav.c
Chris@0 5438 Fixed a bug where the LIST chunk length was being written incorrectly.
Chris@0 5439
Chris@0 5440 * tests/string_test.c
Chris@0 5441 Added call to check_log_buffer().
Chris@0 5442 Minor cleanups.
Chris@0 5443
Chris@0 5444 2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5445
Chris@0 5446 * src/wav_w64.h
Chris@0 5447 Applied patch from Antoine Mathys to add extra WAV format definitions and
Chris@0 5448 a G72x_ADPCM_WAV_FMT struct definition.
Chris@0 5449
Chris@0 5450 * src/wav_w64.c
Chris@0 5451 Applied patch from Antoine Mathys which converts wav_w64_format_str() from
Chris@0 5452 one huge inefficient switch statement to a binary search.
Chris@0 5453
Chris@0 5454 * tests/string_test.c
Chris@0 5455 Dump log buffer if tests fail.
Chris@0 5456
Chris@0 5457 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5458
Chris@0 5459 * tests/string_test.c
Chris@0 5460 David Viens supplied some modifications to this file which showed up a bug
Chris@0 5461 when using sf_set_string() and the sf_writef_float() functions.
Chris@0 5462
Chris@0 5463 * src/sndfile.c
Chris@0 5464 Fixed the above bug.
Chris@0 5465
Chris@0 5466 2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5467
Chris@0 5468 * doc/FAQ.html
Chris@0 5469 Added Q and A on how to detect libsndfile in configure.in (at the suggestion
Chris@0 5470 of Davy Durham).
Chris@0 5471
Chris@0 5472 2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5473
Chris@0 5474 * src/sndfile.h.in
Chris@0 5475 Add enums and typedefs for dither.
Chris@0 5476 Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be
Chris@0 5477 replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will
Chris@0 5478 allow different dither algorithms to be enabled.
Chris@0 5479 Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO.
Chris@0 5480
Chris@0 5481 * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def.
Chris@0 5482 Added public sf_dither_*() functions.
Chris@0 5483
Chris@0 5484 * src/sndfile.c
Chris@0 5485 Implement commands above.
Chris@0 5486
Chris@0 5487 * src/dither.c
Chris@0 5488 More work. Framework and external hooks into dither algorithms complete.
Chris@0 5489
Chris@0 5490 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5491
Chris@0 5492 * doc/version-1.html libsndfile_version_convert.py
Chris@0 5493 Remove redundant files.
Chris@0 5494
Chris@0 5495 * doc/index.html doc/api.html
Chris@0 5496 Remove links to version-1.html.
Chris@0 5497
Chris@0 5498 * src/dither.c
Chris@0 5499 New file to allow the addition of audio dither on input and output.
Chris@0 5500
Chris@0 5501 * src/common.h
Chris@0 5502 Add prototype for dither_init() function.
Chris@0 5503
Chris@0 5504 * Makefile.am doc/Makefile.am
Chris@0 5505 Changes for added and removed files.
Chris@0 5506
Chris@0 5507 2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5508
Chris@0 5509 * Win32/Makefile.msvc
Chris@0 5510 Changes to force example binaries to be placed in the top level directory
Chris@0 5511 instead of the examples/ directory.
Chris@0 5512 Add src/strings.c and src/xi.c to the build.
Chris@0 5513 Add string_test to build and to tests on WAV files.
Chris@0 5514
Chris@0 5515 * doc/index.html
Chris@0 5516 Added XI to support matrix.
Chris@0 5517
Chris@0 5518 2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5519
Chris@0 5520 * src/sndfile.h.in
Chris@0 5521 Added prototypes for sf_get_string() and sf_set_string() and SF_STR_*
Chris@0 5522 enum values.
Chris@0 5523
Chris@0 5524 * src/sndfile.c
Chris@0 5525 Added public interface to sf_get_string() and sf_set_string().
Chris@0 5526
Chris@0 5527 * src/wav.c
Chris@0 5528 Added code for setting and getting strings in WAV files.
Chris@0 5529
Chris@0 5530 * tests/string_test.c
Chris@0 5531 New test program for sf_get_string() and sf_set_string() functionality.
Chris@0 5532
Chris@0 5533 * tests/Makefile.am
Chris@0 5534 Hook new test program into build and test framework.
Chris@0 5535
Chris@0 5536 2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5537
Chris@0 5538 * src/common.h
Chris@0 5539 Added fields to SF_PRIVATE for string data needed to implement
Chris@0 5540 sf_get_string() and sf_set_string().
Chris@0 5541
Chris@0 5542 * src/strings.c
Chris@0 5543 New file for storing and retrieving strings to/from files.
Chris@0 5544
Chris@0 5545 * src/Makefile.am
Chris@0 5546 Added strings.c to build.
Chris@0 5547
Chris@0 5548 2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5549
Chris@0 5550 * src/xi.c
Chris@0 5551 Read seems to be working so looking at write.
Chris@0 5552
Chris@0 5553 * src/sndfile.h.in
Chris@0 5554 Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values.
Chris@0 5555
Chris@0 5556 * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am
Chris@0 5557 Added test for 8 and 16 bit XI format files.
Chris@0 5558
Chris@0 5559 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5560
Chris@0 5561 * doc/index.html
Chris@0 5562 Added a non-lawyer readable summary of the licensing provisions as
Chris@0 5563 suggested by Steve Dekorte.
Chris@0 5564
Chris@0 5565 2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5566
Chris@0 5567 * src/wav.c
Chris@0 5568 Fixed a compiler warning found by Alexander Lerch.
Chris@0 5569
Chris@0 5570 2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5571
Chris@0 5572 * configure.ac
Chris@0 5573 Fixed the multiple linking of libm.
Chris@0 5574
Chris@0 5575 2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5576
Chris@0 5577 * Win32/Makefile.mcvs
Chris@0 5578 Added comments on the correct way to set up the MSVCDir environment
Chris@0 5579 variable.
Chris@0 5580
Chris@0 5581 * doc/win32.html
Chris@0 5582 Add on how to set up the MSVCDir environment variable.
Chris@0 5583
Chris@0 5584 2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5585
Chris@0 5586 * examples/sndfile-play.c examples/sndfile-info.c
Chris@0 5587 When run on Win32 without any command line parameters print a message and
Chris@0 5588 then sleep for 5 seconds. This means the when somebody double clicks on
Chris@0 5589 these programs in explorer the user will actually see the message.
Chris@0 5590
Chris@0 5591 2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5592
Chris@0 5593 * tests/misc_test.c
Chris@0 5594 Bypass permission test if running as root because root is allowed to open
Chris@0 5595 a readonly file for write.
Chris@0 5596
Chris@0 5597 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5598
Chris@0 5599 * Win32/Makefile.msvc
Chris@0 5600 Added pvf.c and xi.c source files to project.
Chris@0 5601
Chris@0 5602 * src/sndfile.h
Chris@0 5603 Updated for PVF files.
Chris@0 5604
Chris@0 5605 2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5606
Chris@0 5607 * src/sndfile.c
Chris@0 5608 Modified validate_sfinfo() to force samplerate, channels and sections
Chris@0 5609 to be >= 1.
Chris@0 5610 In format_from_extension() replaced calls to does_extension_match()
Chris@0 5611 with strcmp().
Chris@0 5612
Chris@0 5613 * src/xi.c
Chris@0 5614 More work.
Chris@0 5615
Chris@0 5616 2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5617
Chris@0 5618 * doc/Makefile.am
Chris@0 5619 Added octave.html which had been left out. Found by Jan Weil.
Chris@0 5620
Chris@0 5621 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5622
Chris@0 5623 * src/pvf.c src/common.h src/sndfile.c
Chris@0 5624 Fixed error handling for PVF files.
Chris@0 5625
Chris@0 5626 * src/xi.c
Chris@0 5627 New file for handling Fasttracker 2 Extended Instrument files. Not working
Chris@0 5628 yet and included when configured with --enable-experimental.
Chris@0 5629
Chris@0 5630 * src/sndfile.c src/common.h
Chris@0 5631 Hooked in new file xi.c.
Chris@0 5632
Chris@0 5633 2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5634
Chris@0 5635 * src/rx2.c
Chris@0 5636 Added a patch from Marek Peteraj which sheds a little more light on the
Chris@0 5637 slices within an RX2 file. Still need to find out data encoding.
Chris@0 5638
Chris@0 5639 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5640
Chris@0 5641 * src/wav.c
Chris@0 5642 Started work on decoding 'acid' and 'strc' chunks.
Chris@0 5643
Chris@0 5644 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5645
Chris@0 5646 * tests/peak_check_test.c
Chris@0 5647 Minor cleanup.
Chris@0 5648
Chris@0 5649 2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5650
Chris@0 5651 * tests/write_read_test.tpl
Chris@0 5652 Added check to make sure no error was generated when an attempt was made to
Chris@0 5653 read past the end of the file.
Chris@0 5654
Chris@0 5655 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5656
Chris@0 5657 * doc/lists.html
Chris@0 5658 Added "mailto" links for all three lists.
Chris@0 5659
Chris@0 5660 * src/pvf.c
Chris@0 5661 New file for Portable Voice Format files.
Chris@0 5662
Chris@0 5663 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
Chris@0 5664 Added hooks for SF_FORMAT_PVF format files.
Chris@0 5665
Chris@0 5666 * tests/write_read_test.tpl tests/std*.c
Chris@0 5667 Add tests for SF_FORMAT_PVF.
Chris@0 5668
Chris@0 5669 * doc/index.html
Chris@0 5670 Add PVF to the compatibility matrix.
Chris@0 5671
Chris@0 5672 * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c
Chris@0 5673 Previously, attempts to read beyond the end of a file would set psf->error
Chris@0 5674 to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX
Chris@0 5675 read() call but has now been fixed.
Chris@0 5676 Attempts to read beyond the end of the file will return a short read count
Chris@0 5677 but will not longer set any error.
Chris@0 5678
Chris@0 5679 2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5680
Chris@0 5681 * src/sndfile.c
Chris@0 5682 Add more sanity checking when opening a RAW file for read. When format is
Chris@0 5683 not RAW, zero out all members of the SF_INFO struct.
Chris@0 5684
Chris@0 5685 * tests/raw_test.c
Chris@0 5686 Add bad_raw_test() to check for above problem.
Chris@0 5687
Chris@0 5688 * tests/stdin_test.c examples/sndfile-info.c
Chris@0 5689 Set the format field of the SF_INFO struct to zero before calling
Chris@0 5690 sf_open().
Chris@0 5691
Chris@0 5692 * doc/api.html
Chris@0 5693 Add information about the need to set the format field of the SF_INFO struct
Chris@0 5694 to zero when opening non-RAW files for read.
Chris@0 5695
Chris@0 5696 * configure.ac
Chris@0 5697 Removed use of conversion script on Solaris. Not all Solaris versions
Chris@0 5698 support it.
Chris@0 5699
Chris@0 5700 * doc/lists.html
Chris@0 5701 New file containg details of the mailing lists.
Chris@0 5702
Chris@0 5703 * doc/index.html
Chris@0 5704 Add a link to the above new file.
Chris@0 5705
Chris@0 5706 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5707
Chris@0 5708 * tests/dft_cmp.c
Chris@0 5709 Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman
Chris@0 5710 for providing the gdb traceback.
Chris@0 5711
Chris@0 5712 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5713
Chris@0 5714 * src/wav.c
Chris@0 5715 Added more capabilities to 'smpl' chunk parser.
Chris@0 5716
Chris@0 5717 * src/sndfile.c
Chris@0 5718 Fixed some (not all) possible problems found with Flawfinder.
Chris@0 5719
Chris@0 5720 2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5721
Chris@0 5722 * src/sndfile.c
Chris@0 5723 Fixed a bug in sf_seek(). This bug could only occur when an attempt was
Chris@0 5724 made to read beyond the end and then sf_seek() was called with a whence
Chris@0 5725 parameter of SEEK_CUR.
Chris@0 5726
Chris@0 5727 * src/file_io.c
Chris@0 5728 Win32's _fstati64() does not work, it returns BS. Re-implemented
Chris@0 5729 psf_get_filelen() in terms of psf_fseek().
Chris@0 5730
Chris@0 5731 * tests/write_read_test.tpl
Chris@0 5732 Add a test to detect above bug.
Chris@0 5733
Chris@0 5734 * src/float_cast.h
Chris@0 5735 Modification to prevent compiler warnings on Mac OS X.
Chris@0 5736
Chris@0 5737 * src/file_io.c
Chris@0 5738 Fixes for windows (what a f**ked OS).
Chris@0 5739
Chris@0 5740 2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5741
Chris@0 5742 * configure.ac
Chris@0 5743 Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on
Chris@0 5744 Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in
Chris@0 5745 src/float_cast.h means that a library compiled on 10.2 will still work on
Chris@0 5746 10.1.
Chris@0 5747
Chris@0 5748 2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5749
Chris@0 5750 * configure.in configure.ac
Chris@0 5751 Renamed configure.in to configure.ac as expected by later versions of
Chris@0 5752 autoconf.
Chris@0 5753 Slight hacking of configure.ac to work with version 2.54 of autoconf.
Chris@0 5754 Changed to using -dumpversion instead of --version for determining GCC
Chris@0 5755 version numer as suggested by Anand Kumria.
Chris@0 5756
Chris@0 5757 * src/G72x/Makefile.am
Chris@0 5758 Slight hacking required for operation with automake 1.6.3.
Chris@0 5759
Chris@0 5760 2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5761
Chris@0 5762 * src/common.c
Chris@0 5763 In psf_binheader_readf() changed type parameter type "b" type from size_t
Chris@0 5764 to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int).
Chris@0 5765 Thanks to Enrique Robledo Arnuncio for debugging this.
Chris@0 5766
Chris@0 5767 2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5768
Chris@0 5769 * test/command_test.tpl
Chris@0 5770 Changed test value so test would pass on Solaris.
Chris@0 5771
Chris@0 5772 * src/Version_script.in
Chris@0 5773 Modified version numbering so that later versions of 1.0.X can replace
Chris@0 5774 earlier versions without recompilation.
Chris@0 5775
Chris@0 5776 * src/vox_adpcm.c
Chris@0 5777 Fixed bug causing short reads.
Chris@0 5778
Chris@0 5779 2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5780
Chris@0 5781 * test/floating_point_test.c
Chris@0 5782 Code cleanup using functions from util.c.
Chris@0 5783 Add test for IEEE replacement floats and doubles.
Chris@0 5784
Chris@0 5785 2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5786
Chris@0 5787 * src/wav.c
Chris@0 5788 Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to
Chris@0 5789 Serg Repalov for the example file.
Chris@0 5790
Chris@0 5791 * tests/pcm_test.tpl
Chris@0 5792 Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code.
Chris@0 5793 Clean up pcm_double_test().
Chris@0 5794
Chris@0 5795 * src/float32.c src/double64.c
Chris@0 5796 Force use of IEEE replacement code using psf->ieee_replace is TRUE,
Chris@0 5797 Print message to log_buffer as well.
Chris@0 5798 Rename all broken_read_* and broken_write* functions to replace_read_* and
Chris@0 5799 replace_write_*.
Chris@0 5800
Chris@0 5801 * tests/util.tpl
Chris@0 5802 Added string_in_log_buffer().
Chris@0 5803
Chris@0 5804 * tests/pcm_test.tpl
Chris@0 5805 Use string_in_log_buffer() to ensure that IEEE replacement code has been
Chris@0 5806 used.
Chris@0 5807
Chris@0 5808 * configure.in
Chris@0 5809 Removed --enable-force-broken-float option. IEEE replacement code is now
Chris@0 5810 always tested.
Chris@0 5811
Chris@0 5812 2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5813
Chris@0 5814 * src/double64.c
Chris@0 5815 Implement code for read/writing IEEE doubles on platforms where the native
Chris@0 5816 double format is not IEEE.
Chris@0 5817
Chris@0 5818 * src/float32.c src/common.h
Chris@0 5819 Remove float32_read() and float32_write(). Replace with float32_le_read(),
Chris@0 5820 float32_be_read(), float32_le_write() and float32_be_write() to match stuff
Chris@0 5821 in src/double64.c.
Chris@0 5822
Chris@0 5823 * src/common.c
Chris@0 5824 Fix all usage of float32_write().
Chris@0 5825
Chris@0 5826 * src/sndfile.h.in
Chris@0 5827 Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only).
Chris@0 5828
Chris@0 5829 * src/common.h
Chris@0 5830 Added SF_PRIVATE field ieee_replace.
Chris@0 5831
Chris@0 5832 * src/sndfile.c
Chris@0 5833 In sf_command() set/reset psf->ieee_replace.
Chris@0 5834
Chris@0 5835 2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5836
Chris@0 5837 * tests/pcm_test.tpl
Chris@0 5838 Fixed a problem when testing with --enable-force-broken-float. The test was
Chris@0 5839 generating a value of negative zero and the broken float code is not able
Chris@0 5840 to write negative zero. Removing the negative zero fixed the test.
Chris@0 5841
Chris@0 5842 2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5843
Chris@0 5844 * src/file_io.c
Chris@0 5845 Added fix for Cygwin (suggested by Maros Michalik).
Chris@0 5846
Chris@0 5847 2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5848
Chris@0 5849 * src/file_io.c
Chris@0 5850 Improved error detection and handling.
Chris@0 5851
Chris@0 5852 * src/file_io.c src/common.h
Chris@0 5853 Removed functions psf_ferror() and psf_clearerr() which were redundant
Chris@0 5854 after above improvements.
Chris@0 5855
Chris@0 5856 * src/aiff.c src/svx.c src/w64.c src/wav.c
Chris@0 5857 Removed all use of psf_ferror() and psf_clearerr().
Chris@0 5858
Chris@0 5859 * src/sndfile.c
Chris@0 5860 Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which
Chris@0 5861 are no longer needed.
Chris@0 5862
Chris@0 5863 * tests/misc_test.c
Chris@0 5864 Added test to make sure the correct error message is returned with an
Chris@0 5865 existing read-only file is openned for write.
Chris@0 5866
Chris@0 5867 2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5868
Chris@0 5869 * doc/index.html doc/api.html
Chris@0 5870 Updated for OKI Dialogic ADPCM files.
Chris@0 5871
Chris@0 5872 * src/command.c
Chris@0 5873 Added VOX ADPCM to sub_fomats.
Chris@0 5874
Chris@0 5875 2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5876
Chris@0 5877 * src/vox_adpcm.c src/Makefile.am
Chris@0 5878 New file for handling OKI Dialogic ADPCM files.
Chris@0 5879
Chris@0 5880 * src/sndfile.h
Chris@0 5881 Add new subtype SF_FORMAT_VOX_ADPCM.
Chris@0 5882
Chris@0 5883 * src/sndfile.c
Chris@0 5884 Renamed function is_au_snd_file () to format_from_extenstion () and expanded
Chris@0 5885 its functionality to detect headerless VOX files.
Chris@0 5886
Chris@0 5887 * src/raw.c
Chris@0 5888 Added hooks for SF_FORMAT_VOX_ADPCM.
Chris@0 5889
Chris@0 5890 * examples/sndfile-info.c
Chris@0 5891 Print out file duration (suggested by Conrad Parker).
Chris@0 5892
Chris@0 5893 * libsndfile.spec.in
Chris@0 5894 Force installation of sndfile.pc file (found by John Thompson).
Chris@0 5895
Chris@0 5896 * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c
Chris@0 5897 Add tests for SF_FORMAT_VOX_ADPCM.
Chris@0 5898
Chris@0 5899 2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5900
Chris@0 5901 * tests/misc_test.c
Chris@0 5902 Add test which attempts to write to /dev/full (on Linux anyway) to check
Chris@0 5903 for correct handling of writing to a full filesystem.
Chris@0 5904
Chris@0 5905 * src/sndfile.c
Chris@0 5906 Return correct error message if the header cannot be written because the
Chris@0 5907 filesystem is full.
Chris@0 5908
Chris@0 5909 * tests/util.tpl
Chris@0 5910 Corrected printing of file mode in error reporting.
Chris@0 5911
Chris@0 5912 * src/mat5.c
Chris@0 5913 Fixed a bug where a MAT5 file written by libsndfile could not be opened by
Chris@0 5914 Octave 2.1.36.
Chris@0 5915
Chris@0 5916 2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5917
Chris@0 5918 * src/common.h src/file_io.c
Chris@0 5919 All low level file I/O have been modified to be better able to report
Chris@0 5920 system errors resulting from calling system level open/read/write etc.
Chris@0 5921
Chris@0 5922 * src/*.c
Chris@0 5923 Updated for compatibility with above changes.
Chris@0 5924
Chris@0 5925 * examples/cooledit-fixer.c
Chris@0 5926 New example program which fixes badly broken file created by Syntrillium's
Chris@0 5927 Cooledit which are marked as containing PCM samples but actually contain
Chris@0 5928 floating point data.
Chris@0 5929
Chris@0 5930 * examples/Makefile.am
Chris@0 5931 Hooked cooledit-fixer into the build system.
Chris@0 5932
Chris@0 5933 2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5934
Chris@0 5935 * doc/command.html
Chris@0 5936 Document SFC_GET_FORMAT_INFO.
Chris@0 5937
Chris@0 5938 2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5939
Chris@0 5940 * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c
Chris@0 5941 examples/sfdump.c
Chris@0 5942 Removed these files because they weren't interesting.
Chris@0 5943
Chris@0 5944 * examples/sfconvert.c examples/sndfile-convert.c
Chris@0 5945 Renamed the first to the latter.
Chris@0 5946
Chris@0 5947 * examples/Makefile.am
Chris@0 5948 Added sndfile-convert to the bin_PROGRAMS, so it is installed when the lib
Chris@0 5949 is installed.
Chris@0 5950 Removed old programs wav32_aiff24 and sndfile2oct.
Chris@0 5951
Chris@0 5952 * man/sndfile-convert.1
Chris@0 5953 New man page.
Chris@0 5954
Chris@0 5955 * examples/sndfile-convert.c
Chris@0 5956 Added some gloss now that sndfile-convert.c is an installed program.
Chris@0 5957
Chris@0 5958 * src/sndfile.h.in src/sndfile.c src/common.h src/command.h
Chris@0 5959 Added command SFC_GET_FORMAT_INFO.
Chris@0 5960
Chris@0 5961 * tests/command_test.c
Chris@0 5962 Added tests form SFC_GET_FORMAT_INFO.
Chris@0 5963
Chris@0 5964 2002-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5965
Chris@0 5966 * src/sndfile.c
Chris@0 5967 In sf_format_check() return error if samplerate < 0.
Chris@0 5968
Chris@0 5969 2002-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5970
Chris@0 5971 * src/aiff.c
Chris@0 5972 Fixed bug in handling of COMM chunks with a 4 byte encoding byte but no
Chris@0 5973 encoding string.
Chris@0 5974
Chris@0 5975 2002-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5976
Chris@0 5977 * src/sndfile.c
Chris@0 5978 Fixed repeated word in an error message.
Chris@0 5979
Chris@0 5980 2002-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5981
Chris@0 5982 * doc/index.html
Chris@0 5983 Improved advertising in Features section.
Chris@0 5984
Chris@0 5985 2002-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5986
Chris@0 5987 * src/wav.c
Chris@0 5988 Added decoding of 'labl' chunks within 'LIST' chunks.
Chris@0 5989
Chris@0 5990 * src/common.h
Chris@0 5991 Added (experimental only) SF_FORMAT_OGG and SF_FORMAT_VORBIS and definition
Chris@0 5992 of ogg_open(). This is nowhere near working yet.
Chris@0 5993
Chris@0 5994 * src/sndfile.c
Chris@0 5995 Added detection of 'OggS' file marker and added call to ogg_open() to
Chris@0 5996 switch statement.
Chris@0 5997
Chris@0 5998 * src/ogg.c
Chris@0 5999 New file. Very early start of Ogg Vorbis support.
Chris@0 6000
Chris@0 6001 * src/wav.c
Chris@0 6002 Added handling of brain-damaged and broken Cooledit "32 bit 24.0 float
Chris@0 6003 type 1" files. These files are marked as being 24 bit WAVE_FORMAT_PCM with
Chris@0 6004 a block alignment of 4 times the numbers of channels but are in fact 32 bit
Chris@0 6005 floating point.
Chris@0 6006
Chris@0 6007 2002-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6008
Chris@0 6009 * configure.in
Chris@0 6010 Modified option --enable-experimental to set ENABLE_EXPERIMENTAL_CODE in
Chris@0 6011 config.h to either 0 or 1.
Chris@0 6012
Chris@0 6013 * src/sndfile.c
Chris@0 6014 Modify sf_command (SFC_GET_LIB_VERSION) to append "-exp" to the version
Chris@0 6015 string if experimental code has been enabled.
Chris@0 6016
Chris@0 6017 2002-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6018
Chris@0 6019 * src/Makefile.am
Chris@0 6020 Added -lm to libsndfile_la_LIBADD. This means that -lm is not longer needed
Chris@0 6021 in the link line when linking something to libsndfile.
Chris@0 6022
Chris@0 6023 * tests/Makefile.am examples/Makefile.am
Chris@0 6024 Removed -lm from all link lines.
Chris@0 6025
Chris@0 6026 * sndfile.pc.in
Chris@0 6027 Removed -lm from Libs line.
Chris@0 6028
Chris@0 6029 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6030
Chris@0 6031 * src/file_io.c
Chris@0 6032 Removed all perror() calls.
Chris@0 6033
Chris@0 6034 * src/nist.c
Chris@0 6035 Removed calls to exit() function.
Chris@0 6036 Added check to detect NIST files dammaged from Unix CR -> Win32 CRLF
Chris@0 6037 conversion process.
Chris@0 6038
Chris@0 6039 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6040
Chris@0 6041 * src/sndfile.h.in src/sndfile.c
Chris@0 6042 New function sf_strerror() which will eventually replace functions
Chris@0 6043 sf_perror() and sf_error_str().
Chris@0 6044 Function sf_error_number() has also been changed, but this was documented
Chris@0 6045 as being for testing only.
Chris@0 6046
Chris@0 6047 * doc/api.html
Chris@0 6048 Documented above changes.
Chris@0 6049
Chris@0 6050 * tests/*.c examples/*.c
Chris@0 6051 Changed to new error functions.
Chris@0 6052
Chris@0 6053 2002-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6054
Chris@0 6055 * configure.in
Chris@0 6056 Detect GCC version, and print a warning message about writeable strings
Chris@0 6057 it GCC major version number is less than 3.
Chris@0 6058
Chris@0 6059 2002-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6060
Chris@0 6061 * src/sndfile.h.in doc/api.html
Chris@0 6062 Documentation fixes.
Chris@0 6063
Chris@0 6064 2002-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6065
Chris@0 6066 * src/Version_script.in src/Makefile.am configure.in
Chris@0 6067 Use the version script to prevent the exporting of all non public symbols.
Chris@0 6068 This currently only works with Linux. Will test on Solaris as well.
Chris@0 6069
Chris@0 6070 * src/float_cast.h
Chris@0 6071 Added #ifndef to prevent the #warning directives killing the SGI MIPSpro
Chris@0 6072 compiler.
Chris@0 6073
Chris@0 6074 * src/au_g72x.c src/double64.c src/float32.c src/gsm610.c src/ima_adpcm.c
Chris@0 6075 src/ms_adpcm.c
Chris@0 6076 Fix benign compiler warnings arising from previously added compiler
Chris@0 6077 flags.
Chris@0 6078
Chris@0 6079 2002-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6080
Chris@0 6081 * src/sndfile.c
Chris@0 6082 Fixed a bug in sf_error_str() where errnum was used as the index instead
Chris@0 6083 of k. Found by Tim Hockin.
Chris@0 6084
Chris@0 6085 * examples/sndfile-play.c
Chris@0 6086 Fixed a compiler warning resulting from a variable shadowing a previously
Chris@0 6087 defined local.
Chris@0 6088
Chris@0 6089 2002-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6090
Chris@0 6091 * src/sndfile.h.in src/sndfile.c
Chris@0 6092 Added command SFC_SET_RAW_START_OFFSET.
Chris@0 6093
Chris@0 6094 * doc/command.html
Chris@0 6095 Document SFC_SET_RAW_START_OFFSET.
Chris@0 6096
Chris@0 6097 * tests/raw_test.c tests/Makefile.am
Chris@0 6098 Add new file for for testing SF_FORMAT_RAW specific functionality.
Chris@0 6099
Chris@0 6100 * tests/dwvw_test.c
Chris@0 6101 Updates.
Chris@0 6102
Chris@0 6103 2002-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6104
Chris@0 6105 * src/wav.c
Chris@0 6106 Modified reading of 'smpl' chunk to take account of the sampler data field.
Chris@0 6107
Chris@0 6108 * tests/utils.tpl tests/utils.h
Chris@0 6109 Added function print_test_name().
Chris@0 6110
Chris@0 6111 * tests/misc_test.c tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@0 6112 tests/pcm_test.tpl tests/command_test.tpl tests/floating_point_test.c
Chris@0 6113 Convert to use function print_test_name().
Chris@0 6114
Chris@0 6115 2002-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6116
Chris@0 6117 * doc/octave.html
Chris@0 6118 Added a link to some other Octave scripts for reading and writing sound
Chris@0 6119 files.
Chris@0 6120
Chris@0 6121 * src/paf.c
Chris@0 6122 Change type of dummy data field to int. This should fix a benign compiler
Chris@0 6123 warning on some CPUs.
Chris@0 6124 Removed superfluous casts resulting from the above change.
Chris@0 6125
Chris@0 6126 * src/rx2.c
Chris@0 6127 More hacking.
Chris@0 6128
Chris@0 6129 2002-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6130
Chris@0 6131 * src/mat5.c src/common.c
Chris@0 6132 Changed usage of snprintf() to LSF_SNPRINTF().
Chris@0 6133
Chris@0 6134 * Win32/Makefile.msvc
Chris@0 6135 Updated to include new files and add new tests.
Chris@0 6136
Chris@0 6137 * Win32/config.h Win32/sndfile.h
Chris@0 6138 Updated.
Chris@0 6139
Chris@0 6140 * doc/api.html
Chris@0 6141 Added note about the possibility of "missing" features actually being
Chris@0 6142 implemented as an sf_command().
Chris@0 6143
Chris@0 6144 2002-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6145
Chris@0 6146 * tests/misc_test.c
Chris@0 6147 Added previously missing update_header_test and zero_data_tests for PAF,
Chris@0 6148 MAT4 and MAT5 formats.
Chris@0 6149
Chris@0 6150 * src/paf.c src/mat4.c src/mat5.c
Chris@0 6151 Fixed bugs uncovered by new tests above.
Chris@0 6152
Chris@0 6153 * src/mat5.c
Chris@0 6154 Generalised parsing of name fields of MAT5 files.
Chris@0 6155
Chris@0 6156 * src/mat5.c src/sndfile.c
Chris@0 6157 Added support for unsigned 8 bit PCM MAT5 files.
Chris@0 6158
Chris@0 6159 * tests/write_read_test.tpl
Chris@0 6160 Added test for unsigned 8 bit PCM MAT5 files.
Chris@0 6161
Chris@0 6162 * doc/index.html
Chris@0 6163 Added unsigned 8 bit PCM MAT5 to capabilities matrix.
Chris@0 6164
Chris@0 6165 2002-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6166
Chris@0 6167 * test/update_header_test.c tests/misc_test.c
Chris@0 6168 Renamed update_header_test.c to misc_test.c.
Chris@0 6169 Added zero_data_test() to check for case where file is opened for write and
Chris@0 6170 closed immediately. The resulting file can be left in a state where
Chris@0 6171 libsndfile cannot open it. Problem reported by Werner Schweer, the author
Chris@0 6172 of Muse.
Chris@0 6173
Chris@0 6174 * src/aiff.c
Chris@0 6175 Removed superfluous cast.
Chris@0 6176
Chris@0 6177 * src/wav.c src/svx.c
Chris@0 6178 Fixed case of file generated with no data.
Chris@0 6179 Removed superfluous cast.
Chris@0 6180
Chris@0 6181 * src/sndfile.c
Chris@0 6182 Fixed error on IA64 platform caused by incorrect termination of
Chris@0 6183 SndfileErrors struct array. This problem was found in the Debian buildd
Chris@0 6184 logs (http://buildd.debian.org/).
Chris@0 6185
Chris@0 6186 * configure.in
Chris@0 6187 Added Octave directory.
Chris@0 6188
Chris@0 6189 * Octave/Makefile.ma
Chris@0 6190 New Makfile.am for Octave directory.
Chris@0 6191
Chris@0 6192 * Octave/sndfile_load.m Octave/sndfile_save.m Octave/sndfile_play.m
Chris@0 6193 New files for working with Octave.
Chris@0 6194
Chris@0 6195 * doc/octave.html
Chris@0 6196 Document explaining the use of the above three Octave scripts.
Chris@0 6197
Chris@0 6198 2002-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6199
Chris@0 6200 * src/sndfile.c
Chris@0 6201 Fixed bug in RDWR mode.
Chris@0 6202
Chris@0 6203 2002-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6204
Chris@0 6205 * src/common.c
Chris@0 6206 Fixed psf_get_date_str() for systems which don't have gmtime_r() or
Chris@0 6207 gmtime().
Chris@0 6208
Chris@0 6209 * src/file_io.c
Chris@0 6210 Added #include <io.h> for Win32. Reported by Koen Tanghe.
Chris@0 6211
Chris@0 6212 2002-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6213
Chris@0 6214 * src/common.c
Chris@0 6215 Added 'S' format specifier for psf_binheader_writef() which writes a C
Chris@0 6216 string, including single null terminator to the header.
Chris@0 6217 Added 'j' format specifier to allow jumping forwards or backwards in the
Chris@0 6218 header.
Chris@0 6219 Added function psf_get_date_str().
Chris@0 6220
Chris@0 6221 * src/mat5.c
Chris@0 6222 Complete read and write support.
Chris@0 6223
Chris@0 6224 * doc/index.html
Chris@0 6225 Added entries for MAT4 and MAT5 in capabilities matrix.
Chris@0 6226
Chris@0 6227 2002-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6228
Chris@0 6229 * src/mat4.c
Chris@0 6230 Completed read and write support.
Chris@0 6231
Chris@0 6232 * src/common.h src/sndfile.c
Chris@0 6233 Added MAT4 and MAT5 specific error messages.
Chris@0 6234
Chris@0 6235 * tests/write_read_test.tpl tests/Makefile.am
Chris@0 6236 Added tests for MAT4 and MAT5 files.
Chris@0 6237
Chris@0 6238 * tests/stdio_test.c tests/stdout_test.c tests/stdin_test.c
Chris@0 6239 Added tests for MAT4 and MAT5 files.
Chris@0 6240
Chris@0 6241 2002-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6242
Chris@0 6243 * src/command.c
Chris@0 6244 Added elements for SF_FORMAT_MAT4 and SF_FORMAT_MAT5 to major_formats
Chris@0 6245 array.
Chris@0 6246
Chris@0 6247 * examples/sfconvert.c
Chris@0 6248 Added mat4 and mat5 output targets.
Chris@0 6249
Chris@0 6250 2002-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6251
Chris@0 6252 * src/sndfile.c
Chris@0 6253 Added check to prevent errors openning read only formats for read/write.
Chris@0 6254
Chris@0 6255 * src/interleave.c
Chris@0 6256 New file for interleaving non-interleaved data. Non-interleaved data is
Chris@0 6257 only supported on read.
Chris@0 6258
Chris@0 6259 * src/Makefile.am
Chris@0 6260 Added src/interleave.c to build.
Chris@0 6261
Chris@0 6262 2002-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6263
Chris@0 6264 * src/double64.c src/common.h
Chris@0 6265 Added double64_be_read(), double64_le_read(), double64_be_write() and
Chris@0 6266 double64_le_write() which replace double64_read() and double64_write().
Chris@0 6267
Chris@0 6268 * src/common.c
Chris@0 6269 Cleanup of psf_binheader_readf() and add ability to read big and little
Chris@0 6270 endian doubles (required by mat4.c and mat5.c).
Chris@0 6271 Add ability for psf_binheader_writef() to write doubles to sound file
Chris@0 6272 headers.
Chris@0 6273
Chris@0 6274 2002-09-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6275
Chris@0 6276 * src/mat5.c
Chris@0 6277 New file for reading Matlab (tm) version 5 data files. This is also the
Chris@0 6278 native binary file format for version 2.1.X of GNU Octave which will be
Chris@0 6279 used for testing.
Chris@0 6280 Not complete yet.
Chris@0 6281
Chris@0 6282 * src/mat4.c
Chris@0 6283 New file for reading Matlab (tm) version 4.2 data files. This is also the
Chris@0 6284 native binary file format for version 2.0.X of GNU Octave which will be
Chris@0 6285 used for testing.
Chris@0 6286 Not complete yet.
Chris@0 6287
Chris@0 6288 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
Chris@0 6289 Mods to add Matlab files.
Chris@0 6290
Chris@0 6291 * src/common.[ch]
Chris@0 6292 Added readf_endian field to SF_PRIVATE struct allowing endianness to
Chris@0 6293 remembered across calls to sf_binheader_readf().
Chris@0 6294 Fixed bug in width_specifier behaviour for printing hex values.
Chris@0 6295
Chris@0 6296 2002-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6297
Chris@0 6298 * src/file_io.c
Chris@0 6299 Check return value of close() call in psf_fclose().
Chris@0 6300
Chris@0 6301 2002-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6302
Chris@0 6303 * src/ms_adpcm.c
Chris@0 6304 Commented out some code where 0x10000 was being subtracted from a short
Chris@0 6305 and the result assigned to a short again. Andrew Zaja found this.
Chris@0 6306
Chris@0 6307 2002-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6308
Chris@0 6309 * doc/command.html
Chris@0 6310 Fixed typo found by Tommi Ilmonen.
Chris@0 6311
Chris@0 6312 * src/ima_adpcm.c
Chris@0 6313 Changed type of diff from short to int to prevent errors which can occur
Chris@0 6314 during very rare circumstances. Thanks to FUWAFUWA.
Chris@0 6315
Chris@0 6316 2002-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6317
Chris@0 6318 * tests/floating_point_test.c
Chris@0 6319 Disable testing on machines without lrintf().
Chris@0 6320
Chris@0 6321 * Win32/Makefile.msvc
Chris@0 6322 Added dwd.c and wve.c to build.
Chris@0 6323
Chris@0 6324 * configure.in
Chris@0 6325 Bumped version to 1.0.0.
Chris@0 6326
Chris@0 6327 2002-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6328
Chris@0 6329 * src/file_io.c
Chris@0 6330 Add a #include for Mac OS 9. Thanks to Stephane Letz.
Chris@0 6331
Chris@0 6332 * src/wav.c
Chris@0 6333 Changed an snprintf to LSF_SNPRINTF.
Chris@0 6334
Chris@0 6335 * doc/Makefile.am
Chris@0 6336 Added version-1.html.
Chris@0 6337
Chris@0 6338 2002-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6339
Chris@0 6340 * configure.in
Chris@0 6341 Bumped version to 1.0.rc6.
Chris@0 6342
Chris@0 6343 * src/*.c
Chris@0 6344 Modified scaling of normalised floats and doubles to integers. Until now
Chris@0 6345 this has been done by multiplying by 0x8000 for short output, 0x80000000
Chris@0 6346 for 32 bit ints and so on. Unfortunately this can cause an overflow and
Chris@0 6347 wrap around in the target value. All thes values have therefore been
Chris@0 6348 reduced to 0x7FFF, 0x7FFFFFFF and so on. The conversion from ints to
Chris@0 6349 normalised floats and doubles remains unchanged. This does mean that for
Chris@0 6350 repeated conversions normalised float -> pcm16 -> normalised float would
Chris@0 6351 result in a decrease in amplitude of 0x7FFF/0x8000 on every round trip.
Chris@0 6352 This is undesirable but less undesireable than the wrap around I am trying
Chris@0 6353 to avoid.
Chris@0 6354
Chris@0 6355 * tests/floating_point_test.c
Chris@0 6356 Removed file hash checking because new float scaling procedure introduced
Chris@0 6357 above prevented the ability to crate a has on both x86 and PowerPC systems.
Chris@0 6358
Chris@0 6359 2002-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6360
Chris@0 6361 * src/txw.c
Chris@0 6362 Completed reading of TXW files. Seek doesn't work yet.
Chris@0 6363
Chris@0 6364 * src/file_io.c
Chris@0 6365 Added a MacOS 9 replacement for ftruncate().
Chris@0 6366
Chris@0 6367 * MacOS/sndfile.h
Chris@0 6368 Added MacOS 9 header file. This should be copied into src/ to compile
Chris@0 6369 libsndfile for MacOS9.
Chris@0 6370
Chris@0 6371 2002-08-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6372
Chris@0 6373 * src/sndfile.c
Chris@0 6374 Fixed commands SF_SET_NORM_DOUBLE and SFC_SET_NORM_FLOAT to return their
Chris@0 6375 values after being set. Reported by Jussi Laako.
Chris@0 6376
Chris@0 6377 * configure.in
Chris@0 6378 If autogen is not found, touch all .c and .h files in tests/.
Chris@0 6379
Chris@0 6380 * src/common.c
Chris@0 6381 Added format width specifier to psf_log_printf() for %u, %d, %D and %X.
Chris@0 6382
Chris@0 6383 * src/dwd.c
Chris@0 6384 Completed implementation of read only access to these files.
Chris@0 6385
Chris@0 6386 * src/common.h src/*.c src/pcm.c
Chris@0 6387 Removed redundant field chars from SF_PRIVATE struct and modified
Chris@0 6388 pcm_init() to do without it.
Chris@0 6389
Chris@0 6390 2002-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6391
Chris@0 6392 * src/wve.c
Chris@0 6393 New file implementing read of Psion Alaw files. This will be a read only
Chris@0 6394 format. Implementation complete.
Chris@0 6395
Chris@0 6396 * src/dwd/c
Chris@0 6397 Started implementation of DiamondWare Digitized files. Also read only, not
Chris@0 6398 complete.
Chris@0 6399
Chris@0 6400 * src/wav.c
Chris@0 6401 Add parsing of 'smpl' chunk.
Chris@0 6402
Chris@0 6403 * src/paf.c
Chris@0 6404 Fixed reading on un-normalized doubles and floats from 24 bit PAF files.
Chris@0 6405 This brings it into line with the reading of 8 bit files into
Chris@0 6406 un-normalized doubles which returns values in the range [-128, 127].
Chris@0 6407
Chris@0 6408 * src/common.c
Chris@0 6409 Modified psf_log_printf() to accept the %% conversion specifier to allow
Chris@0 6410 printing of a single '%'.
Chris@0 6411
Chris@0 6412 * src/sds.c
Chris@0 6413 Read only of 16 bit samples is working. Need to build a test harness for
Chris@0 6414 this and other read only formats.
Chris@0 6415
Chris@0 6416 2002-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6417
Chris@0 6418 * configure.in
Chris@0 6419 Added --enable-experimental configure option.
Chris@0 6420 Removed pkg-config message at the end of the configure process.
Chris@0 6421
Chris@0 6422 * src/sds.c src/txw.c src/rx2.c src/sd2.c
Chris@0 6423 Moved all the code in these files inside #if ENABLE_EXPERIMENTAL_CODE
Chris@0 6424 blocks and added new *_open() function for the case where experimental is
Chris@0 6425 not enabled. These new functions just return SFE_UNIMPLMENTED.
Chris@0 6426
Chris@0 6427 * Win32/sndfile.h src/sndfile.h.in src/common.h
Chris@0 6428 Removed un-necessary #pragma pack commands.
Chris@0 6429
Chris@0 6430 * src/file_io.c
Chris@0 6431 Implemented psf_ftruncate() and much other hacking for Win32.
Chris@0 6432
Chris@0 6433 * Win32/Makefile.msvc
Chris@0 6434 Updated.
Chris@0 6435
Chris@0 6436 * doc/win32.html
Chris@0 6437 Updated to include the copying of the sndfile.h file from the Win32/
Chris@0 6438 directory to the src/ directory.
Chris@0 6439
Chris@0 6440 * Make.bat
Chris@0 6441 Batch file to make compiling on Wi32 a little easier. Implements "make" and
Chris@0 6442 "make check".
Chris@0 6443
Chris@0 6444 2002-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6445
Chris@0 6446 * src/file_io.c
Chris@0 6447 Add place holder for ftruncate() on Win32 which doesn't have ftruncate().
Chris@0 6448 This will need to be fixed later.
Chris@0 6449
Chris@0 6450 * src/sndfile.h.in
Chris@0 6451 New file (copy of sndfile.h) with sets up @TYPEOF_SF_COUNT_T@ which will be
Chris@0 6452 replaced by the correct type during configure.
Chris@0 6453
Chris@0 6454 * configure.in
Chris@0 6455 Modified to find a good type for TYPEOF_SF_COUNT_T.
Chris@0 6456
Chris@0 6457 * src/aiff.c
Chris@0 6458 Fixed a bug when reading malformed headers.
Chris@0 6459
Chris@0 6460 * src/common.c
Chris@0 6461 Set read values to zero before performing read.
Chris@0 6462
Chris@0 6463 2002-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6464
Chris@0 6465 * doc/command.html
Chris@0 6466 Fixed some HTML tags which were not allowing jumps to links within the
Chris@0 6467 page.
Chris@0 6468
Chris@0 6469 * src/sds.c
Chris@0 6470 Massive hacking on this.
Chris@0 6471
Chris@0 6472 * src/wav.c
Chris@0 6473 Added recognition of 'clm ' tag.
Chris@0 6474
Chris@0 6475 2002-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6476
Chris@0 6477 * doc/index.html
Chris@0 6478 Added beginning of a capabilities list beyond simple file formats which
Chris@0 6479 can be read/written.
Chris@0 6480
Chris@0 6481 * src/aiff.c
Chris@0 6482 Added parsing of INST and MARK chunks of AIFF files. At the moment this
Chris@0 6483 data is simply recorded in the log buffer. Later it will be possible to
Chris@0 6484 read this data from an application using sf_command().
Chris@0 6485
Chris@0 6486 * src/wav.c
Chris@0 6487 Added parsing of 'cue ' chunk which contains loop information in WAV files.
Chris@0 6488
Chris@0 6489 * exampes/sndfile-info.c
Chris@0 6490 Changed reporting of Samples to Frames.
Chris@0 6491
Chris@0 6492 * src/wav.c src/w64.c src/aiff.c src/wav_w64.h
Chris@0 6493 Moved from a samples to a frames nomenclature to avoid confusion.
Chris@0 6494
Chris@0 6495 * doc/FAQ.html
Chris@0 6496 What's the best format for storing temporary files?
Chris@0 6497
Chris@0 6498 * src/sds.c
Chris@0 6499 New file for reading/writing Midi Sample Dump Standard files.
Chris@0 6500
Chris@0 6501 * src/Makefile.am src/sndfile.c src/common.[ch]
Chris@0 6502 Added hooks for sds.c.
Chris@0 6503
Chris@0 6504 * examples/sndfile-info.c
Chris@0 6505 Changed from using sf_perror() to using sf_error_str().
Chris@0 6506
Chris@0 6507 2002-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6508
Chris@0 6509 * doc/api.html
Chris@0 6510 Added explanation of mode parameter for sf_open().
Chris@0 6511 Added explanation of usage of SFM_* values in sf_seek().
Chris@0 6512
Chris@0 6513 * src/sndfile.[ch] src/command.c src/file_io.c src/common.h
Chris@0 6514 Implemented SFC_FILE_TRUNCATE to allow a file to be truncated. File
Chris@0 6515 truncation was suggested by James McCartney.
Chris@0 6516
Chris@0 6517 * src/command.html
Chris@0 6518 Documented SFC_FILE_TRUNCATE.
Chris@0 6519
Chris@0 6520 * tests/command_test.c
Chris@0 6521 Add tests for SFC_FILE_TRUNCATE.
Chris@0 6522
Chris@0 6523 * src/sndfile.c
Chris@0 6524 Added a thrid parameter to the VALIDATE_SNDFILE_AND_ASSIGN_PSF macro to
Chris@0 6525 make resetting the error number optional. All uses of the macro other than
Chris@0 6526 in error reporting functions were changed to reset the error number.
Chris@0 6527
Chris@0 6528 * src/pcm.c
Chris@0 6529 Fixed a bug were sf_read_* was logging an SFE_SHORT_READ even when no error
Chris@0 6530 occurred.
Chris@0 6531
Chris@0 6532 * tests/write_read_test.tpl
Chris@0 6533 Added tests of internal error state.
Chris@0 6534
Chris@0 6535 2002-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6536
Chris@0 6537 * src/GSM610/private.h src/GSM610/*.c src/GSM610/Makefile.am
Chris@0 6538 Renamed private.h to gsm610_priv.h to prevent clash with other headers
Chris@0 6539 named private.h in other directories. (Probably only a problem on MacOS 9).
Chris@0 6540
Chris@0 6541 * src/G72x/private.h src/G72x/*.c src/G72x/Makefile.am
Chris@0 6542 Renamed private.h to g72x_priv.h to prevent clash with other headers
Chris@0 6543 named private.h in other directories. (Probably only a problem on MacOS 9).
Chris@0 6544
Chris@0 6545 * MacOS/config.h
Chris@0 6546 Changed values of HAVE_LRINT and HAVE_LRINTF to force use of code in
Chris@0 6547 float_cash.h.
Chris@0 6548
Chris@0 6549 * src/sndfile.h
Chris@0 6550 Changes the name of samples field of the SF_INFO to frames. The old name
Chris@0 6551 had caused too much confusion and it simply had to be changed. There will
Chris@0 6552 be at least one more pre-release.
Chris@0 6553
Chris@0 6554 2002-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6555
Chris@0 6556 * doc/index.html
Chris@0 6557 Updated formats matrix to include RAW (header-less) GSM 6.10.
Chris@0 6558 Fix specificaltion of table and spelling mistakes.
Chris@0 6559
Chris@0 6560 * src/sndfile.c src/command.c
Chris@0 6561 Fixed bug in SFC_CALC_MAX_SIGNAL family and psf_calc_signal_max ().
Chris@0 6562
Chris@0 6563 * tests/command.c
Chris@0 6564 Removed cruft.
Chris@0 6565 Added test for SFC_CALC_MAX_SIGNAL and SFC_CALC_NORM_MAX_SIGNAL.
Chris@0 6566
Chris@0 6567 * configure.in
Chris@0 6568 Update version to 1.0.0rc5.
Chris@0 6569
Chris@0 6570 * sfendian.h
Chris@0 6571 Removed inclusion of un-necessary header.
Chris@0 6572
Chris@0 6573 2002-08-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6574
Chris@0 6575 * src/aiff.c
Chris@0 6576 Minor fixes of info written to log buffer.
Chris@0 6577
Chris@0 6578 * src/float_cast.h
Chris@0 6579 Add definition of HAVE_LRINT_REPLACEMENT.
Chris@0 6580
Chris@0 6581 * tests/floating_point_test.c
Chris@0 6582 Fix file hash check on systems without lrint/lrintf.
Chris@0 6583
Chris@0 6584 * tests/dft_cmp.c
Chris@0 6585 Limit SNR to less than -500.0dB.
Chris@0 6586
Chris@0 6587 * examples/sndfile2oct.c
Chris@0 6588 Fixed compiler warnings.
Chris@0 6589
Chris@0 6590 * doc/api.html
Chris@0 6591 Fixed error where last parameter of sf_error_str() was sf_count_t instead
Chris@0 6592 of size_t.
Chris@0 6593
Chris@0 6594 2002-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6595
Chris@0 6596 * doc/FAQ.html
Chris@0 6597 Why doesn't libsndfile do interleaving/de-interleaving.
Chris@0 6598
Chris@0 6599 * tests/pcm_test.tpl
Chris@0 6600 On Win32 do not perform hash check on files containing doubles.
Chris@0 6601
Chris@0 6602 2002-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6603
Chris@0 6604 * src/common.h
Chris@0 6605 Defined SF_COUNT_MAX_POSITIVE() macro, a portable way of setting variables
Chris@0 6606 of type sf_count_t to their maximum positive value.
Chris@0 6607
Chris@0 6608 * src/dwvw.c src/w64.c
Chris@0 6609 Used SF_COUNT_MAX_POSITIVE().
Chris@0 6610
Chris@0 6611 2002-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6612
Chris@0 6613 * src/paf.c
Chris@0 6614 Fixed bug in reading/writing of 24 bit PCM PAF files on big endian systems.
Chris@0 6615
Chris@0 6616 * tests/floating_point_tests.c
Chris@0 6617 Fixed hash values for 24 bit PCM PAF files.
Chris@0 6618 Disabled file has check if lrintf() function is not available and added
Chris@0 6619 warning.
Chris@0 6620 Decreased level of signal from a peak of 1.0 to a value of 0.95 to prevent
Chris@0 6621 problems on platforms without lrintf() ie Solaris.
Chris@0 6622
Chris@0 6623 2002-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6624
Chris@0 6625 * src/wav.c
Chris@0 6626 Fixed a problem with two different kinds of mal-formed WAV file header. The
Chris@0 6627 first had the 'fact' chunk before the 'fmt ' chunk, the other had an
Chris@0 6628 incomplete 'INFO' chunk at the end of the file.
Chris@0 6629
Chris@0 6630 * src/w64.c
Chris@0 6631 Added fix to allow differentiation between W64 files and ACID files.
Chris@0 6632
Chris@0 6633 * src/au_g72x.c src/common.h src/sndfile.c
Chris@0 6634 Added error for G72x encoded files with more than one channel.
Chris@0 6635
Chris@0 6636 * tests/pcm_test.tpl tests/utils.tpl
Chris@0 6637 Moved function check_file_hash_or_die() to utils.tpl. Function was then
Chris@0 6638 modified to calculate the has of the whole file.
Chris@0 6639
Chris@0 6640 * src/wav.c
Chris@0 6641 Fixed problem writing the 'fact' chunk on big endian systems.
Chris@0 6642
Chris@0 6643 * tests/sfconvert.c
Chris@0 6644 Fixed bug where .paf files were being written as Sphere NIST.
Chris@0 6645
Chris@0 6646 2002-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6647
Chris@0 6648 * src/voc.c
Chris@0 6649 Fix for reading headers generated using SFC_UPDATE_HEADER_NOW.
Chris@0 6650
Chris@0 6651 * doc/command.html
Chris@0 6652 Add docs for SFC_UPDATE_HEADER_NOW and SFC_SET_UPDATE_HEADER_AUTO.
Chris@0 6653
Chris@0 6654 2002-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6655
Chris@0 6656 * man/sndfile-info.1 man/sndfile-play.1
Chris@0 6657 Added manpages supplied by Joshua Haberman the Debian maintainer for
Chris@0 6658 libsndfile. Additional tweaks by me.
Chris@0 6659
Chris@0 6660 * configure.in man/Makefile.am
Chris@0 6661 Hooked manpages into autoconf/automake system.
Chris@0 6662
Chris@0 6663 * src/sndfile.c
Chris@0 6664 Added hooks for SFC_SET_UPDATE_HEADER_AUTO.
Chris@0 6665
Chris@0 6666 * tests/update_header_test.c
Chris@0 6667 Improved rigor of testing.
Chris@0 6668
Chris@0 6669 * src/*.c
Chris@0 6670 Fixed problem with *_write_header() functions.
Chris@0 6671
Chris@0 6672 2002-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6673
Chris@0 6674 * doc/*.html
Chris@0 6675 Updates to documentation to fix problems found by wdg-html-validator.
Chris@0 6676
Chris@0 6677 * src/common.h src/command.c
Chris@0 6678 Added normalize parameter to calls to psf_calc_signal_max() and
Chris@0 6679 psf_calc_max_all_channels().
Chris@0 6680
Chris@0 6681 * src/sndfile.c
Chris@0 6682 Added handling for commands SFC_CALC_NORM_SIGNAL_MAX and
Chris@0 6683 SFC_CALC_NORM_MAX_ALL_CHANNELS.
Chris@0 6684
Chris@0 6685 * doc/command.html
Chris@0 6686 Added entry for SFC_CALC_NORM_SIGNAL_MAX and SFC_CALC_NORM_MAX_ALL_CHANNELS.
Chris@0 6687
Chris@0 6688 2002-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6689
Chris@0 6690 * examples/sndfile-play.c Win32/Makefile.msvc
Chris@0 6691 Get sndfile-play program working on Win32. The Win32 PCM sample I/O API
Chris@0 6692 sucks. The sndfile-play program now works on Linux, MacOSX, Solaris and
Chris@0 6693 Win32.
Chris@0 6694
Chris@0 6695 2002-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6696
Chris@0 6697 * doc/FAQ.html
Chris@0 6698 New file for frequently asked questsions.
Chris@0 6699
Chris@0 6700 2002-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6701
Chris@0 6702 * doc/api.html
Chris@0 6703 Documentation fixes.
Chris@0 6704
Chris@0 6705 * src/au.[ch] src/au_g72x.c src/G72x/g72x.h
Chris@0 6706 Add support of 40kbps G723 ADPCM encoding.
Chris@0 6707
Chris@0 6708 * tests/lossy_comp_test.c tests/floating_point_test.c
Chris@0 6709 Add tests for 40kbps G723 ADPCM encoding.
Chris@0 6710
Chris@0 6711 * doc/index.html
Chris@0 6712 Update support matrix.
Chris@0 6713
Chris@0 6714 2002-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6715
Chris@0 6716 * doc/command.html
Chris@0 6717 Documented SFC_GET_SIMPLE_FORMAT_COUNT, SFC_GET_SIMPLE_FORMAT,
Chris@0 6718 SFC_GET_FORMAT_* and SFC_SET_ADD_PEAK_CHUNK.
Chris@0 6719
Chris@0 6720 * src/sndfile.c src/pcm.c
Chris@0 6721 Add ability to turn on and off the addition of a PEAK chunk for floating
Chris@0 6722 point WAV and AIFF files.
Chris@0 6723
Chris@0 6724 * src/sndfile.[ch] src/common.h src/command.c
Chris@0 6725 Added sf_command SFC_CALC_MAX_ALL_CHANNELS. Implemented by Maurizio Umberto
Chris@0 6726 Puxeddu.
Chris@0 6727
Chris@0 6728 * doc/command.html
Chris@0 6729 Docs for SFC_CALC_MAX_ALL_CHANNELS (assisted by Maurizio Umberto Puxeddu).
Chris@0 6730
Chris@0 6731 2002-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6732
Chris@0 6733 * src/sndfile.c src/gsm610.c
Chris@0 6734 Finalised support for GSM 6.10 AIFF files and added support for GSM 6.10
Chris@0 6735 encoded RAW (header-less) files.
Chris@0 6736
Chris@0 6737 * src/wav.c
Chris@0 6738 Add support for IBM_FORMAT_MULAW and IBM_FORMAT_ALAW encodings.
Chris@0 6739
Chris@0 6740 * src/api.html
Chris@0 6741 Fixed more documentation bugs.
Chris@0 6742
Chris@0 6743 2002-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6744
Chris@0 6745 * src/sndfile.h src/common.h
Chris@0 6746 Moved some yet-to-be-implelmented values for SF_FORMAT_* from the public
Chris@0 6747 header file sndfile.h to the private header file common.h to avoid
Chris@0 6748 confusion about the actual capabilities of libsndfile.
Chris@0 6749
Chris@0 6750 2002-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6751
Chris@0 6752 * src/aiff.c src/wav.c
Chris@0 6753 Fixed file parsing for WAV and AIFF files containing non-audio data after
Chris@0 6754 the data chunk.
Chris@0 6755
Chris@0 6756 * src/aiff.c src/sndfile.c
Chris@0 6757 Add support for GSM 6.10 encoded AIFF files.
Chris@0 6758
Chris@0 6759 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 6760 Add tests for GSM 6.10 encoded AIFF files.
Chris@0 6761
Chris@0 6762 * src/*.c
Chris@0 6763 Fix compiler warnings.
Chris@0 6764
Chris@0 6765 2002-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6766
Chris@0 6767 * tests/command_test.c
Chris@0 6768 For SFC_SET_NORM_* tests, change the file format from SF_FORMAT_WAV to
Chris@0 6769 SF_FORMAT_RAW.
Chris@0 6770
Chris@0 6771 * src/sndfile.c
Chris@0 6772 Added sf_command(SFC_TEST_ADD_TRAILING_DATA) to allow testing of reading
Chris@0 6773 from AIFF and WAV files with non-audio data after the audio chunk.
Chris@0 6774
Chris@0 6775 * src/common.h
Chris@0 6776 Add test commands SFC_TEST_WAV_ADD_INFO_CHUNK and
Chris@0 6777 SFC_TEST_AIFF_ADD_INST_CHUNK. When these commands are working, they will be
Chris@0 6778 moved to src/sndfile.h
Chris@0 6779
Chris@0 6780 * src/aiff.c src/wav.c
Chris@0 6781 Begin implementation of XXXX_command() hook for sf_command().
Chris@0 6782
Chris@0 6783 * tests/write_read_test.tpl
Chris@0 6784 Added sf_command (SFC_TEST_ADD_TRAILING_DATA) to ensure above new code was
Chris@0 6785 working.
Chris@0 6786
Chris@0 6787 2002-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6788
Chris@0 6789 * tests/update_header_test.c
Chris@0 6790 Allow read sample count == write sample count - 1 to fix problems with VOC
Chris@0 6791 files.
Chris@0 6792
Chris@0 6793 * tests/write_read_test.tpl tests/pcm_test.tpl
Chris@0 6794 Fixed some problems in the test suite discovered by using Valgrind.
Chris@0 6795
Chris@0 6796 2002-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6797
Chris@0 6798 * tests/utils.[ch] tests/*.c
Chris@0 6799 Renamed check_log_buffer() to check_log_buffer_or_die().
Chris@0 6800
Chris@0 6801 * src/sndfile.c
Chris@0 6802 SFC_UPDATE_HEADER_NOW and SFC_SETUPDATE_HEADER_AUTO almost finished. Works
Chris@0 6803 for all file formats other than VOC.
Chris@0 6804
Chris@0 6805 2002-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6806
Chris@0 6807 * src/sndfile.[ch] src/common.h
Chris@0 6808 Started adding functionality to allow the file header to be updated before
Chris@0 6809 the file is closed on files open for SFM_WRITE. This was requested by
Chris@0 6810 Maurizio Umberto Puxeddu who is using libsndfile for file I/O in iCSound.
Chris@0 6811
Chris@0 6812 * tests/update_header_test.c
Chris@0 6813 New test program to test that the above functionality is working correctly.
Chris@0 6814
Chris@0 6815 * tests/peak_chunk_test.c tests/floating_point_test.c
Chris@0 6816 Cleanups.
Chris@0 6817
Chris@0 6818 2002-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6819
Chris@0 6820 * src/sfendian.[ch]
Chris@0 6821 Changed length count parameters for all endswap_XXX() functions from
Chris@0 6822 sf_count_t (which can be 64 bit even on 32 bit architectures) to int. These
Chris@0 6823 functions are only called frin inside the library, are always called with
Chris@0 6824 integer parameters and doing the actual calculation on 64 bit values is
Chris@0 6825 slow in comparision to doing it on ints.
Chris@0 6826
Chris@0 6827 * examples/sndfile-play.c
Chris@0 6828 More playback hacking for Win32.
Chris@0 6829
Chris@0 6830 2002-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6831
Chris@0 6832 * src/common.c
Chris@0 6833 In psf_log_printf(), changed %D format conversion specifier to %M (marker) and
Chris@0 6834 added %D specifier for printing the sf_count_t type.
Chris@0 6835
Chris@0 6836 * src/*.c
Chris@0 6837 Changed all usage of psf_log_printf() with %D format conversion specifiers
Chris@0 6838 to use %M conversion instead.
Chris@0 6839
Chris@0 6840 * tests/pcm_test.tpl tests/pcm_test.def
Chris@0 6841 New files to autogen pcm_test.c.
Chris@0 6842
Chris@0 6843 * src/pcm.c
Chris@0 6844 Fixed bug in scaling floats and doubles to 24 bit PCM and vice versa.
Chris@0 6845
Chris@0 6846 2002-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6847
Chris@0 6848 * configure.in
Chris@0 6849 Fix setup of $ac_cv_sys_largefile_CFLAGS so that sndfile.pc gets valid
Chris@0 6850 values for CFLAGS.
Chris@0 6851
Chris@0 6852 * examples/sndfile-play.c
Chris@0 6853 Start adding playback support for Win32.
Chris@0 6854
Chris@0 6855 2002-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6856
Chris@0 6857 * src/*.c
Chris@0 6858 Worked to removed compiler warnings.
Chris@0 6859 Extensive refactoring.
Chris@0 6860
Chris@0 6861 * src/common.[ch]
Chris@0 6862 Added function psf_memset() which works like the standard C function memset
Chris@0 6863 but takes and sf_count_t as the length parameter.
Chris@0 6864
Chris@0 6865 * src/sndfile.c
Chris@0 6866 Replaced calls to memset(0 with calls to psf_memset() as required.
Chris@0 6867
Chris@0 6868 2002-07-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6869
Chris@0 6870 * src/sndfile.c
Chris@0 6871 Added "libsndfile : " to the start of all error messages. This was suggested
Chris@0 6872 by Conrad Parker author of Sweep ( http://sweep.sourceforge.net/ ).
Chris@0 6873
Chris@0 6874 * src/sfendian.[ch]
Chris@0 6875 Added endswap_XXXX_copy() functions.
Chris@0 6876
Chris@0 6877 * src/pcm.c src/float32.c src/double64.c
Chris@0 6878 Use endswap_XXXX_copy() functions and removed dead code.
Chris@0 6879 Cleanups and optimisations.
Chris@0 6880
Chris@0 6881 2002-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6882
Chris@0 6883 * src/sndfile.c src/sndfile.h
Chris@0 6884 Gave values to all the SFC_* enum values to allow better control of the
Chris@0 6885 interface as commands are added and removed.
Chris@0 6886 Added new command SFC_SET_ADD_PEAK_CHUNK.
Chris@0 6887
Chris@0 6888 * src/wav.c src/aiff.c
Chris@0 6889 Modified wav_write_header and aiff_write_header to make addition of a PEAK
Chris@0 6890 chunk optional, even on floating point files.
Chris@0 6891
Chris@0 6892 * tests/benchmark.tpl
Chris@0 6893 Added call to sf_command(SFC_SET_ADD_PEAK_CHUNK) to turn off addition of a
Chris@0 6894 PEAK chunk for the benchmark where we are trying to miximize speed.
Chris@0 6895
Chris@0 6896 * src.pcm.c
Chris@0 6897 Changed tribyte typedef to something more sensible.
Chris@0 6898 Further conversion speed ups.
Chris@0 6899
Chris@0 6900 2002-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6901
Chris@0 6902 * src/command.c
Chris@0 6903 In major_formats rename "Sphere NIST" to "NIST Sphere".
Chris@0 6904
Chris@0 6905 * src/common.c src/sfendian.c
Chris@0 6906 Moved all endswap_XXX_array() functions to sfendian.c. These functions will
Chris@0 6907 be tweaked to provide maximum performance. Since maximum performance on one
Chris@0 6908 platform does not guarantee maximum performance on another, a small set of
Chris@0 6909 functions will be written and the optimal one chosen at compile time.
Chris@0 6910
Chris@0 6911 * src/common.h src/sfendian.h
Chris@0 6912 Declarations of all endswap_XXX_array() functions moved to sfendian.h.
Chris@0 6913
Chris@0 6914 * src/Makefile.am
Chris@0 6915 Add sfendian.c to build targets.
Chris@0 6916
Chris@0 6917 2002-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6918
Chris@0 6919 * src/pcm.c src/sfendian.h
Chris@0 6920 Re-coded PCM encoders and decoders to match or better the speed of
Chris@0 6921 libsndfile version 0.0.28.
Chris@0 6922
Chris@0 6923 2002-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6924
Chris@0 6925 * src/wav.c
Chris@0 6926 Add checking for WAVPACK data in standard PCM WAV file. Return error if
Chris@0 6927 found. This WAVPACK is *WAY* broken. It uses the same PCM WAV file header
Chris@0 6928 and then stores non-PCM data.
Chris@0 6929
Chris@0 6930 * tests/benchmark.tpl
Chris@0 6931 Added more tests.
Chris@0 6932
Chris@0 6933 2002-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6934
Chris@0 6935 * tests/benchmark.tpl
Chris@0 6936 Added conditional definition of M_PI.
Chris@0 6937 For Win32, set WRITE_PERMS to 0777.
Chris@0 6938
Chris@0 6939 * Win32/Makefile.msvc
Chris@0 6940 Added target to make generate program on Win32.
Chris@0 6941
Chris@0 6942 * src/samplitude.c
Chris@0 6943 Removed handler for Samplitude RAP file format. This file type seems rarer
Chris@0 6944 than hens teeth and is completely undocumented.
Chris@0 6945
Chris@0 6946 * src/common.h src/sndfile.c src/Makefile.am Win32/Makefile.msvc
Chris@0 6947 Removed references to sampltiude RAP format.
Chris@0 6948
Chris@0 6949 * tests/benchmark.tpl
Chris@0 6950 Benchmark program now prints the libsndfile version number when run. This
Chris@0 6951 program was also backported to version 0 to compare results. Version
Chris@0 6952 1.0.0rc2 is faster than version 0.0.28 on most conversions but slower on
Chris@0 6953 some. The slow ones need to be fixed before final release.
Chris@0 6954
Chris@0 6955 2002-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6956
Chris@0 6957 * tests/benchmark.def tests/benchmark.tpl
Chris@0 6958 New files which generate tests/benchmark.c using Autogen. Added int ->
Chris@0 6959 SF_FORMAT_PCM_24 test.
Chris@0 6960
Chris@0 6961 * tests/benchmark.c
Chris@0 6962 Now and Autogen output file.
Chris@0 6963
Chris@0 6964 * tests/Makefile.am
Chris@0 6965 Updated for above changes.
Chris@0 6966
Chris@0 6967 2002-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6968
Chris@0 6969 * tests/benchmark.c
Chris@0 6970 Basic benchmark program complete. Need to convert it to Autogen.
Chris@0 6971
Chris@0 6972 * Win32/Makefile.msvc
Chris@0 6973 Added benchmark.exe target.
Chris@0 6974
Chris@0 6975 2002-06-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6976
Chris@0 6977 * examples/generate.c
Chris@0 6978 New program to generate a number of different output file formats from a
Chris@0 6979 single input file. This allows testing of the created files.
Chris@0 6980
Chris@0 6981 * tests/benchmark.c
Chris@0 6982 New test program to benchmark libsndfile. Nowhere near complete yet.
Chris@0 6983
Chris@0 6984 * examples/Makefile.am tests/Makefile.am
Chris@0 6985 New make rules for the two new programs.
Chris@0 6986
Chris@0 6987 2002-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6988
Chris@0 6989 * Win32/libsndfile.def
Chris@0 6990 Removed definition for sf_signal_max().
Chris@0 6991
Chris@0 6992 * src/sndfile.c
Chris@0 6993 Removed cruft.
Chris@0 6994
Chris@0 6995 * doc/index.html
Chris@0 6996 A number of documentation bugs were fixed. Thanks to Anand Kumria.
Chris@0 6997
Chris@0 6998 * doc/version-1.html
Chris@0 6999 Minor doc updates.
Chris@0 7000
Chris@0 7001 * configure.in
Chris@0 7002 Bumped version to 1.0.0rc2.
Chris@0 7003
Chris@0 7004 * src/sf_command.h src/Makefile.am
Chris@0 7005 Removed the header file as it was no longer being used. Thanks to Anand
Chris@0 7006 Kunria for spotting this.
Chris@0 7007
Chris@0 7008 * doc/index.html
Chris@0 7009 A number of documentation bugs were fixed. Thanks to Anand Kumria.
Chris@0 7010
Chris@0 7011 2002-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7012
Chris@0 7013 * src/common.h
Chris@0 7014 Test for Win32 before testing SIZEOF_OFF_T so that it works correctly
Chris@0 7015 on Win32..
Chris@0 7016
Chris@0 7017 * src/file_io.c
Chris@0 7018 Win32 fixes to ensure O_BINARY is used for file open.
Chris@0 7019
Chris@0 7020 * doc/win32.html
Chris@0 7021 New file documenting the building libsndfile on Win32.
Chris@0 7022
Chris@0 7023 * doc/*.html
Chris@0 7024 Updating of documentation.
Chris@0 7025
Chris@0 7026 2002-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7027
Chris@0 7028 * tests/pcm_test.c
Chris@0 7029 Minor changes to allow easier determination of test file name.
Chris@0 7030
Chris@0 7031 * src/sndfile.[ch]
Chris@0 7032 Removed function sf_signal_max().
Chris@0 7033
Chris@0 7034 * examples/sndfile-play.c
Chris@0 7035 Changed call to sf_signal_max() to a call to sf_command().
Chris@0 7036
Chris@0 7037 2002-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7038
Chris@0 7039 * src/format.c src/command.c
Chris@0 7040 Renamed format.c to command.c which will now include code for sf_command()
Chris@0 7041 calls to perform operations other than format commands.
Chris@0 7042
Chris@0 7043 * src/sndfile.c src/sndfile.h
Chris@0 7044 Removed function sf_get_signal_max() which is replaced by commands passed
Chris@0 7045 to sf_command().
Chris@0 7046
Chris@0 7047 * src/command.c
Chris@0 7048 Implement commands SFC_CALC_SIGNAL_MAX.
Chris@0 7049
Chris@0 7050 * doc/command.html
Chris@0 7051 Documented SFC_CALC_SIGNAL_MAX.
Chris@0 7052
Chris@0 7053 2002-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7054
Chris@0 7055 * examples/sndfile-play.c
Chris@0 7056 Mods to make sndfile-play work on Solaris. The program sndfile-play now
Chris@0 7057 runs on Linux, MaxOSX and Solaris. Win32 to come.
Chris@0 7058
Chris@0 7059 * src/format.c
Chris@0 7060 Added SF_FORMAT_DWVW_* to subtype_formats array.
Chris@0 7061
Chris@0 7062 * src/nist.c
Chris@0 7063 Added support for 8 bit NIST Sphere files. Example file supplied by Anand
Chris@0 7064 Kumria.
Chris@0 7065
Chris@0 7066 2002-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7067
Chris@0 7068 * examples/sndfile-info.c
Chris@0 7069 Tidy up of output format.
Chris@0 7070
Chris@0 7071 * examnples/sndfile-play.c
Chris@0 7072 Mods to make sndfile-play work on MacOSX using Apple's CoreAudio API.
Chris@0 7073
Chris@0 7074 * configure.in
Chris@0 7075 Add new variables OS_SPECIFIC_INCLUDES and OS_SPECIFIC_LINKS which were
Chris@0 7076 required to supply extra include paths and link parameters to get
Chris@0 7077 sndfile-play working on MacOSX.
Chris@0 7078
Chris@0 7079 * examples/Makefile.am
Chris@0 7080 Use OS_SPOECIFIC_INCLUDES and OS_SPECIFIC_LINKS to build commands for
Chris@0 7081 sndfile-play.
Chris@0 7082
Chris@0 7083 2002-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7084
Chris@0 7085 * src/nist.c
Chris@0 7086 Added ability to read/write new NIST Sphere file types (A-law, u-law).
Chris@0 7087 Header parser was re-written from scratch. Example files supplied by Anand
Chris@0 7088 Kumria.
Chris@0 7089
Chris@0 7090 * src/sndfile.c
Chris@0 7091 Support for A-law and u-law NIST files.
Chris@0 7092
Chris@0 7093 * tests/Makefile.am tests/lossy_comp_test.c
Chris@0 7094 Tests for A-law and u-law NIST files.
Chris@0 7095
Chris@0 7096 2002-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7097
Chris@0 7098 * tests/utils.c
Chris@0 7099 Fixed an error in error string.
Chris@0 7100
Chris@0 7101 2002-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7102
Chris@0 7103 * acinclude.m4
Chris@0 7104 Removed exit command to allow cross-compiling.
Chris@0 7105
Chris@0 7106 * Win32/unistd.h src/file_io.c
Chris@0 7107 Moved contents of first file into the second file (enclosed in #ifdef).
Chris@0 7108 Win32/unistd.h is now an empty file but still must be there for libsndfile
Chris@0 7109 to compile on Win32.
Chris@0 7110
Chris@0 7111 * src/sd2.c, src/sndfile.c:
Chris@0 7112 Fixes for Sound Designer II files on big endian systems.
Chris@0 7113
Chris@0 7114 2002-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7115
Chris@0 7116 * configure.in
Chris@0 7117 Modified to work around problems with crappy MacOSX version of sed.
Chris@0 7118 Added sanity check for proper values for CFLAGS.
Chris@0 7119
Chris@0 7120 2002-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7121
Chris@0 7122 * src/sndfile.c
Chris@0 7123 Code clean up in sf_open ().
Chris@0 7124
Chris@0 7125 * Win32/Makefile.msvc
Chris@0 7126 Michael Fink's contributed MSVC++ makefile was hacked to bits and put back
Chris@0 7127 together in a new improved form.
Chris@0 7128
Chris@0 7129 * src/file_io.c
Chris@0 7130 Fixes for Win32; _lseeki64() returns an invalid argument for calls like
Chris@0 7131 _lseeki64(fd, 0, SEEK_CUR) so need to use _telli64 (fd) instead.
Chris@0 7132
Chris@0 7133 * src/common.h src/sndfile.c src/wav.c src/aiff.c
Chris@0 7134 Added SFE_LOG_OVERRUN error.
Chris@0 7135 Added termination for potential infinite loop when parsing file headers.
Chris@0 7136
Chris@0 7137 * src/wav.c src/w64.c
Chris@0 7138 Fixed bug casuing incorrect header generation when opening file read/write.
Chris@0 7139
Chris@0 7140 2002-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7141
Chris@0 7142 * doc/api.html
Chris@0 7143 Improved the documentation to make it clearer that the file read method
Chris@0 7144 and the underlying file format are completely disconnected. Suggested
Chris@0 7145 by Josh Green.
Chris@0 7146
Chris@0 7147 * doc/command.html
Chris@0 7148 Started correcting docs to take into account changes made to the
Chris@0 7149 operations of the sf_command () function. Not complete yet.
Chris@0 7150
Chris@0 7151 * src/sndfile.c
Chris@0 7152 Reverted some changes which had broken the partially working SDII header
Chris@0 7153 parsing. Now have access to an iBook with OS X so reading and writing SDII
Chris@0 7154 files on all platforms should be a reality in the near future. On Mac this
Chris@0 7155 will involve reading the resource fork via the standard MacOS API. To move
Chris@0 7156 a file from Mac to another OS, the resource and data forks will need to be
Chris@0 7157 combined before transfer. The combined file will be read on both Mac and
Chris@0 7158 other OSes like any other file.
Chris@0 7159
Chris@0 7160 2002-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7161
Chris@0 7162 * ltmain.sh
Chris@0 7163 Applied a patch from http://fink.sourceforge.net/doc/porting/libtool.php
Chris@0 7164 which allows libsndfile to compile on MacOSX 10.1. This patch should not
Chris@0 7165 interfere with compiling on other OSes.
Chris@0 7166
Chris@0 7167 * src/GSM610/private.h
Chris@0 7168 Changes to fix compile problems on MacOSX (see src/GSM610/ChangeLog).
Chris@0 7169
Chris@0 7170 * src/float_cast.h
Chris@0 7171 Added MacOSX replacements for lrint() and lrintf().
Chris@0 7172
Chris@0 7173 2002-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7174
Chris@0 7175 * src/sndfile.c
Chris@0 7176 Replaced the code to print the filename to the log buffer when a file is
Chris@0 7177 opened. This code seems to have been left out during the merge of
Chris@0 7178 sf_open_read() and sf_open_write() to make a single functions sf_open().
Chris@0 7179
Chris@0 7180 2002-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7181
Chris@0 7182 * src/wav.c
Chris@0 7183 Fixed a bug where the WAV header parser was going into an infinite loop
Chris@0 7184 on a badly formed LIST chunk. File supplied by David Viens.
Chris@0 7185
Chris@0 7186 2002-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7187
Chris@0 7188 * configure.in
Chris@0 7189 Added a message at the end of the configuration process to warn about the
Chris@0 7190 need for the use of pkg-config when linking programs against version 1 of
Chris@0 7191 libsndfile.
Chris@0 7192
Chris@0 7193 * doc/pkg-config.html
Chris@0 7194 New documentation file containing details of how to use pkg-config to
Chris@0 7195 retrieve settings for CFLAGS and library locations for linking files
Chris@0 7196 against version 1 of libsndfile.
Chris@0 7197
Chris@0 7198 2002-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7199
Chris@0 7200 * src/wav.c
Chris@0 7201 Fixed minor bug in handling of so-called ACIDized WAV files.
Chris@0 7202
Chris@0 7203 2002-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7204
Chris@0 7205 * Win32/libsndfile.def Win32/Makefile.msvc
Chris@0 7206 Two new files contributed by Michael Fink (from the winLAME project)
Chris@0 7207 which allows libsndfile to be built on windows in a MSDOS box by doing
Chris@0 7208 "nmake -f Makefile.msvc". Way cool!
Chris@0 7209
Chris@0 7210 2002-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7211
Chris@0 7212 * configure.in
Chris@0 7213 MacOSX is SSSOOOOOOO screwed up!!! I can't believe how hard it is to
Chris@0 7214 generate a tarball which will configure and compile on that platform.
Chris@0 7215 Joined the libtool mailing list to try and get some answers.
Chris@0 7216
Chris@0 7217 2002-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7218
Chris@0 7219 * configure.in
Chris@0 7220 Changed to autoconf version 2.50. MacOSX uses autoconf version 2.53 which
Chris@0 7221 is incompatible with with version 2.13 which had been using until now.
Chris@0 7222 The AC_SYS_LARGE_FILE macro distributed withe autoconf 2.50 is missing a
Chris@0 7223 few features so AC_SYS_EXTRA_LARGE file was defined to replace it.
Chris@0 7224
Chris@0 7225 * configure.in
Chris@0 7226 Changed to automake version 1.5 to try and make a tarball which will
Chris@0 7227 work on MacOSX.
Chris@0 7228
Chris@0 7229 2002-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7230
Chris@0 7231 * src/wav_gsm610.c
Chris@0 7232 Changed name to gsm610.c. Added reading/writing of headerless files.
Chris@0 7233
Chris@0 7234 * src/sndfile.c src/raw.c
Chris@0 7235 Added ability to read/write headerless (SF_FORMAT_RAW) GSM 6.10 files.
Chris@0 7236
Chris@0 7237 2002-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7238
Chris@0 7239 * tests/lossy_comp_test.c
Chris@0 7240 Clean up in preparation for Autogen-ing this file.
Chris@0 7241
Chris@0 7242 * src/GSM610/*.[ch]
Chris@0 7243 Code cleanup and prepartion forgetting file seek working. Details in
Chris@0 7244 src/GSM610/ChangeLog.
Chris@0 7245
Chris@0 7246 * sndfile.pc.in
Chris@0 7247 Testing complete. Is sndfile.m4 still needed?
Chris@0 7248
Chris@0 7249 2002-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7250
Chris@0 7251 * tests/write_read_test.tpl tests/rdwr_test.tpl
Chris@0 7252 Merged tests from these two programs into write_read_test.tpl and deleted
Chris@0 7253 rdwr_test.tpl.
Chris@0 7254
Chris@0 7255 2002-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7256
Chris@0 7257 * src/w64.c src/svx.c src/paf.c
Chris@0 7258 Fixed bugs in read/write mode.
Chris@0 7259
Chris@0 7260 2002-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7261
Chris@0 7262 * examples/Makefile.am
Chris@0 7263 Renamed sfplay.c to sndfile-play.c and sndfile_info.c to sndfile-info.c for
Chris@0 7264 consistency when these programs become part of the Debian package
Chris@0 7265 sndfile-programs.
Chris@0 7266
Chris@0 7267 * sndfile.pc.in
Chris@0 7268 New file to replace sndfile-config.in. Libsndfile now uses the pkg-config
Chris@0 7269 model for providing installation parameters to dependant programs.
Chris@0 7270
Chris@0 7271 * src/sndfile.c
Chris@0 7272 Cleanup of code in sf_open().
Chris@0 7273
Chris@0 7274 2002-05-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7275
Chris@0 7276 * tests/utils.tpl tests/write_read_test.tpl
Chris@0 7277 More conversion to Autogen fixes and enchancements.
Chris@0 7278
Chris@0 7279 * src/*.c
Chris@0 7280 Read/write mode is now working for 16, 24 and 32 bit PCM as well as 32
Chris@0 7281 bit float and 64 bit double data. More tests still required.
Chris@0 7282
Chris@0 7283 * src/Makefile.am
Chris@0 7284 Added DISTCLEANFILES target to remove config.status and config.last.
Chris@0 7285
Chris@0 7286 * Win32/Makefile.am MacOS/Makefile.am
Chris@0 7287 Added DISTCLEANFILES target to remove Makefile.
Chris@0 7288
Chris@0 7289 2002-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7290
Chris@0 7291 * src/*.[ch] tests/rdwr_test.c
Chris@0 7292 More verifying workings of read/write mode. Fixing bugs found.
Chris@0 7293
Chris@0 7294 * tests/utils.[ch]
Chris@0 7295 Made these files Autogen generated files.
Chris@0 7296
Chris@0 7297 * tests/util.tpl tests/util.def
Chris@0 7298 New Autogen files to generate utils.[ch]. Moved some generic test functions
Chris@0 7299 into this file. Autogen is such a great tool!
Chris@0 7300
Chris@0 7301 2002-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7302
Chris@0 7303 * src/pcm.c src/float_cast.h Win32/config.h
Chris@0 7304 Fixed a couple of Win32 specific bugs pointed out by Michael Fink
Chris@0 7305 (maintainer of WinLAME) and David Viens.
Chris@0 7306
Chris@0 7307 * tests/check_log_buffer.[ch] tests/utils.[ch]
Chris@0 7308 Moved check_log_buffer() to utils.[ch] and deleted old file.
Chris@0 7309
Chris@0 7310 2002-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7311
Chris@0 7312 * src/common.[ch] src/sndfile.c
Chris@0 7313 New function psf_default_seek() which will be the default seek function
Chris@0 7314 for things like PCM and floating point data. This default is set for
Chris@0 7315 both read and write in sf_open() but can be over-ridden by any codec
Chris@0 7316 during it's initialisation.
Chris@0 7317
Chris@0 7318 2002-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7319
Chris@0 7320 * src/au.c
Chris@0 7321 AU files use a data size value of -1 to mean unknown. Fixed au_open_read()
Chris@0 7322 to allow opening files like this.
Chris@0 7323
Chris@0 7324 * tests/rdwr_test .c
Chris@0 7325 Added more tests.
Chris@0 7326
Chris@0 7327 * src/sndfile.c
Chris@0 7328 Fixed bugs in read/write mode found due to improvements in the test
Chris@0 7329 program.
Chris@0 7330
Chris@0 7331 2002-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7332
Chris@0 7333 * tests/rdwr_test .c
Chris@0 7334 New file for testing read/write mode.
Chris@0 7335
Chris@0 7336 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7337
Chris@0 7338 * m4/*
Chris@0 7339 Removed all m4 macros from this directory as they get concatenated to form
Chris@0 7340 the file aclocal.m4 anyway.
Chris@0 7341
Chris@0 7342 * sndfile.m4
Chris@0 7343 Moved this from the m4 directory to the root directory asn this is part of
Chris@0 7344 the distribution and is installed during "make install".
Chris@0 7345
Chris@0 7346 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7347
Chris@0 7348 * src/float32.c
Chris@0 7349 Removed logging of peaks for all file formats other than AIFF and WAV.
Chris@0 7350
Chris@0 7351 * tests/write_read_test.tpl tests/write_read_test.def
Chris@0 7352 New files which autogen uses to generate write_read_test.c. Doing it this
Chris@0 7353 way makes write_read_test.c far easier to maintain. Other test programs
Chris@0 7354 will be converted to autogen in the near future.
Chris@0 7355
Chris@0 7356 * src/*.c
Chris@0 7357 Fixed a few bugs found when testing on Sparc (bug endian) Solaris.
Chris@0 7358
Chris@0 7359 2002-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7360
Chris@0 7361 * doc/*.html
Chris@0 7362 Fixed documention versioning.
Chris@0 7363
Chris@0 7364 * configure.in
Chris@0 7365 Fixed a bug in the routines which search for Large File Support on systems
Chris@0 7366 which have large file support by defualt.
Chris@0 7367
Chris@0 7368 2002-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7369
Chris@0 7370 * src/*.[ch]
Chris@0 7371 Found and fixed an issue which can cause a bug in other software (I was
Chris@0 7372 porting Conrad Parker's Sweep program from version 0 of the library to
Chris@0 7373 version 1). When opening a file for write, the libsndfile code would
Chris@0 7374 set the sfinfo.samples field to a maximum value.
Chris@0 7375
Chris@0 7376 * tests/write_read_test.c
Chris@0 7377 Added tests to detect the above problem.
Chris@0 7378
Chris@0 7379 2002-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7380
Chris@0 7381 * src/*.[ch]
Chris@0 7382 Finished base implementation of read/write mode. Much more testing still
Chris@0 7383 needed.
Chris@0 7384
Chris@0 7385 * m4/largefile.m4
Chris@0 7386 Macro for detecting Large File Standard capabilities. This macro was ripped
Chris@0 7387 out of the aclocal.m4 file of GNU tar-1.13.
Chris@0 7388
Chris@0 7389 * configure.in
Chris@0 7390 Added detection of large file support. Files larger than 2 Gigabytes should
Chris@0 7391 now be supported on 64 bit platforms and many 32 bit platforms including
Chris@0 7392 Linux (2.4 kernel, glibc-2.2), *BSD, MacOS, Win32.
Chris@0 7393
Chris@0 7394 * libsndfile_convert_version.py
Chris@0 7395 A Python script which attempts to autoconvert code written to use version 0
Chris@0 7396 to version 1.
Chris@0 7397
Chris@0 7398 2002-04-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7399
Chris@0 7400 * src/*.[ch]
Chris@0 7401 Finished base implementation of read/write mode. Much more testing still
Chris@0 7402 needed.
Chris@0 7403
Chris@0 7404 * tests/write_read_test.c
Chris@0 7405 Preliminary tests for read/write mode added. More needed.
Chris@0 7406
Chris@0 7407 2002-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7408
Chris@0 7409 * src/sndfile.[ch]
Chris@0 7410 Removed sf_open_read() and sf_open_write() functions,replacting them with
Chris@0 7411 sf_open() which takes an extra mode parameter (SF_OPEN_READ, SF_OPEN_WRITE,
Chris@0 7412 or SF_OPEN_RDWR). This new function sf_open can now be modified to allow
Chris@0 7413 opening a file formodification (RDWR).
Chris@0 7414
Chris@0 7415 2002-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7416
Chris@0 7417 * src/*.c
Chris@0 7418 Completed merging of separate xxx_open_read() and xxx_open_write()
Chris@0 7419 functions. All tests pass.
Chris@0 7420
Chris@0 7421 2002-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7422
Chris@0 7423 * src/au.c
Chris@0 7424 Massive refactoring required to merge au_open_read() with au_open_write()
Chris@0 7425 to create au_open().
Chris@0 7426
Chris@0 7427 2002-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7428
Chris@0 7429 * src/*.c
Chris@0 7430 Started changes required to allow a sound file to be opened in read/write
Chris@0 7431 mode, with separate file pointers for read and write. This involves merging
Chris@0 7432 of encoder/decoder functions like pcm_read_init() and pcm_write_init()
Chris@0 7433 int a new function pcm_init() as well as doing something similar for all
Chris@0 7434 the file type specific functions ie aiff_open_read() and aiff_open_write()
Chris@0 7435 were merged to make the function aiff_open().
Chris@0 7436
Chris@0 7437 2002-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7438
Chris@0 7439 * src/file_io.c
Chris@0 7440 New file containing psf_fopen(), psf_fread(), psf_fwrite(), psf_fseek() and
Chris@0 7441 psf_ftell() functions. These function will replace use of fopen/fread/fwrite
Chris@0 7442 etc and allow access to files larger than 2 gigabytes on a number of 32 bit
Chris@0 7443 OSes (Linux on x86, 32 bit Solaris user space apps, Win32 and MacOS).
Chris@0 7444
Chris@0 7445 * src/*.c
Chris@0 7446 Replaced all instances of fopen with psf_open, fread with psd_read, fwrite
Chris@0 7447 with psf_write and so on.
Chris@0 7448
Chris@0 7449 2002-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7450
Chris@0 7451 * src/dwvw.c
Chris@0 7452 Finally fixed all known problems with 12, 16 and 24 bit DWVW encoding.
Chris@0 7453
Chris@0 7454 * tests/floating_point_test.c
Chris@0 7455 Added tests for 12, 16 and 24 bit DWVW encoding.
Chris@0 7456
Chris@0 7457 2002-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7458
Chris@0 7459 * m4/endian.m4
Chris@0 7460 Defines a new m4 macro AC_C_FIND_ENDIAN, for determining the endian-ness of
Chris@0 7461 the target CPU. It first checks for the definition of BYTE_ORDER in
Chris@0 7462 <endian.h>, then in <sys/types.h> and <sys/param.h>. If none of these work
Chris@0 7463 and the C compiler is not a cross compiler it compiles and runs a program
Chris@0 7464 to test for endian-ness. If the compiler is a cross compiler it makes a
Chris@0 7465 guess based on $target_cpu.
Chris@0 7466
Chris@0 7467 * configure.in
Chris@0 7468 Modified to use AC_C_FIND_ENDIAN.
Chris@0 7469
Chris@0 7470 * src/sfendian.h
Chris@0 7471 Simplified.
Chris@0 7472
Chris@0 7473 2002-02-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7474
Chris@0 7475 * tests/floating_point_test.c
Chris@0 7476 Tests completely rewritten using the dft_cmp function. Now able to
Chris@0 7477 calculate a quick guesstimate of the Signal to Noise Ratio of the encoder.
Chris@0 7478
Chris@0 7479 2002-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7480
Chris@0 7481 * tests/dft_cmp.[ch]
Chris@0 7482 New files containing functions for comparing pre and post lossily
Chris@0 7483 compressed data using a quickly hacked DFT.
Chris@0 7484
Chris@0 7485 * tests/utils.[ch]
Chris@0 7486 New files containing functions for saving pre and post encoded data in a
Chris@0 7487 file readable by the GNU Octave package.
Chris@0 7488
Chris@0 7489 2002-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7490
Chris@0 7491 * m4/lrint.m4 m4/lrintf.m4
Chris@0 7492 Fixed m4 macros to define HAVE_LRINT and HAVE_LRINTF even when the test
Chris@0 7493 is cached.
Chris@0 7494
Chris@0 7495 2002-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7496
Chris@0 7497 * tests/floating_point_test.c
Chris@0 7498 Fixed improper use of strncat ().
Chris@0 7499
Chris@0 7500 2002-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7501
Chris@0 7502 * tests/headerless_test.c
Chris@0 7503 New test program to test the ability to open and read a known file type as a
Chris@0 7504 RAW header-less file.
Chris@0 7505
Chris@0 7506 2002-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7507
Chris@0 7508 * tests/losy_comp_test.c
Chris@0 7509 Added a test to ensure that the data read from a file is not all zeros.
Chris@0 7510
Chris@0 7511 * examples/sfconvert.c
Chris@0 7512 Added "-gsm610" encoding types.
Chris@0 7513
Chris@0 7514 2002-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7515
Chris@0 7516 * examples/sfconvert.c
Chris@0 7517 Added "-dwvw12", "-dwvw16" and "-dwvw24" encoding types.
Chris@0 7518
Chris@0 7519 * tests/dwvw_test.c
Chris@0 7520 New file for testing DWVW encoder/decoder.
Chris@0 7521
Chris@0 7522 2002-01-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7523
Chris@0 7524 * src/dwvw.c
Chris@0 7525 Implemented writing of DWVW. 12 bit seems to work, 16 and 24 bit still broken.
Chris@0 7526
Chris@0 7527 * src/aiff.c
Chris@0 7528 Improved reporting of encoding types.
Chris@0 7529
Chris@0 7530 * src/voc.c
Chris@0 7531 Clean up.
Chris@0 7532
Chris@0 7533 2002-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7534
Chris@0 7535 * src/dwvw.c
Chris@0 7536 New file implementing lossless Delta Word Variable Width (DWVW) encoding.
Chris@0 7537 Reading 12 bit DWVW is now working.
Chris@0 7538
Chris@0 7539 * src/aiff.c common.h sndfile.c
Chris@0 7540 Added hooks for DWVW encoded AIFF and RAW files.
Chris@0 7541
Chris@0 7542 2002-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7543
Chris@0 7544 * src/w64.c
Chris@0 7545 Robustify header parsing.
Chris@0 7546
Chris@0 7547 * src/wav_w64.h
Chris@0 7548 Header file wav.h was renamed to wav_w64.h to signify sharing of
Chris@0 7549 definitions across the two file types.
Chris@0 7550
Chris@0 7551 * src/wav.c src/w64.c src/wav_w64.c
Chris@0 7552 Refactoring.
Chris@0 7553 Modified and moved functions with a high degree of similarity between
Chris@0 7554 wav.c and w64.c to wav_w64.c.
Chris@0 7555
Chris@0 7556 2002-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7557
Chris@0 7558 * src/w64.c
Chris@0 7559 Completed work on getting read and write working.
Chris@0 7560
Chris@0 7561 * examples/sfplay.c
Chris@0 7562 Added code to scale floating point data so it plays at a reasonable volume.
Chris@0 7563
Chris@0 7564 * tests/Makefile.am tests/write_read_test.c
Chris@0 7565 Added tests for W64 files.
Chris@0 7566
Chris@0 7567 2002-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7568
Chris@0 7569 * src/*.c
Chris@0 7570 Modded all code in file header writing routines to use
Chris@0 7571 psf_new_binheader_writef().
Chris@0 7572 Removed psf_binheader_writef() from src/common.c.
Chris@0 7573 Globally replaced psf_new_binheader_writef with psf_binheader_writef.
Chris@0 7574
Chris@0 7575 2002-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7576
Chris@0 7577 * src/*.c
Chris@0 7578 Modded all code in file parsing routines to use psf_new_binheader_readf().
Chris@0 7579 Removed psf_binheader_readf() from src/common.c.
Chris@0 7580 Globally replaced psf_new_binheader_readf with psf_binheader_readf.
Chris@0 7581
Chris@0 7582 * src/common.[ch]
Chris@0 7583 Added new function psf_new_binheader_writef () which will soon replace
Chris@0 7584 psf_binheader_writef (). The new function has basically the same function
Chris@0 7585 as the original but has a more flexible and capable interface. It also
Chris@0 7586 allows the writing of 64 bit integer values for files contains 64 bit file
Chris@0 7587 offsets.
Chris@0 7588
Chris@0 7589 2002-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7590
Chris@0 7591 * src/formats.c src/sndfile.c src/sndfile.h
Chris@0 7592 Added code allowing full enumeration of supported file formats via the
Chris@0 7593 sf_command () interface.
Chris@0 7594 This feature will allow applications to avoid needing recompilation when
Chris@0 7595 support for new file formats are added to libsndfile.
Chris@0 7596
Chris@0 7597 * tests/command_test.c
Chris@0 7598 Added test code for the above feature.
Chris@0 7599
Chris@0 7600 * examples/list_formats.c
Chris@0 7601 New file. An example of the use of the supported file enumeration
Chris@0 7602 interface. This program lists all the major formats and for each major
Chris@0 7603 format the supported subformats.
Chris@0 7604
Chris@0 7605 2002-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7606
Chris@0 7607 * src/*.[ch] tests/*.c
Chris@0 7608 Changed command parameter of sf_command () function from a test string to
Chris@0 7609 an int. The valid values for the command parameter begin with SFC_ and are
Chris@0 7610 listed in src/sndfile.h.
Chris@0 7611
Chris@0 7612 2001-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7613
Chris@0 7614 * src/formats.c src/sndfile.c
Chris@0 7615 Added an way of enumerating a set of common file formats using the
Chris@0 7616 sf_command () interface. This interface was suggested by Dominic Mazzoni,
Chris@0 7617 one of the main authors of Audacity (http://audacity.sourceforge.net/).
Chris@0 7618
Chris@0 7619 2001-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7620
Chris@0 7621 * src/sndfile.c
Chris@0 7622 Added checking of filename parameter in sf_open_read (). Previousy, if a
Chris@0 7623 NULL pointer was passed the library would segfault.
Chris@0 7624
Chris@0 7625 2001-12-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7626
Chris@0 7627 * src/common.c src/common.h
Chris@0 7628 Changed the len parameter of the endswap_*_array () functions from type
Chris@0 7629 int to type long.
Chris@0 7630
Chris@0 7631 * src/pcm.c
Chris@0 7632 Fixed a problem which
Chris@0 7633
Chris@0 7634 2001-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7635
Chris@0 7636 * src/sndfile.c
Chris@0 7637 Added conditional #include <sys/types.h> for EMX/gcc on OS/2. Thanks to
Chris@0 7638 Paul Hartman for pointing this out.
Chris@0 7639
Chris@0 7640 * tests/lossy_comp_test.c tests/floating_point_test.c
Chris@0 7641 Added definitions for M_PI for when it isn't defined in <math.h>.
Chris@0 7642
Chris@0 7643 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7644
Chris@0 7645 * src/ircam.c
Chris@0 7646 Re-implemented the header reader. Old version was making incorrect
Chris@0 7647 assumptions about the endian-ness of the file from the magic number at the
Chris@0 7648 start of the file. The new code looks at the integer which holds the
Chris@0 7649 number of channels and determines the endian-ness from that.
Chris@0 7650
Chris@0 7651 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7652
Chris@0 7653 * src/aiff.c
Chris@0 7654 Added support for other AIFC types ('raw ', 'in32', '23ni').
Chris@0 7655 Further work on IMA ADPCM encoding.
Chris@0 7656
Chris@0 7657 2001-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7658
Chris@0 7659 * src/ima_adpcm.c
Chris@0 7660 Renamed from wav_ima_adpcm.c. This file will soon handle IMA ADPCM
Chris@0 7661 encodings for both WAV and AIFF files.
Chris@0 7662
Chris@0 7663 * src/aiff.c
Chris@0 7664 Started adding IMA ADPCM support.
Chris@0 7665
Chris@0 7666 2001-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7667
Chris@0 7668 * src/double.c
Chris@0 7669 New file for handling double precision floating point (SF_FORMAT_DOUBLE)
Chris@0 7670 data.
Chris@0 7671
Chris@0 7672 * src/wav.c src/aiff.c src/au.c src/raw.c
Chris@0 7673 Added support for SF_FORMAT_DOUBLE data.
Chris@0 7674
Chris@0 7675 * src/common.[ch]
Chris@0 7676 Addition of endswap_long_array () for endian swapping 64 bit integers. This
Chris@0 7677 function will work correctly on processors with 32 bit and 64 bit longs.
Chris@0 7678 Optimised endswap_short_array () and endswap_int_array ().
Chris@0 7679
Chris@0 7680 * tests/pcm_test.c
Chris@0 7681 Added and extra check. After the first file of each type is written to disk
Chris@0 7682 a checksum is performed of the first 64 bytes and checked against a pre-
Chris@0 7683 calculated value. This will work whatever the endian-ness of the host
Chris@0 7684 machine.
Chris@0 7685
Chris@0 7686 2001-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7687
Chris@0 7688 * src/aiff.c
Chris@0 7689 Added handling of u-law, A-law encoded AIFF files. Thanks to Tom Erbe for
Chris@0 7690 supplying example files.
Chris@0 7691
Chris@0 7692 * tests/lossy_comp_test.c
Chris@0 7693 Added tests for above.
Chris@0 7694
Chris@0 7695 * src/common.h src/*.c
Chris@0 7696 Removed function typedefs from common.h and function pointer casting in all
Chris@0 7697 the other files. This allows the compiler to perform proper type checking.
Chris@0 7698 Hopefully this will prevernt problems like the sf_seek bug for OpenBSD,
Chris@0 7699 BeOS etc.
Chris@0 7700
Chris@0 7701 * src/common.[ch]
Chris@0 7702 Added new function psf_new_binheader_readf () which will eventually replace
Chris@0 7703 psf_binheader_readf (). The new function has basically the same function as
Chris@0 7704 the original but has a more flexible and capable interface. It also allows
Chris@0 7705 the reading of 64 bit integer values for files contains 64 bit file
Chris@0 7706 offsets.
Chris@0 7707
Chris@0 7708 2001-11-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7709
Chris@0 7710 * src/voc.c
Chris@0 7711 Completed implementation of VOC file handling. Can now handle 8 and 16 bit
Chris@0 7712 PCM, u-law and A-law files with one or two channels.
Chris@0 7713
Chris@0 7714 * src/write_read_test.c tests/lossy_comp_test.c
Chris@0 7715 Added tests for VOC files.
Chris@0 7716
Chris@0 7717 2001-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7718
Chris@0 7719 * src/float_cast.h
Chris@0 7720 Added inline asm version of lrint/lrintf for MacOS. Solution provided by
Chris@0 7721 Stephane Letz.
Chris@0 7722
Chris@0 7723 * src/voc.c
Chris@0 7724 More work on this braindamaged format. The VOC files produced by SoX also
Chris@0 7725 have a number of inconsistencies.
Chris@0 7726
Chris@0 7727 2001-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7728
Chris@0 7729 * src/paf.c
Chris@0 7730 Added support for 8 bit PCM PAF files.
Chris@0 7731
Chris@0 7732 * tests/write_read_test.c
Chris@0 7733 Added tests for 8 bit PAF files.
Chris@0 7734
Chris@0 7735 2001-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7736
Chris@0 7737 * tests/pcm_test.c
Chris@0 7738 New test program to test for correct scaling of integer values between
Chris@0 7739 different sized integer containers (ie short -> int).
Chris@0 7740 The new specs for libsndfile state that when the source and destination
Chris@0 7741 containers are of a different size, the most significant bit of the source
Chris@0 7742 value becomes the most significant bit of the destination container.
Chris@0 7743
Chris@0 7744 * src/pcm.c src/paf.c
Chris@0 7745 Modified to pass the above test program.
Chris@0 7746
Chris@0 7747 * tests/write_read_test.c tests/lossy_comp_test.c
Chris@0 7748 Modified to work with the new scaling rules.
Chris@0 7749
Chris@0 7750 2001-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7751
Chris@0 7752 * src/raw.c tests/write_read_test.c tests/write_read_test.c
Chris@0 7753 Added ability to do raw reads/writes of float, u-law and A-law files.
Chris@0 7754
Chris@0 7755 * src/*.[ch] examples/*.[ch] tests/*.[ch]
Chris@0 7756 Removed dependance on pcmbitwidth field of SF_INFO struct and moved to new
Chris@0 7757 SF_FORMAT_* types and use of SF_ENDIAN_BIG/LITTLE/CPU.
Chris@0 7758
Chris@0 7759 2001-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7760
Chris@0 7761 * src/*.[ch]
Chris@0 7762 Started implmentation of major changes documented in doc/version1.html.
Chris@0 7763
Chris@0 7764 Removed all usage of off_t which is not part of the ISO C standard. All
Chris@0 7765 places which were using it are now using type long which is the type of
Chris@0 7766 the offset parameter for the fseek function.
Chris@0 7767 This should fix problems on BeOS, MacOS and *BSD like systems which were
Chris@0 7768 failing "make check" because sizeof (long) != sizeof (off_t).
Chris@0 7769
Chris@0 7770 --------------------------------------------------------------------------------
Chris@0 7771 This is the boundary between version 1 of the library above and version 0 below.
Chris@0 7772 --------------------------------------------------------------------------------
Chris@0 7773
Chris@0 7774 2001-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7775
Chris@0 7776 * examples/sfplay_beos.cpp
Chris@0 7777 Added BeOS version of sfplay.c. This needs to be compiled using a C++
Chris@0 7778 compiler so is therefore not built by default. Thanks to Marcus Overhagen
Chris@0 7779 for providing this.
Chris@0 7780
Chris@0 7781 2001-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7782
Chris@0 7783 * examples/sfplay.c
Chris@0 7784 New example file showing how libsndfile can be used to read and play a
Chris@0 7785 sound file.
Chris@0 7786 At the moment on Linux is supported. Others will follow in the near future.
Chris@0 7787
Chris@0 7788 2001-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7789
Chris@0 7790 * src/pcm.c
Chris@0 7791 Fixed problem with normalisation code where a value of 1.0 could map to
Chris@0 7792 a value greater than MAX_SHORT or MAX_INT. Thanks to Roger Dannenberg for
Chris@0 7793 pointing this out.
Chris@0 7794
Chris@0 7795 2001-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7796
Chris@0 7797 * src/pcm.c
Chris@0 7798 Fixed scaling issue when reading/writing 8 bit files using
Chris@0 7799 sf_read/sf_write_short ().
Chris@0 7800 On read, values are scaled so that the most significant bit in the char
Chris@0 7801 ends up in the most significant bit of the short. On write, values are
Chris@0 7802 scaled so that most significant bit in the short ends up as the most
Chris@0 7803 significant bit in the char.
Chris@0 7804
Chris@0 7805 2001-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7806
Chris@0 7807 * src/au.c src/sndfile.c
Chris@0 7808 Added support for 32 bit float data in big and little endian AU files.
Chris@0 7809
Chris@0 7810 * tests/write_read_test.c
Chris@0 7811 Added tests for 32 bit float data in AU files.
Chris@0 7812
Chris@0 7813 2001-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7814
Chris@0 7815 * tests/lossy_comp_test.c
Chris@0 7816 Finalised testing of stereo files where possible.
Chris@0 7817
Chris@0 7818 2001-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7819
Chris@0 7820 * src/wav_ms_adpcm.c
Chris@0 7821 Fixed bug in writing stereo MS ADPCM WAV files. Thanks to Xu Xin for
Chris@0 7822 pointing out this problem.
Chris@0 7823
Chris@0 7824 2001-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7825
Chris@0 7826 * src/wav_ms_adpcm.c
Chris@0 7827 Modified function srate2blocksize () to handle 44k1Hz stereo files.
Chris@0 7828
Chris@0 7829 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7830
Chris@0 7831 * src/w64.c
Chris@0 7832 Added support for Sonic Foundry 64 bit WAV format. As Linux (my main
Chris@0 7833 development platform) does not yet support 64 bit file offsets by default,
Chris@0 7834 current handling of this file format treats everything as 32 bit and fails
Chris@0 7835 openning the file, if it finds anything that goes beyond 32 bit values.
Chris@0 7836
Chris@0 7837 * src/sndfile.[hc] src/common.h src/Makefile.am
Chris@0 7838 Added hooks for W64 support.
Chris@0 7839
Chris@0 7840 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7841
Chris@0 7842 * configure.in
Chris@0 7843 Added more warnings options to CFLAGS when the gcc compiler is detected.
Chris@0 7844
Chris@0 7845 * src/*.[ch] tests/*.c examples/*.c
Chris@0 7846 Started fixing the warning messages due to the new CFLASG.
Chris@0 7847
Chris@0 7848 * src/voc.c
Chris@0 7849 More work on VOC file read/writing.
Chris@0 7850
Chris@0 7851 * src/paf.c
Chris@0 7852 Found that PAF files were not checking the normalisation flag when reading
Chris@0 7853 or writing floats and doubles. Fixed it.
Chris@0 7854
Chris@0 7855 * tests/floating_point_test.c
Chris@0 7856 Added specific test for the above problem.
Chris@0 7857
Chris@0 7858 * src/float_cast.h src/pcm.c
Chris@0 7859 Added a section for Win32 to define lrint () and lrintf () in the header
Chris@0 7860 and implement it in the pcm.c
Chris@0 7861
Chris@0 7862 2001-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7863
Chris@0 7864 * sndfile-config.in m4/sndfile.m4
Chris@0 7865 These files were donated by Conrad Parker who also provided instructions
Chris@0 7866 on how to install them using autoconf/automake.
Chris@0 7867
Chris@0 7868 * src/float_cast.h
Chris@0 7869 Fiddled around with this file some more. On Linux and other gcc supported
Chris@0 7870 OSes use the C99 functions lrintf() and lrint() for casting from floating
Chris@0 7871 point to int without incurring the huge perfromance penalty (particularly
Chris@0 7872 on the i386 family) caused by the regular C cast from float to int.
Chris@0 7873 These new C99 functions replace the FLOAT_TO_* and DOUBLE_TO_* macros which
Chris@0 7874 I had been playing with.
Chris@0 7875
Chris@0 7876 * configure.in m4/lrint.m4 m4/lrintf.m4
Chris@0 7877 Add detection of these functions.
Chris@0 7878
Chris@0 7879 2001-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7880
Chris@0 7881 * src/voc.c
Chris@0 7882 Completed code for reading VOC files containing a single audio data
Chris@0 7883 segment.
Chris@0 7884 Started implementing code to handle files with multiple VOC_SOUND_DATA
Chris@0 7885 segments but couldn't be bothered finishing it. Multiple segment files can
Chris@0 7886 have different sample rates for different sections and other nasties like
Chris@0 7887 silence and repeat segments.
Chris@0 7888
Chris@0 7889 2001-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7890
Chris@0 7891 * src/common.h src/*.c
Chris@0 7892 Removed SF_PRIVATE struct field fdata and replaced it with extra_data.
Chris@0 7893
Chris@0 7894 * src/voc.c
Chris@0 7895 Further development of the read part of this woefult file format.
Chris@0 7896
Chris@0 7897 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7898
Chris@0 7899 * src/float_cast.h
Chris@0 7900 Implemented gcc and i386 floating point to int cast macros. Standard cast
Chris@0 7901 will be used when not on gcc for i385.
Chris@0 7902
Chris@0 7903 * src/pcm.c
Chris@0 7904 Modified all uses of FLOAT/DOUBLE_TO_INT and FLOAT/DOUBLE_TO_SHORT casts to
Chris@0 7905 comply with macros in float_cast.h.
Chris@0 7906
Chris@0 7907 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7908
Chris@0 7909 * src/voc.c
Chris@0 7910 Changed the TYPE_xxx enum names to VOC_TYPE_xxx to prevent name clashes
Chris@0 7911 on MacOS with CodeWarrior 6.0.
Chris@0 7912
Chris@0 7913 * MacOS/MacOS-readme.txt
Chris@0 7914 Updated the compile instructions. Probably still need work as I don't have
Chris@0 7915 access to a Mac.
Chris@0 7916
Chris@0 7917 2001-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7918
Chris@0 7919 * src/wav.c src/aiff.c common.c
Chris@0 7920 Changed all references to snprintf to LSF_SNPRINTF and all vsnprintf to
Chris@0 7921 LSF_VSNPRINTF. LSF_VSNPRINTF and LSF_VSNPRINTF are defined in common.h.
Chris@0 7922
Chris@0 7923 * src/common.h
Chris@0 7924 Added checking of HAVE_SNPRINTF and HAVE_VSNPRINTF and defining
Chris@0 7925 LSF_VSNPRINTF and LSF_VSNPRINTF to appropriate values.
Chris@0 7926
Chris@0 7927 * src/missing.c
Chris@0 7928 New file containing a minimal implementation of snprintf and vsnprintf
Chris@0 7929 functions named missing_snprintf and missing_vsnprintf respectively. These
Chris@0 7930 are only compliled into the binary if snprintf and/or vsnprintf are not
Chris@0 7931 available.
Chris@0 7932
Chris@0 7933 2001-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7934
Chris@0 7935 * src/ircam.c
Chris@0 7936 New file to handle Berkeley/IRCAM/CARL files.
Chris@0 7937
Chris@0 7938 * src/sndfile.c src/common.h
Chris@0 7939 Modified for IRCAM handling.
Chris@0 7940
Chris@0 7941 * tests/*.c
Chris@0 7942 Added tests for IRCAM files.
Chris@0 7943
Chris@0 7944 2001-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7945
Chris@0 7946 * src/wav.c
Chris@0 7947 Apparently microsoft windows (tm) doesn't like ulaw and Alaw WAV files with
Chris@0 7948 20 byte format chunks (contrary to ms's own documentation). Fixed the WAV
Chris@0 7949 header writing code to generate smaller ms compliant ulaw and Alaw WAV
Chris@0 7950 files.
Chris@0 7951
Chris@0 7952 2001-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7953
Chris@0 7954 * tests/stdio_test.sh tests/stdio_test.c
Chris@0 7955 Shell script was rewritten as a C program due to incompatibilities of the
Chris@0 7956 sh shell on Linux and Solaris.
Chris@0 7957
Chris@0 7958 2001-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7959
Chris@0 7960 * tests/stdio_test.sh tests/stdout_test.c tests/stdin_test.c
Chris@0 7961 New test programs to verify the correct operation of reading from stdin and
Chris@0 7962 writing to stdout.
Chris@0 7963
Chris@0 7964 * src/sndfile.c wav.c au.c nist.c paf.c
Chris@0 7965 Fixed a bugs uncovered by the new test programs above.
Chris@0 7966
Chris@0 7967 2001-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7968
Chris@0 7969 * src/sndfile.c wav.c
Chris@0 7970 Fixed a bug preventing reading a file from stdin. Found by T. Narita.
Chris@0 7971
Chris@0 7972 2001-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7973
Chris@0 7974 * src/common.h
Chris@0 7975 Fixed a problem on OpenBSD 2.9 which was causing sf_seek() to fail on IMA
Chris@0 7976 WAV files. Root cause was the declaration of the func_seek typedef not
Chris@0 7977 matching the functions it was actually being used to point to. In OpenBSD
Chris@0 7978 sizeof (off_t) != sizeof (int). Thanks to Heikki Korpela for allowing me
Chris@0 7979 to log into his OpenBSD machine to debug this problem.
Chris@0 7980
Chris@0 7981 2001-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7982
Chris@0 7983 * src/sndfile.c
Chris@0 7984 Implemented sf_command ("norm float").
Chris@0 7985
Chris@0 7986 * src/*.c
Chris@0 7987 Implemented handling of sf_command ("set-norm-float"). Float normalization
Chris@0 7988 can now be turned on and off.
Chris@0 7989
Chris@0 7990 * tests/double_test.c
Chris@0 7991 Renamed to floating_point_test.c. Modified to include tests for all scaled
Chris@0 7992 reads and writes of floats and doubles.
Chris@0 7993
Chris@0 7994 * src/au_g72x.c
Chris@0 7995 Fixed bug in normalization code found with improved floating_point_test
Chris@0 7996 program.
Chris@0 7997
Chris@0 7998 * src/wav.c
Chris@0 7999 Added code for parsing 'INFO' and 'LIST' chunks. Will be used for extract
Chris@0 8000 text annotations from WAV files.
Chris@0 8001
Chris@0 8002 * src/aiff.c
Chris@0 8003 Added code for parsing '(c) ' and 'ANNO' chunks. Will be used for extract
Chris@0 8004 text annotations from WAV files.
Chris@0 8005
Chris@0 8006 2001-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8007
Chris@0 8008 * examples/sf_info.c example/Makefile.am
Chris@0 8009 Renamed to sndfile_info.c. The program sndfile_info will now be installed
Chris@0 8010 when the library is installed.
Chris@0 8011
Chris@0 8012 * src/float_cast.h
Chris@0 8013 New file defining floating point to short and int casts. These casts will
Chris@0 8014 eventually replace all flot and double casts to short and int. See comments
Chris@0 8015 at the top of the file for the reasoning.
Chris@0 8016
Chris@0 8017 * src/*.c
Chris@0 8018 Changed all default float and double casts to short or int with macros
Chris@0 8019 defined in floatcast.h. At the moment these casts do nothing. They will be
Chris@0 8020 replaced with faster float to int cast operations in the near future.
Chris@0 8021
Chris@0 8022 2001-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8023
Chris@0 8024 * tests/command_test.c
Chris@0 8025 New file for testing sf_command () functionality.
Chris@0 8026
Chris@0 8027 * src/sndfile.c
Chris@0 8028 Revisiting of error return values of some functions.
Chris@0 8029 Started implementing sf_command () a new function will allow on-the-fly
Chris@0 8030 modification of library behaviour, or instance, sample value scaling.
Chris@0 8031
Chris@0 8032 * src/common.h
Chris@0 8033 Added hook for format specific sf_command () calls to SNDFILE struct.
Chris@0 8034
Chris@0 8035 * doc/api.html
Chris@0 8036 Updated and errors corrected.
Chris@0 8037
Chris@0 8038 * doc/command.html
Chris@0 8039 New documentation file explaining new sf_command () function.
Chris@0 8040
Chris@0 8041 2001-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8042
Chris@0 8043 * src/sndfile.c
Chris@0 8044 Fixed error return values from sf_read*() and sf_write*(). There were
Chris@0 8045 numerous instances of -1 being returned through size_t. These now all set
Chris@0 8046 error int the SF_PRIVATE struct and return 0. Thanks to David Viens for
Chris@0 8047 spotting this.
Chris@0 8048
Chris@0 8049 2001-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8050
Chris@0 8051 * src/common.c
Chris@0 8052 Fixed use of va_arg() calls that were causing warning messages with the
Chris@0 8053 latest version of gcc (thanks Maurizio Umberto Puxeddu).
Chris@0 8054
Chris@0 8055 2001-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8056
Chris@0 8057 * src/*.c src/sfendian.h
Chris@0 8058 Moved definition of MAKE_MARKER macro to sfendian.h
Chris@0 8059
Chris@0 8060 2001-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8061
Chris@0 8062 * src/sndfile.c
Chris@0 8063 Modified sf_get_lib_version () so that version string will be visible using
Chris@0 8064 the Unix strings command.
Chris@0 8065
Chris@0 8066 * examples/Makefile.am examples/sfinfo.c
Chris@0 8067 Renamed sfinfo program and source code to sf_info. This prevents a name
Chris@0 8068 clash with the program included with libaudiofile.
Chris@0 8069
Chris@0 8070 2001-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8071
Chris@0 8072 * tests/read_seek_test.c tests/lossy_comp_test.c
Chris@0 8073 Added tests for sf_read_float () and sf_readf_float ().
Chris@0 8074
Chris@0 8075 * src/voc.c
Chris@0 8076 New files for handling Creative Voice files (not complete).
Chris@0 8077
Chris@0 8078 * src/samplitude.c
Chris@0 8079 New files for handling Samplitude files (not complete).
Chris@0 8080
Chris@0 8081 2001-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8082
Chris@0 8083 * src/aiff.c src/au.c src/paf.c src/svx.c src/wav.c
Chris@0 8084 Converted these files to using psf_binheader_readf() function. Will soon be
Chris@0 8085 ready to attempt to make reading writing from pipes work reliably.
Chris@0 8086
Chris@0 8087 * src/*.[ch]
Chris@0 8088 Added code for sf_read_float () and sf_readf_float () methods of accessing
Chris@0 8089 file data.
Chris@0 8090
Chris@0 8091 2001-07-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8092
Chris@0 8093 * src/paf.c src/wav_gsm610.c
Chris@0 8094 Removed two printf()s which had escaped notice for some time (thanks
Chris@0 8095 Sigbjørn Skjæret).
Chris@0 8096
Chris@0 8097 2001-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8098
Chris@0 8099 * src/wav_gsm610.c
Chris@0 8100 Fixed a bug which prevented GSM 6.10 encoded WAV files generated by
Chris@0 8101 libsndfile from being played in Windoze (thanks klay).
Chris@0 8102
Chris@0 8103 2001-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8104
Chris@0 8105 * src/common.[ch]
Chris@0 8106 Implemented psf_binheader_readf() which will do for file header reading what
Chris@0 8107 psf_binheader_writef() did for writing headers. Will eventually allow
Chris@0 8108 libsndfile to read and write from pipes, including named pipes.
Chris@0 8109
Chris@0 8110 2001-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8111
Chris@0 8112 * MacOS/config.h Win32/config.h
Chris@0 8113 Attempted to bring these two files uptodate with src/config.h. As I don't
Chris@0 8114 have access to either of these systems support for them may be completely
Chris@0 8115 broken.
Chris@0 8116
Chris@0 8117 2001-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8118
Chris@0 8119 * src/float32.c
Chris@0 8120 Fixed bug for big endian processors that can't read 32 bit IEEE floats. Now
Chris@0 8121 tested on Intel x86 and UltraSparc processors.
Chris@0 8122
Chris@0 8123 2001-06-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8124
Chris@0 8125 * src/aiff.c
Chris@0 8126 Modified to allow REX files (from Propellorhead's Recycle and Reason
Chris@0 8127 programs) to be read.
Chris@0 8128 REX files are basically an AIFF file with slightly unusual sequence of
Chris@0 8129 chunks (AIFF files are supposed to allow any sequence) and some extra
Chris@0 8130 application specific information.
Chris@0 8131 Not yet able to write a REX file as the details of the application specific
Chris@0 8132 data is unknown.
Chris@0 8133
Chris@0 8134 2001-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8135
Chris@0 8136 * src/wav.c
Chris@0 8137 Fixed endian bug when reading PEAK chunk on big endian machines.
Chris@0 8138
Chris@0 8139 * src/common.c
Chris@0 8140 Fixed endian bug when reading PEAK chunk on big endian machines with
Chris@0 8141 --enable-force-broken-float configure option.
Chris@0 8142 Fix psf_binheader_writef for (FORCE_BROKEN_FLOAT ||______)
Chris@0 8143
Chris@0 8144 2001-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8145
Chris@0 8146 * configure.in src/config.h.in
Chris@0 8147 Removed old CAN_READ_WRITE_x86_IEEE configure variable now that float
Chris@0 8148 capabilities are detected at run time.
Chris@0 8149 Added FORCE_BROKEN_FLOAT to allow testing of broken float code on machines
Chris@0 8150 where the processor can in fact handle floats correctly.
Chris@0 8151
Chris@0 8152 * src/float32.c
Chris@0 8153 Rejigged code reading and writing of floats on broken processors.
Chris@0 8154
Chris@0 8155 * m4/
Chris@0 8156 Removed this directory and all its files as they are no longer needed.
Chris@0 8157
Chris@0 8158 2001-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8159
Chris@0 8160 * tests/peak_chunk_test.c
Chris@0 8161 New test to validate reading and writing of peak chunk.
Chris@0 8162
Chris@0 8163 * examples/sfconvert
Chris@0 8164 Added -float32 option.
Chris@0 8165
Chris@0 8166 * src/*.c
Chris@0 8167 Changed all error return values to negative values (ie the negative of what
Chris@0 8168 they were).
Chris@0 8169
Chris@0 8170 * src/sndfile.c tests/error_test.c
Chris@0 8171 Modified to take account of the previous change.
Chris@0 8172
Chris@0 8173 2001-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8174
Chris@0 8175 * src/float32.c
Chris@0 8176 File renamed from wav_float.c and renamed function to something more
Chris@0 8177 general.
Chris@0 8178 Added runtime detection of floating point capabilities.
Chris@0 8179 Added recording of peaks during write for generation of PEAK chunk.
Chris@0 8180
Chris@0 8181 * src/wav.c src/aiff.c
Chris@0 8182 Added handing for PEAK chunk for floating point files. PEAK is read when the
Chris@0 8183 file headers are read and generated when the file is closed. Logic is in
Chris@0 8184 place for adding PEAK chunk to end of file when writing to a pipe (reading
Chris@0 8185 and writing from/to pipe to be implemented soon).
Chris@0 8186
Chris@0 8187 * src/sndfile.c
Chris@0 8188 Modified sf_signal_max () to use PEAK values if present.
Chris@0 8189
Chris@0 8190 2001-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8191
Chris@0 8192 * src/*.c
Chris@0 8193 Added pcm_read_init () and pcm_write_init () to src/pcm.c and removed all
Chris@0 8194 other calls to functions in this file from the filetype specific files.
Chris@0 8195
Chris@0 8196 * src/*.c
Chris@0 8197 Added alaw_read_init (), alaw_write_int (), ulaw_read_init () and
Chris@0 8198 ulaw_write_init () and removed all other calls to functions in alaw.c and
Chris@0 8199 ulaw.c from the filetype specific files.
Chris@0 8200
Chris@0 8201 * tests/write_read_test.c
Chris@0 8202 Added tests to validate sf_seek () on all file types.
Chris@0 8203
Chris@0 8204 * src/raw.c
Chris@0 8205 Implemented raw_seek () function to fix a bug where
Chris@0 8206 sf_seek (file, 0, SEEK_SET) on a RAW file failed.
Chris@0 8207
Chris@0 8208 * src/paf.c
Chris@0 8209 Fixed a bug in paf24_seek () found due to added seeks tests in
Chris@0 8210 tests/write_read_test.c
Chris@0 8211
Chris@0 8212 2001-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8213
Chris@0 8214 * tests/read_seek_test.c
Chris@0 8215 Fixed a couple of broken binary files.
Chris@0 8216
Chris@0 8217 * src/aiff.c src/wav.c
Chris@0 8218 Added handling of PEAK chunks on file read.
Chris@0 8219
Chris@0 8220 2001-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8221
Chris@0 8222 * check_libsndfile.py
Chris@0 8223 New file for the regression testing of libsndfile.
Chris@0 8224 check_libsndfile.py is a Python script which reads in a file containing
Chris@0 8225 filenames of audio files. Each file is checked by running the examples/sfinfo
Chris@0 8226 program on them and checking for error or warning messages in the libsndfile
Chris@0 8227 log buffer.
Chris@0 8228
Chris@0 8229 * check_libsndfile.list
Chris@0 8230 This is an example list of audio files for use with check_libsndfile.py
Chris@0 8231
Chris@0 8232 * tests/lossy_comp_test.c
Chris@0 8233 Changed the defined value of M_PI for math header files which don't have it.
Chris@0 8234 This fixed validation test failures on MetroWerks compilers. Thanks to Lord
Chris@0 8235 Praetor Satanus of Acheron for bringing this to my attention.
Chris@0 8236
Chris@0 8237 2001-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8238
Chris@0 8239 * src/common.[ch]
Chris@0 8240 Removed psf_header_setf () which was no longer required after refactoring
Chris@0 8241 and simplification of header writing.
Chris@0 8242 Added 'z' format specifier to psf_binheader_writef () for zero filling header
Chris@0 8243 with N bytes. Used by paf.c and nist.c
Chris@0 8244
Chris@0 8245 * tests/check_log_buffer.c
Chris@0 8246 New file implementing check_log_buffer () which reads the log buffer of a
Chris@0 8247 SNDFILE* object and searches for error and warning messages. Calls exit ()
Chris@0 8248 if any are found.
Chris@0 8249
Chris@0 8250 * tests/*.c
Chris@0 8251 Added calls to check_log_buffer () after each call to sf_open_XXX ().
Chris@0 8252
Chris@0 8253 2001-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8254
Chris@0 8255 * src/wav.c src/wav_ms_adpcm.c src/wav_gsm610.c
Chris@0 8256 Major rehack of header writing using psf_binheader_writef ().
Chris@0 8257
Chris@0 8258 2001-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8259
Chris@0 8260 * src/wav.c src/wav_ima_adpcm.c
Chris@0 8261 Major rehack of header writing using psf_binheader_writef ().
Chris@0 8262
Chris@0 8263 2001-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8264
Chris@0 8265 * src/wav.c
Chris@0 8266 Changed return type of get_encoding_str () to prevent compiler warnings on
Chris@0 8267 Mac OSX.
Chris@0 8268
Chris@0 8269 * src/aiff.c src/au.c
Chris@0 8270 Major rehack of header writing using psf_binheader_writef ().
Chris@0 8271
Chris@0 8272 2001-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8273
Chris@0 8274 * src/common.h src/common.c
Chris@0 8275 Added comments.
Chris@0 8276 Name of log buffer changed from strbuffer to logbuffer.
Chris@0 8277 Name of log buffer index variable changed from strindex to logindex.
Chris@0 8278
Chris@0 8279 * src/*.[ch]
Chris@0 8280 Changed name of internal logging function from psf_sprintf () to
Chris@0 8281 psf_log_printf ().
Chris@0 8282 Changed name of internal header generation functions from
Chris@0 8283 psf_[ab]h_printf () to psf_asciiheader_printf () and
Chris@0 8284 psf_binheader_writef ().
Chris@0 8285 Changed name of internal header manipulation function psf_hsetf () to
Chris@0 8286 psf_header_setf ().
Chris@0 8287
Chris@0 8288 2001-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8289
Chris@0 8290 * src/nist.c
Chris@0 8291 Fixed reading and writing of sample_byte_format header. "01" means little
Chris@0 8292 endian and "10" means big endian regardless of bit width.
Chris@0 8293
Chris@0 8294 * configure.in
Chris@0 8295 Detect Mac OSX and disable -Wall and -pedantic gcc options. Mac OSX is
Chris@0 8296 way screwed up and spews out buckets of warning messages from the system
Chris@0 8297 headers.
Chris@0 8298 Added --disable-gcc-opt configure option (sets gcc optimisation to -O0 ) for
Chris@0 8299 easier debugging.
Chris@0 8300 Made decision to harmonise source code version number and .so library
Chris@0 8301 version number. Future releases will stick to this rule.
Chris@0 8302
Chris@0 8303 * doc/new_file_type.HOWTO
Chris@0 8304 New file to document the addition of new file types to libsndfile.
Chris@0 8305
Chris@0 8306 2001-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8307
Chris@0 8308 * src/nist.c
Chris@0 8309 New file for reading/writing Sphere NIST audio file format.
Chris@0 8310 Originally requested by Elis Pomales in 1999.
Chris@0 8311 Retrieved from unstable (and untouched for 18 months) branch of libsndfile.
Chris@0 8312 Some vital information gleaned from the source code to Bill Schottstaedt's
Chris@0 8313 sndlib library : ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
Chris@0 8314 Currently reading and writing 16, 24 and 32 bit, big-endian and little
Chris@0 8315 endian, stereo and mono files.
Chris@0 8316
Chris@0 8317 * src/common.h src/common.c
Chris@0 8318 Added psf_ah_printf () function to help construction of ASCII headers (ie NIST).
Chris@0 8319
Chris@0 8320 * configure.in
Chris@0 8321 Added test for vsnprintf () required by psf_ah_printf ().
Chris@0 8322
Chris@0 8323 * tests/write_read_test.c
Chris@0 8324 Added tests for supported NIST files.
Chris@0 8325
Chris@0 8326 2001-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8327
Chris@0 8328 * tests/write_read_test.c
Chris@0 8329 Added tests for little endian AIFC files.
Chris@0 8330
Chris@0 8331 * src/aiff.c
Chris@0 8332 Minor re-working of aiff_open_write ().
Chris@0 8333 Added write support for little endian PCM encoded AIFC files.
Chris@0 8334
Chris@0 8335 2001-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8336
Chris@0 8337 * src/aiff.c
Chris@0 8338 Minor re-working of aiff_open_read ().
Chris@0 8339 Added read support for little endian PCM encoded AIFC files from the Mac
Chris@0 8340 OSX CD ripper program. Guillaume Lessard provided a couple of sample files
Chris@0 8341 and a working patch.
Chris@0 8342 The patch was not used as is but gave a good guide as to what to do.
Chris@0 8343
Chris@0 8344 2001-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8345
Chris@0 8346 * src/sndfile.h
Chris@0 8347 Fixed comments about endian-ness of WAV and AIFF files. Guillaume Lessard
Chris@0 8348 pointed out the error.
Chris@0 8349
Chris@0 8350 2001-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8351
Chris@0 8352 * examples/make_sine.c
Chris@0 8353 Re-write of this example using sample rate and required frequency in Hz.
Chris@0 8354
Chris@0 8355 2001-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8356
Chris@0 8357 * src/sndfile.c
Chris@0 8358 Fixed bug that prevented known file types from being read as RAW PCM data.
Chris@0 8359
Chris@0 8360 2000-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8361
Chris@0 8362 * src/aiff.c
Chris@0 8363 Added handing of COMT chunk.
Chris@0 8364
Chris@0 8365 2000-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8366
Chris@0 8367 * examples/sfconvert.c
Chris@0 8368 Fixed bug in normalisatio code. Pointed out by Johnny Wu.
Chris@0 8369
Chris@0 8370 2000-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8371
Chris@0 8372 * Win32/config.h
Chris@0 8373 Fixed the incorrect setting of HAVE_ENDIAN_H parameter. Win32 only issue.
Chris@0 8374
Chris@0 8375 2000-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8376
Chris@0 8377 * tests/Makefile.am
Chris@0 8378 Added -lm for write_read_test_LDADD.
Chris@0 8379
Chris@0 8380 2000-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8381
Chris@0 8382 * src/sndfile.c src/au.c
Chris@0 8383 Fixed bug which prevented writing of G723 24kbps AU files.
Chris@0 8384
Chris@0 8385 * tests/lossy_comp_test.c
Chris@0 8386 Corrrection to options for G723 tests.
Chris@0 8387
Chris@0 8388 * configure.in
Chris@0 8389 Added --disable-gcc-pipe option for DJGPP compiler (gcc on MS-DOS) which
Chris@0 8390 doesn't allow gcc -pipe option.
Chris@0 8391
Chris@0 8392 2000-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8393
Chris@0 8394 * src/ulaw.c src/alaw.c src/wav_imaadpcm.c src/msadpcm.c src/wav_gsm610.c
Chris@0 8395 Fixed normailsation bugs shown up by new double_test program.
Chris@0 8396
Chris@0 8397 2000-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8398
Chris@0 8399 * src/pcm.c
Chris@0 8400 Fixed bug in normalisation code (spotted by Steve Lhomme).
Chris@0 8401
Chris@0 8402 * tests/double_test.c
Chris@0 8403 New file to test scaled and unscaled sf_read_double() and sf_write_double()
Chris@0 8404 functions.
Chris@0 8405
Chris@0 8406 2000-08-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8407
Chris@0 8408 * COPYING
Chris@0 8409 Changed to the LGPL COPYING file (spotted by H. S. Teoh).
Chris@0 8410
Chris@0 8411 2000-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8412
Chris@0 8413 * src/sndfile.h
Chris@0 8414 Removed prototype of unimplemented function sf_get_info(). Added prototype
Chris@0 8415 for sf_error_number() Thanks to Sigbjørn Skjæret for spotting these.
Chris@0 8416
Chris@0 8417 2000-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8418
Chris@0 8419 * src/newpcm.h
Chris@0 8420 New file to contain a complete rewrite of the PCM data handling.
Chris@0 8421
Chris@0 8422 2000-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8423
Chris@0 8424 * src/sndfile.c
Chris@0 8425 Fixed a leak of FILE* pointers in sf_open_write(). Thanks to Sigbjørn
Chris@0 8426 Skjæret for spotting this one.
Chris@0 8427
Chris@0 8428 2000-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8429
Chris@0 8430 * src/au_g72x.c src/G72x/g72x.c
Chris@0 8431 Added G723 encoded AU file support.
Chris@0 8432
Chris@0 8433 * tests/lossy_comp_test.c
Chris@0 8434 Added tests for G721 and G723 encoded AU files.
Chris@0 8435
Chris@0 8436 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8437
Chris@0 8438 * all files
Chris@0 8439 Changed the license to LGPL. Albert Faber who had copyright on
Chris@0 8440 Win32/unistd.h gave his permission to change the license on that file. All
Chris@0 8441 other files were either copyright erikd AT mega-nerd DOT com or copyright
Chris@0 8442 under a GPL/LGPL compatible license.
Chris@0 8443
Chris@0 8444 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8445
Chris@0 8446 * tests/lossy_comp_test.c
Chris@0 8447 Fixed incorrect error message.
Chris@0 8448
Chris@0 8449 * src/au_g72x.c src/G72x/*
Chris@0 8450 G721 encoded AU files now working.
Chris@0 8451
Chris@0 8452 * Win32/README-Win32.txt
Chris@0 8453 Replaced this file with a new one which gives a full explanation
Chris@0 8454 of how to build libsndfile under Win32. Thanks to Mike Ricos.
Chris@0 8455
Chris@0 8456 2000-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8457
Chris@0 8458 * src/*.[ch]
Chris@0 8459 Removed double leading underscores from the start of all variable and
Chris@0 8460 function names. Identifiers with a leading underscores are reserved
Chris@0 8461 for use by the compiler.
Chris@0 8462
Chris@0 8463 * src/au_g72x.c src/G72x/*
Chris@0 8464 Continued work on G721 encoded AU files.
Chris@0 8465
Chris@0 8466 2000-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8467
Chris@0 8468 * src/G72x/*
Chris@0 8469 New files for reading/writing G721 and G723 ADPCM audio. These files
Chris@0 8470 are from a Sun Microsystems reference implementation released under a
Chris@0 8471 free software licence.
Chris@0 8472 Extensive changes to this code to make it fit in with libsndfile.
Chris@0 8473 See the ChangeLog in this directory for details.
Chris@0 8474
Chris@0 8475 * src/au_g72x.c
Chris@0 8476 New file for G721 encoded AU files.
Chris@0 8477
Chris@0 8478 2000-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8479
Chris@0 8480 * libsndfile.spec.in
Chris@0 8481 Added a spec file for making RPMs. Thanks to Josh Green for supplying this.
Chris@0 8482
Chris@0 8483 2000-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8484
Chris@0 8485 * src/sndfile.c src/sndfile.h
Chris@0 8486 Add checking for and handling of header-less u-law encoded AU/SND files.
Chris@0 8487 Any file with a ".au" or ".snd" file extension and without the normal
Chris@0 8488 AU file header is treated as an 8kHz, u-law encoded file.
Chris@0 8489
Chris@0 8490 * src/au.h
Chris@0 8491 New function for opening a headerless u-law encoded file for read.
Chris@0 8492
Chris@0 8493 2000-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8494
Chris@0 8495 * src/paf.c
Chris@0 8496 Add checking for files shorter than minimal PAF file header length.
Chris@0 8497
Chris@0 8498 2000-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8499
Chris@0 8500 * tests/write_read_test.c
Chris@0 8501 Added extra sf_perror() calls when sf_write_XXXX fails.
Chris@0 8502
Chris@0 8503 2000-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8504
Chris@0 8505 * src/common.c
Chris@0 8506 Modified usage of va_arg() macro to work correctly on PowerPC
Chris@0 8507 Linux. Thanks to Kyle Wheeler for giving me ssh access to his
Chris@0 8508 machine while I was trying to track this down.
Chris@0 8509
Chris@0 8510 * configure.in src/*.[ch]
Chris@0 8511 Sorted out some endian-ness issues brought up by PowerPC Linux.
Chris@0 8512
Chris@0 8513 * tests/read_seek_test.c
Chris@0 8514 Added extra debugging for when tests fail.
Chris@0 8515
Chris@0 8516 2000-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8517
Chris@0 8518 * src/wav.c
Chris@0 8519 Fixed bug in GSM 6.10 handling for big-endian machines. Thanks
Chris@0 8520 to Sigbjørn Skjæret for reporting this.
Chris@0 8521
Chris@0 8522 2000-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8523
Chris@0 8524 * src/sndfile.c src/wav.c src/wav_gsm610.c
Chris@0 8525 Finallised writing of GSM 6.10 WAV files.
Chris@0 8526
Chris@0 8527 * tests/lossy_comp_test.c
Chris@0 8528 Wrote new test code for GSM 6.10 files.
Chris@0 8529
Chris@0 8530 * examples/sfinfo.c
Chris@0 8531 Fixed incorrect format in printf() statement.
Chris@0 8532
Chris@0 8533 2000-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8534
Chris@0 8535 * src/sndfile.h.in
Chris@0 8536 Fixed comments about sf_perror () and sf_error_str ().
Chris@0 8537
Chris@0 8538 2000-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8539
Chris@0 8540 * configure.in
Chris@0 8541 Fixed --enable-justsrc option.
Chris@0 8542
Chris@0 8543 2000-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8544
Chris@0 8545 * wav.c
Chris@0 8546 Fixed checking of bytespersec field of header. Still some weirdness
Chris@0 8547 with some files.
Chris@0 8548
Chris@0 8549 2000-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8550
Chris@0 8551 * tests/lossy_comp_test.c
Chris@0 8552 Added option to test PCM WAV files (sanity check).
Chris@0 8553 Fixed bug in sf_seek() tests.
Chris@0 8554
Chris@0 8555 2000-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8556
Chris@0 8557 * src/sndfile.c src/wav.c
Chris@0 8558 Minor changes to allow writing of GSM 6.10 WAV files.
Chris@0 8559
Chris@0 8560 2000-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8561
Chris@0 8562 * configure.in Makefile.am src/Makefile.am
Chris@0 8563 Finally got around to figuring out how to build a single library from
Chris@0 8564 multiple source directories.
Chris@0 8565 Reading GSM 6.10 files now seems to work.
Chris@0 8566
Chris@0 8567 2000-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8568
Chris@0 8569 * src/wav.c
Chris@0 8570 Added more error reporting in read_fmt_chunk().
Chris@0 8571
Chris@0 8572 1999-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8573
Chris@0 8574 * examples/sfinfo.c
Chris@0 8575 Modified program to accept multiple filenames from the command line.
Chris@0 8576
Chris@0 8577 1999-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8578
Chris@0 8579 * src/wav_ima_adpcm.c
Chris@0 8580 Moved code around in preparation to adding ability to read/write IMA ADPCM
Chris@0 8581 encoded AIFF files.
Chris@0 8582
Chris@0 8583 1999-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8584
Chris@0 8585 * src/common.c
Chris@0 8586 Fixed put_int() and put_short() macros used by _psf_hprintf() which were
Chris@0 8587 causing seg. faults on Sparc Solaris.
Chris@0 8588
Chris@0 8589 1999-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8590
Chris@0 8591 * src/common.c
Chris@0 8592 Added string.h to includes. Thanks to Sigbjxrn Skjfret.
Chris@0 8593
Chris@0 8594 * src/svx.c
Chris@0 8595 Fixed __svx_close() function to ensure FORM and BODY chunks are correctly
Chris@0 8596 set.
Chris@0 8597
Chris@0 8598 1999-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8599
Chris@0 8600 * src/au.c
Chris@0 8601 Fixed handling of incorrect size field in AU header on read. Thanks to
Chris@0 8602 Christoph Lauer for finding this problem.
Chris@0 8603
Chris@0 8604 1999-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8605
Chris@0 8606 * src/aiff.c
Chris@0 8607 Fixed a bug with incorrect SSND chunk length being written. This also lead
Chris@0 8608 to finding an minor error in AIFF header parsing. Thanks to Dan Timis for
Chris@0 8609 pointing this out.
Chris@0 8610
Chris@0 8611 1999-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8612
Chris@0 8613 * src/paf.c
Chris@0 8614 Fixed a bug with reading and writing 24 bit stereo PAF files. This problem
Chris@0 8615 came to light when implementing tests for the new functions which operate
Chris@0 8616 in terms of frames rather than items.
Chris@0 8617
Chris@0 8618 1999-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8619
Chris@0 8620 * src/sndfile.c
Chris@0 8621 Modified file type detection to use first 12 bytes of file rather than
Chris@0 8622 file name extension. Required this because NIST files use the same
Chris@0 8623 filename extension as Microsoft WAV files.
Chris@0 8624
Chris@0 8625 * src/sndfile.c src/sndfile.h
Chris@0 8626 Added short, int and double read/write functions which work in frames
Chris@0 8627 rather than items. This was originally suggested by Maurizio Umberto
Chris@0 8628 Puxeddu.
Chris@0 8629
Chris@0 8630 1999-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8631
Chris@0 8632 * src/svx.c
Chris@0 8633 Finished off implementation of write using __psf_hprintf().
Chris@0 8634
Chris@0 8635 1999-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8636
Chris@0 8637 * src/common.h
Chris@0 8638 Added a buffer to SF_PRIVATE for writing the header. This is required
Chris@0 8639 to make generating headers for IFF/SVX files easier as well as making
Chris@0 8640 it easier to do re-write the headers which will be required when
Chris@0 8641 sf_rewrite_header() is implemented.
Chris@0 8642
Chris@0 8643 * src/common.c
Chris@0 8644 Implemented __psf_hprintf() function. This is an internal function
Chris@0 8645 which is documented briefly just above the code.
Chris@0 8646
Chris@0 8647 1999-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8648
Chris@0 8649 * src/sndfile.c
Chris@0 8650 Fixed a bug in sf_write_raw() where it was returning incorrect values
Chris@0 8651 (thanks to Richard Dobson for finding this one). Must put in a test
Chris@0 8652 routine for sf_read_raw and sf_write_raw.
Chris@0 8653
Chris@0 8654 * src/aiff.c
Chris@0 8655 Fixed default FORMsize in __aiff_open_write ().
Chris@0 8656
Chris@0 8657 * src/sndfile.c
Chris@0 8658 Added copy of filename to internal data structure. IFF/SVX files
Chris@0 8659 contain a NAME header chunk. Both sf_open_read() and sf_open_write()
Chris@0 8660 copy the file name (less the leading path information) to the
Chris@0 8661 filename field.
Chris@0 8662
Chris@0 8663 * src/svx.c
Chris@0 8664 Started implementing writing of files.
Chris@0 8665
Chris@0 8666 1999-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8667
Chris@0 8668 * src/svx.c
Chris@0 8669 New file for reading/writing 8SVX and 16SVX files.
Chris@0 8670
Chris@0 8671 * src/sndfile.[ch] src/common.h
Chris@0 8672 Changes for SVX files.
Chris@0 8673
Chris@0 8674 * src/aiff.c
Chris@0 8675 Fixed header parsing when unknown chunk is found.
Chris@0 8676
Chris@0 8677 1999-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8678
Chris@0 8679 * src/paf.c
Chris@0 8680 New file for reading/writing Ensoniq PARIS audio file format.
Chris@0 8681
Chris@0 8682 * src/sndfile.[ch] src/common.h
Chris@0 8683 Changes for PAF files.
Chris@0 8684
Chris@0 8685 * src/sndfile.[ch]
Chris@0 8686 Added stuff for sf_get_lib_version() function.
Chris@0 8687
Chris@0 8688
Chris@0 8689 1999-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8690
Chris@0 8691 * src/sndfile.h MacOS/config.h
Chris@0 8692 Fixed minor MacOS configuration issues.
Chris@0 8693
Chris@0 8694 1999-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8695
Chris@0 8696 * MacOS/
Chris@0 8697 Added a new directory for the MacOS config.h file and the
Chris@0 8698 readme file.
Chris@0 8699
Chris@0 8700 * src/aiff.c
Chris@0 8701 Fixed calculation of datalength when reading SSND chunk. Thanks to
Chris@0 8702 Sigbjørn Skjæret for pointing out this error.
Chris@0 8703
Chris@0 8704 1999-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8705
Chris@0 8706 * src/sndfile.c src/sndfile.h src/raw.c
Chris@0 8707 Further fixing of #includes for MacOS.
Chris@0 8708
Chris@0 8709 1999-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8710
Chris@0 8711 * src/wav.c src/aiff.c
Chris@0 8712 Added call to ferror () in main header parsing loop of __XXX_open_read
Chris@0 8713 functions. This should fix problems on platforms (MacOS, AmigaOS) where
Chris@0 8714 fseek()ing or fread()ing beyond the end of the file puts the FILE*
Chris@0 8715 stream in an error state until clearerr() is called.
Chris@0 8716
Chris@0 8717 * tests/write_read_test.c
Chris@0 8718 Added tests for RAW header-less PCM files.
Chris@0 8719
Chris@0 8720 * src/common.h
Chris@0 8721 Moved definition of struct tribyte to pcm.c which is the only place
Chris@0 8722 which needs it.
Chris@0 8723
Chris@0 8724 * src/pcm.c
Chris@0 8725 Modified all code which assumed sizeof (struct tribyte) == 3. This code
Chris@0 8726 did not work on MacOS. Thanks to Ben "Jacobs" for pointing this out.
Chris@0 8727
Chris@0 8728 * src/au.c
Chris@0 8729 Removed <sys/stat.h> from list of #includes (not being used).
Chris@0 8730
Chris@0 8731 * src/sndfile.c
Chris@0 8732 Added MacOS specific #ifdef to replace <sys/stat.h>.
Chris@0 8733
Chris@0 8734 * src/sndfile.h
Chris@0 8735 Added MacOS specific #ifdef to replace <sys/stat.h>.
Chris@0 8736
Chris@0 8737 * src/sndfile.h
Chris@0 8738 Added MacOS specific typedef for off_t.
Chris@0 8739
Chris@0 8740 * MacOS-readme.txt
Chris@0 8741 New file with instructions for building libsndfile under MacOS. Thanks
Chris@0 8742 to Ben "Jacobs" for supplying these instructions.
Chris@0 8743
Chris@0 8744 1999-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8745
Chris@0 8746 * configure.in
Chris@0 8747 Removed sndfile.h from generated file list as there were no longer
Chris@0 8748 any autoconf substitutions being made.
Chris@0 8749
Chris@0 8750 * src/raw.c
Chris@0 8751 New file for handling raw header-less PCM files. In order to open these
Chris@0 8752 for read, the user must specify format, pcmbitwidth and channels in the
Chris@0 8753 SF_INFO struct when calling sf_open_read ().
Chris@0 8754
Chris@0 8755 * src/sndfile.c
Chris@0 8756 Added support for raw header-less PCM files.
Chris@0 8757
Chris@0 8758 1999-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8759
Chris@0 8760 * examples/sfinfo.c
Chris@0 8761 Removed options so the sfinfo program always prints out all the information.
Chris@0 8762
Chris@0 8763 1999-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8764
Chris@0 8765 * src/alaw.c
Chris@0 8766 New file for A-law encoding (similar to u-law).
Chris@0 8767
Chris@0 8768 * tests/alaw_test.c
Chris@0 8769 New test program to test the A-law encode/decode lookup tables.
Chris@0 8770
Chris@0 8771 * tests/lossy_comp_test.c
Chris@0 8772 Added tests for a-law encoded WAV, AU and AULE files.
Chris@0 8773
Chris@0 8774 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8775
Chris@0 8776 * src/sndfile.c src/au.c
Chris@0 8777 Removed second "#include <unistd.h>". Thanks to Ben "Jacobs" for pointing
Chris@0 8778 this out.
Chris@0 8779
Chris@0 8780 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8781
Chris@0 8782 * tests/ulaw_test.c
Chris@0 8783 New test program to test the u-law encode/decode lookup tables.
Chris@0 8784
Chris@0 8785 1999-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8786
Chris@0 8787 * src/sndfile.h
Chris@0 8788 Made corrections to comments on the return values from sf_seek ().
Chris@0 8789
Chris@0 8790 * src/sndfile.c
Chris@0 8791 Fixed boundary condition checking bug and accounting bug in sf_read_raw ().
Chris@0 8792
Chris@0 8793 1999-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8794
Chris@0 8795 * src/au.c src/ulaw.c
Chris@0 8796 Finished implementation of u-law encoded AU files.
Chris@0 8797
Chris@0 8798 * src/wav.c
Chris@0 8799 Implemented reading and writing of u-law encoded WAV files.
Chris@0 8800
Chris@0 8801 * tests/
Chris@0 8802 Changed name of adpcm_test.c to lossy_comp_test.c. This test program
Chris@0 8803 will now be used to test Ulaw and Alaw encoding as well as APDCM.
Chris@0 8804 Added tests for Ulaw encoded WAV files.
Chris@0 8805
Chris@0 8806 1999-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8807
Chris@0 8808 * tests/adpcm_test.c
Chris@0 8809 Initialised amp variable in gen_signal() to remove compiler warning.
Chris@0 8810
Chris@0 8811 1999-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8812
Chris@0 8813 * src/aiff.c
Chris@0 8814 In __aiff_open_read () prevented fseek()ing beyond end of file which
Chris@0 8815 was causing trouble on MacOS with the MetroWerks compiler. Thanks to
Chris@0 8816 Ben "Jacobs" for pointing this out.
Chris@0 8817
Chris@0 8818 *src/wav.c
Chris@0 8819 Fixed as above in __wav_open_read ().
Chris@0 8820
Chris@0 8821 1999-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8822
Chris@0 8823 * src/wav_ms_adpcm.c
Chris@0 8824 Implemented MS ADPCM encoding. Code cleanup of decoder.
Chris@0 8825
Chris@0 8826 * tests/adpcm_test.c
Chris@0 8827 Added tests for MS ADPCM WAV files.
Chris@0 8828
Chris@0 8829 * src/wav_ima_adpcm.c
Chris@0 8830 Fixed incorrect parameter in call to srate2blocksize () from
Chris@0 8831 __ima_writer_init ().
Chris@0 8832
Chris@0 8833 1999-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8834
Chris@0 8835 * tests/read_seek_test.c
Chris@0 8836 Added test for 8 bit AIFF files.
Chris@0 8837
Chris@0 8838 1999-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8839
Chris@0 8840 * tests/write_read_test.c
Chris@0 8841 Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c
Chris@0 8842
Chris@0 8843 * configure.in
Chris@0 8844 Added -Wconversion to CFLAGS.
Chris@0 8845
Chris@0 8846 * src/*.c tests/*.c examples/*.c
Chris@0 8847 Fixed all warnings resulting from use of -Wconversion.
Chris@0 8848
Chris@0 8849 1999-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8850
Chris@0 8851 * src/wav.c
Chris@0 8852 Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
Chris@0 8853 WAV files.
Chris@0 8854
Chris@0 8855 * src/wav_ima.c
Chris@0 8856 Changed block alignment to be dependant on sample rate. This should make
Chris@0 8857 WAV files created with libsndfile compatible with the MS Windows media
Chris@0 8858 players.
Chris@0 8859
Chris@0 8860 * tests/adpcm_test.c
Chris@0 8861 Reimplemented adpcm_test_short and implemented adpcm_test_int and
Chris@0 8862 adpcm_test_double.
Chris@0 8863 Now have full testing of IMA ADPCM WAV file read, write and seek.
Chris@0 8864
Chris@0 8865 1999-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8866
Chris@0 8867 * src/wav_float.c
Chris@0 8868 Fixed function prototype for x86f2d_array () which was causing ocassional
Chris@0 8869 seg. faults on Sparc Solaris machines.
Chris@0 8870
Chris@0 8871 1999-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8872
Chris@0 8873 * src/aiff.c
Chris@0 8874 Fixed bug in __aiff_close where the length fields in the header were
Chris@0 8875 not being correctly calculated before writing.
Chris@0 8876
Chris@0 8877 * tests/write_read_test.c
Chris@0 8878 Modified to detect the above bug in WAV, AIFF and AU files.
Chris@0 8879
Chris@0 8880 1999-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8881
Chris@0 8882 * Win32/*
Chris@0 8883 Added a contribution from Albert Faber to allow libsndfile to compile
Chris@0 8884 under Win32 systems. libsndfile will now be used as part of LAME the
Chris@0 8885 the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).
Chris@0 8886
Chris@0 8887 1999-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8888
Chris@0 8889 * configure.in
Chris@0 8890 Changed to reflect previous changes.
Chris@0 8891
Chris@0 8892 * src/wav_ima_adpcm.c
Chris@0 8893 Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
Chris@0 8894
Chris@0 8895 Fixed bug when writing from int or double data to IMA ADPCM file. Will need
Chris@0 8896 to write test code for this.
Chris@0 8897
Chris@0 8898 Fixed bug in __ima_write () whereby the length of the current block was
Chris@0 8899 calculated incorrectly. Thanks to Jongcheon Park for pointing this out.
Chris@0 8900
Chris@0 8901 1999-03-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8902
Chris@0 8903 * src/*.c
Chris@0 8904 Changed all read/write/lseek function calls to fread/fwrite/
Chris@0 8905 fseek/ftell and added error checking of return values from
Chris@0 8906 fread and fwrite in critical areas of the code.
Chris@0 8907
Chris@0 8908 * src/au.c
Chris@0 8909 Fixed incorrect datasize element in AU header on write.
Chris@0 8910
Chris@0 8911 * tests/error_test.c
Chris@0 8912 Add new test to check all error values have an associated error
Chris@0 8913 string. This will avoid embarrassing real world core dumps.
Chris@0 8914
Chris@0 8915 1999-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8916
Chris@0 8917 * src/wav.c src/aiff.c
Chris@0 8918 Added handling for unknown chunk markers in the file.
Chris@0 8919
Chris@0 8920 1999-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8921
Chris@0 8922 * src/sndfile.c
Chris@0 8923 Filled in missing error strings in SndfileErrors array. Missing entries
Chris@0 8924 can cause core dumps when calling sf_error-str (). Thanks to Sam
Chris@0 8925 <mrsam at-sign geocities.com> for finding this problem.
Chris@0 8926
Chris@0 8927 1999-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8928
Chris@0 8929 * src/wav_ima_adpcm.c
Chris@0 8930 Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading
Chris@0 8931 stereo files. Caused by not adjusting offset into buffer of decoded
Chris@0 8932 samples for 2 channels. A similar bug existed in __ima_write ().
Chris@0 8933 Need a test for stereo ADPCM files.
Chris@0 8934
Chris@0 8935 * src/wav_ms_adpcm.c
Chris@0 8936 Decoder working correctly.
Chris@0 8937
Chris@0 8938 1999-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8939
Chris@0 8940 * configure.in Makefile.am
Chris@0 8941 Added --enable-justsrc configuration variable sent by Sam
Chris@0 8942 <mrsam at-sign geocities.com>.
Chris@0 8943
Chris@0 8944 * src/wav_ima_adpcm.c
Chris@0 8945 Fixed bug when reading beyond end of data section due to not
Chris@0 8946 checking pima->blockcount.
Chris@0 8947 This uncovered __ima_seek () bug due to pima->blockcount being set
Chris@0 8948 before calling __ima_init_block ().
Chris@0 8949
Chris@0 8950 1999-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8951
Chris@0 8952 * src/wav.c
Chris@0 8953 Started implementing MS ADPCM decoder.
Chris@0 8954 If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
Chris@0 8955 encoder seems to add an extra byte. Why not just give an even data
Chris@0 8956 length?
Chris@0 8957
Chris@0 8958 1999-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8959
Chris@0 8960 * src/wav.c
Chris@0 8961 Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
Chris@0 8962 This will make it easier to add and debug other kinds of WAV files
Chris@0 8963 in future.
Chris@0 8964
Chris@0 8965 1999-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8966
Chris@0 8967 * tests/
Chris@0 8968 Added adpcm_test.c which implements test functions for
Chris@0 8969 IMA ADPCM reading/writing/seeking etc.
Chris@0 8970
Chris@0 8971 * src/wav.c
Chris@0 8972 Fixed many bugs in IMA ADPCM encoder and decoder.
Chris@0 8973
Chris@0 8974 1999-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8975
Chris@0 8976 * src/wav.c
Chris@0 8977 Finished implementing IMA ADPCM encoder and decoder (what a bitch!).
Chris@0 8978
Chris@0 8979 1999-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8980
Chris@0 8981 * src/wav.c
Chris@0 8982 Started implementing IMA ADPCM decoder.
Chris@0 8983
Chris@0 8984 1999-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8985
Chris@0 8986 * src/sndfile.c
Chris@0 8987 Fixed bug where the sf_read_XXX functions were returning a
Chris@0 8988 incorrect read count when reading past end of file.
Chris@0 8989 Fixed bug in sf_seek () when seeking backwards from end of file.
Chris@0 8990
Chris@0 8991 * tests/read_seek_test.c
Chris@0 8992 Added multiple read test to short_test(), int_test () and
Chris@0 8993 double_test ().
Chris@0 8994 Added extra chunk to all test WAV files to test that reading
Chris@0 8995 stops at end of 'data' chunk.
Chris@0 8996
Chris@0 8997 1999-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8998
Chris@0 8999 * tests/write_read_test.c
Chris@0 9000 Added tests for little DEC endian AU files.
Chris@0 9001
Chris@0 9002 * src/au.c
Chris@0 9003 Add handling for DEC format little endian AU files.
Chris@0 9004
Chris@0 9005 1999-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9006
Chris@0 9007 * src/aiff.c src/au.c src/wav.c
Chris@0 9008 Add __psf_sprintf calls during header parsing.
Chris@0 9009
Chris@0 9010 * src/sndfile.c src/common.c
Chris@0 9011 Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).
Chris@0 9012
Chris@0 9013 * tests/write_read_test.c
Chris@0 9014 Added tests for 8 bit PCM files (WAV, AIFF and AU).
Chris@0 9015
Chris@0 9016 * src/au.c src/aiff.c
Chris@0 9017 Add handling of 8 bit PCM data format.
Chris@0 9018
Chris@0 9019 * src/aiff.c
Chris@0 9020 On write, set blocksize in SSND chunk to zero like everybody else.
Chris@0 9021
Chris@0 9022 1999-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9023
Chris@0 9024 * src/pcm.c:
Chris@0 9025 Fixed bug in let2s_array (cptr was not being initialised).
Chris@0 9026
Chris@0 9027 * src/sndfile.c:
Chris@0 9028 Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
Chris@0 9029 now work when using these functions.
Chris@0 9030
Chris@0 9031 1999-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9032
Chris@0 9033 * tests/write_read_test.c:
Chris@0 9034 Force test_buffer array to be double aligned. Sparc Solaris
Chris@0 9035 requires this.
Chris@0 9036
Chris@0 9037 1999-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9038
Chris@0 9039 * src/pcm.c:
Chris@0 9040 Fixed a bug which was causing errors in the reading
Chris@0 9041 and writing of 24 bit PCM files.
Chris@0 9042
Chris@0 9043 * doc/api.html
Chris@0 9044 Finished of preliminary documentaion.
Chris@0 9045
Chris@0 9046 1999-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9047
Chris@0 9048 * src/aiff.c:
Chris@0 9049 Changed reading of 'COMM' chunk to avoid reading an int
Chris@0 9050 which overlaps an int (4 byte) boundary.
Chris@0 9051