annotate src/libsndfile-1.0.27/doc/ChangeLog @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents 1df64224f5ac
children
rev   line source
Chris@40 1 2013-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2
Chris@40 3 * Makefile.am
Chris@40 4 Make sure checkprograms are built as part of 'make test-tarball'.
Chris@40 5 Closes: https://github.com/erikd/libsndfile/issues/37
Chris@40 6
Chris@40 7 2013-03-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8
Chris@40 9 * tests/dft_cmp.c
Chris@40 10 Fix a buffer overflow detected using GCC 4.8's -fsantiize=address runtime
Chris@40 11 error checking functionality. This was a buffer overflow in libsndfile's
Chris@40 12 test suite, not in the actual library code.
Chris@40 13
Chris@40 14 2013-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 15
Chris@40 16 * M4/gcc_version.m4
Chris@40 17 Fix to work with OpenBSD's sed.
Chris@40 18
Chris@40 19 2013-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 20
Chris@40 21 * src/ALAC/alac_encoder.c
Chris@40 22 Patch from Michael Pruett (author of libaudiofile) to add correct byte
Chris@40 23 swapping for the mChannelLayoutTag field.
Chris@40 24
Chris@40 25 2013-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 26
Chris@40 27 * doc/bugs.html
Chris@40 28 Bugs should bt reported on the github issue tracker.
Chris@40 29
Chris@40 30 2013-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 31
Chris@40 32 * configure.ac
Chris@40 33 Improve sanitization of FLAC_CFLAGS value.
Chris@40 34
Chris@40 35 2013-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 36
Chris@40 37 * src/Makefile.am
Chris@40 38 Call python interpreter instead of using '#!' in script. Thanks to Jan
Chris@40 39 Stary for reporting this.
Chris@40 40
Chris@40 41 * doc/index.html doc/FAQ.html
Chris@40 42 Make internal links relative. Patch from Jan Stary.
Chris@40 43
Chris@40 44 2013-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 45
Chris@40 46 * src/test_endswap.def src/test_endswap.tpl
Chris@40 47 Add tests for psf_put_be32() and psf_put_be64().
Chris@40 48
Chris@40 49 * src/sfendian.h src/test_endswap.(def|tpl)
Chris@40 50 Add functions psf_get_be(16|32|64) with tests.
Chris@40 51 These are needed for platforms where un-aligned accesses cause bus faults.
Chris@40 52
Chris@40 53 * src/ALAC/ag_enc.c src/ALAC/alac_decoder.c
Chris@40 54 Replace all un-aligned accesses with safe alternatives.
Chris@40 55 Closes: https://github.com/erikd/libsndfile/issues/19
Chris@40 56
Chris@40 57 2013-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 58
Chris@40 59 * src/sfendian.h
Chris@40 60 Add big endian versions of H2BE_16 and H2BE_32.
Chris@40 61
Chris@40 62 2013-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 63
Chris@40 64 * src/ALAC/
Chris@40 65 Replace Apple endswap routines with ones from libsndfile.
Chris@40 66
Chris@40 67 * merge from libsndfile-cart repo
Chris@40 68 Add ability to set and get a cart chunk with WAV and RF64.
Chris@40 69 Orignal patch by Chris Roberts <c.roberts@csrfm.com> required a number of
Chris@40 70 tweaks.
Chris@40 71
Chris@40 72 2013-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 73
Chris@40 74 * src/common.h
Chris@40 75 Bump SF_HEADER_LEN from 8192 to 12292, the value it was in the 1.0.25
Chris@40 76 release.
Chris@40 77
Chris@40 78 2013-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 79
Chris@40 80 * src/alac.c
Chris@40 81 Fix segfault when encoding 8 channel files.
Chris@40 82 Closes: https://github.com/erikd/libsndfile/issues/30
Chris@40 83
Chris@40 84 2013-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 85
Chris@40 86 * src/ALAC/EndianPortable.c
Chris@40 87 Fall back to compiler's __BYTE_ORDER__ for endian-ness detection.
Chris@40 88
Chris@40 89 2013-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 90
Chris@40 91 * configure.ac src/common.h src/ima_adpcm.c src/ms_adpcm.c src/paf.c
Chris@40 92 Drop tests for and #ifdef hackery for C99 struct flexible array feature.
Chris@40 93 libsndfile assumes the compiler supports most of the ISO C99 standard.
Chris@40 94
Chris@40 95 * src/alac.c
Chris@40 96 Fix valgrind invalid realloc. Reported by nu774.
Chris@40 97 Closes: https://github.com/erikd/libsndfile/issues/31
Chris@40 98
Chris@40 99 2013-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 100
Chris@40 101 * src/alac.c
Chris@40 102 The 'pakt' chunk header should now be written correctly.
Chris@40 103 Closes: https://github.com/erikd/libsndfile/issues/24
Chris@40 104
Chris@40 105 * configure.ac Makefile.am
Chris@40 106 Use PKG_INSTALLDIR when it exists. Suggestion from Christoph Thompson.
Chris@40 107 Closes: https://github.com/erikd/libsndfile/pull/28
Chris@40 108
Chris@40 109 2013-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 110
Chris@40 111 * src/common.h src/caf.c
Chris@40 112 Read the ALAC 'pakt' header and stash the values.
Chris@40 113
Chris@40 114 * src/sfendian.h
Chris@40 115 Add functions psf_put_be64() and psf_put_be32().
Chris@40 116
Chris@40 117 * src/alac.c
Chris@40 118 Start work on filling on the 'pakt' chunk header.
Chris@40 119
Chris@40 120 2013-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 121
Chris@40 122 * doc/FAQ.html
Chris@40 123 Add missing opening <P> tag.
Chris@40 124
Chris@40 125 * src/alac.c
Chris@40 126 Increase ALAC_BYTE_BUFFER_SIZE to 82000.
Chris@40 127
Chris@40 128 2013-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 129
Chris@40 130 * doc/FAQ.html
Chris@40 131 Improve question #8.
Chris@40 132
Chris@40 133 2013-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 134
Chris@40 135 * src/ogg_opus.c
Chris@40 136 Add skeleton implementation so someone else can run with it.
Chris@40 137
Chris@40 138 2012-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 139
Chris@40 140 * src/common.h src/dwd.c src/rx2.c src/txw.c
Chris@40 141 Fix for compiling when configured with --enable-experimental. Thanks to
Chris@40 142 Eric Wong for reporting this.
Chris@40 143
Chris@40 144 2012-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 145
Chris@40 146 * configure.ac programs/sndfile-play.c
Chris@40 147 OS X 10.8 uses a different audio API to previous versions.
Chris@40 148 Fix compile failure on by disabling sndfile-play on this version.
Chris@40 149 Someone needs to supply code for the new API.
Chris@40 150
Chris@40 151 2012-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 152
Chris@40 153 * Octave/Makefile.am Octave/octave_test.sh
Chris@40 154 Fix 'make distcheck'.
Chris@40 155
Chris@40 156 2012-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 157
Chris@40 158 * M4/octave.m4
Chris@40 159 Relax constraints on Octave version.
Chris@40 160
Chris@40 161 2012-10-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 162
Chris@40 163 * tests/utils.tpl
Chris@40 164 Improve compare_*_or_die() functions.
Chris@40 165
Chris@40 166 * src/command.c
Chris@40 167 Fix bug reported by Keiler Florian. When reading short or int data from a
Chris@40 168 file containing float data, and setting SFC_SET_SCALE_FLOAT_INT_READ to
Chris@40 169 SF_TRUE would fail 3, 5, 7 and other channels counts. Problem was that
Chris@40 170 psf_calc_signal_max() was not calculating the signal max correctly.
Chris@40 171 Calculation of the signal max was failing because it was trying to read
Chris@40 172 a sample count that was not an integer multiple of the channel count.
Chris@40 173
Chris@40 174 * tests/channel_test.c tests/Makefile.am tests/test_wrapper.sh.in
Chris@40 175 Add test for the above.
Chris@40 176
Chris@40 177 2012-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 178
Chris@40 179 * src/sndfile.hh
Chris@40 180 Added a constructor to allow the use of SF_VIRTUAL_IO. Patch from
Chris@40 181 DannyDaemonic : https://github.com/erikd/libsndfile/pull/20
Chris@40 182
Chris@40 183 2012-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 184
Chris@40 185 * doc/octave.html
Chris@40 186 Fix link to octave.sourceforge.net. Thanks to IOhannes m zmoelnig.
Chris@40 187
Chris@40 188 * src/mat5.c
Chris@40 189 Allow reading of mat5 files without a specified sample rate (default to
Chris@40 190 44.1kHz). Thanks to IOhannes m zmoelnig.
Chris@40 191
Chris@40 192 2012-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 193
Chris@40 194 * src/paf.c
Chris@40 195 Error out if channel count is zero. Bug report from William ELla via
Chris@40 196 launchpad:
Chris@40 197 https://bugs.launchpad.net/ubuntu/+source/libsndfile/+bug/1036831
Chris@40 198
Chris@40 199 2012-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 200
Chris@40 201 * configure.ac programs/sndfile-play.c
Chris@40 202 Patch from Ricci Adams to use OSX's AudioQueues on OSX 10.7 and greater.
Chris@40 203
Chris@40 204 2012-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 205
Chris@40 206 * programs/common.c
Chris@40 207 Accept "ogg" as a file extention for Ogg/Vorbis files.
Chris@40 208
Chris@40 209 2012-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 210
Chris@40 211 * src/flac.c
Chris@40 212 Make sure any previously allocated FLAC stream encoder and stream decoder
Chris@40 213 objects are deleted before a new one is allocated.
Chris@40 214
Chris@40 215 2012-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 216
Chris@40 217 * tests/utils.tpl
Chris@40 218 Rename gen_lowpass_noise_float() to gen_lowpass_signal_float() and add a
Chris@40 219 sine wave component so that different FLAC compression levels can be
Chris@40 220 tested.
Chris@40 221
Chris@40 222 * src/sndfile.h.in doc/command.html
Chris@40 223 Add SFC_SET_COMPRESSION_LEVEL and document it.
Chris@40 224
Chris@40 225 * src/sndfile.c
Chris@40 226 Catch SFC_SET_VBR_ENCODING_QUALITY command and implement it as the inverse
Chris@40 227 of SFC_SET_COMPRESSION_LEVEL.
Chris@40 228
Chris@40 229 * src/ogg_vorbis.c src/flac.c
Chris@40 230 Implement SFC_SET_COMPRESSION_LEVEL command.
Chris@40 231
Chris@40 232 * tests/test_wrapper.sh.in tests/compression_size_test.c
Chris@40 233 Use the compression_size_test on FLAC as well.
Chris@40 234
Chris@40 235 2012-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 236
Chris@40 237 * tests/
Chris@40 238 Rename vorbis_test.c -> compression_size_test.c so it can be extended to
Chris@40 239 test FLAC as well.
Chris@40 240
Chris@40 241 2012-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 242
Chris@40 243 * src/broadcast.c
Chris@40 244 Fix a bug where a file with a 'bext' chunk with a zero length coding
Chris@40 245 history field would get corrupted when the file was closed.
Chris@40 246 Reported by Paul Davis of the Ardour project.
Chris@40 247
Chris@40 248 * src/test_broadcast_var.c
Chris@40 249 Add a test for the above.
Chris@40 250
Chris@40 251 2012-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 252
Chris@40 253 * src/sndfile.c
Chris@40 254 sf_format_check: For SF_FORMAT_AIFF, reject endian-ness setttings for
Chris@40 255 non-PCM formats.
Chris@40 256
Chris@40 257 2012-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 258
Chris@40 259 * src/aiff.c
Chris@40 260 Fix regression in handling of odd length SSND chunks.
Chris@40 261 Thanks Olivier Tristan for the example file.
Chris@40 262
Chris@40 263 * src/aiff.c src/wav.c
Chris@40 264 Exit parser loop when marker == 0.
Chris@40 265
Chris@40 266 2012-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 267
Chris@40 268 * doc/FAQ.html
Chris@40 269 Fix text. Thanks to Richard Collins.
Chris@40 270
Chris@40 271 2012-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 272
Chris@40 273 * src/caf.c
Chris@40 274 Exit parse loop if the marker is zero. Pass jump offsets as size_t instead
Chris@40 275 of int.
Chris@40 276
Chris@40 277 2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 278
Chris@40 279 * src/alac.c
Chris@40 280 Fix segfault when decoding CAF/ALAC file with more than 4 channels.
Chris@40 281 Fixes github issue #8 reported by Charles Van Winkle.
Chris@40 282
Chris@40 283 2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 284
Chris@40 285 * src/common.h
Chris@40 286 Change 'typedef SF_CHUNK_ITERATOR { ... } SF_CHUNK_ITERATOR' into 'struct
Chris@40 287 SF_CHUNK_ITERATOR { ... }' to prevent older compilers from complaining of
Chris@40 288 re-typedef-ing of SF_CHUNK_ITERATOR.
Chris@40 289
Chris@40 290 * configure.ac
Chris@40 291 Fix if test for empty $prefix.
Chris@40 292
Chris@40 293 2012-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 294
Chris@40 295 * src/*.c tests/chunk_test.c
Chris@40 296 Reworking of custom chunk handling code.
Chris@40 297 - Memory for the iterator is now attached to the SF_PRIVATE struct and
Chris@40 298 freed one sf_close().
Chris@40 299 - Rename sf_create_chunk_iterator() -> sf_get_chunk_iterator().
Chris@40 300 - Each SNDFILE handle never has more than one SF_CHUNK_ITERATOR handle.
Chris@40 301
Chris@40 302 * tests/string_test.c
Chris@40 303 Fix un-initialised char buffer.
Chris@40 304
Chris@40 305 2012-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 306
Chris@40 307 * src/*.c tests/chunk_test.c
Chris@40 308 Add improved handling of custom chunk getting and settings. Set of patches
Chris@40 309 from IOhannes m zmoelnig submitted via github pull request #6.
Chris@40 310
Chris@40 311 * src/alac.c
Chris@40 312 Fix calculated frame count for files with zero block length.
Chris@40 313
Chris@40 314 2012-03-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 315
Chris@40 316 * src/avr.c
Chris@40 317 Remove double assignment to psf->endian. Thanks Kao Dome.
Chris@40 318
Chris@40 319 * src/gsm610.c
Chris@40 320 Fix clearing of buffers. Thanks Kao Dome.
Chris@40 321
Chris@40 322 * src/paf.c
Chris@40 323 Remove duplicate code. Thanks Kao Dome.
Chris@40 324
Chris@40 325 * src/test_strncpy_crlf.c
Chris@40 326 Fix minor error in test. Thanks Kao Dome.
Chris@40 327
Chris@40 328 * src/common.h src/*.c
Chris@40 329 Fix a bunch of valgrind errors.
Chris@40 330
Chris@40 331 2012-03-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 332
Chris@40 333 * src/sndfile.c
Chris@40 334 Fix typo in error string 'Uknown' -> 'Unknown'.
Chris@40 335
Chris@40 336 * tests/fix_this.c
Chris@40 337 Fix potential int overflow.
Chris@40 338
Chris@40 339 2012-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 340
Chris@40 341 * src/alac.c
Chris@40 342 Fix decoding of last block so that the decode length is not a multiple of
Chris@40 343 the block length. Fixes github issue #4 reported by Charles Van Winkle.
Chris@40 344
Chris@40 345 * src/sfconfig.h src/sfendian.h
Chris@40 346 Fix for MinGW cross compiling. Use '#if (defined __*66__)' instead of
Chris@40 347 '#if __*86__' because the MinGW header use '#ifdef __x86_64__'.
Chris@40 348
Chris@40 349 2012-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 350
Chris@40 351 * src/ALAC/ src/alac.c
Chris@40 352 Unify the interface between libsndfile and Apple ALAC codec. Regardless of
Chris@40 353 file bit width samples are now passed between the two as int32_t that are
Chris@40 354 justified towards the most significant bit. Without this modification, 16
Chris@40 355 conversion functions would have been needed between the libsndfile (short,
Chris@40 356 int, float, double) types and the ALAC types (16, 20, 24 and 32 bit). With
Chris@40 357 this mod, only 4 are needed.
Chris@40 358
Chris@40 359 * tests/floating_point_test.tpl tests/write_read_test.(def|tpl)
Chris@40 360 Add tests for 20 and 24 bit ALAC/CAF files.
Chris@40 361
Chris@40 362 * src/command.c
Chris@40 363 Add ALAC/CAF to the SFC_GET_FORMAT_* commands. Fixes github issue #5.
Chris@40 364
Chris@40 365 * configure.ac
Chris@40 366 Only use automake AM_SLIENT_RULES where supported. Thanks Dave Yeo.
Chris@40 367
Chris@40 368 * tests/pipe_test.tpl
Chris@40 369 Disable tests on OS/2. Thanks Dave Yeo.
Chris@40 370
Chris@40 371 2012-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 372
Chris@40 373 * configure.ac src/sfconfig.h src/sfendian.h
Chris@40 374 For GCC, use inline assembler for endian swapping. This should work with
Chris@40 375 older versions of GCC like the one currently used in OS/2.
Chris@40 376
Chris@40 377 2012-03-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 378
Chris@40 379 * src/alac.c
Chris@40 380 Make sure temp file gets opened in binary mode.
Chris@40 381
Chris@40 382 * src/alac.c src/common.c src/common.h
Chris@40 383 Fix function alac_write16_d().
Chris@40 384
Chris@40 385 * tests/floating_point_test.tpl
Chris@40 386 Add tests for 16 bit ALAC/CAF.
Chris@40 387
Chris@40 388 * src/alac.c src/common.c src/common.h
Chris@40 389 Add support for 32 bit ALAC/CAF files.
Chris@40 390
Chris@40 391 * tests/floating_point_test.tpl tests/write_read_test.tpl
Chris@40 392 Add tests for 32 bit ALAC/CAF files.
Chris@40 393
Chris@40 394 2012-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 395
Chris@40 396 * src/
Chris@40 397 Refactor chunk storage so it work on big as well as little endian CPUs.
Chris@40 398
Chris@40 399 * tests/chunk_test.c
Chris@40 400 Clean up error messages.
Chris@40 401
Chris@40 402 * src/sfendian.h src/*.c
Chris@40 403 Rename endian swapping macros and add ENDSWAP_64 and BE2H_64.
Chris@40 404
Chris@40 405 * configure.ac
Chris@40 406 Detect presence of <x86intrin.h> header file.
Chris@40 407
Chris@40 408 * src/sfendian.h
Chris@40 409 Use <x86intrin.h> intrinsics (ie for MinGW) when <byteswap.h> is not
Chris@40 410 present.
Chris@40 411 Make ENDSWAP_64() work with i686-w64-mingw32 compiler.
Chris@40 412
Chris@40 413 * src/ALAC/EndianPortable.c
Chris@40 414 Add support for __powerpc__.
Chris@40 415
Chris@40 416 * src/sfconfig.h
Chris@40 417 Make sure HAVE_X86INTRIN_H is either 1 or 0.
Chris@40 418
Chris@40 419 2012-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 420
Chris@40 421 * src/ALAC/*
Chris@40 422 Big dump of code for Apple's ALAC file format. The copyyright to this code
Chris@40 423 is owned by Apple who have released it under an Apache style license. A few
Chris@40 424 small modifications were made to allow this to be integrated into libsndfile
Chris@40 425 but unfortunately the history of those changes were lost because they were
Chris@40 426 developed in a Bzr tree and during that time libsndfile moved to Git.
Chris@40 427
Chris@40 428 * src/alac.c src/caf.c src/common.[ch] src/Makefile.am src/sndfile.h.in
Chris@40 429 src/sndfile.c
Chris@40 430 Hook new ALAC codec in.
Chris@40 431
Chris@40 432 * programs/sndfile-convert.c
Chris@40 433 Add support for alac codec.
Chris@40 434
Chris@40 435 * tests/write_read_test.tpl
Chris@40 436 Expand tests to cover ALAC.
Chris@40 437
Chris@40 438 2012-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 439
Chris@40 440 * src/aiff.c src/wav.c
Chris@40 441 Fix a couple of regressions from version 1.0.25.
Chris@40 442
Chris@40 443 2012-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 444
Chris@40 445 * src/strings.c
Chris@40 446 Minor refactoring. Make sure that the memory allocation size if always > 0
Chris@40 447 to avoid undefined behaviour.
Chris@40 448
Chris@40 449 2012-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 450
Chris@40 451 * src/chunk.c
Chris@40 452 Fix buffer overrun introduced in recently added chunk logging. This chunk
Chris@40 453 logging has not yet made it to a libsndfile release version. Thanks to
Chris@40 454 Olivier Tristan for providing an example file.
Chris@40 455
Chris@40 456 * src/wav.c
Chris@40 457 Fix handling of odd sized chunks which was causing the parser to lose some
Chris@40 458 chunks. Thanks to Olivier Tristan for providing an example file.
Chris@40 459
Chris@40 460 2012-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 461
Chris@40 462 * tests/util.tpl
Chris@40 463 Used gnu_printf format checking with mingw-w64 compiler.
Chris@40 464
Chris@40 465 * tests/header_test.tpl
Chris@40 466 Printf format fixes.
Chris@40 467
Chris@40 468 2012-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 469
Chris@40 470 * M4/extra_pkg.m4
Chris@40 471 Update PKG_CHECK_MOD_VERSION macro to add an AC_TRY_LINK step. This fix
Chris@40 472 allows the configure process to catch attempts to link incompatible
Chris@40 473 libraries. For example, linking 32 bit version of eg libFLAC to a 64 bit
Chris@40 474 version of libsndfile will now fail. Similarly, when cross compiling
Chris@40 475 libsndfile from Linux to Windows linking the Linux versions of a library
Chris@40 476 to the Windows version of libsndfile will now also fail.
Chris@40 477
Chris@40 478 * src/sndfile.h.in src/sndfile.c src/common.h src/create_symbols_file.py
Chris@40 479 Add API function sf_current_byterate().
Chris@40 480
Chris@40 481 * src/dwvw.c src/flac.c src/ogg_vorbis.c src/sds.c
Chris@40 482 Add codec specific handlers for current byterate.
Chris@40 483
Chris@40 484 * tests/floating_point_test.tpl
Chris@40 485 Add initial test for sf_current_byterate().
Chris@40 486
Chris@40 487 2012-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 488
Chris@40 489 * src/common.[ch]
Chris@40 490 Add function psf_decode_frame_count().
Chris@40 491
Chris@40 492 * src/dwvw.c
Chris@40 493 Fix a termnation bug that caused the decoder to go into an infinite loop.
Chris@40 494
Chris@40 495 2012-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 496
Chris@40 497 * src/wav.c
Chris@40 498 Fix a regression in the WAV header parser. Thanks to Olivier Tristan for
Chris@40 499 bug report and the example file.
Chris@40 500
Chris@40 501 2012-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 502
Chris@40 503 * src/sndfile.c
Chris@40 504 Return error when SF_BROADCAST_INFO struct has bad coding_history_size.
Chris@40 505 Thanks to Alex Weiss for the report.
Chris@40 506
Chris@40 507 2012-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 508
Chris@40 509 * src/au.c src/flac.c src/g72x.c src/ogg_vorbis.c src/wav_w64.c
Chris@40 510 Don't fake psf->bytewidth values.
Chris@40 511
Chris@40 512 2012-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 513
Chris@40 514 * tests/string_test.c
Chris@40 515 Fix valgrind warnings.
Chris@40 516
Chris@40 517 * src/common.h src/sndfile.c src/strings.c
Chris@40 518 Make string storage dynamically allocated.
Chris@40 519
Chris@40 520 * src/sndfile.c
Chris@40 521 Add extra validation for custom chunk handling.
Chris@40 522
Chris@40 523 2012-02-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 524
Chris@40 525 * src/wav.c
Chris@40 526 Improve handlling unknown chunk types. Thanks to Olivier Tristan for sending
Chris@40 527 example files.
Chris@40 528
Chris@40 529 * src/utils.tpl
Chris@40 530 Add GCC specific testing for format string parameters for exit_if_true().
Chris@40 531
Chris@40 532 * tests/*.c tests/*.tpl
Chris@40 533 Fix all printf format warnings.
Chris@40 534
Chris@40 535 * programs/sndfile-play.c
Chris@40 536 Remove un-needed OSX include <Carbon.h>. Thanks jamesfmilne for github
Chris@40 537 issue #3.
Chris@40 538
Chris@40 539 * tests/chunk_test.c
Chris@40 540 Extend custom chunk test.
Chris@40 541
Chris@40 542 2012-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 543
Chris@40 544 * src/wav.c
Chris@40 545 Jump over some more chunk types while parsing.
Chris@40 546
Chris@40 547 2012-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 548
Chris@40 549 * src/common.h src/strings.c
Chris@40 550 Change way strings are stored in SF_PRIVATE in preparation for dynamically
Chris@40 551 allocating the storage.
Chris@40 552
Chris@40 553 2012-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 554
Chris@40 555 * src/common.h src*.c
Chris@40 556 Improve encapsulation of string data in SF_PRIVATE.
Chris@40 557
Chris@40 558 2012-02-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 559
Chris@40 560 * src/common.h src*.c
Chris@40 561 Remove the buffer union from SF_PRIVATE. Most uses of this have been
Chris@40 562 replaced with a BUF_UNION that is allocated on the stack.
Chris@40 563
Chris@40 564 2012-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 565
Chris@40 566 * src/common.h src*.c
Chris@40 567 Rename logbuffer field of SF_PRIVATE to parselog and reduce its size.
Chris@40 568 Put the parselog buffer and the index inside a struct within SF_PRIVATE.
Chris@40 569
Chris@40 570 2012-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 571
Chris@40 572 * configure.ac
Chris@40 573 Fix typo, FLAC_CLFAGS -> FLAC_CFLAGS. Thanks to Jeremy Friesner.
Chris@40 574
Chris@40 575 2012-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 576
Chris@40 577 * src/sndfile.c src/ogg.c
Chris@40 578 Fix misleading error message when trying to create an SF_FORMAT_OGG file
Chris@40 579 with anything other than SF_FORMAT_FILE. Thanks to Charles Van Winkle for
Chris@40 580 the bug report. Github issue #1.
Chris@40 581
Chris@40 582 2012-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 583
Chris@40 584 * src/sndfile.c src/wav.c
Chris@40 585 Allow files opened in RDWR mode with string data in the tailer to be
Chris@40 586 extended. Thanks to Bodo for the patch.
Chris@40 587
Chris@40 588 * tests/string_test.c
Chris@40 589 Add tests for the above changes (patch from Bodo).
Chris@40 590
Chris@40 591 2012-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 592
Chris@40 593 * src/aiff.c
Chris@40 594 Refactor reading of chunk size and use of psf_store_read_chunk().
Chris@40 595
Chris@40 596 * src/(caf|wav).c
Chris@40 597 Correct storing of chunk offset.
Chris@40 598
Chris@40 599 2012-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 600
Chris@40 601 * src/aiff.c src/wav.c src/common.h
Chris@40 602 Refactor common code into src/common.h.
Chris@40 603
Chris@40 604 * src/caf.c
Chris@40 605 Make custom chunks work for CAF files.
Chris@40 606
Chris@40 607 * tests/chunk_test.c tests/test_wrapper.sh.in
Chris@40 608 Test CAF files with custom chunks.
Chris@40 609
Chris@40 610 * src/sndfile.c
Chris@40 611 Prevent psf->codec_close() being called more than once.
Chris@40 612
Chris@40 613 2012-01-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 614
Chris@40 615 * programs/sndfile-cmp.c
Chris@40 616 Catch the case where the second file has more frames than the first.
Chris@40 617
Chris@40 618 2012-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 619
Chris@40 620 * src/create_symbols_file.py
Chris@40 621 Add sf_set_chunk/sf_get_chunk_size/sf_get_chunk_data.
Chris@40 622
Chris@40 623 2011-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 624
Chris@40 625 * tests/chunk_test.c tests/Makefile.am
Chris@40 626 New test for custom chunks.
Chris@40 627
Chris@40 628 * src/aiff.c src/chunk.c src/common.h src/sndfile.c
Chris@40 629 Make custom chunks work on AIFF files.
Chris@40 630
Chris@40 631 * src/wav.c
Chris@40 632 Make custom chunks work on WAV files (includes refactoring).
Chris@40 633
Chris@40 634 2011-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 635
Chris@40 636 * src/sndfile.h.in src/common.h src/sndfile.c
Chris@40 637 Start working on setting/getting chunks.
Chris@40 638
Chris@40 639 2011-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 640
Chris@40 641 * src/binheader_writef_check.py src/create_symbols_file.py
Chris@40 642 Make it work for Python 2 and 3. Thanks Michael.
Chris@40 643
Chris@40 644 2011-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 645
Chris@40 646 * libsndfile.spec.in
Chris@40 647 Change field name 'URL' to 'Url'.
Chris@40 648
Chris@40 649 * src/sndfile.h.in
Chris@40 650 Add SF_SEEK_SET/CUR/END.
Chris@40 651
Chris@40 652 2011-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 653
Chris@40 654 * src/id3.c
Chris@40 655 Fix a stack overflow that can occur when parsing a file with multiple
Chris@40 656 ID3 headers which would cause libsndfile to go into an infinite recursion
Chris@40 657 until it blew the stack. Thanks to Anders Svensson for supplying an example
Chris@40 658 file.
Chris@40 659
Chris@40 660 2011-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 661
Chris@40 662 * src/double64.c src/float32.c src/common.h
Chris@40 663 Make (float32|double_64)_(be|le)_read() functions const correct.
Chris@40 664
Chris@40 665 2011-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 666
Chris@40 667 * src/sfendian.h
Chris@40 668 Minor tweaking of types. Cast to ptr to correct final type rather void*.
Chris@40 669
Chris@40 670 * programs/sndfile-play.c tests/utils.tpl
Chris@40 671 Fix compiler warnings with latest MinGW cross compiler.
Chris@40 672
Chris@40 673 2011-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 674
Chris@40 675 * src/file_io.c
Chris@40 676 Use the non-deprecated resource fork name on OSX. Thanks to Olivier Tristan.
Chris@40 677
Chris@40 678 2011-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 679
Chris@40 680 * src/wav.c
Chris@40 681 Jump over the 'olym' chunks when parsing.
Chris@40 682
Chris@40 683 2011-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 684
Chris@40 685 * tests/write_read_test.tpl
Chris@40 686 Remove windows only truncate() implementation.
Chris@40 687
Chris@40 688 2011-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 689
Chris@40 690 * src/sd2.c src/sndfile.c
Chris@40 691 Make sure 23 bit PCM SD2 files are readable/writeable.
Chris@40 692
Chris@40 693 * tests/write_read_test.tpl
Chris@40 694 Add tests for 32 bit PCM SD2 files.
Chris@40 695
Chris@40 696 2011-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 697
Chris@40 698 * configure.ac
Chris@40 699 Use AC_SYS_LARGEFILE instead of AC_SYS_EXTRA_LARGEFILE as suggested by
Chris@40 700 Jan Willies.
Chris@40 701
Chris@40 702 2011-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 703
Chris@40 704 * configure.ac Makefile.am
Chris@40 705 Move ACLOCAL_AMFLAGS setup to Makefile.am.
Chris@40 706
Chris@40 707 2011-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 708
Chris@40 709 * doc/command.html
Chris@40 710 Merge two separate blocks of SFC_SET_VBR_ENCODING_QUALITY documentation.
Chris@40 711
Chris@40 712 * src/paf.c
Chris@40 713 Replace ppaf24->samplesperblock with a compile time constant.
Chris@40 714
Chris@40 715 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 716
Chris@40 717 * src/ogg_vorbis.c
Chris@40 718 Fix return value of SFC_SET_VBR_ENCODING_QUALITY command.
Chris@40 719
Chris@40 720 * doc/command.html
Chris@40 721 Document SFC_SET_VBR_ENCODING_QUALITY, SFC_GET/SET_LOOP_INFO and
Chris@40 722 SFC_GET_INSTRUMENT.
Chris@40 723
Chris@40 724 * NEWS README configure.ac doc/*.html
Chris@40 725 Updates for 1.0.25.
Chris@40 726
Chris@40 727 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 728
Chris@40 729 * src/sfconfig.h
Chris@40 730 Add handling for HAVE_SYS_WAIT_H.
Chris@40 731
Chris@40 732 * Makefile.am src/Makefile.am tests/Makefile.am
Chris@40 733 Add 'checkprograms' target.
Chris@40 734
Chris@40 735 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 736
Chris@40 737 * src/common.h src/sndfile.c
Chris@40 738 Purge SF_ASSERT macro. Use standard C assert instead.
Chris@40 739
Chris@40 740 * src/paf.c src/common.h src/sndfile.c
Chris@40 741 Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
Chris@40 742 byte value of 0) due to integer overflow if PAF file handler.
Chris@40 743
Chris@40 744 * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
Chris@40 745 Use calloc instead of malloc followed by memset.
Chris@40 746
Chris@40 747 * tests/utils.tpl
Chris@40 748 Clean up use of memset.
Chris@40 749
Chris@40 750 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 751
Chris@40 752 * src/ogg.c
Chris@40 753 Fix log message.
Chris@40 754
Chris@40 755 * tests/format_check_test.c
Chris@40 756 Fix compiler warnings.
Chris@40 757
Chris@40 758 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 759
Chris@40 760 * src/sndfile.c
Chris@40 761 Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
Chris@40 762
Chris@40 763 * tests/format_check_test.c
Chris@40 764 Add a test to for SF_FINFO format field validation.
Chris@40 765
Chris@40 766 * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
Chris@40 767 src/common.h src/Makefile.am
Chris@40 768 Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
Chris@40 769 and Speex codecs in an Ogg container. The later two are only enabled with
Chris@40 770 ENABLE_EXPERIMENTAL_CODE config variable.
Chris@40 771
Chris@40 772 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 773
Chris@40 774 * src/strings.c
Chris@40 775 Clean up and refactor storage of SF_STR_SOFTWARE.
Chris@40 776
Chris@40 777 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 778
Chris@40 779 * src/sndfile.h.in doc/api.html
Chris@40 780 Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
Chris@40 781 Tim van der Molen for the patch.
Chris@40 782
Chris@40 783 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 784
Chris@40 785 * programs/sndfile-interleave.c
Chris@40 786 Fix handling of argc. Thanks to Marius Hennecke.
Chris@40 787
Chris@40 788 * src/wav_w64.c
Chris@40 789 Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
Chris@40 790 providing example files.
Chris@40 791
Chris@40 792 * src/wav.c
Chris@40 793 Jump over 'FLLR' chunks.
Chris@40 794
Chris@40 795 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 796
Chris@40 797 * src/sndfile.h.in
Chris@40 798 Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@40 799
Chris@40 800 * configure.ac
Chris@40 801 Add -Wundef to CFLAGS.
Chris@40 802
Chris@40 803 * src/ogg.c
Chris@40 804 Fix -Wunder warning.
Chris@40 805
Chris@40 806 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 807
Chris@40 808 * configure.ac
Chris@40 809 Use int64_t instead of off_t when they are the same size.
Chris@40 810
Chris@40 811 * src/Makefile.am tests/Makefile.am
Chris@40 812 Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
Chris@40 813
Chris@40 814 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 815
Chris@40 816 * src/wav.c
Chris@40 817 Don't allow unknown and/or un-editable chunks to prevent the file from being
Chris@40 818 opened in SFM_RDWR mode.
Chris@40 819
Chris@40 820 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 821
Chris@40 822 * tests/format_check_test.c
Chris@40 823 Fix segfault in test program.
Chris@40 824
Chris@40 825 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 826
Chris@40 827 * tests/format_check_test.c
Chris@40 828 New test program to check to make sure that sf_open() and sf_check_format()
Chris@40 829 agree as to what is a valid program.
Chris@40 830
Chris@40 831 * tests/Makefile.am tests/test_wrapper.sh.in
Chris@40 832 Hook into build and test runner.
Chris@40 833
Chris@40 834 * src/sndfile.c
Chris@40 835 Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
Chris@40 836 notification.
Chris@40 837
Chris@40 838 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 839
Chris@40 840 * src/caf.c
Chris@40 841 Add validation to size of 'data' chunk and fix size of written 'data'
Chris@40 842 chunk. Thanks to Michael Pruett for reporting this.
Chris@40 843
Chris@40 844 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 845
Chris@40 846 * src/* tests/* programs/*
Chris@40 847 Fix a bunch of compiler warnings with gcc-4.6.
Chris@40 848
Chris@40 849 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 850
Chris@40 851 * tests/util.tpl
Chris@40 852 Add NOT macro to util.h.
Chris@40 853
Chris@40 854 * src/strings.c
Chris@40 855 Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
Chris@40 856 strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
Chris@40 857 this problem.
Chris@40 858
Chris@40 859 * tests/string_test.c
Chris@40 860 Add test for SF_STR_SOFTWARE segfault bug.
Chris@40 861
Chris@40 862 * configure.ac
Chris@40 863 Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
Chris@40 864 '-I${includedir}/FLAC'. However FLAC also provides an include file
Chris@40 865 <assert.h> which clashes with the Standard C header of the same name. The
Chris@40 866 solution is strip the 'FLAC' part off the end and include all FLAC headers
Chris@40 867 as <FLAC/header.h>.
Chris@40 868
Chris@40 869 * configure.ac src/Makefile.am
Chris@40 870 Use non-recursive make in src/ directory.
Chris@40 871
Chris@40 872 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 873
Chris@40 874 * NEWS README docs/*.html
Chris@40 875 Updates for 1.0.24 release.
Chris@40 876
Chris@40 877 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 878
Chris@40 879 * configure.ac
Chris@40 880 Fix up usage of sed (should not assume GNU sed).
Chris@40 881
Chris@40 882 * M4/add_(c|cxx)flags.m4
Chris@40 883 Test flags in isolation.
Chris@40 884
Chris@40 885 * tests/cpp_test.cc
Chris@40 886 Fix a broken test (test segfaults). Report by Dave Flogeras.
Chris@40 887
Chris@40 888 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 889
Chris@40 890 * programs/common.[ch]
Chris@40 891 Add function program_name() which returns the program name minus the path
Chris@40 892 from argv [0].
Chris@40 893
Chris@40 894 * programs/*.c programs/Makefile.am
Chris@40 895 Use program_name() where appropriate. Fix build.
Chris@40 896
Chris@40 897 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 898
Chris@40 899 * src/wav.c
Chris@40 900 For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
Chris@40 901 byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
Chris@40 902 version accept 18 byte but not 16 byte.
Chris@40 903
Chris@40 904 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 905
Chris@40 906 * doc/FAQ.html
Chris@40 907 Add examples for question 12.
Chris@40 908
Chris@40 909 * doc/libsndfile.css.in
Chris@40 910 Add tweaks for h4 element.
Chris@40 911
Chris@40 912 * doc/api.html
Chris@40 913 Add documentation for virtual I/O functionality. Thanks to Uli Franke.
Chris@40 914
Chris@40 915 * tests/util.tpl
Chris@40 916 Add static inline functions sf_info_clear() and sf_info_setup().
Chris@40 917
Chris@40 918 * tests/(alaw|dwvw|ulaw)_test.c
Chris@40 919 Use functions sf_info_clear() and sf_info_setup().
Chris@40 920
Chris@40 921 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 922
Chris@40 923 * configure.ac
Chris@40 924 Fail more gracefully if pkg-config is missing. Suggestion from Brian
Chris@40 925 Willoughby.
Chris@40 926
Chris@40 927 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 928
Chris@40 929 * src/common.c
Chris@40 930 Use size_t instead of int for size params with varargs.
Chris@40 931
Chris@40 932 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 933
Chris@40 934 * doc/index.html
Chris@40 935 Update supported platforms with more Debian platforms and Android.
Chris@40 936
Chris@40 937 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 938
Chris@40 939 * src/sndfile.hh
Chris@40 940 Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
Chris@40 941 class definition. Thanks to Eric Eizenman for pointing out this was missing.
Chris@40 942
Chris@40 943 * tests/cpp_test.cc
Chris@40 944 Add test for LPCWSTR version of the SndfileHandle constructor.
Chris@40 945
Chris@40 946 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 947
Chris@40 948 * programs/sndfile-play.c
Chris@40 949 Remove cruft.
Chris@40 950
Chris@40 951 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 952
Chris@40 953 * src/sndfile.hh
Chris@40 954 Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
Chris@40 955 the patch.
Chris@40 956
Chris@40 957 * tests/cpp_test.cc
Chris@40 958 Add tests for above two methods. Also supplied by Tim Blechmann.
Chris@40 959
Chris@40 960 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 961
Chris@40 962 * doc/api.html
Chris@40 963 Add mention of use of sf_strerror() when sf_open() fails.
Chris@40 964
Chris@40 965 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 966
Chris@40 967 * configure.ac
Chris@40 968 Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
Chris@40 969 people are compiling on a 64 bit system with the GCC -m32 flag.
Chris@40 970
Chris@40 971 * src/sndfile.h.in
Chris@40 972 Fix comments on sf_count_t.
Chris@40 973
Chris@40 974 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 975
Chris@40 976 * src/aiff.c
Chris@40 977 Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
Chris@40 978
Chris@40 979 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 980
Chris@40 981 * configure.ac
Chris@40 982 Sed fix for FreeBSD. Thanks Tony Theodore.
Chris@40 983
Chris@40 984 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 985
Chris@40 986 * shave.in M4/shave.m4
Chris@40 987 Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
Chris@40 988 shave author).
Chris@40 989
Chris@40 990 * configure.ac M4/shave.m4 shave-libtool.in shave.in
Chris@40 991 Switch from shave to automake-1.11's AM_SILENT_RULES.
Chris@40 992
Chris@40 993 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 994
Chris@40 995 * shave-libtool.in shave.in
Chris@40 996 Sync to upstream version.
Chris@40 997
Chris@40 998 * src/rf64.c
Chris@40 999 More work to make the parser more robust and accepting of mal-formed files.
Chris@40 1000
Chris@40 1001 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1002
Chris@40 1003 * src/common.h
Chris@40 1004 Add functions psf_strlcpy() and psf_strlcat().
Chris@40 1005
Chris@40 1006 * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
Chris@40 1007 src/test_main.h src/test_strncpy_crlf.c
Chris@40 1008 Use functions psf_strlcpy() and psf_strlcat() as appropriate.
Chris@40 1009
Chris@40 1010 * tests/string_test.c
Chris@40 1011 Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
Chris@40 1012
Chris@40 1013 * src/rf64.c
Chris@40 1014 Fix size of 'ds64' chunk when writing RF64.
Chris@40 1015
Chris@40 1016 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1017
Chris@40 1018 * programs/*.c
Chris@40 1019 Add the libsndfile version to the usage message of all programs.
Chris@40 1020
Chris@40 1021 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1022
Chris@40 1023 * configure.ac src/version-metadata.rc.in src/Makefile.am
Chris@40 1024 Add version string resources to the windows DLL.
Chris@40 1025
Chris@40 1026 * doc/api.html
Chris@40 1027 Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
Chris@40 1028
Chris@40 1029 * NEWS README configure.ac doc/*.html
Chris@40 1030 Updates for 1.0.23 release.
Chris@40 1031
Chris@40 1032 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1033
Chris@40 1034 * tests/pedantic-header-test.sh.in
Chris@40 1035 Handle unusual values of CC environment variable.
Chris@40 1036
Chris@40 1037 * src/rf64.c
Chris@40 1038 Minor tweaks and additional sanity checking.
Chris@40 1039
Chris@40 1040 * src/Makefile.am src/binheader_writef_check.py
Chris@40 1041 Use python 2.6.
Chris@40 1042
Chris@40 1043 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1044
Chris@40 1045 * src/sndfile.hh
Chris@40 1046 Add a missing 'inline' before a constructor defintion.
Chris@40 1047
Chris@40 1048 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1049
Chris@40 1050 * src/common.h
Chris@40 1051 Add macro NOT.
Chris@40 1052
Chris@40 1053 * src/rf64.c
Chris@40 1054 Minor tweaks.
Chris@40 1055
Chris@40 1056 * Makefile.am */Makefile.am
Chris@40 1057 Add *~ to CLEANFILES.
Chris@40 1058
Chris@40 1059 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1060
Chris@40 1061 * src/sndfile.c
Chris@40 1062 Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
Chris@40 1063 Van Winkle for the report.
Chris@40 1064
Chris@40 1065 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1066
Chris@40 1067 * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
Chris@40 1068 Add ability to read/write tracknumber and genre to flac/ogg/wav files.
Chris@40 1069 Thanks to Matti Nykyri for the patch.
Chris@40 1070
Chris@40 1071 * src/common.h src/broadcast.c src/strings.c
Chris@40 1072 Add function psf_safe_strncpy() and use where appropriate.
Chris@40 1073
Chris@40 1074 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1075
Chris@40 1076 * NEWS README configure.ac doc/*.html
Chris@40 1077 Updates for 1.0.22 release.
Chris@40 1078
Chris@40 1079 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1080
Chris@40 1081 * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
Chris@40 1082 Rewrite of SF_BROADCAST_INFO handling.
Chris@40 1083
Chris@40 1084 * src/test_broadcast_var.c tests/command_test.c
Chris@40 1085 Tweak SF_BROADCAST_INFO tests.
Chris@40 1086
Chris@40 1087 * src/test_broadcast_var.c
Chris@40 1088 Fix OSX stack check error.
Chris@40 1089
Chris@40 1090 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1091
Chris@40 1092 * src/sds.c
Chris@40 1093 Set sustain_loop_end to 0 as suggested by Brian Lewis.
Chris@40 1094
Chris@40 1095 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1096
Chris@40 1097 * src/sds.c
Chris@40 1098 Make sure the correct frame count gets written into the header.
Chris@40 1099
Chris@40 1100 * tests/write_read_test.tpl
Chris@40 1101 Don't allow SDS files to have a long frame count.
Chris@40 1102
Chris@40 1103 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1104
Chris@40 1105 * src/sds.c
Chris@40 1106 Apply a pair of patches from Brian Lewis to fix the packet number location
Chris@40 1107 and the checksum.
Chris@40 1108
Chris@40 1109 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1110
Chris@40 1111 * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
Chris@40 1112 src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
Chris@40 1113 src/wav.c tests/pcm_test.tpl
Chris@40 1114 Fix a bunch of minor issues found using static analysis.
Chris@40 1115
Chris@40 1116 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1117
Chris@40 1118 * src/test_broadcast_var.c
Chris@40 1119 New file containing tests for broadcast_set_var().
Chris@40 1120
Chris@40 1121 * src/Makefile.am src/test_main.[ch]
Chris@40 1122 Hook test_broadcast_var.c into tests.
Chris@40 1123
Chris@40 1124 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1125
Chris@40 1126 * src/broadcast.c src/common.(c|h)
Chris@40 1127 Move function strncpy_crlf() to src/common.c so the function can be tested
Chris@40 1128 in isolation.
Chris@40 1129
Chris@40 1130 * src/test_strncpy_crlf.c
Chris@40 1131 New file.
Chris@40 1132
Chris@40 1133 * src/Makefile.am src/test_main.[ch]
Chris@40 1134 Hook test_strncpy_crlf.c into tests.
Chris@40 1135
Chris@40 1136 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1137
Chris@40 1138 * src/common.h
Chris@40 1139 Move code around to make comments make sense.
Chris@40 1140
Chris@40 1141 * src/broadcast.c
Chris@40 1142 Add debugging code that is disabled by default.
Chris@40 1143
Chris@40 1144 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1145
Chris@40 1146 * src/flac.c
Chris@40 1147 When the file meta data says the file has zero frames set psf->sf.frames
Chris@40 1148 to SF_COUNT_MAX. Fixes Debian bug #590752.
Chris@40 1149
Chris@40 1150 * programs/sndfile-info.c
Chris@40 1151 Print 'unknown' if frame count == SF_COUNT_MAX.
Chris@40 1152
Chris@40 1153 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1154
Chris@40 1155 * src/sndfile.c
Chris@40 1156 Only support writing mono SVX files. Multichannel SVX files are not
Chris@40 1157 interleaved and there is no support infrastructure to cache and write
Chris@40 1158 multiple channels to create a non-interleaved file.
Chris@40 1159
Chris@40 1160 * src/file_io.c
Chris@40 1161 Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
Chris@40 1162 for the bug report.
Chris@40 1163
Chris@40 1164 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1165
Chris@40 1166 * src/common.h
Chris@40 1167 Add macro SF_ASSERT.
Chris@40 1168
Chris@40 1169 * src/sndfile.c
Chris@40 1170 Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
Chris@40 1171
Chris@40 1172 * src/svx.c
Chris@40 1173 Add support for reading and writing stereo SVX files.
Chris@40 1174
Chris@40 1175 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1176
Chris@40 1177 * configure.ac
Chris@40 1178 When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
Chris@40 1179
Chris@40 1180 * programs/common.c programs/sndfile-metadata-set.c
Chris@40 1181 Update metadata after the audio data is copied. Other minor fixes. Patch
Chris@40 1182 from Marius Hennecke.
Chris@40 1183
Chris@40 1184 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1185
Chris@40 1186 * src/nist.c
Chris@40 1187 Fix a regression reported by Hugh Secker-Walker.
Chris@40 1188
Chris@40 1189 * src/api.html
Chris@40 1190 Add comment about sf_open_fd() not working on Windows if the application
Chris@40 1191 and the libsndfile DLL are linked to different versions of the Microsoft
Chris@40 1192 C runtime DLL.
Chris@40 1193
Chris@40 1194 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1195
Chris@40 1196 * tests/pedantic-header-test.sh.in
Chris@40 1197 Fix 'make distcheck'.
Chris@40 1198
Chris@40 1199 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1200
Chris@40 1201 * tests/pedantic-header-test.sh.in
Chris@40 1202 New file to test whether sndfile.h can be compiled with gcc's -pedantic
Chris@40 1203 flag.
Chris@40 1204
Chris@40 1205 * configure.ac tests/test_wrapper.sh.in
Chris@40 1206 Hook pedantic-header-test into test suite.
Chris@40 1207
Chris@40 1208 * src/sndfile.h.in
Chris@40 1209 Fix -pedantic warning.
Chris@40 1210
Chris@40 1211 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1212
Chris@40 1213 * programs/sndfile-salvage.c programs/Makefile.am
Chris@40 1214 New program to salvage the audio data from WAV/WAVEX/AIFF files which are
Chris@40 1215 greater than 4Gig in size.
Chris@40 1216
Chris@40 1217 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1218
Chris@40 1219 * programs/sndfile-convert.c
Chris@40 1220 Fix valgrind warning.
Chris@40 1221
Chris@40 1222 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1223
Chris@40 1224 * programs/sndfile-cmp.c
Chris@40 1225 When files differ in the PCM data, also print the difference offset.
Chris@40 1226 Minor cleanup.
Chris@40 1227
Chris@40 1228 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1229
Chris@40 1230 * src/aiff.c
Chris@40 1231 Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
Chris@40 1232 instead. Thanks to Paul Davis (Ardour) for this suggestion.
Chris@40 1233
Chris@40 1234 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1235
Chris@40 1236 * configure.ac
Chris@40 1237 Clean up configure report.
Chris@40 1238
Chris@40 1239 * tests/utils.tpl
Chris@40 1240 Add functions test_read_raw_or_die and test_write_raw_or_die.
Chris@40 1241
Chris@40 1242 * tests/rdwr_test.(def|tpl) tests/Makefile.am
Chris@40 1243 Add new test program and hook into build.
Chris@40 1244
Chris@40 1245 * src/sndfile.c
Chris@40 1246 Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
Chris@40 1247
Chris@40 1248 * tests/test_wrapper.sh.in
Chris@40 1249 Add rdwr_test to the test wrapper script.
Chris@40 1250
Chris@40 1251 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1252
Chris@40 1253 * configure.ac
Chris@40 1254 Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
Chris@40 1255
Chris@40 1256 * programs/common.[ch] programs/sndfile-metadata-set.c
Chris@40 1257 Apply a patch from Robin Gareus allowing the setting of the time reference
Chris@40 1258 field of the BEXT chunk.
Chris@40 1259
Chris@40 1260 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1261
Chris@40 1262 * src/ima_adpcm.c
Chris@40 1263 Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
Chris@40 1264 IMA4.
Chris@40 1265
Chris@40 1266 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1267
Chris@40 1268 * src/sndfile.hh
Chris@40 1269 Add a constructor which takes an existing file descriptor and then calls
Chris@40 1270 sf_open_fd(). Patch from Sakari Bergen.
Chris@40 1271
Chris@40 1272 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1273
Chris@40 1274 * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
Chris@40 1275 Improve usage messages.
Chris@40 1276
Chris@40 1277 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1278
Chris@40 1279 * src/id3.c src/Makefile.am
Chris@40 1280 Add new file src/id3.c and hook into build.
Chris@40 1281
Chris@40 1282 * src/sndfile.c src/common.h
Chris@40 1283 Detect and skip and ID3 header at the start of the file.
Chris@40 1284
Chris@40 1285 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1286
Chris@40 1287 * programs/common.c
Chris@40 1288 Fix update_strings() copyright, comment, album and license are correctly
Chris@40 1289 written. Thanks to Todd Allen for reporting this.
Chris@40 1290
Chris@40 1291 * man/Makefile.am
Chris@40 1292 Change GNU makeism to something more widely supported. Thanks to Christian
Chris@40 1293 Weisgerber for reporting this.
Chris@40 1294
Chris@40 1295 * configure.ac programs/Makefile.am programs/sndfile-play.c
Chris@40 1296 Apply patch from Christian Weisgerber and Jacob Meuserto add support for
Chris@40 1297 OpenBSD's sndio.
Chris@40 1298
Chris@40 1299 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1300
Chris@40 1301 * doc/api.html
Chris@40 1302 Discourage the use of sf_read/write_raw().
Chris@40 1303
Chris@40 1304 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1305
Chris@40 1306 * configure.ac
Chris@40 1307 Test for Unix pipe() and waitpid() functions.
Chris@40 1308
Chris@40 1309 * src/sfconfig.h tests/pipe_test.tpl
Chris@40 1310 Disable pipe_test if pipe() and waitpid() aren't available.
Chris@40 1311
Chris@40 1312 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1313
Chris@40 1314 * configure.ac src/Makefile.am src/create_symbols_file.py
Chris@40 1315 src/make-static-lib-hidden-privates.sh
Chris@40 1316 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
Chris@40 1317 and use the same symbols file for other systems which use GNU binutils like
Chris@40 1318 Debian's kfreebsd.
Chris@40 1319
Chris@40 1320 * M4/shave.m4 shave.in
Chris@40 1321 Update shave files from upstream.
Chris@40 1322
Chris@40 1323 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1324
Chris@40 1325 * man/sndfile-metadata-get.1
Chris@40 1326 Fix typo.
Chris@40 1327
Chris@40 1328 * man/sndfile-interleave.1 man/Makefile.am
Chris@40 1329 New man page.
Chris@40 1330
Chris@40 1331 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1332
Chris@40 1333 * src/ogg.c
Chris@40 1334 When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
Chris@40 1335 its too hot. Thanks to Dmitry Baikov for suggesting this.
Chris@40 1336
Chris@40 1337 * NEWS README doc/*.html
Chris@40 1338 Updates for 1.0.21.
Chris@40 1339
Chris@40 1340 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1341
Chris@40 1342 * programs/sndfile-jackplay.c man/sndfile-jackplay.1
Chris@40 1343 Remove these which will now be in found in the sndfile-tools package.
Chris@40 1344
Chris@40 1345 * programs/Makefile.am man/Makefile.am
Chris@40 1346 Remove build rules for sndfile-jackplay.
Chris@40 1347
Chris@40 1348 * configure.ac
Chris@40 1349 Remove detection of JACK Audio Connect Kit.
Chris@40 1350
Chris@40 1351 * programs/sndfile-concat.c man/sndfile-concat.1
Chris@40 1352 Add new program with man page.
Chris@40 1353
Chris@40 1354 * man/Makefile.am programs/Makefile.am
Chris@40 1355 Hook sndfile-concat into build system.
Chris@40 1356
Chris@40 1357 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1358
Chris@40 1359 * tests/error_test.c
Chris@40 1360 Don't terminate when sf_close() returns zero in error_close_test().
Chris@40 1361 It seems that Windows 7 behaves differently from earlier versions of
Chris@40 1362 Windows.
Chris@40 1363
Chris@40 1364 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1365
Chris@40 1366 * configure.ac M4/*.m4
Chris@40 1367 Rename all custom macros from AC_* to MN_*.
Chris@40 1368
Chris@40 1369 * programs/sndfile-interleave.c
Chris@40 1370 Make it actually work.
Chris@40 1371
Chris@40 1372 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1373
Chris@40 1374 * doc/*.html configure.ac
Chris@40 1375 Corrections and clarifications courtesy of Robin Forder.
Chris@40 1376
Chris@40 1377 * programs/sndfile-convert.c programs/common.[ch]
Chris@40 1378 Move some code from convert to common for reuse.
Chris@40 1379
Chris@40 1380 * programs/sndfile-interleave.c programs/sndfile-interleave.c
Chris@40 1381 Add new programs sndfile-interleave and sndfile-deinterleave.
Chris@40 1382
Chris@40 1383 * programs/Makefile.am
Chris@40 1384 Hook new programs into build.
Chris@40 1385
Chris@40 1386 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1387
Chris@40 1388 * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
Chris@40 1389 Minor OS/2 tweaks as suggested by David Yeo.
Chris@40 1390
Chris@40 1391 * tests/multi_file_test.c
Chris@40 1392 Fix file creation flags on windows. Thanks to Bruce Sharpe.
Chris@40 1393
Chris@40 1394 * src/sf_unistd.h
Chris@40 1395 Set all group and other file create permssions to zero.
Chris@40 1396
Chris@40 1397 * tests/win32_test.c
Chris@40 1398 Add a new test.
Chris@40 1399
Chris@40 1400 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1401
Chris@40 1402 * doc/print.css doc/*.html
Chris@40 1403 Add a print stylesheet and update all HTML documents to reference it.
Chris@40 1404 Thanks to Aditya Bhargava for suggesting this.
Chris@40 1405
Chris@40 1406 * doc/index.html
Chris@40 1407 Minor corrections.
Chris@40 1408
Chris@40 1409 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1410
Chris@40 1411 * sndfile.pc.in
Chris@40 1412 Add a Libs.private entry to assist with static linking.
Chris@40 1413
Chris@40 1414 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1415
Chris@40 1416 * src/make-static-lib-hidden-privates.sh src/Makefile.am
Chris@40 1417 Add a script to hide all non-public symbols in the libsndfile.a static
Chris@40 1418 library.
Chris@40 1419
Chris@40 1420 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1421
Chris@40 1422 * tests/locale_test.c
Chris@40 1423 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@40 1424
Chris@40 1425 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1426
Chris@40 1427 * src/windows.c
Chris@40 1428 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@40 1429
Chris@40 1430 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1431
Chris@40 1432 * programs/sndfile-convert.c
Chris@40 1433 Allow the program to read from stdin by specifying '-' on the command line
Chris@40 1434 as the input file.
Chris@40 1435
Chris@40 1436 * src/sndfile.h.in
Chris@40 1437 Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
Chris@40 1438
Chris@40 1439 * tests/virtual_io_test.c
Chris@40 1440 Add a PAF/PCM_24 test and verify the file length is not negative
Chris@40 1441 immediately after openning the file for write.
Chris@40 1442
Chris@40 1443 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1444
Chris@40 1445 * src/wav.c
Chris@40 1446 When writing loop lengths, adjust the end position by one to make up for
Chris@40 1447 Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
Chris@40 1448
Chris@40 1449 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1450
Chris@40 1451 * src/flac.c
Chris@40 1452 Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
Chris@40 1453 rate.
Chris@40 1454
Chris@40 1455 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1456
Chris@40 1457 * src/nist.c
Chris@40 1458 Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
Chris@40 1459
Chris@40 1460 * configure.ac
Chris@40 1461 Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
Chris@40 1462 libsndfile test suite to fail on MIPS, PowerPC and others.
Chris@40 1463 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
Chris@40 1464
Chris@40 1465 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1466
Chris@40 1467 * man/sndfile-convert.1
Chris@40 1468 Fix warning from Debian's lintian checks.
Chris@40 1469
Chris@40 1470 * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
Chris@40 1471 man/Makefile.am
Chris@40 1472 Add three new minimal manpages and hook into build.
Chris@40 1473
Chris@40 1474 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1475
Chris@40 1476 * tests/test_wrapper.sh.in
Chris@40 1477 Don't run cpp_test on x86_64-w64-mingw32.
Chris@40 1478
Chris@40 1479 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1480
Chris@40 1481 * tests/utils.tpl
Chris@40 1482 On windows, make sure the open() function doesn't get called with a third
Chris@40 1483 parameter of 0 which fails for no good reason. Also make sure this third
Chris@40 1484 parameter doesn't get called with S_IRGRP when compiling for windows because
Chris@40 1485 Wine complains.
Chris@40 1486
Chris@40 1487 * src/sndfile.hh
Chris@40 1488 Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
Chris@40 1489 string.
Chris@40 1490
Chris@40 1491 * doc/FAQ.html
Chris@40 1492 Add Q/A : I'm cross compiling libsndfile for another platform. How can I
Chris@40 1493 run the test suite?
Chris@40 1494
Chris@40 1495 * src/create_symbols_file.py src/Makefile.am
Chris@40 1496 Add Symbols.static target, a list of symbols, one per line.
Chris@40 1497
Chris@40 1498 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1499
Chris@40 1500 * tests/test_wrapper.sh.in
Chris@40 1501 Update to allow all tests to be gathered up into a testsuite tarball and
Chris@40 1502 then be run using this script.
Chris@40 1503
Chris@40 1504 * build-test-tarball.mk.in
Chris@40 1505 Add a Make script to build a tarball of all the test binaries and the test
Chris@40 1506 wrapper script. This is useful for cross compiling; you can build the
Chris@40 1507 binaries, build test test tarball and transfer the test tarball to the
Chris@40 1508 target machine for testing.
Chris@40 1509
Chris@40 1510 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1511
Chris@40 1512 * src/common.h src/*.c
Chris@40 1513 Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
Chris@40 1514 for the file path, directory and name. Fixes for this change throughout.
Chris@40 1515
Chris@40 1516 * src/windows.c src/Makefile.am
Chris@40 1517 New file defining new windows only public function sf_wchar_open() which
Chris@40 1518 takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
Chris@40 1519
Chris@40 1520 * src/sndfile.h.in
Chris@40 1521 Add SF_CHANNEL_MAP_ABISONIC_* entries.
Chris@40 1522 Add windows only defintion for sf_wchar_open().
Chris@40 1523
Chris@40 1524 * src/create_symbols_file.py
Chris@40 1525 Add sf_wchar_open() to the list of public symbols (windows only).
Chris@40 1526
Chris@40 1527 * tests/locale_test.c
Chris@40 1528 Add a wchar_test() to test sf_wchar_open().
Chris@40 1529
Chris@40 1530 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1531
Chris@40 1532 * src/common.h src/*.c
Chris@40 1533 Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
Chris@40 1534
Chris@40 1535 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1536
Chris@40 1537 * src/aiff.c src/voc.c
Chris@40 1538 When a byte is needed, use unsigned char.
Chris@40 1539
Chris@40 1540 * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
Chris@40 1541 Include sfconfig.h to prevent compile errors with MinGW compilers.
Chris@40 1542
Chris@40 1543 * configure.ac
Chris@40 1544 Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
Chris@40 1545
Chris@40 1546 * tests/locale_test.c
Chris@40 1547 Update to work with xx_XX.UTF-8 style locales. Refactoring.
Chris@40 1548
Chris@40 1549 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1550
Chris@40 1551 * configure.ac
Chris@40 1552 Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
Chris@40 1553 Remove unneeded AC_SUBST.
Chris@40 1554 Report Host CPU/OS/vendor.
Chris@40 1555
Chris@40 1556 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1557
Chris@40 1558 * src/sndfile.c
Chris@40 1559 Fix error message string.
Chris@40 1560
Chris@40 1561 * src/flac.c
Chris@40 1562 Add 88200 to the list of supported sample rates.
Chris@40 1563
Chris@40 1564 * src/ogg.c
Chris@40 1565 Fix compiler warning when using gcc-4.5.0.
Chris@40 1566
Chris@40 1567 * programs/sndfile-info.c tests/utils.tpl
Chris@40 1568 Remove WIN32 snprintf #define.
Chris@40 1569
Chris@40 1570 * src/ima_adpcm.c
Chris@40 1571 Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
Chris@40 1572 this.
Chris@40 1573
Chris@40 1574 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1575
Chris@40 1576 * src/caf.c
Chris@40 1577 Use the correct C99 format specifier for int64_t.
Chris@40 1578
Chris@40 1579 * M4/endian.m4
Chris@40 1580 Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
Chris@40 1581 Ossman for the bug report.
Chris@40 1582
Chris@40 1583 * src/caf.c src/sndfile.c
Chris@40 1584 Fix reading and writing of PEAK chunks in CAF files.
Chris@40 1585
Chris@40 1586 * tests/peak_chunk_test.c tests/test_wrapper.sh.in
Chris@40 1587 Run peak_chunk_test on CAF files.
Chris@40 1588
Chris@40 1589 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1590
Chris@40 1591 * src/aiff.c src/wav.c
Chris@40 1592 Use the correct C99 format specifier for int64_t.
Chris@40 1593
Chris@40 1594 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1595
Chris@40 1596 * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
Chris@40 1597 Apply a patch (massaged slightly) from Uli Franke adding handling of the
Chris@40 1598 BEXT chunk in RF64 files.
Chris@40 1599
Chris@40 1600 * tests/command_test.c
Chris@40 1601 Update channel_map_test() function so WAV test passes.
Chris@40 1602
Chris@40 1603 * src/rf64.c
Chris@40 1604 Add channel mapping and ambisonic support.
Chris@40 1605
Chris@40 1606 * src/sndfile.h
Chris@40 1607 Add comments showing correspondance between libsndfile channel map
Chris@40 1608 defintiions and those used by Apple and MS.
Chris@40 1609
Chris@40 1610 Add handling of reading/writing channel map info.
Chris@40 1611
Chris@40 1612 * tests/command_test.c tests/test_wrapper.sh.in
Chris@40 1613 Update channel map tests.
Chris@40 1614
Chris@40 1615 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1616
Chris@40 1617 * src/common.h
Chris@40 1618 Add function psf_isprint() a replacement for the standard C isprint()
Chris@40 1619 function which ignores any locale settings and treats all input as ASCII.
Chris@40 1620
Chris@40 1621 * src/(aiff|common|rf64|sd2|strings|svx|wav).c
Chris@40 1622 Use psf_isprint() instead of isprint().
Chris@40 1623
Chris@40 1624 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1625
Chris@40 1626 * src/command.c
Chris@40 1627 Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
Chris@40 1628
Chris@40 1629 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1630
Chris@40 1631 * programs/sndfile-play.c
Chris@40 1632 Allow use of Open Sound System audio output under FreeBSD.
Chris@40 1633
Chris@40 1634 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1635
Chris@40 1636 * configure.ac
Chris@40 1637 Add patch from Conrad Parker to add --disable-jack.
Chris@40 1638
Chris@40 1639 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1640
Chris@40 1641 * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
Chris@40 1642 Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
Chris@40 1643 Thanks to Sami Liedes for reporting this a Debian bug #530831.
Chris@40 1644
Chris@40 1645 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1646
Chris@40 1647 * src/chanmap.[ch]
Chris@40 1648 New files for channel map decoding/encoding.
Chris@40 1649
Chris@40 1650 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1651
Chris@40 1652 * configure.ac src/sndfile.h.in
Chris@40 1653 Fix MSVC definition of sf_count_t.
Chris@40 1654
Chris@40 1655 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1656
Chris@40 1657 * src/wav_w64.[ch]
Chris@40 1658 Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
Chris@40 1659 an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
Chris@40 1660
Chris@40 1661 * src/wav.c
Chris@40 1662 Add ability to write the channel mask.
Chris@40 1663
Chris@40 1664 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1665
Chris@40 1666 * programs/sndfile-info.c
Chris@40 1667 Add -c command line option to dump the channel map information.
Chris@40 1668
Chris@40 1669 * src/wav_w64.c
Chris@40 1670 Don't bail from parser if channel map bitmask is faulty.
Chris@40 1671
Chris@40 1672 * src/common.h src/sndfile.c
Chris@40 1673 Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
Chris@40 1674
Chris@40 1675 * src/sndfile.c
Chris@40 1676 On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
Chris@40 1677 command handler.
Chris@40 1678
Chris@40 1679 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1680
Chris@40 1681 * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
Chris@40 1682 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
Chris@40 1683 channel data in WAV and W64 files.
Chris@40 1684 Add a test for the above.
Chris@40 1685
Chris@40 1686 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1687
Chris@40 1688 * src/FAQ.html
Chris@40 1689 Update the section about pre-compiled binaries for Win64.
Chris@40 1690
Chris@40 1691 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1692
Chris@40 1693 * src/common.h src/test_conversions.c
Chris@40 1694 Be more careful when including <stdint.h> so compiling on pre-C99 platforms
Chris@40 1695 (hello Slowlaris) might actually work.
Chris@40 1696
Chris@40 1697 * NEWS README doc/*.html
Chris@40 1698 Updates for 1.0.20.
Chris@40 1699
Chris@40 1700 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1701
Chris@40 1702 * src/voc.c
Chris@40 1703 Fix a bug whereby opening a specially crafted VOC file could result in a
Chris@40 1704 heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
Chris@40 1705 this issue.
Chris@40 1706
Chris@40 1707 * src/aiff.c
Chris@40 1708 Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
Chris@40 1709
Chris@40 1710 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1711
Chris@40 1712 * tests/stdin_test.c
Chris@40 1713 Check psf->error after opening file.
Chris@40 1714
Chris@40 1715 * src/file_io.c
Chris@40 1716 Fix obscure seeking bug reported by Hugh Secker-Walker.
Chris@40 1717
Chris@40 1718 * tests/utils.tpl
Chris@40 1719 Add check of sf_error to test_open_file_or_die().
Chris@40 1720
Chris@40 1721 * src/sndfile.c
Chris@40 1722 Clear error if opening resource fork fails.
Chris@40 1723
Chris@40 1724 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1725
Chris@40 1726 * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
Chris@40 1727 Cleanup output.
Chris@40 1728
Chris@40 1729 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1730
Chris@40 1731 * src/float32.c
Chris@40 1732 Fix f2s_clip_array.
Chris@40 1733
Chris@40 1734 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1735
Chris@40 1736 * src/float32.c
Chris@40 1737 In host_read_f2s call convert instead of f2s_array.
Chris@40 1738
Chris@40 1739 * src/ima_adpcm.c
Chris@40 1740 Remove dead code.
Chris@40 1741
Chris@40 1742 * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
Chris@40 1743 tests/dwvw_test.c tests/fix_this.c tests/generate.c
Chris@40 1744 tests/multi_file_test.c
Chris@40 1745 Minor fixes.
Chris@40 1746
Chris@40 1747 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1748
Chris@40 1749 * M4/shave.m4 shave.in
Chris@40 1750 Pulled update from upstream.
Chris@40 1751
Chris@40 1752 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1753
Chris@40 1754 * doc/api.html
Chris@40 1755 Add pointers to example programs in source code tarball.
Chris@40 1756
Chris@40 1757 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1758
Chris@40 1759 * src/common.h
Chris@40 1760 Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
Chris@40 1761
Chris@40 1762 * configure.ac
Chris@40 1763 Add documentation for --disable-external-libs and improve error handling
Chris@40 1764 for that option.
Chris@40 1765
Chris@40 1766 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
Chris@40 1767 Add public function sf_version_string.
Chris@40 1768
Chris@40 1769 * tests/sfversion.c
Chris@40 1770 Test function sf_version_string.
Chris@40 1771
Chris@40 1772 * M4/shave.m4 shave-libtool.in shave.in
Chris@40 1773 Add new files from 'git clone git://git.lespiau.name/shave'.
Chris@40 1774
Chris@40 1775 * configure.ac
Chris@40 1776 Enable shave.
Chris@40 1777
Chris@40 1778 * src/Makefile.am src/binheader_writef_check.py Octave/*
Chris@40 1779 Shave related tweaks.
Chris@40 1780
Chris@40 1781 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1782
Chris@40 1783 * src/common.h src/caf.c src/sndfile.c
Chris@40 1784 Add SF_MAX_CHANNELS (set to 256) and use it.
Chris@40 1785
Chris@40 1786 * src/sndfile.h.in
Chris@40 1787 Check for either _MSCVER or _MSC_VER being defined.
Chris@40 1788
Chris@40 1789 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1790
Chris@40 1791 * tests/vorbis_test.c
Chris@40 1792 Relax test slighly to allow test to pass on more CPUs etc.
Chris@40 1793
Chris@40 1794 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1795
Chris@40 1796 * configure.ac
Chris@40 1797 Detect vorbis_version_string() correctly.
Chris@40 1798
Chris@40 1799 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1800
Chris@40 1801 * doc/index.html
Chris@40 1802 Add a 'See Also' section with a link to sndfile-tools.
Chris@40 1803
Chris@40 1804 * NEWS README doc/*.html
Chris@40 1805 Updates for 1.0.19 release.
Chris@40 1806
Chris@40 1807 * configure.ac
Chris@40 1808 Fix --enable-external-libs logic.
Chris@40 1809
Chris@40 1810 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1811
Chris@40 1812 * src/aiff.c
Chris@40 1813 Fix resource leak and potential read beyond end of buffer.
Chris@40 1814
Chris@40 1815 * src/nist.c
Chris@40 1816 Fix reading of header value sample_n_bytes.
Chris@40 1817
Chris@40 1818 * src/sd2.c src/wav.c
Chris@40 1819 Fix potential read beyond end of buffer.
Chris@40 1820
Chris@40 1821 * src/sndfile.c src/svx.c
Chris@40 1822 Check return values of file_io functions.
Chris@40 1823
Chris@40 1824 * tests/win32_test.c
Chris@40 1825 Fix resource leak.
Chris@40 1826
Chris@40 1827 * configure.ac
Chris@40 1828 Detect the presence/absence of vorbis_version_string() in libvorbis.
Chris@40 1829
Chris@40 1830 * src/ogg.c
Chris@40 1831 Only call vorbis_version_string() from libvorbis if present.
Chris@40 1832
Chris@40 1833 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1834
Chris@40 1835 * tests/win32_test.c
Chris@40 1836 Don't use sprintf, even on windows.
Chris@40 1837
Chris@40 1838 * src/aiff.c src/rf64.c src/wav.c
Chris@40 1839 Eliminate dead code, more validation of data read from file.
Chris@40 1840
Chris@40 1841 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1842
Chris@40 1843 * src/ima_adpcm.c
Chris@40 1844 Clamp values to a valid range before indexing ima_step_size array.
Chris@40 1845
Chris@40 1846 * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
Chris@40 1847 Don't include un-needed headers.
Chris@40 1848
Chris@40 1849 * programs/sndfile-info.c
Chris@40 1850 Remove dead code.
Chris@40 1851
Chris@40 1852 * tests/test_wrapper.sh.in
Chris@40 1853 Add 'set -e' so the script exits on error.
Chris@40 1854
Chris@40 1855 * src/test_ima_oki_adpcm.c
Chris@40 1856 Fix read beyond end of array.
Chris@40 1857
Chris@40 1858 * tests/win32_test.c
Chris@40 1859 Add missing close on file descriptor.
Chris@40 1860
Chris@40 1861 * src/nist.c programs/sndfile-metadata-set.c
Chris@40 1862 Fix 'unused variable' warnings.
Chris@40 1863
Chris@40 1864 * src/aiff.c
Chris@40 1865 Fix potential memory leak in handling of 'MARK' chunk.
Chris@40 1866 Remove un-needed test (unsigned > 0).
Chris@40 1867
Chris@40 1868 * src/sd2.c
Chris@40 1869 Improve handling of heap allocated buffer.
Chris@40 1870
Chris@40 1871 * src/sndfile.c
Chris@40 1872 Remove un-needed test (always true).
Chris@40 1873
Chris@40 1874 * src/wav.c src/rf64.c
Chris@40 1875 Ifdef out dead code that will be resurected some time in the future.
Chris@40 1876
Chris@40 1877 * src/wav.c src/w64.c src/xi.c
Chris@40 1878 Handle error return values from psf_ftell.
Chris@40 1879
Chris@40 1880 * src/wav_w64.c
Chris@40 1881 Fix handling and error checking of MSADPCM coefficient arrays.
Chris@40 1882
Chris@40 1883 * regtest/*.c
Chris@40 1884 Bunch of fixes.
Chris@40 1885
Chris@40 1886 * src/test_file_io.c
Chris@40 1887 Use snprintf instead of strncpy in test program.
Chris@40 1888
Chris@40 1889 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1890
Chris@40 1891 * src/sd2.c
Chris@40 1892 Validate data before using.
Chris@40 1893
Chris@40 1894 * src/caf.c
Chris@40 1895 Validate channels per frame value before using, fixing a possible integer
Chris@40 1896 overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
Chris@40 1897 Secunia Research (CVE-2009-0186).
Chris@40 1898
Chris@40 1899 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1900
Chris@40 1901 * Octave/octave_test.sh
Chris@40 1902 Unset TERM environment variable and export LD_LIBRARY_PATH.
Chris@40 1903
Chris@40 1904 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1905
Chris@40 1906 * src/file_io.c
Chris@40 1907 In windows code, cast LPVOID to 'char*' in printf.
Chris@40 1908
Chris@40 1909 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1910
Chris@40 1911 * M4/octave.m4
Chris@40 1912 Clear the TERM environment before evaluating anything in Octave. This works
Chris@40 1913 around problems that might occur if a users TERM settings are incorrect.
Chris@40 1914 Thanks to Rob Til Freedmen for helping to debug this.
Chris@40 1915
Chris@40 1916 * src/wav.c
Chris@40 1917 Handle four zero bytes as a marker within a LIST or INFO chunk.
Chris@40 1918 Thanks to Rogério Brito for supplying an example file.
Chris@40 1919
Chris@40 1920 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1921
Chris@40 1922 * src/common.h src/*.c
Chris@40 1923 Use C99 snprintf everywhere.
Chris@40 1924
Chris@40 1925 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1926
Chris@40 1927 * tests/test_wrapper.sh.in
Chris@40 1928 New file to act as the template for the test wrapper script.
Chris@40 1929
Chris@40 1930 * configure.ac
Chris@40 1931 Generate tests/test_wrapper.sh from the template.
Chris@40 1932
Chris@40 1933 * tests/Makefile.am
Chris@40 1934 Replace all tests with a single invocation of the test wrapper script.
Chris@40 1935
Chris@40 1936 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1937
Chris@40 1938 * src/ogg.c
Chris@40 1939 Record vorbis library version string.
Chris@40 1940
Chris@40 1941 * configure.ac
Chris@40 1942 Require libvorbis >= 1.2.2.
Chris@40 1943
Chris@40 1944 * M4/endian.m4
Chris@40 1945 Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
Chris@40 1946
Chris@40 1947 * M4/octave.m4 M4/mkoctfile_version.m4
Chris@40 1948 Clean up AC_WITH_ARG usage using AC_HELP_STRING.
Chris@40 1949
Chris@40 1950 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1951
Chris@40 1952 * Octave/Makefile.am
Chris@40 1953 Use $(top_buildir) instead of $(builddir) which may not be defined.
Chris@40 1954
Chris@40 1955 * M4/octave.m4
Chris@40 1956 Improve logic and status reporting.
Chris@40 1957
Chris@40 1958 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1959
Chris@40 1960 * configure.ac AUTHORS NEWS README doc/*.html
Chris@40 1961 Final tweaks for 1.0.18 release.
Chris@40 1962
Chris@40 1963 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1964
Chris@40 1965 * programs/sndfile-convert.c
Chris@40 1966 Add 'htk' to the list of convert formats.
Chris@40 1967
Chris@40 1968 * programs/sndfile-info.c
Chris@40 1969 Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
Chris@40 1970 Increase size of files for which signal max will be calculated.
Chris@40 1971
Chris@40 1972 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1973
Chris@40 1974 * doc/index.html
Chris@40 1975 Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
Chris@40 1976
Chris@40 1977 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1978
Chris@40 1979 * programs/sndfile-metadata-get.c
Chris@40 1980 Make valgrind clean.
Chris@40 1981 Clean up temp string array usage.
Chris@40 1982 Error out if trying to update coding history in RDWR mode.
Chris@40 1983
Chris@40 1984 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1985
Chris@40 1986 * doc/index.html
Chris@40 1987 Fix links to versions of the LGPL.
Chris@40 1988
Chris@40 1989 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 1990
Chris@40 1991 * tests/string_test.c
Chris@40 1992 Add test for RDWR mode where the file ends up shorter than when it was
Chris@40 1993 opened.
Chris@40 1994
Chris@40 1995 * src/wav.c
Chris@40 1996 Truncate the file on close for RDWR mode where the file ends up shorter
Chris@40 1997 than when it was opened.
Chris@40 1998
Chris@40 1999 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2000
Chris@40 2001 * M4/add_cflags.m4
Chris@40 2002 Fix problem with quoting of '#include'.
Chris@40 2003
Chris@40 2004 * M4/add_cxxflags.m4 configure.ac
Chris@40 2005 Add new file M4/add_cxxflags.m4 and use it in configure.ac.
Chris@40 2006
Chris@40 2007 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2008
Chris@40 2009 * programs/sndfile-info.c
Chris@40 2010 Apply patch from Conrad Parker to calculate and display total duration when
Chris@40 2011 more than one file is dumped.
Chris@40 2012
Chris@40 2013 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2014
Chris@40 2015 * configure.ac src/Makefile.am
Chris@40 2016 Tweaks to generation of Symbols files.
Chris@40 2017
Chris@40 2018 * tests/win32_ordinal_test.c
Chris@40 2019 Update tests for above changes.
Chris@40 2020
Chris@40 2021 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2022
Chris@40 2023 * programs/common.c
Chris@40 2024 When merging broadcast info, make sure to clear the destination field
Chris@40 2025 before copying in the new data.
Chris@40 2026
Chris@40 2027 * programs/test-sndfile-metadata-set.py
Chris@40 2028 Add test for the above.
Chris@40 2029
Chris@40 2030 * src/broadcast.c
Chris@40 2031 Fix checking of required coding_history_size.
Chris@40 2032
Chris@40 2033 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2034
Chris@40 2035 * tests/command_test.c
Chris@40 2036 Add test to detect if coding history is truncated.
Chris@40 2037
Chris@40 2038 * src/broadcast.c
Chris@40 2039 Fix truncation of coding history.
Chris@40 2040
Chris@40 2041 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2042
Chris@40 2043 * tests/command_test.c
Chris@40 2044 Add broadcast_coding_history_size test.
Chris@40 2045
Chris@40 2046 * programs/*.[ch]
Chris@40 2047 Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
Chris@40 2048
Chris@40 2049 * src/rf64.c
Chris@40 2050 Add code to prevent infinite loop on malformed file.
Chris@40 2051
Chris@40 2052 * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
Chris@40 2053 Rationalize and improve error handling when parsing 'fmt ' chunk.
Chris@40 2054
Chris@40 2055 * M4/octave.m4
Chris@40 2056 Simplify and remove cruft.
Chris@40 2057 Check for correct Octave version.
Chris@40 2058
Chris@40 2059 * Octave/*
Chris@40 2060 Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
Chris@40 2061
Chris@40 2062 * Octave/sndfile.cc Octave/PKG_ADD
Chris@40 2063 Add Octave function sfversion which returns the libsndfile version that the
Chris@40 2064 module is linked against.
Chris@40 2065
Chris@40 2066 * Octave/Makefile.am
Chris@40 2067 Bunch of build and 'make distcheck' fixes.
Chris@40 2068
Chris@40 2069 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2070
Chris@40 2071 * programs/common.c
Chris@40 2072 Return 1 if SFC_SET_BROADCAST_INFO fails.
Chris@40 2073
Chris@40 2074 * programs/test-sndfile-metadata-set.py
Chris@40 2075 Update for new programs directory, exit on any error.
Chris@40 2076
Chris@40 2077 * tests/error_test.c
Chris@40 2078 Fix failure behaviour in error_number_test.
Chris@40 2079
Chris@40 2080 * src/common.h src/sndfile.c
Chris@40 2081 Add error number SFE_BAD_BROADCAST_INFO_SIZE.
Chris@40 2082
Chris@40 2083 * src/*
Chris@40 2084 Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
Chris@40 2085
Chris@40 2086 * src/broadcast.c
Chris@40 2087 Fix generation of added coding history.
Chris@40 2088
Chris@40 2089 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2090
Chris@40 2091 * programs/sndfile-metadata-get.c programs/sndfile-info.c
Chris@40 2092 Exit with non-zero on errors.
Chris@40 2093
Chris@40 2094 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2095
Chris@40 2096 * examples/sndfile-to-text.c examples/Makefile.am
Chris@40 2097 Add a new example program and hook it into the build.
Chris@40 2098
Chris@40 2099 * examples/ programs/
Chris@40 2100 Add a new directory programs and move sndfile-info, sndfile-play and other
Chris@40 2101 real programs to the new directory, leaving example programs where they
Chris@40 2102 were.
Chris@40 2103
Chris@40 2104 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2105
Chris@40 2106 * tests/Makefile.am
Chris@40 2107 Automake 1.10 MinGW cross compiling fixes.
Chris@40 2108
Chris@40 2109 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2110
Chris@40 2111 * examples/sndfile-play.c
Chris@40 2112 Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
Chris@40 2113 Fix gcc-4.3 compiler warnings.
Chris@40 2114
Chris@40 2115 * tests/command_test.c
Chris@40 2116 Fix a valgrind warning.
Chris@40 2117
Chris@40 2118 * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
Chris@40 2119 tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
Chris@40 2120 Fix gcc-4.3 compiler warnings.
Chris@40 2121
Chris@40 2122 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2123
Chris@40 2124 * src/broadcast.c
Chris@40 2125 Fix termination of desitination string in strncpy_crlf.
Chris@40 2126 When copying BROADCAST_INFO chunk, make sure destination gets correct line
Chris@40 2127 endings.
Chris@40 2128
Chris@40 2129 * examples/common.c
Chris@40 2130 Fix copying of BROADCAST_INFO coding_history field.
Chris@40 2131
Chris@40 2132 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2133
Chris@40 2134 * tests/command_test.c
Chris@40 2135 Add test function instrument_rw_test, but don't hook it into the testing
Chris@40 2136 yet.
Chris@40 2137
Chris@40 2138 * src/common.h src/command.c src/sndfile.c src/flac.c
Chris@40 2139 Error code rationalization.
Chris@40 2140
Chris@40 2141 * src/common.h src/sndfile.c
Chris@40 2142 Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
Chris@40 2143 fails due to psf->have_written being true.
Chris@40 2144
Chris@40 2145 * doc/command.html
Chris@40 2146 Document the SFC_GET/SET_BROADCAST_INFO comamnds.
Chris@40 2147
Chris@40 2148 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2149
Chris@40 2150 * tests/command_test.c
Chris@40 2151 Improve error reporting when '\0' is found in coding history.
Chris@40 2152 Fix false failure.
Chris@40 2153
Chris@40 2154 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2155
Chris@40 2156 * src/broadcast.c
Chris@40 2157 Convert all coding history line endings to \r\n.
Chris@40 2158
Chris@40 2159 * tests/command_test.c
Chris@40 2160 Add test to make sure all line endings are converted to \r\n.
Chris@40 2161
Chris@40 2162 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2163
Chris@40 2164 * src/broadcast.c
Chris@40 2165 Changed the order of coding history fields.
Chris@40 2166
Chris@40 2167 * tests/command_test.c
Chris@40 2168 Update bextch test to cope with previous change.
Chris@40 2169
Chris@40 2170 * examples/common.c
Chris@40 2171 Add extra length check when copying broadcast info data.
Chris@40 2172
Chris@40 2173 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2174
Chris@40 2175 * tests/utils.tpl tests/pcm_test.tpl
Chris@40 2176 Update check_file_hash_or_die to use 64 bit hash.
Chris@40 2177
Chris@40 2178 * tests/checksum_test.c tests/Makefile.am
Chris@40 2179 Add new checksum_test specifically for lossy compression of headerless
Chris@40 2180 files.
Chris@40 2181
Chris@40 2182 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2183
Chris@40 2184 * src/gsm610.c
Chris@40 2185 Seek to psf->dataoffset before decoding first block.
Chris@40 2186
Chris@40 2187 * src/sndfile.c
Chris@40 2188 Fix detection of mpc2k files on big endian systems.
Chris@40 2189
Chris@40 2190 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2191
Chris@40 2192 * src/broadcast.c
Chris@40 2193 Use '\r\n' newlines in Coding History as required by spec.
Chris@40 2194
Chris@40 2195 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2196
Chris@40 2197 * src/test_conversions.c
Chris@40 2198 Use int64_t instead of 'long long'.
Chris@40 2199
Chris@40 2200 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2201
Chris@40 2202 * examples/sndfile-metadata-set.c
Chris@40 2203 Remove --bext-coding-history-append command line option because it didn't
Chris@40 2204 really make sense.
Chris@40 2205
Chris@40 2206 * examples/sndfile-metadata-(get|set).c
Chris@40 2207 Add usage messages.
Chris@40 2208
Chris@40 2209 * examples/test-sndfile-metadata-set.py
Chris@40 2210 Start work on test coding history.
Chris@40 2211
Chris@40 2212 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2213
Chris@40 2214 * README doc/win32.html
Chris@40 2215 Bring these up to date.
Chris@40 2216
Chris@40 2217 * src/aiff.c
Chris@40 2218 Fix parsing of REX files.
Chris@40 2219
Chris@40 2220 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2221
Chris@40 2222 * src/file_io.c
Chris@40 2223 Use intptr_t instead of long for return value of _get_osfhandle.
Chris@40 2224
Chris@40 2225 * src/test_conversions.c src/test_endswap.tpl
Chris@40 2226 Fix printing of int64_t values.
Chris@40 2227
Chris@40 2228 * examples/sndfile-play.c
Chris@40 2229 Fix win64 issues.
Chris@40 2230
Chris@40 2231 * tests/win32_ordinal_test.c
Chris@40 2232 Fix calling of GetProcAddress with ordinal under win64.
Chris@40 2233
Chris@40 2234 * tests/utils.tpl
Chris@40 2235 Fix win64 issues.
Chris@40 2236
Chris@40 2237 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2238
Chris@40 2239 * examples/*
Chris@40 2240 Rename copy_data.[ch] to common.[ch]. Fix build.
Chris@40 2241 Move code from sndfile-metadata-set.c to common.c.
Chris@40 2242
Chris@40 2243 * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
Chris@40 2244 Clean paths.
Chris@40 2245
Chris@40 2246 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2247
Chris@40 2248 * doc/tutorial.html doc/Makefile.am
Chris@40 2249 Add file doc/tutorial.html and hook into build/dist system.
Chris@40 2250
Chris@40 2251 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2252
Chris@40 2253 * examples/sndfile-metadata-set.c
Chris@40 2254 Clean up handling of bext command line params.
Chris@40 2255
Chris@40 2256 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2257
Chris@40 2258 * src/w64.c
Chris@40 2259 Add handling/skipping of a couple of new chunk types.
Chris@40 2260
Chris@40 2261 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2262
Chris@40 2263 * configure.ac
Chris@40 2264 Add -funsigned-char to CFLAGS if the compiler supports it.
Chris@40 2265
Chris@40 2266 * examples/sndfile-metadata-(get|set).c
Chris@40 2267 Add handling for more metadata types.
Chris@40 2268
Chris@40 2269 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2270
Chris@40 2271 * src/common.h
Chris@40 2272 Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
Chris@40 2273 field of SF_INFO into component parts.
Chris@40 2274
Chris@40 2275 * src/*.c
Chris@40 2276 Use new macros everywhere it is appropriate.
Chris@40 2277
Chris@40 2278 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2279
Chris@40 2280 * examples/sndfile-bwf-set.c
Chris@40 2281 Massive reworking.
Chris@40 2282
Chris@40 2283 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2284
Chris@40 2285 * examples/sndfile-bwf-set.c
Chris@40 2286 Add --info-auto-create-date command line option.
Chris@40 2287
Chris@40 2288 * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
Chris@40 2289 examples/Makefile.am examples/test-sndfile-bwf-set.py
Chris@40 2290 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
Chris@40 2291 Change command line args.
Chris@40 2292
Chris@40 2293 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2294
Chris@40 2295 * src/wav.c
Chris@40 2296 Allow 'PAD ' chunk to be modified in RDWR mode.
Chris@40 2297
Chris@40 2298 * src/sndfile.h.in src/sndfile.c
Chris@40 2299 Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
Chris@40 2300
Chris@40 2301 * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
Chris@40 2302 tests/misc_test.c
Chris@40 2303 Add tests for RF64.
Chris@40 2304
Chris@40 2305 * src/rf64.c
Chris@40 2306 Fixes to make sure all tests pass.
Chris@40 2307
Chris@40 2308 * tests/Makefile.am tests/string_test.c
Chris@40 2309 Add string tests (not yet passing).
Chris@40 2310
Chris@40 2311 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2312
Chris@40 2313 * src/rf64.c
Chris@40 2314 First pass at writing RF64 now working.
Chris@40 2315
Chris@40 2316 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2317
Chris@40 2318 * examples/sndfile-convert.c
Chris@40 2319 Add SF_FORMAT_RF64 to format_map.
Chris@40 2320
Chris@40 2321 * src/common.h src/sndfile.c
Chris@40 2322 More RF64 support code.
Chris@40 2323
Chris@40 2324 * examples/sndfile-bwf-set.c
Chris@40 2325 Fix the month number in autogenerated date string and use hypen in date
Chris@40 2326 instead of slash.
Chris@40 2327
Chris@40 2328 * examples/test-sndfile-bwf-set.py
Chris@40 2329 Update tests.
Chris@40 2330
Chris@40 2331 * examples/sndfile-info.c
Chris@40 2332 When called with -i or -b option, operate on all files on command line, not
Chris@40 2333 just the first.
Chris@40 2334
Chris@40 2335 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2336
Chris@40 2337 * src/rf64.c
Chris@40 2338 New file to handle RF64 (WAV like format supportting > 4Gig files).
Chris@40 2339
Chris@40 2340 * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
Chris@40 2341 Hook the above into build so hacking can begin.
Chris@40 2342
Chris@40 2343 * src/pcm.c
Chris@40 2344 Improve log message when pcm_init fails.
Chris@40 2345
Chris@40 2346 * src/sndfile-info.c
Chris@40 2347 Only calculate and print 'Signal Max' if file is less than 10 megabytes in
Chris@40 2348 length.
Chris@40 2349
Chris@40 2350 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2351
Chris@40 2352 * tests/string_test.c
Chris@40 2353 Polish string_multi_set_test.
Chris@40 2354
Chris@40 2355 * src/wav.c
Chris@40 2356 In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
Chris@40 2357 length has changed).
Chris@40 2358 Minor fixes in wav_write_strings.
Chris@40 2359 Write PAD chunk with default endian-ness, not a specific endian-ness.
Chris@40 2360
Chris@40 2361 * examples/test-sndfile-bwf-set.py
Chris@40 2362 Add Python script to test sndfile-bwf-set/get.
Chris@40 2363
Chris@40 2364 * examples/sndfile-bwf-set.c
Chris@40 2365 Clean up and fixes.
Chris@40 2366
Chris@40 2367 * src/wav.c
Chris@40 2368 Merge function wavex_write_header into wav_write_header, deleting about 70
Chris@40 2369 lines of code.
Chris@40 2370
Chris@40 2371 * src/common.h
Chris@40 2372 Double value of SF_MAX_STRINGS.
Chris@40 2373
Chris@40 2374 * tests/string_test.c
Chris@40 2375 Add string tests for WAVEX and RIFX files.
Chris@40 2376
Chris@40 2377 * tests/command_test.c
Chris@40 2378 Add broadcast test for WAVEX files.
Chris@40 2379
Chris@40 2380 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2381
Chris@40 2382 * tests/string_test.c
Chris@40 2383 Add a new string_rdwr_test (currently failing for WAV).
Chris@40 2384 Add a new string_multi_set_test (currently failing).
Chris@40 2385
Chris@40 2386 * tests/command_test.c
Chris@40 2387 Add new broadcast_rdwr_test (currently failing).
Chris@40 2388
Chris@40 2389 * src/wav.c
Chris@40 2390 Fix to WAV parser to allow 'bext' chunk to be updated in place.
Chris@40 2391 In wav_write_tailer, seek to psf->dataend if its greater than zero.
Chris@40 2392
Chris@40 2393 * src/sndfile.c
Chris@40 2394 Make sure psf->have_written gets set correctly in mode SFM_RDWR.
Chris@40 2395
Chris@40 2396 * configure.ac
Chris@40 2397 Test for <sys/time.h> and gettimeofday.
Chris@40 2398
Chris@40 2399 * src/common.c
Chris@40 2400 Use gettimeofday() to initialize psf_rand_int32.
Chris@40 2401
Chris@40 2402 * src/common.h src/sndfile.c
Chris@40 2403 Add unique_id field to SF_PRIVATE struct.
Chris@40 2404
Chris@40 2405 * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
Chris@40 2406 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
Chris@40 2407
Chris@40 2408 * src/common.h src/strings.c
Chris@40 2409 Add function psf_location_string_count.
Chris@40 2410
Chris@40 2411 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2412
Chris@40 2413 * configure.ac
Chris@40 2414 Test for localtime and localtime_r.
Chris@40 2415
Chris@40 2416 * examples/sndfile-convert.c
Chris@40 2417 In function copy_metadata(), copy broadcast info if present.
Chris@40 2418
Chris@40 2419 * examples/copy_data.[ch] examples/Makefile.am
Chris@40 2420 Break some functionality out of sndfile-convert.c so it can be used in
Chris@40 2421 examples/sndfile-bwf-set.c.
Chris@40 2422
Chris@40 2423 * tests/utils.tpl
Chris@40 2424 Add new function create_short_sndfile().
Chris@40 2425
Chris@40 2426 * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
Chris@40 2427 examples/Makefile.am
Chris@40 2428 Add new files and hook into build.
Chris@40 2429
Chris@40 2430 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2431
Chris@40 2432 * src/sndfile.h.in
Chris@40 2433 Fix comments. Patch from Mark Glines.
Chris@40 2434
Chris@40 2435 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2436
Chris@40 2437 * tests/misc_test.c
Chris@40 2438 Use zero_data_test on Ogg/Vorbis files.
Chris@40 2439
Chris@40 2440 * src/ogg.c
Chris@40 2441 Fix segfault when closing an Ogg/Vorbis file that has been opened for write
Chris@40 2442 but had no actual data written to it. Bug reported by Chinoy Gupta.
Chris@40 2443
Chris@40 2444 * tests/Makefile.am
Chris@40 2445 Make sure to run mist_test on Ogg/Vorbis files.
Chris@40 2446
Chris@40 2447 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2448
Chris@40 2449 * regtest/Makefile.am
Chris@40 2450 Use SQLITE3_CFLAGS to locate sqlite headers.
Chris@40 2451
Chris@40 2452 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2453
Chris@40 2454 * doc/index.html doc/FAQ.html
Chris@40 2455 Add notes about which versions of windows libsndfile works on.
Chris@40 2456
Chris@40 2457 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2458
Chris@40 2459 * tests/misc_test.c
Chris@40 2460 Add a test for correct handling of Ambisonic files. Thanks to Fons
Chris@40 2461 Adriaensen for the test.
Chris@40 2462
Chris@40 2463 * src/wav.c src/wav_w64.c
Chris@40 2464 Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
Chris@40 2465
Chris@40 2466 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2467
Chris@40 2468 * configure.ac
Chris@40 2469 Fix detection/enabling of external libs.
Chris@40 2470
Chris@40 2471 * M4/extra_pkg.m4 M4/Makefile.am
Chris@40 2472 Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
Chris@40 2473 PKG_CHECK_MODULES. The new macro prints the version number of the package
Chris@40 2474 it is searching for.
Chris@40 2475
Chris@40 2476 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2477
Chris@40 2478 * src/aiff.c
Chris@40 2479 Apply a fix from Axel Röbel where if the second loop in the instrument
Chris@40 2480 chunk is none, the loop mode is written into the first loop.
Chris@40 2481
Chris@40 2482 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2483
Chris@40 2484 * src/test_float.c src/test_main.(c|h) src/Makefile.am
Chris@40 2485 Add new file to test functions float32_(le|be)_(read|write) and
Chris@40 2486 double64_(le|be)_(read|write). Hook into build and testsuite.
Chris@40 2487
Chris@40 2488 * src/double64.c src/float32.c
Chris@40 2489 Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
Chris@40 2490 for reporting this bug.
Chris@40 2491
Chris@40 2492 * src/sndfile.h.in
Chris@40 2493 Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
Chris@40 2494 unsigned.
Chris@40 2495
Chris@40 2496 * examples/sndfile-info.c
Chris@40 2497 Print out the BEXT time reference in a sensible format.
Chris@40 2498
Chris@40 2499 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2500
Chris@40 2501 * src/*.c
Chris@40 2502 Fuzz fixes.
Chris@40 2503
Chris@40 2504 * src/ogg.c
Chris@40 2505 Add call to ogg_stream_clear to fix valgrind warning.
Chris@40 2506
Chris@40 2507 * src/aiff.c
Chris@40 2508 Fix x86_64 compile issue.
Chris@40 2509
Chris@40 2510 * configure.ac src/Makefile.am src/flac.c src/ogg.c
Chris@40 2511 Link to external versions of FLAC, Ogg and Vorbis.
Chris@40 2512
Chris@40 2513 * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
Chris@40 2514 tests/vorbis_test.c tests/write_read_test.tpl
Chris@40 2515 Fix tests when configured with --disable-external-libs.
Chris@40 2516
Chris@40 2517 * tests/external_libs_test.c tests/Makefile.am
Chris@40 2518 Add new test and hook into build and test suite.
Chris@40 2519
Chris@40 2520 * src/command.c
Chris@40 2521 Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
Chris@40 2522 the right data when external libs are disabled.
Chris@40 2523
Chris@40 2524 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2525
Chris@40 2526 * tests/write_read_test.tpl
Chris@40 2527 Add a test for extending a file during write by seeking past the current
Chris@40 2528 end of file.
Chris@40 2529
Chris@40 2530 * src/sndfile.c
Chris@40 2531 Allow seeking past end of file during write.
Chris@40 2532
Chris@40 2533 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2534
Chris@40 2535 * doc/api.html doc/command.html
Chris@40 2536 Move all information about the sf_command function to command.html and add
Chris@40 2537 a link from documentation of the sf_read/write_raw function to the
Chris@40 2538 SFC_RAW_NEEDS_ENDSWAP command.
Chris@40 2539
Chris@40 2540 * doc/index.html doc/FAQ.html doc/libsndfile.css
Chris@40 2541 Minor documentation tweaks.
Chris@40 2542
Chris@40 2543 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2544
Chris@40 2545 * configure.ac
Chris@40 2546 Add AM_PROG_CC_C_O.
Chris@40 2547
Chris@40 2548 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2549
Chris@40 2550 * tests/error_test.c
Chris@40 2551 Add a test to make sure if file opened with sf_open_fd, and then the file
Chris@40 2552 descriptor is closed, then sf_close will return an error code. Thanks to
Chris@40 2553 Dave Flogeras for the bug report.
Chris@40 2554
Chris@40 2555 * src/sndfile.c
Chris@40 2556 Make sf_close return an error is the file descriptor is already closed.
Chris@40 2557
Chris@40 2558 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2559
Chris@40 2560 * configure.ac
Chris@40 2561 Set object format to aout for OS/2. Thanks to David Yeo.
Chris@40 2562
Chris@40 2563 * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
Chris@40 2564 Add ability to read MPC 2000 file.
Chris@40 2565
Chris@40 2566 * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
Chris@40 2567 tests/Makefile.am
Chris@40 2568 Add tests for MPC 2000 file format.
Chris@40 2569
Chris@40 2570 * examples/sndfile-convert.c
Chris@40 2571 Allow conversion to MPC 2000 file format.
Chris@40 2572
Chris@40 2573 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2574
Chris@40 2575 * src/VORBIS/lib/codebook.c
Chris@40 2576 Sync from upstream SVN.
Chris@40 2577
Chris@40 2578 * autogen.sh configure.ac
Chris@40 2579 Minor tweaks.
Chris@40 2580
Chris@40 2581 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2582
Chris@40 2583 * src/ogg.c
Chris@40 2584 Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
Chris@40 2585 The patch as supplied segfaulted and required many hours of debugging.
Chris@40 2586
Chris@40 2587 * src/OGG/bitwise.c
Chris@40 2588 Sync from upstream SVN.
Chris@40 2589
Chris@40 2590 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2591
Chris@40 2592 * src/aiff.c
Chris@40 2593 Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
Chris@40 2594 this issue.
Chris@40 2595
Chris@40 2596 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2597
Chris@40 2598 * tests/*.c
Chris@40 2599 Add calls to sf_close() where needed.
Chris@40 2600
Chris@40 2601 * tests/utils.tpl tests/multi_file_test.c
Chris@40 2602 Always pass 0 as the third argument to open when OS_IS_WIN32.
Chris@40 2603
Chris@40 2604 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2605
Chris@40 2606 * src/test_*
Chris@40 2607 Add files test_main.[ch].
Chris@40 2608 Collapse all tests into a single executable.
Chris@40 2609
Chris@40 2610 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2611
Chris@40 2612 * src/FLAC
Chris@40 2613 Sync to upstream CVS.
Chris@40 2614
Chris@40 2615 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2616
Chris@40 2617 * src/common.h
Chris@40 2618 Make SF_MIN and SF_MAX macros MinGW friendly.
Chris@40 2619
Chris@40 2620 * examples/sndfile-(info|play).c
Chris@40 2621 Use Sleep function from <windows.h> instead of _sleep.
Chris@40 2622
Chris@40 2623 * tests/locale_test.c
Chris@40 2624 Disable some tests when OS_IS_WIN32.
Chris@40 2625
Chris@40 2626 * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
Chris@40 2627 src/FLAC/src/share/utf8/utf8.c
Chris@40 2628 MinGW fixes.
Chris@40 2629
Chris@40 2630 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2631
Chris@40 2632 * doc/FAQ.html
Chris@40 2633 Tweaks to pcm16 <-> float conversion answer.
Chris@40 2634
Chris@40 2635 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2636
Chris@40 2637 * src/OGG
Chris@40 2638 Sync to SVN upstream.
Chris@40 2639
Chris@40 2640 * Makefile.am
Chris@40 2641 Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
Chris@40 2642
Chris@40 2643 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2644
Chris@40 2645 * examples/sndfile-jackplay.c
Chris@40 2646 Minor tweaks to warning message printed when compiled without libjack.
Chris@40 2647
Chris@40 2648 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2649
Chris@40 2650 * tests/peak_chunk_test.c
Chris@40 2651 Improve read_write_peak_test to find more errors. Inspired by example
Chris@40 2652 provided by Nicolas Castagne.
Chris@40 2653
Chris@40 2654 * src/aiff.c
Chris@40 2655 Another SFM_RDWR fix shown up by above test.
Chris@40 2656
Chris@40 2657 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2658
Chris@40 2659 * src/aiff.c
Chris@40 2660 Fix reading of COMM encoding string.
Chris@40 2661
Chris@40 2662 * src/chunk.c src/common.h src/Makefile.am
Chris@40 2663 New file for storing and retrieving info about header chunks. Hook into
Chris@40 2664 build.
Chris@40 2665
Chris@40 2666 * src/aiff.c
Chris@40 2667 Use new chunk logging to fix problem with AIFF in RDWR mode.
Chris@40 2668
Chris@40 2669 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2670
Chris@40 2671 * src/command.c
Chris@40 2672 Add WVE to the list of major formats.
Chris@40 2673
Chris@40 2674 * tests/aiff_rw_test.c
Chris@40 2675 Fix error reporting.
Chris@40 2676
Chris@40 2677 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2678
Chris@40 2679 * src/common.[ch]
Chris@40 2680 Add internal functions str_of_major_format, str_of_minor_format,
Chris@40 2681 str_of_open_mode and str_of_endianness.
Chris@40 2682
Chris@40 2683 * tests/write_read_test.tpl
Chris@40 2684 Fix reporting of errors in new_rdwr_XXXX_test.
Chris@40 2685
Chris@40 2686 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2687
Chris@40 2688 * examples/sndfile-play.c
Chris@40 2689 Apply patch from Yair K. to fix compiles with OSS v4.
Chris@40 2690
Chris@40 2691 * src/common.h src/float32.c src/double64.c
Chris@40 2692 Rename psf->float_enswap to psf->data_endswap.
Chris@40 2693
Chris@40 2694 * src/sndfile.h.in src/sndfile.c src/pcm.c
Chris@40 2695 Add command SFC_RAW_NEEDS_ENDSWAP.
Chris@40 2696
Chris@40 2697 * tests/command.c
Chris@40 2698 Add test for SFC_RAW_NEEDS_ENDSWAP.
Chris@40 2699
Chris@40 2700 * doc/command.html
Chris@40 2701 Document SFC_RAW_NEEDS_ENDSWAP.
Chris@40 2702
Chris@40 2703 * tests/peak_chunk_test.c
Chris@40 2704 Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
Chris@40 2705 bug report.
Chris@40 2706
Chris@40 2707 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2708
Chris@40 2709 * examples/sndfile-cmp.c
Chris@40 2710 Add new example program contributed by Conrad Parker.
Chris@40 2711
Chris@40 2712 * examples/Makefile.am
Chris@40 2713 Hook into build.
Chris@40 2714
Chris@40 2715 * doc/development.html
Chris@40 2716 Change use or reconfigure.mk to autogen.sh.
Chris@40 2717
Chris@40 2718 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2719
Chris@40 2720 * tests/win32_test.c
Chris@40 2721 Add another win32 test.
Chris@40 2722
Chris@40 2723 * tests/util.tpl
Chris@40 2724 Add function file_length_fd which wraps fstat.
Chris@40 2725
Chris@40 2726 * tests/Makefile.am
Chris@40 2727 Run the multi_file_test on AU files.
Chris@40 2728
Chris@40 2729 * tests/multi_file_test.c
Chris@40 2730 Use function file_length_fd() instead of file_length() to overcome stupid
Chris@40 2731 win32 bug. Fscking hell Microsoft sucks so much.
Chris@40 2732
Chris@40 2733 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2734
Chris@40 2735 * src/sd2.c
Chris@40 2736 Fix a rsrc parsing bug. Example file supplied by Uli Franke.
Chris@40 2737
Chris@40 2738 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2739
Chris@40 2740 * doc/index.html
Chris@40 2741 Allow use of either LGPL v2.1 or LGPL v3.
Chris@40 2742
Chris@40 2743 * tests/header_test.tpl
Chris@40 2744 Add header_shrink_test from Axel Röbel.
Chris@40 2745
Chris@40 2746 * src/wav.c
Chris@40 2747 Add fix from Axel Röbel for writing files with float data but no peak
Chris@40 2748 chunk (ie peak chunk gets removed after the file is opened).
Chris@40 2749
Chris@40 2750 * src/aiff.c tests/header_test.tpl
Chris@40 2751 Apply similar fix to above for AIFF files.
Chris@40 2752
Chris@40 2753 * src/wav.c tests/header_test.tpl
Chris@40 2754 Apply similar fix to above for WAVEX files.
Chris@40 2755
Chris@40 2756 * src/command.c
Chris@40 2757 Add Ogg/Vorbis to 'get format' commands.
Chris@40 2758
Chris@40 2759 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2760
Chris@40 2761 * src/ogg.c
Chris@40 2762 Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
Chris@40 2763 Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
Chris@40 2764
Chris@40 2765 * tests/ogg_test.c
Chris@40 2766 Add stereo seek tests.
Chris@40 2767
Chris@40 2768 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2769
Chris@40 2770 * tests/ogg_test.c
Chris@40 2771 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
Chris@40 2772 case supplied by Bodo.
Chris@40 2773
Chris@40 2774 * tests/utils.(def|tpl)
Chris@40 2775 Add compare_XXX_or_die functions.
Chris@40 2776
Chris@40 2777 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2778
Chris@40 2779 * src/aiff.c
Chris@40 2780 Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
Chris@40 2781 misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
Chris@40 2782
Chris@40 2783 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2784
Chris@40 2785 * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
Chris@40 2786 Merge in code from the vox-patch branch. Thanks to Robs for the patch
Chris@40 2787 which fixes a long standing bug in the VOX codec.
Chris@40 2788
Chris@40 2789 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2790
Chris@40 2791 * examples/sndfile-convert.c
Chris@40 2792 Fix handling of -override-sample-rate=X option.
Chris@40 2793
Chris@40 2794 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2795
Chris@40 2796 * src/ogg.c src/VORBIS
Chris@40 2797 Merge in Ogg Vorbis support from John ffitch of the Csound project.
Chris@40 2798
Chris@40 2799 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2800
Chris@40 2801 * src/sndfile.c
Chris@40 2802 Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
Chris@40 2803 recognise 'vox8' as and 'vox' as 8kHz files.
Chris@40 2804
Chris@40 2805 * configure.ac
Chris@40 2806 Detect libjack (JACK Audio Connect Kit).
Chris@40 2807
Chris@40 2808 * examples/sndfile-jackplay.c examples/Makefile.am
Chris@40 2809 Add new example program to play sound files using the JACK audio server.
Chris@40 2810 Thanks to Jonatan Liljedahl for allowing this to be included.
Chris@40 2811
Chris@40 2812 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2813
Chris@40 2814 * doc/index.html
Chris@40 2815 Update support table with SD2 and FLAC.
Chris@40 2816
Chris@40 2817 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2818
Chris@40 2819 * src/sndfile.c
Chris@40 2820 Fix calculation of internal value psf->read_current when attempting to read
Chris@40 2821 past end of audio data.
Chris@40 2822 Remove redundant code.
Chris@40 2823
Chris@40 2824 * tests/lossy_comp_test.c
Chris@40 2825 Add read_raw_test to check that raw reads do not go past the end of the
Chris@40 2826 audio data section.
Chris@40 2827 Clean up error output messages.
Chris@40 2828
Chris@40 2829 * src/sndfile.c
Chris@40 2830 Add code to prevent sf_read_raw from reading past the end of the audio data.
Chris@40 2831
Chris@40 2832 * tests/Makefile.am
Chris@40 2833 Add the wav_pcm lossy_comp_test.
Chris@40 2834
Chris@40 2835 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2836
Chris@40 2837 * configure.ac src/Makefile.am src/create_symbols_file.py
Chris@40 2838 More OS/2 fixes from David Yeo.
Chris@40 2839
Chris@40 2840 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2841
Chris@40 2842 * src/file_io.c tests/utils.tpl tests/benchmark.tpl
Chris@40 2843 Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
Chris@40 2844
Chris@40 2845 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2846
Chris@40 2847 * src/common.h
Chris@40 2848 Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
Chris@40 2849
Chris@40 2850 * src/create_symbols_file.py
Chris@40 2851 Add support for OS/2 contributed by David Yeo.
Chris@40 2852
Chris@40 2853 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2854
Chris@40 2855 * M4/gcc_version.m4
Chris@40 2856 Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
Chris@40 2857
Chris@40 2858 * configure.ac
Chris@40 2859 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
Chris@40 2860 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
Chris@40 2861 Use -fgnu-inline to prevent stupid warnings.
Chris@40 2862
Chris@40 2863 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2864
Chris@40 2865 * tests/util.tpl
Chris@40 2866 Increase the printing width for print_test_name().
Chris@40 2867
Chris@40 2868 * tests/command_test.c tests/Makefile.am
Chris@40 2869 Add tests for correct updating of broadcast WAV coding history.
Chris@40 2870
Chris@40 2871 * examples/sndfilehandle.cc examples/Makefile.am
Chris@40 2872 Add example program using the C++ SndfileHandle class.
Chris@40 2873
Chris@40 2874 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2875
Chris@40 2876 * src/common.h src/sndfile.c
Chris@40 2877 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
Chris@40 2878
Chris@40 2879 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2880
Chris@40 2881 * src/sd2.c
Chris@40 2882 Identify sample-rate/sample-size/channels by resource id.
Chris@40 2883
Chris@40 2884 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2885
Chris@40 2886 * src/broadcast.c src/common.h src/sndfile.c
Chris@40 2887 Improvements to handling of broadcast info in WAV files. Thanks to Frederic
Chris@40 2888 Cornu and other for their input.
Chris@40 2889
Chris@40 2890 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2891
Chris@40 2892 * src/FLAC/include/share/alloc.h
Chris@40 2893 Mingw fix for SIZE_T_MAX from Uli Franke.
Chris@40 2894
Chris@40 2895 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2896
Chris@40 2897 * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
Chris@40 2898 Move tests from open_fail_test.c to error_test.c and remove the former.
Chris@40 2899
Chris@40 2900 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2901
Chris@40 2902 * tests/scale_clip_test.(def|tpl)
Chris@40 2903 Add tests for SFC_SET_INT_FLOAT_WRITE command.
Chris@40 2904
Chris@40 2905 * doc/command.html
Chris@40 2906 Add docs for SFC_SET_INT_FLOAT_WRITE command.
Chris@40 2907
Chris@40 2908 * examples/sndfile-play.c tests/dft_cmp.c
Chris@40 2909 Fix gcc-4.2 warning messages.
Chris@40 2910
Chris@40 2911 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2912
Chris@40 2913 * src/sndfile.h.in src/sndfile.c
Chris@40 2914 Add command SFC_GET_CURRENT_SF_INFO.
Chris@40 2915
Chris@40 2916 * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
Chris@40 2917 Remove function sf_get_info (only ever in pre-release code).
Chris@40 2918
Chris@40 2919 * tests/command_test.c
Chris@40 2920 Add test for SFC_GET_CURRENT_SF_INFO.
Chris@40 2921
Chris@40 2922 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2923
Chris@40 2924 * src/wav.c
Chris@40 2925 Add parsing of 'exif' chunks. Originally coded by Trent Apted.
Chris@40 2926
Chris@40 2927 * configure.ac
Chris@40 2928 Put config stuff in Cfg directory.
Chris@40 2929 Remove check for inttypes.h.
Chris@40 2930
Chris@40 2931 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2932
Chris@40 2933 * src/w64.c
Chris@40 2934 Fix writing of 'riff' chunk length and check for correct value in parser.
Chris@40 2935
Chris@40 2936 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2937
Chris@40 2938 * doc/index.html
Chris@40 2939 Link to MP3 FAQ entry.
Chris@40 2940
Chris@40 2941 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2942
Chris@40 2943 * src/flac.c
Chris@40 2944 Move the blocksize check to an earlier stage of flac_buffer_copy.
Chris@40 2945
Chris@40 2946 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2947
Chris@40 2948 * src/FLAC
Chris@40 2949 Huge merge from FLAC upstream.
Chris@40 2950
Chris@40 2951 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2952
Chris@40 2953 * examples/*.c
Chris@40 2954 Change license to all example programs to BSD.
Chris@40 2955
Chris@40 2956 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2957
Chris@40 2958 * src/FLAC/include/FLAC/metadata.h
Chris@40 2959 Include <sys/types.h> to prevent compile error on OSX.
Chris@40 2960
Chris@40 2961 * Octave/octave_test.sh
Chris@40 2962 Disable test on OSX. Can't get it to work.
Chris@40 2963
Chris@40 2964 * src/flac.c
Chris@40 2965 Check the blocksize returned from the FLAC decoder to prevent buffer
Chris@40 2966 overruns. Reported by Jeremy Friesner. Thanks.
Chris@40 2967
Chris@40 2968 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2969
Chris@40 2970 * Makefile.am M4/octave.m4
Chris@40 2971 Fix build when Octave headers are not present.
Chris@40 2972
Chris@40 2973 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2974
Chris@40 2975 * doc/development.html
Chris@40 2976 Add note about bzr repository directory looking empty.
Chris@40 2977
Chris@40 2978 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2979
Chris@40 2980 * configure.ac Octave/* M4/octave_*
Chris@40 2981 Bunch of changes to add ability to build GNU Octave modules to read/write
Chris@40 2982 sound files using libsndfile from Octave.
Chris@40 2983
Chris@40 2984 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2985
Chris@40 2986 * acinclude.m4 configure.ac ...
Chris@40 2987 Get rid of acinclude.m4 and replace it with an M4 directory.
Chris@40 2988
Chris@40 2989 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2990
Chris@40 2991 * src/sndfile.h.in
Chris@40 2992 Remove crufty Metrowerks compiler support. Allow header file to be compiled
Chris@40 2993 on windows with both GCC and microsoft compiler.
Chris@40 2994
Chris@40 2995 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 2996
Chris@40 2997 * tests/dft_cmp.[ch] tests/floating_point_test.tpl
Chris@40 2998 Clean up floating point tests.
Chris@40 2999
Chris@40 3000 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3001
Chris@40 3002 * src/aiff.c
Chris@40 3003 Fix segfault when COMM chunk length is byte swapped.
Chris@40 3004
Chris@40 3005 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3006
Chris@40 3007 * src/common.h src/mat4.c src/mat5.c src/sndfile.c
Chris@40 3008 Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
Chris@40 3009
Chris@40 3010 * src/au.c
Chris@40 3011 Fix crash on AU files with zero channel count. Reported by Ben Alison.
Chris@40 3012
Chris@40 3013 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3014
Chris@40 3015 * src/voc.c
Chris@40 3016 Fix bug in handling file supplied by Matt Olenik.
Chris@40 3017
Chris@40 3018 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3019
Chris@40 3020 * src/OGG
Chris@40 3021 Merge from OGG upstream sources.
Chris@40 3022
Chris@40 3023 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3024
Chris@40 3025 * src/FLAC
Chris@40 3026 Merge from FLAC upstream sources.
Chris@40 3027
Chris@40 3028 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3029
Chris@40 3030 * src/flac.c
Chris@40 3031 Fix memory leak; set copy parameter to FALSE in call to
Chris@40 3032 FLAC__metadata_object_vorbiscomment_append_comment.
Chris@40 3033
Chris@40 3034 * src/common.[ch]
Chris@40 3035 Add function psf_rand_int32().
Chris@40 3036
Chris@40 3037 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3038
Chris@40 3039 * src/FLAC
Chris@40 3040 Merge from FLAC upstream sources.
Chris@40 3041
Chris@40 3042 * src/strings.c tests/string_test.c tests/Makefile.am
Chris@40 3043 Make sure string tests for SF_STR_LICENSE actually works.
Chris@40 3044
Chris@40 3045 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3046
Chris@40 3047 * tests/string_test.c
Chris@40 3048 Add ability to test strings stored in metadata secion of FLAC files.
Chris@40 3049
Chris@40 3050 * src/string.c
Chris@40 3051 Fix logic for testing if audio data has been written and string is added.
Chris@40 3052 Make sure SF_STR_ALBUM actually works.
Chris@40 3053
Chris@40 3054 * src/flac.c
Chris@40 3055 Finalize reading/writing string metadata. Tests pass.
Chris@40 3056
Chris@40 3057 * src/sndfile.h.in tests/string_test.c src/flac.c
Chris@40 3058 Add string type SF_STR_LICENSE, update test and use for FLAC files.
Chris@40 3059
Chris@40 3060 * src/sndfile.h.in
Chris@40 3061 Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
Chris@40 3062
Chris@40 3063 * src/common.h src/double64.c src/float32.c src/sndfile.c
Chris@40 3064 Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
Chris@40 3065
Chris@40 3066 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3067
Chris@40 3068 * src/flac.c
Chris@40 3069 Apply patch from Ed Schouten to read artist and title metadata from FLAC
Chris@40 3070 files.
Chris@40 3071 Improve reporting of FLAC metadata.
Chris@40 3072
Chris@40 3073 * src/sndfile.h.in tests/string_test.c src/flac.c
Chris@40 3074 Add string type SF_STR_ALBUM, update test and use for FLAC files.
Chris@40 3075
Chris@40 3076 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3077
Chris@40 3078 * src/FLAC/*
Chris@40 3079 Merge from upstream CVS.
Chris@40 3080
Chris@40 3081 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3082
Chris@40 3083 * src/FLAC/*
Chris@40 3084 Update from upstream CVS.
Chris@40 3085
Chris@40 3086 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3087
Chris@40 3088 * tests/cpp_test.cc
Chris@40 3089 Add extra tests for when the SndfileHandle constructor fails.
Chris@40 3090
Chris@40 3091 * src/sndfile.hh
Chris@40 3092 Make sure failure to open the file in the constructor does not allow later
Chris@40 3093 calls to other methods to fail.
Chris@40 3094
Chris@40 3095 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3096
Chris@40 3097 * tests/util.tpl
Chris@40 3098 Add function write_mono_file.
Chris@40 3099
Chris@40 3100 * tests/generate.[ch] tests/Makefile.am
Chris@40 3101 Add files generate.[ch] and hook into build.
Chris@40 3102
Chris@40 3103 * tests/write_read_test.tpl
Chris@40 3104 Add multi_seek_test.
Chris@40 3105
Chris@40 3106 * src/flac.c
Chris@40 3107 Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
Chris@40 3108 by David Viens.
Chris@40 3109
Chris@40 3110 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3111
Chris@40 3112 * doc/FAQ.html
Chris@40 3113 Minor update.
Chris@40 3114
Chris@40 3115 * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
Chris@40 3116 Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
Chris@40 3117
Chris@40 3118 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3119
Chris@40 3120 * src/wav.c
Chris@40 3121 Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
Chris@40 3122
Chris@40 3123 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3124
Chris@40 3125 * src/wav.c
Chris@40 3126 Fix array indexing bug raised by Bruce Sharpe.
Chris@40 3127
Chris@40 3128 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3129
Chris@40 3130 * src/FLAC/src/share/getopt/getopt.c
Chris@40 3131 Fix Mac OSX / PowerPC compile warnings.
Chris@40 3132
Chris@40 3133 * configure.ac
Chris@40 3134 Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
Chris@40 3135
Chris@40 3136 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3137
Chris@40 3138 * doc/FAQ.html
Chris@40 3139 Add Q/A about MP3 support.
Chris@40 3140
Chris@40 3141 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3142
Chris@40 3143 * doc/new_file_type.HOWTO
Chris@40 3144 Minor updates.
Chris@40 3145
Chris@40 3146 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3147
Chris@40 3148 * src/wve.c
Chris@40 3149 Fix a couple bad parameters with psf_log_printf.
Chris@40 3150
Chris@40 3151 * src/pcm.c
Chris@40 3152 Improve error reporting.
Chris@40 3153
Chris@40 3154 * src/common.h src/common.c
Chris@40 3155 Constify psf_hexdump.
Chris@40 3156
Chris@40 3157 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3158
Chris@40 3159 * src/FLAC
Chris@40 3160 Ditch and re-import required FLAC code.
Chris@40 3161
Chris@40 3162 * configure.ac
Chris@40 3163 Force FLAC__HAS_OGG variable to 1.
Chris@40 3164
Chris@40 3165 * src/FLAC/src/libFLAC/stream_encoder.c
Chris@40 3166 Fix compiler warnings.
Chris@40 3167
Chris@40 3168 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3169
Chris@40 3170 * configure.ac tests/win32_ordinal_test.c
Chris@40 3171 Detect if win32 DLL is beging generated and only run win32_ordinal_test if
Chris@40 3172 true.
Chris@40 3173
Chris@40 3174 * src/G72x/Makefile.am src/Makefile.am
Chris@40 3175 Use $(EXEEXT) where possible.
Chris@40 3176
Chris@40 3177 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3178
Chris@40 3179 * src/wve.c src/common.h src/sndfile.c
Chris@40 3180 Complete definition of SfE_WVE_NO_WVE error message.
Chris@40 3181
Chris@40 3182 * src/wve.c
Chris@40 3183 Fix error in files generated on big endian systems. Robustify parsing.
Chris@40 3184
Chris@40 3185 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3186
Chris@40 3187 * src/double64.c
Chris@40 3188 Fix clipping of double to short conversions on 64 bit systems.
Chris@40 3189
Chris@40 3190 * src/flac.c regtest/database.c tests/cpp_test.cc
Chris@40 3191 Fix compile warnings for 64 bit systems.
Chris@40 3192
Chris@40 3193 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3194
Chris@40 3195 * src/wav.c src/wav_w64.c
Chris@40 3196 Use audio detect function when 'fmt ' chunk data is suspicious.
Chris@40 3197
Chris@40 3198 * configure.ac
Chris@40 3199 Add ugly hack to remove -Werror from some Makefiles.
Chris@40 3200
Chris@40 3201 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3202
Chris@40 3203 * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
Chris@40 3204 Add patch from André Pang to clean up compiles on OSX.
Chris@40 3205
Chris@40 3206 * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
Chris@40 3207 examples/sndfile-convert.c
Chris@40 3208 Merge changes from Reuben Thomas to improve WVE support.
Chris@40 3209
Chris@40 3210 * tests/lossy_comp_test.c tests/Makefile.am
Chris@40 3211 Add tests for WVE files.
Chris@40 3212
Chris@40 3213 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3214
Chris@40 3215 * src/sndfile.hh
Chris@40 3216 Add a static SndfileHandle::formatCheck method as suggested by Jorge
Chris@40 3217 Jiménez.
Chris@40 3218
Chris@40 3219 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3220
Chris@40 3221 * src/sndfile.c
Chris@40 3222 Fixed a bug in sf_error() where the function itself was being compared
Chris@40 3223 against zero. Add a check for a NULL return from peak_info_calloc. Fix a
Chris@40 3224 possible NULL dereference.
Chris@40 3225
Chris@40 3226 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3227
Chris@40 3228 * src/flac.c
Chris@40 3229 Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
Chris@40 3230 opening file for RDWR.
Chris@40 3231
Chris@40 3232 * src/sndfile.c
Chris@40 3233 Improve error message for SFE_BAD_RDWR_FORMAT.
Chris@40 3234
Chris@40 3235 * src/mat4.c
Chris@40 3236 Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
Chris@40 3237
Chris@40 3238 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3239
Chris@40 3240 * doc/FAQ.html
Chris@40 3241 Add Q/A 19 on project files.
Chris@40 3242
Chris@40 3243 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3244
Chris@40 3245 * src/sndfile.c
Chris@40 3246 Guard agains MacOSX universal binary compiles.
Chris@40 3247
Chris@40 3248 * doc/FAQ.html
Chris@40 3249 Add Q/A 18 and clean up Q3.
Chris@40 3250
Chris@40 3251 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3252
Chris@40 3253 * src/aiff.c
Chris@40 3254 Add support for 'in24' files.
Chris@40 3255
Chris@40 3256 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3257
Chris@40 3258 * src/wav.c src/wav_w64.c src/wav_w64.h
Chris@40 3259 Start work towards detecting ausio codec type from the actual audio data.
Chris@40 3260
Chris@40 3261 * src/audio_detect.c src/test_audio_detect.c
Chris@40 3262 Add new file and its unit test.
Chris@40 3263
Chris@40 3264 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3265
Chris@40 3266 * examples/cooledit-fixer.c examples/Makefile.am
Chris@40 3267 Remove old broken example program.
Chris@40 3268
Chris@40 3269 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3270
Chris@40 3271 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
Chris@40 3272 Add function sf_get_info.
Chris@40 3273
Chris@40 3274 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3275
Chris@40 3276 * examples/sndfile-play.c
Chris@40 3277 For ALSA, use the 'default' device instead of 'plughw:0'.
Chris@40 3278
Chris@40 3279 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3280
Chris@40 3281 * src/sndfile.c
Chris@40 3282 Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
Chris@40 3283
Chris@40 3284 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3285
Chris@40 3286 * doc/development.html doc/embedded_files.html man/sndfile-play.1
Chris@40 3287 Minor documentation fixes. Thanks Reuben Thomas.
Chris@40 3288
Chris@40 3289 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3290
Chris@40 3291 * examples/sndfile-convert.c
Chris@40 3292 Add -override-sample-rate command line option.
Chris@40 3293
Chris@40 3294 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3295
Chris@40 3296 * tests/misc_test.c
Chris@40 3297 Force errno to zero at start of some tests.
Chris@40 3298
Chris@40 3299 * src/sndfile.c
Chris@40 3300 Minor clean up of error handling.
Chris@40 3301
Chris@40 3302 * configure.ac
Chris@40 3303 Remove an assembler test which was failing on OSX.
Chris@40 3304
Chris@40 3305 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3306
Chris@40 3307 * src/common.h
Chris@40 3308 Fix the definition of SF_PLATFORM_S64 for MinGW.
Chris@40 3309
Chris@40 3310 * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
Chris@40 3311 Fix path problems for MinGW.
Chris@40 3312
Chris@40 3313 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3314
Chris@40 3315 * src/sfendian.h
Chris@40 3316 Add include guard.
Chris@40 3317
Chris@40 3318 * src/Makefile.am src/flac.c
Chris@40 3319 Clean up include paths.
Chris@40 3320
Chris@40 3321 * src/test_conversions.c
Chris@40 3322 New file to test psf_binheader_readf/writef functions.
Chris@40 3323
Chris@40 3324 * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
Chris@40 3325 Clean up unit testing.
Chris@40 3326
Chris@40 3327 * src/common.c
Chris@40 3328 Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
Chris@40 3329 for reporting this.
Chris@40 3330
Chris@40 3331 * src/test_conversions.c
Chris@40 3332 Complete unit test for above fix.
Chris@40 3333
Chris@40 3334 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3335
Chris@40 3336 * src/sndfile.c
Chris@40 3337 More refactoring to clean up psf_open_file() and vairous sf_open()
Chris@40 3338 functions.
Chris@40 3339
Chris@40 3340 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3341
Chris@40 3342 * src/wav.c
Chris@40 3343 Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
Chris@40 3344 files of over 4 gigabytes.
Chris@40 3345
Chris@40 3346 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3347
Chris@40 3348 * src/sndfile.c
Chris@40 3349 Refactor function psf_open_file() to provide a single return point.
Chris@40 3350
Chris@40 3351 * tests/misc_test.c
Chris@40 3352 Fix permission_test to ensure that read only file can be created.
Chris@40 3353
Chris@40 3354 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3355
Chris@40 3356 * src/common.h
Chris@40 3357 Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
Chris@40 3358 bit integers.
Chris@40 3359
Chris@40 3360 * src/aiff.c src/svx.c src/wav.c
Chris@40 3361 Add warning in log if files are larger than 4 gigabytes in size.
Chris@40 3362
Chris@40 3363 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3364
Chris@40 3365 * src/FLAC src/OGG confgure.ac src/Makefile.am
Chris@40 3366 Pull in all required FLAC and OGG code so external libraries are not
Chris@40 3367 needed. This makes compiling on stupid fscking Windoze easier.
Chris@40 3368
Chris@40 3369 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3370
Chris@40 3371 * src/sd2.c
Chris@40 3372 Add workaround for switched sample rate and sample size.
Chris@40 3373
Chris@40 3374 * src/wav.c
Chris@40 3375 Add workaround for excessively long coding history in the 'bext' chunk.
Chris@40 3376
Chris@40 3377 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3378
Chris@40 3379 * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
Chris@40 3380 Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
Chris@40 3381
Chris@40 3382 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3383
Chris@40 3384 * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
Chris@40 3385 Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
Chris@40 3386 files. Still needs a little tweaking before its ready for release.
Chris@40 3387
Chris@40 3388 * src/*.c
Chris@40 3389 Use the UNUSED macro to prevent compiler warnings.
Chris@40 3390
Chris@40 3391 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3392
Chris@40 3393 * src/aiff.c
Chris@40 3394 Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
Chris@40 3395 to David Viens for providing two example files.
Chris@40 3396
Chris@40 3397 * src/common.(c|h) src/aiff.c
Chris@40 3398 Add a function psf_sanitize_string and use it in aiff.c.
Chris@40 3399
Chris@40 3400 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3401
Chris@40 3402 * src/wav_w64.c
Chris@40 3403 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
Chris@40 3404
Chris@40 3405 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3406
Chris@40 3407 * src/Makefile.am
Chris@40 3408 Fix problem related to recent test coverage changes.
Chris@40 3409
Chris@40 3410 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3411
Chris@40 3412 * configure.ac tests/Makefile.am
Chris@40 3413 Add --enable-test-coverage configure option.
Chris@40 3414
Chris@40 3415 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3416
Chris@40 3417 * src/sndfile.hh
Chris@40 3418 Add an std::string SndfileHandle constructor.
Chris@40 3419
Chris@40 3420 * tests/scale_clip_test.tpl
Chris@40 3421 Fix the 'make distcheck' target.
Chris@40 3422
Chris@40 3423 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3424
Chris@40 3425 * src/double64.c src/float32.c
Chris@40 3426 Add optional clipping on float file data to int read data conversions.
Chris@40 3427
Chris@40 3428 * tests/tests/scale_clip_test.(def|tpl)
Chris@40 3429 Add test for above new code.
Chris@40 3430
Chris@40 3431 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3432
Chris@40 3433 * tests/aiff_rw_test.c
Chris@40 3434 Add 'MARK' chunks to make sure they are parsed correctly.
Chris@40 3435
Chris@40 3436 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3437
Chris@40 3438 * src/aiff.c
Chris@40 3439 Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
Chris@40 3440 help debug the problem.
Chris@40 3441
Chris@40 3442 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3443
Chris@40 3444 * src/common.h
Chris@40 3445 Make the SF_MIN and SF_MAX macros at least partially type safe.
Chris@40 3446
Chris@40 3447 * tests/lossy_comp_test.c
Chris@40 3448 Fix overflow problems when ensuring that signalis not zero.
Chris@40 3449
Chris@40 3450 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3451
Chris@40 3452 * configure.ac docs/*.html
Chris@40 3453 Changes for release 1.0.17.
Chris@40 3454
Chris@40 3455 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3456
Chris@40 3457 * src/flac.c
Chris@40 3458 Remove inline from functions called by pointer. Thanks to Sampo Savolainen
Chris@40 3459 for notifying me of this.
Chris@40 3460
Chris@40 3461 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3462
Chris@40 3463 * src/sndfile.hh
Chris@40 3464 Add writeSync method.
Chris@40 3465 Add copy constructor and assignment operator (thanks Daniel Schmitt).
Chris@40 3466 Add methods readRaw and writeRaw.
Chris@40 3467 Make read/write/readf/writef simple overlaods instead of templates (thanks
Chris@40 3468 to Trent Apted for suggesting this).
Chris@40 3469
Chris@40 3470 * tests/cpp_test.cc
Chris@40 3471 Cleanup. Add tests.
Chris@40 3472
Chris@40 3473 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3474
Chris@40 3475 * src/sndfile.hh
Chris@40 3476 Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
Chris@40 3477 Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
Chris@40 3478 openReadWrite methods.
Chris@40 3479 Add const to SF_INFO pointer in Sndfile constructor.
Chris@40 3480 Make the destrictor call the close() method.
Chris@40 3481
Chris@40 3482 * tests/cpp_test.cc
Chris@40 3483 Add more tests.
Chris@40 3484
Chris@40 3485 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3486
Chris@40 3487 * tests/cpp_test.cc
Chris@40 3488 Remove the generated file so "make distcheck" passes.
Chris@40 3489
Chris@40 3490 * src/Makefile.am
Chris@40 3491 Add sndfile.hh to distributed header files.
Chris@40 3492
Chris@40 3493 * src/sndfile.hh
Chris@40 3494 Change the license for the C++ wrapper to modified BSD.
Chris@40 3495
Chris@40 3496 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3497
Chris@40 3498 * src/sndfile.hh
Chris@40 3499 Complete it.
Chris@40 3500
Chris@40 3501 * tests/cpp_test.cc
Chris@40 3502 Add more tests.
Chris@40 3503
Chris@40 3504 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3505
Chris@40 3506 * tests/utils.tpl
Chris@40 3507 Add extern C to generated header file.
Chris@40 3508
Chris@40 3509 * src/sndfile.hh
Chris@40 3510 Work towards completing this.
Chris@40 3511
Chris@40 3512 * tests/cpp_test.cc tests/Makefile.am
Chris@40 3513 Add a C++ test and hook into build.
Chris@40 3514
Chris@40 3515 * configure.ac
Chris@40 3516 Add appropriate CXXFLAGS.
Chris@40 3517
Chris@40 3518 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3519
Chris@40 3520 * configure.ac
Chris@40 3521 Test if compiler supports -Wpointer-arith.
Chris@40 3522
Chris@40 3523 * src/common.c
Chris@40 3524 Fix a warning resulting from -Wpointer-arith.
Chris@40 3525
Chris@40 3526 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3527
Chris@40 3528 * examples/sndfile-play.c
Chris@40 3529 Explicitly set endian-ness as well as setting 16 bit output.
Chris@40 3530
Chris@40 3531 * examples/sndfile-info.c
Chris@40 3532 Make sure to parse info if file fails to open.
Chris@40 3533
Chris@40 3534 * src/sndfile.c
Chris@40 3535 Handle parse error a little better.
Chris@40 3536
Chris@40 3537 * src/wav_w64.[ch]
Chris@40 3538 Minor clean up, add detection of IPP ITU G723.1.
Chris@40 3539
Chris@40 3540 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3541
Chris@40 3542 * src/sndfile.c
Chris@40 3543 Make sure psf->dataoffset gets reset to zero when openning headersless
Chris@40 3544 files based on the file name extension.
Chris@40 3545
Chris@40 3546 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3547
Chris@40 3548 * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
Chris@40 3549 tests/write_read_test.(tpl|def)
Chris@40 3550 Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
Chris@40 3551 break strict-aliasing rules".
Chris@40 3552
Chris@40 3553 * examples/cooledit-fixer.c
Chris@40 3554 More fixes like above.
Chris@40 3555
Chris@40 3556 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3557
Chris@40 3558 * src/file_io.c
Chris@40 3559 Fix a windows bug where the syserr string of SF_PRIVATE was not being set
Chris@40 3560 correctly.
Chris@40 3561
Chris@40 3562 * src/sndfile.c
Chris@40 3563 Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
Chris@40 3564
Chris@40 3565 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3566
Chris@40 3567 * configure.ac
Chris@40 3568 Fixed detection of S_IRGRP.
Chris@40 3569
Chris@40 3570 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3571
Chris@40 3572 * sndfile-convert.c
Chris@40 3573 Add conversion SF_INSTRUMENT data when present.
Chris@40 3574
Chris@40 3575 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3576
Chris@40 3577 * doc/development.html
Chris@40 3578 Removed references to tla on windows.
Chris@40 3579
Chris@40 3580 * src/common.h src/sndfile.c
Chris@40 3581 Add separate void pointers for file containter and file codec data to
Chris@40 3582 SF_PRIVATE struct. Still need to move all existing fdata pointers.
Chris@40 3583
Chris@40 3584 * tests/write_read_test.tpl
Chris@40 3585 Change the order of some tests.
Chris@40 3586
Chris@40 3587 * src/aiff.c
Chris@40 3588 When writing 'AIFC' files, make sure get an 'FVER' gets added.
Chris@40 3589
Chris@40 3590 * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
Chris@40 3591 src/(sndfile|voc|vox_adpcm|xi).c
Chris@40 3592 Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
Chris@40 3593
Chris@40 3594 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3595
Chris@40 3596 * Win32/testprog.c Win32/Makefile.am
Chris@40 3597 Add a minimal win32 test program.
Chris@40 3598
Chris@40 3599 * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
Chris@40 3600 Update readme and Mingw build script.
Chris@40 3601
Chris@40 3602 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3603
Chris@40 3604 * configure.ac acinclude.m4
Chris@40 3605 Minor fixes for Solaris.
Chris@40 3606
Chris@40 3607 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3608
Chris@40 3609 * src/test_endswap.(def|tpl)
Chris@40 3610 Fix printf formatting for int64_t on 64 bit machines.
Chris@40 3611
Chris@40 3612 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3613
Chris@40 3614 * src/binhead_check.py
Chris@40 3615 New file to check for bad parameters passed to psf_binheader_writef().
Chris@40 3616
Chris@40 3617 * src/Makefile.am
Chris@40 3618 Hook into test suite.
Chris@40 3619
Chris@40 3620 * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
Chris@40 3621 Fix bugs found by new test program.
Chris@40 3622
Chris@40 3623 * src/double64.c
Chris@40 3624 Clean up double64_get_capability().
Chris@40 3625
Chris@40 3626 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3627
Chris@40 3628 * src/wav_w64.c
Chris@40 3629 Fix a bug on x86_64 where an int was being passed via stdargs and being
Chris@40 3630 read using size_t which is 64 bits. Thenks to John ffitch for giving me a
Chris@40 3631 login on his box.
Chris@40 3632
Chris@40 3633 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3634
Chris@40 3635 * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
Chris@40 3636 tests/utils.tpl
Chris@40 3637 Fix a couple of signed/unsigned problems.
Chris@40 3638
Chris@40 3639 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3640
Chris@40 3641 * tests/command_test.c
Chris@40 3642 Add channel map tests.
Chris@40 3643
Chris@40 3644 * src/common.h src/sndfile.c
Chris@40 3645 Add a pointer to the SF_PRIVATE struct and make sure it gets freed in
Chris@40 3646 sf_close().
Chris@40 3647
Chris@40 3648 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3649
Chris@40 3650 * configure.ac doc/(command|index|api).html NEWS README
Chris@40 3651 Updates for 1.0.16 release.
Chris@40 3652
Chris@40 3653 * src/sndfile.h.in
Chris@40 3654 Define enums for channel mapping.
Chris@40 3655
Chris@40 3656 * examples/sndfile-info.c
Chris@40 3657 Clean up usage of SF_INFO struct.
Chris@40 3658
Chris@40 3659 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3660
Chris@40 3661 * tests/util.tpl
Chris@40 3662 Add function testing function exit_if_true().
Chris@40 3663
Chris@40 3664 * tests/floating_point_test.tpl
Chris@40 3665 Fix a problem where the test program was not exiting when the test failed.
Chris@40 3666
Chris@40 3667 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3668
Chris@40 3669 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
Chris@40 3670 Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
Chris@40 3671
Chris@40 3672 * doc/commands.html
Chris@40 3673 Document new commands. Other minor updates.
Chris@40 3674
Chris@40 3675 * tests/peak_chunk_test.c
Chris@40 3676 Update tests for new commands.
Chris@40 3677
Chris@40 3678 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3679
Chris@40 3680 * tests/peak_chunk_test.c
Chris@40 3681 Add test for RIFX and WAVEX files.
Chris@40 3682 Try and confuse the PEAK chunk writing by enabling and disabling it.
Chris@40 3683
Chris@40 3684 * src/sndfile.c
Chris@40 3685 Fix a bug where enabling and disabling PEAK chunk was screwing up.
Chris@40 3686
Chris@40 3687 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3688
Chris@40 3689 * src/sndfile.h.in
Chris@40 3690 Add the block of 190 reserved bytes into this struct to allow for
Chris@40 3691 future expansion.
Chris@40 3692
Chris@40 3693 * src/wav.c src/sndfile.c src/broadcast.c
Chris@40 3694 Significant cleanup of broadcast wave stuff.
Chris@40 3695
Chris@40 3696 * examples/sndfile-info.c
Chris@40 3697 Fix print message.
Chris@40 3698
Chris@40 3699 * tests/command_test.c tests/Makefile.am
Chris@40 3700 Complete bext tests, hook test in test suite.
Chris@40 3701
Chris@40 3702 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3703
Chris@40 3704 * src/sndfile.h.in
Chris@40 3705 Make coding_history field of SF_BROADCAST_INFO struct a char array instead
Chris@40 3706 of a char pointer.
Chris@40 3707
Chris@40 3708 * src/sndfile.c src/common.h src/wav.c
Chris@40 3709 Clean up knock on effects of above chnage.
Chris@40 3710
Chris@40 3711 * examples/sndfile-info.c
Chris@40 3712 Add -b command line option to usage message.
Chris@40 3713 Clean up output of broadcast wave info.
Chris@40 3714
Chris@40 3715 * src/wav.c
Chris@40 3716 Ignore and skip the 'levl' chunk.
Chris@40 3717
Chris@40 3718 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3719
Chris@40 3720 * configure.ac
Chris@40 3721 Fix handling of --enable and --disable configure args. Thanks to Diego
Chris@40 3722 'Flameeyes' Pettenò who sent the patch.
Chris@40 3723
Chris@40 3724 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3725
Chris@40 3726 * doc/win32.html
Chris@40 3727 Make it really clear that although the MSVC++ cannot compile libsndfile,
Chris@40 3728 the precompiled DLL can be used in C++ programs compiled with MSVC++.
Chris@40 3729
Chris@40 3730 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3731
Chris@40 3732 * src/aiff.c
Chris@40 3733 Fix bug in writing of INST chunk in AIFF files.
Chris@40 3734 Fix potential bug in writing MARK chunks.
Chris@40 3735
Chris@40 3736 * src/sndfile.c
Chris@40 3737 Make sure the instrument chunk can only be written at the start of the file.
Chris@40 3738
Chris@40 3739 * tests/command_test.c
Chris@40 3740 Add check of log buffer.
Chris@40 3741
Chris@40 3742 * tests/utils.tpl
Chris@40 3743 Add usage of space character to psf_binheader_writef.
Chris@40 3744
Chris@40 3745 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3746
Chris@40 3747 * src/Makefile.am tests/Makefile.am
Chris@40 3748 Remove --source-time argument from autogen command lines.
Chris@40 3749
Chris@40 3750 * src/broadcast.c
Chris@40 3751 New file for EBU Broadcast chunk in WAV files.
Chris@40 3752
Chris@40 3753 * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
Chris@40 3754 Add patch from Paul Davis implementing read/write of the BEXT chunk.
Chris@40 3755
Chris@40 3756 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3757
Chris@40 3758 * Win32/README-precompiled-dll.txt
Chris@40 3759 New file descibing how to use the precompiled DLL.
Chris@40 3760
Chris@40 3761 * Win32/Makefile.am
Chris@40 3762 Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
Chris@40 3763
Chris@40 3764 * configure.ac
Chris@40 3765 Bump version to 1.0.15.
Chris@40 3766
Chris@40 3767 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3768
Chris@40 3769 * src/wav.c
Chris@40 3770 On read, only add the endian flag if the file is big endian.
Chris@40 3771
Chris@40 3772 * src/ms_adpcm.c
Chris@40 3773 Fixed writing of APDCM coeffs in RIFX files.
Chris@40 3774
Chris@40 3775 * tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@40 3776 Add tests for RIFX files.
Chris@40 3777
Chris@40 3778 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3779
Chris@40 3780 * Mingw-make-dist.sh
Chris@40 3781 Bunch of improvements.
Chris@40 3782
Chris@40 3783 * doc/win32.html
Chris@40 3784 Update MinGW program versions.
Chris@40 3785
Chris@40 3786 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3787
Chris@40 3788 * src/create_symbols_file.py
Chris@40 3789 Fix the library name in created win32 DEF file. Add correct DLL name for
Chris@40 3790 Cygwin DLL.
Chris@40 3791
Chris@40 3792 * Win32/Makefile.am tests/Makefile.am
Chris@40 3793 Remove redundant files, add win32_ordinal_test to test suite.
Chris@40 3794
Chris@40 3795 * tests/win32_ordinal_test.c
Chris@40 3796 Update to do test in cygsndfile-1.dll as well.
Chris@40 3797
Chris@40 3798 * doc/win32.html
Chris@40 3799 Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
Chris@40 3800
Chris@40 3801 * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
Chris@40 3802 Apply large patch from Jesse Chappell which adds support for RIFX files.
Chris@40 3803
Chris@40 3804 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3805
Chris@40 3806 * Makefile.am
Chris@40 3807 Add Mingw-make-dist.sh to the extra dist files.
Chris@40 3808
Chris@40 3809 * configure.ac
Chris@40 3810 Fix setting SHLIB_VERSION_ARG for MinGW.
Chris@40 3811
Chris@40 3812 * tests/win32_ordinal_test.c
Chris@40 3813 New test program to test that the win32 DLL ordinals agree with the DEF
Chris@40 3814 file.
Chris@40 3815
Chris@40 3816 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3817
Chris@40 3818 * src/common.h
Chris@40 3819 Add a static inline function to convert an int to a size_t. This will be
Chris@40 3820 a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
Chris@40 3821
Chris@40 3822 * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
Chris@40 3823 Fix an ia64 problem where a varargs function was being passed an int in
Chris@40 3824 some places and a size_t in other places.
Chris@40 3825
Chris@40 3826 * src/sd2.c
Chris@40 3827 Add a workaround for situations where OSX seems to add an extra 0x52 bytes
Chris@40 3828 to the start of the resource fork.
Chris@40 3829
Chris@40 3830 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3831
Chris@40 3832 * Mingw-make-dist.sh
Chris@40 3833 Add a shell script to build the windows binary/source ZIP file.
Chris@40 3834
Chris@40 3835 * doc/index.html
Chris@40 3836 Add download link for windows binary/source ZIP file. Add links for GPG
Chris@40 3837 signatures.
Chris@40 3838
Chris@40 3839 * doc/win32.html
Chris@40 3840 Remove info about building using microsoft compiler.
Chris@40 3841
Chris@40 3842 * configure.ac
Chris@40 3843 Bump version to 1.0.14.
Chris@40 3844
Chris@40 3845 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3846
Chris@40 3847 * src/sd2.c
Chris@40 3848 Improve logging of errors in resource fork parser.
Chris@40 3849
Chris@40 3850 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3851
Chris@40 3852 * Win32/Makefile.msvc
Chris@40 3853 Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
Chris@40 3854
Chris@40 3855 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3856
Chris@40 3857 * src/common.c
Chris@40 3858 Make sure return values are initialised header buffer is full.
Chris@40 3859
Chris@40 3860 * src/wav.c
Chris@40 3861 Add workarounds for messed up WAV files.
Chris@40 3862
Chris@40 3863 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3864
Chris@40 3865 * Win32/config.h
Chris@40 3866 Undef HAVE_INTTYPES_H for win32.
Chris@40 3867
Chris@40 3868 * tests/command_test.c
Chris@40 3869 Don't exit on error in instrument test for XI files.
Chris@40 3870
Chris@40 3871 * configure.ac
Chris@40 3872 Bump version to 1.0.13.
Chris@40 3873
Chris@40 3874 * doc/*.html NEWS README
Chris@40 3875 Update version numbers.
Chris@40 3876
Chris@40 3877 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3878
Chris@40 3879 * src/xi.c
Chris@40 3880 Start work on add read/write of instrument chunks.
Chris@40 3881
Chris@40 3882 * src/command_test.c
Chris@40 3883 Add tests for XI instrument chunk.
Chris@40 3884
Chris@40 3885 * tests/largefile_test.c tests/Makefile.am
Chris@40 3886 Add new test and hook it into the build system. This test will not be run
Chris@40 3887 automatically because it requires 3 Gig of disk space and takes 3 minutes
Chris@40 3888 to run.
Chris@40 3889
Chris@40 3890 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3891
Chris@40 3892 * examples/sndfile-play.c
Chris@40 3893 Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
Chris@40 3894
Chris@40 3895 * src/common.h
Chris@40 3896 Make sure length of header buffer can hold header plus strings. Thanks Axel
Chris@40 3897 Röbel.
Chris@40 3898
Chris@40 3899 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3900
Chris@40 3901 * src/sndfile.h.in src/aiff.c src/wav.c
Chris@40 3902 Apply a patch from John ffitch (Csound project).
Chris@40 3903 Add detune field to SF_INSTRUMENT struct.
Chris@40 3904 Add reading/writing instrument chunks to WAV files.
Chris@40 3905
Chris@40 3906 * tests/command_test.c
Chris@40 3907 Update SF_INSTRUMENT tests.
Chris@40 3908
Chris@40 3909 * tests/Makefile.am
Chris@40 3910 Hook instrument tests into test suite.
Chris@40 3911
Chris@40 3912 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3913
Chris@40 3914 * configure.ac
Chris@40 3915 Check for <inttypes.h> because some broken systems (like Solaris) don't have
Chris@40 3916 <stdint.h> which is the 1999 ISO C standard file containing int64_t.
Chris@40 3917
Chris@40 3918 * src/sfendian.h src/common.h
Chris@40 3919 Use <inttypes.h> if <stdint.h> is not available.
Chris@40 3920
Chris@40 3921 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3922
Chris@40 3923 * tests/peak_chunk_test.c
Chris@40 3924 Extend and clean up tests.
Chris@40 3925
Chris@40 3926 * src/sndfile.c
Chris@40 3927 Fix a bug that prevented the turning off of PEAK chunks.
Chris@40 3928
Chris@40 3929 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3930
Chris@40 3931 * tests/error_test.c
Chris@40 3932 Make the test distclean correct.
Chris@40 3933
Chris@40 3934 * src/file_io.c
Chris@40 3935 Fix an SD2 MacOSX bug (reported by vince schwarzinger).
Chris@40 3936
Chris@40 3937 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3938
Chris@40 3939 * src/aiff.c tests/command_test.c
Chris@40 3940 Apply a big patch from John ffitch (Csound project) to add reading and
Chris@40 3941 writing of instrument chunks to AIFF files. Also update the test.
Chris@40 3942
Chris@40 3943 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3944
Chris@40 3945 * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
Chris@40 3946 Move test function dump_data_to_file() to utils.tpl.
Chris@40 3947
Chris@40 3948 * tests/error_test.c tests/Makefile.am
Chris@40 3949 Updates, including a new test to test that sf_error() returns a valid error
Chris@40 3950 number.
Chris@40 3951
Chris@40 3952 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3953
Chris@40 3954 * examples/list_formats.c
Chris@40 3955 Make sure the SF_INFO struct is memset to all zero before being used.
Chris@40 3956 Thanks to Stephen F. Booth.
Chris@40 3957
Chris@40 3958 * src/sndfile.c
Chris@40 3959 Make the return value of sf_error() match the API documentation.
Chris@40 3960
Chris@40 3961 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3962
Chris@40 3963 * examples/sndfile-convert.c
Chris@40 3964 Allow conversion to raw gsm610.
Chris@40 3965
Chris@40 3966 * src/common.h src/sndfile.c src/au.c
Chris@40 3967 Remove au_nh_open() and all references to it (wasn't working anyway).
Chris@40 3968
Chris@40 3969 * tests/headerless_test.c
Chris@40 3970 Add new test for file extension based detection.
Chris@40 3971
Chris@40 3972 * src/sndfile.c
Chris@40 3973 Rejig file extension based file type detection.
Chris@40 3974
Chris@40 3975 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3976
Chris@40 3977 * src/sndfile.c
Chris@40 3978 Add "gsm" as a recognised file extension when no magic number can be found.
Chris@40 3979
Chris@40 3980 * tests/lossy_comp_test.c tests/Makefile.am
Chris@40 3981 Test headerless GSM610.
Chris@40 3982
Chris@40 3983 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3984
Chris@40 3985 * doc/api.html
Chris@40 3986 Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
Chris@40 3987
Chris@40 3988 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3989
Chris@40 3990 * src/wav_w64.c
Chris@40 3991 Add more reporting of 'fmt ' chunk for G721 encoded files.
Chris@40 3992
Chris@40 3993 * src/wav.c
Chris@40 3994 Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
Chris@40 3995
Chris@40 3996 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 3997
Chris@40 3998 * src/G72x/g72x.[ch]
Chris@40 3999 Minor cleanup of interface.
Chris@40 4000
Chris@40 4001 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4002
Chris@40 4003 * src/ogg.c
Chris@40 4004 Removed the horribly broken and non-functional OGG implementation when
Chris@40 4005 --enable-experimental was enabled. When OGG does finally work it will be
Chris@40 4006 merged.
Chris@40 4007
Chris@40 4008 * src/caf.c
Chris@40 4009 Fix a memory leak.
Chris@40 4010
Chris@40 4011 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4012
Chris@40 4013 * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
Chris@40 4014 Add support for G721 encoded WAV files.
Chris@40 4015
Chris@40 4016 * doc/index.html
Chris@40 4017 Update support matrix.
Chris@40 4018
Chris@40 4019 * tests/lossy_comp_test.c
Chris@40 4020 For file formats that support it, add string data after the audio data and
Chris@40 4021 make sure it isn't treated as audio data on read.
Chris@40 4022
Chris@40 4023 * src/gsm610.c
Chris@40 4024 Add code to ensure that the container close function (ie for WAV files) gets
Chris@40 4025 called after the codec's close function. This allows GSM610 encoded WAV files
Chris@40 4026 to have string data following the audio data.
Chris@40 4027 Add an AIFF specific check on psf->datalength.
Chris@40 4028
Chris@40 4029 * src/wav.c
Chris@40 4030 Simplify wav_close function.
Chris@40 4031
Chris@40 4032 * src/aiff.c
Chris@40 4033 Make sure the tailer data gets written at an even file offset. Pad if
Chris@40 4034 necessary.
Chris@40 4035
Chris@40 4036 * src/common.h
Chris@40 4037 Replace the close function pointer in SF_PRIVATE with separate functions
Chris@40 4038 codec_close and container_close. The former is always called first.
Chris@40 4039
Chris@40 4040 * src/*.c
Chris@40 4041 Fix knock on effects of above.
Chris@40 4042
Chris@40 4043 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4044
Chris@40 4045 * examples/sndfile-info.c
Chris@40 4046 Complete dumping SF_INSTRUMENT data.
Chris@40 4047
Chris@40 4048 * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
Chris@40 4049 Add extra checks in *_init function.
Chris@40 4050
Chris@40 4051 * tests/lossy_comp_test.c
Chris@40 4052 Add a string comment to the end of the files to make sure that the decoder
Chris@40 4053 doesn't decode beyond the end of the audio data section.
Chris@40 4054
Chris@40 4055 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4056
Chris@40 4057 * examples/sndfile-info.c
Chris@40 4058 Minor code cleanup.
Chris@40 4059 Start work on dumping SF_INSTRUMENT data.
Chris@40 4060
Chris@40 4061 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4062
Chris@40 4063 * src/sndfile.h.in src/common.h src/common.c
Chris@40 4064 Update definition of SF_INSTRUMENT struct and create a function to allocate
Chris@40 4065 and initialize the struct (input from David Viens).
Chris@40 4066 Clean up definition of SF_INSTRUMENT struct.
Chris@40 4067
Chris@40 4068 * src/wav.c src/wav_w64.c
Chris@40 4069 Add support for Ambisoncs B WAVEX files (David Viens).
Chris@40 4070
Chris@40 4071 * src/aiff.c src/wav.c src/wav_w64.c
Chris@40 4072 Start work on reading/writing the SF_INSTRUMENT data.
Chris@40 4073
Chris@40 4074 * src/sndfile.c
Chris@40 4075 Add code to get and set SF_INSTRUMENT data.
Chris@40 4076
Chris@40 4077 * tests/command_test.* tests/Makefile.am
Chris@40 4078 Add test for set and getof SF_INSTRUMENT data.
Chris@40 4079 The file command_test.c is no longer autogen generated.
Chris@40 4080
Chris@40 4081 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4082
Chris@40 4083 * src/gsm610.c
Chris@40 4084 Minor cleanup.
Chris@40 4085
Chris@40 4086 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4087
Chris@40 4088 * tests/lossy_comp_test.c
Chris@40 4089 Minor cleanup.
Chris@40 4090
Chris@40 4091 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4092
Chris@40 4093 * src/*.c
Chris@40 4094 Ensure sfconfig.h is included before any other header file.
Chris@40 4095
Chris@40 4096 * src/file_io.c
Chris@40 4097 Add comments documenting the three sections of the file.
Chris@40 4098
Chris@40 4099 * src/gsm610.c
Chris@40 4100 Make sure SF_FORMAT_WAVEX are handled correctly.
Chris@40 4101
Chris@40 4102 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4103
Chris@40 4104 * configure.ac
Chris@40 4105 Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
Chris@40 4106
Chris@40 4107 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4108
Chris@40 4109 * tests/locale_test.c
Chris@40 4110 Modify the way the unicode strings were encoded so that older compilers
Chris@40 4111 do not complain. Thanks Axel Röbel.
Chris@40 4112
Chris@40 4113 * configure.ac
Chris@40 4114 Bump the version to 1.0.12 for release.
Chris@40 4115
Chris@40 4116 * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
Chris@40 4117 Update version numbers.
Chris@40 4118
Chris@40 4119 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4120
Chris@40 4121 * src/flac.c
Chris@40 4122 Fix valgrind error and minor cleanup.
Chris@40 4123
Chris@40 4124 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4125
Chris@40 4126 * src/(au|paf|aiff|w64|wav|svx).c
Chris@40 4127 Make sure structs are initialised.
Chris@40 4128
Chris@40 4129 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4130
Chris@40 4131 * configure.ac
Chris@40 4132 Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
Chris@40 4133 option.
Chris@40 4134 Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
Chris@40 4135 compiler supports it.
Chris@40 4136
Chris@40 4137 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4138
Chris@40 4139 * configure.ac acinclude.m4
Chris@40 4140 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
Chris@40 4141
Chris@40 4142 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4143
Chris@40 4144 * tests/util.(tpl|def)
Chris@40 4145 Make the test_write_*_or_die() functions const safe.
Chris@40 4146
Chris@40 4147 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4148
Chris@40 4149 * src/nist.c
Chris@40 4150 Make sure the data offset is read from the file header. Thanks to
Chris@40 4151 David A. van Leeuwen for a patch.
Chris@40 4152
Chris@40 4153 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4154
Chris@40 4155 * configure.ac src/sfconfig.h
Chris@40 4156 Check for <locale.h> and the function setlocale().
Chris@40 4157 Set config variables to zero if not found.
Chris@40 4158
Chris@40 4159 * tests/locale_test.c tests/Makefile.am
Chris@40 4160 Add new test program and hook into build/test system.
Chris@40 4161
Chris@40 4162 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4163
Chris@40 4164 * src/common.h src/file_io.c
Chris@40 4165 On windows, use windows specific types for file handles.
Chris@40 4166 Add functions psf_init_files() and psf_use_rsrc().
Chris@40 4167
Chris@40 4168 * src/sd2.c
Chris@40 4169 Make resource fork handling independant of file desciptor/handles.
Chris@40 4170
Chris@40 4171 * src/sndfile.c src/test_file_io.c
Chris@40 4172 Fix knock on effects.
Chris@40 4173
Chris@40 4174 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4175
Chris@40 4176 * src/float_cast.h
Chris@40 4177 The lrint and lrintf implementations in Cygwin are both buggy and slow.
Chris@40 4178 Add replacements which were pulled from the Public Domain MinGW math.h
Chris@40 4179 header file.
Chris@40 4180
Chris@40 4181 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4182
Chris@40 4183 * tests/(lossy_comp_test|virtual_io_test).c
Chris@40 4184 More Valgrind fixups.
Chris@40 4185
Chris@40 4186 * configure.ac
Chris@40 4187 Simplify and correct configuring for Cygwin.
Chris@40 4188
Chris@40 4189 * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
Chris@40 4190 Update build for MSVC.
Chris@40 4191
Chris@40 4192 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4193
Chris@40 4194 * tests/lossy_comp_test.c
Chris@40 4195 Make sure to close SNDFILE when exiting test when file format is not seekable.
Chris@40 4196
Chris@40 4197 * tests/(aiff_rw_test|virtual_io_test).c
Chris@40 4198 Do a few valgrind fix ups.
Chris@40 4199
Chris@40 4200 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4201
Chris@40 4202 * src/float32.c src/double64.c
Chris@40 4203 Replace floating point equality comparisons with greater/less comparisons.
Chris@40 4204 Found by John Pavel using the Intel compiler.
Chris@40 4205
Chris@40 4206 * src/sfconfig.h
Chris@40 4207 New file to clean up issues surrounding autoconf generated preprocessor
Chris@40 4208 symbols.
Chris@40 4209
Chris@40 4210 * src/*.(c|h) tests/*.(c|tpl) examples/*.c
Chris@40 4211 Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
Chris@40 4212
Chris@40 4213 * src/file_io.c
Chris@40 4214 Remove Mac OS9 Metrowerks compiler specific hacks.
Chris@40 4215
Chris@40 4216 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4217
Chris@40 4218 * src/w64.c
Chris@40 4219 Cast integer literal to sf_count_t in call to psf_binheader_writef() to
Chris@40 4220 prevent Valgrind error.
Chris@40 4221
Chris@40 4222 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4223
Chris@40 4224 * doc/command.html
Chris@40 4225 Improve documentation of SF_GET_FORMAT_SUBTYPE.
Chris@40 4226
Chris@40 4227 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4228
Chris@40 4229 * examples/sndfile-convert.c
Chris@40 4230 Allow files to be converted to SD2 format.
Chris@40 4231
Chris@40 4232 * src/sd2.c
Chris@40 4233 Fix a bug in reading and writing of SD2 files on little endian CPUs.
Chris@40 4234 Thanks to Matthew Willis for finding this.
Chris@40 4235
Chris@40 4236 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4237
Chris@40 4238 * doc/api.html
Chris@40 4239 Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
Chris@40 4240
Chris@40 4241 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4242
Chris@40 4243 * configure.ac
Chris@40 4244 Use $host_os instead of $target_os (thanks to Mo De Jong).
Chris@40 4245
Chris@40 4246 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4247
Chris@40 4248 * src/Makefile.am
Chris@40 4249 Apply a patch from Mo DeJong to allow building outside of the source dir.
Chris@40 4250
Chris@40 4251 * src/file_io.c
Chris@40 4252 Fix psf_fsync() for win32.
Chris@40 4253
Chris@40 4254 * src/wav.c src/wav_w64.(c|h)
Chris@40 4255 Move some code from wav.c to wav_w64.c to improve the log output of files of
Chris@40 4256 type WAVE_FORMAT_EXTENSIBLE.
Chris@40 4257
Chris@40 4258 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4259
Chris@40 4260 * src/create_symbols_file.py
Chris@40 4261 Make sure sf_write_fsync is an exported symbol.
Chris@40 4262
Chris@40 4263 * examples/sndfile-convert.c
Chris@40 4264 Add support for writing VOX adpcm files.
Chris@40 4265
Chris@40 4266 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4267
Chris@40 4268 * doc/api.html
Chris@40 4269 Document the new function sf_write_sync().
Chris@40 4270
Chris@40 4271 * doc/FAQ.html
Chris@40 4272 Do you plan to support XYZ codec.
Chris@40 4273
Chris@40 4274 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4275
Chris@40 4276 * src/sndfile.h.in src/sndfile.c
Chris@40 4277 Add function sf_write_sync() to the API.
Chris@40 4278
Chris@40 4279 * src/common.h src/file_io.c
Chris@40 4280 Low level implementation (win32 not done yet).
Chris@40 4281
Chris@40 4282 * tests/write_read_test.tpl
Chris@40 4283 Use the new function in the tests.
Chris@40 4284
Chris@40 4285 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4286
Chris@40 4287 * src/common.h src/double64.c src/float32.c src/sndfile.c
Chris@40 4288 Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
Chris@40 4289 for position and a double as the value.
Chris@40 4290
Chris@40 4291 * src/aiff.c src/caf.c src/wav.c
Chris@40 4292 Fix knock on effects of above changes.
Chris@40 4293
Chris@40 4294 * src/caf.c
Chris@40 4295 Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
Chris@40 4296 SF_FORMAT_DOUBLE format.
Chris@40 4297
Chris@40 4298 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4299
Chris@40 4300 * src/nist.c
Chris@40 4301 Fix a bug where a variable was being used without being initialized.
Chris@40 4302
Chris@40 4303 * src/flac.c
Chris@40 4304 Add extra debug in sf_flac_meta_callback.
Chris@40 4305 Make a bunch of private functions static.
Chris@40 4306
Chris@40 4307 * src/aiff.c src/wav.c
Chris@40 4308 Fix allocation for PEAK_CHUNK (bug found using valgrind).
Chris@40 4309
Chris@40 4310 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4311
Chris@40 4312 * src/common.h
Chris@40 4313 Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
Chris@40 4314 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
Chris@40 4315 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
Chris@40 4316
Chris@40 4317 * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
Chris@40 4318 Fix knock on effects from above.
Chris@40 4319
Chris@40 4320 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4321
Chris@40 4322 * src/wav.c
Chris@40 4323 Prevent files with unknown chunks from being opened read/write.
Chris@40 4324
Chris@40 4325 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4326
Chris@40 4327 * src/flac.c
Chris@40 4328 Do not use psf->end_of_file because it never gets set to anything.
Chris@40 4329
Chris@40 4330 * src/common.h
Chris@40 4331 Remove unused SF_PRIVATE field end_of_file.
Chris@40 4332
Chris@40 4333 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4334
Chris@40 4335 * src/common.c
Chris@40 4336 Change the 'S' format specifier of psf_binheader_writef() to write AIFF
Chris@40 4337 style strings (no terminating character).
Chris@40 4338
Chris@40 4339 * src/aiff.c
Chris@40 4340 Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
Chris@40 4341 so persistent on this issue.
Chris@40 4342
Chris@40 4343 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4344
Chris@40 4345 * src/sndfile.c
Chris@40 4346 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
Chris@40 4347
Chris@40 4348 * doc/api.html doc/command.html
Chris@40 4349 Documentation updates (thanks to Kyroz for promoting these updates).
Chris@40 4350
Chris@40 4351 * src/mat5.c
Chris@40 4352 Modify the way the header is written.
Chris@40 4353
Chris@40 4354 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4355
Chris@40 4356 * src/caf.c
Chris@40 4357 Add a 'free' chunk to the written file so that the audio data starts at
Chris@40 4358 an offset of 0x1000.
Chris@40 4359
Chris@40 4360 * src/sndfile.c
Chris@40 4361 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
Chris@40 4362
Chris@40 4363 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4364
Chris@40 4365 * src/caf.c src/sndfile.c
Chris@40 4366 Add support for signed 8 bit integers.
Chris@40 4367
Chris@40 4368 * tests/write_read_test.tpl
Chris@40 4369 Add test for signed 8 bit integers in CAF files.
Chris@40 4370
Chris@40 4371 * doc/index.html
Chris@40 4372 Update matrix for signed 8 bit integers in CAF files.
Chris@40 4373
Chris@40 4374 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4375
Chris@40 4376 * src/sndfile.c
Chris@40 4377 Update sf_check_format() to support CAF.
Chris@40 4378
Chris@40 4379 * examples/sndfile-convert.c
Chris@40 4380 Add support for ".caf" file extension.
Chris@40 4381
Chris@40 4382 * doc/index.html
Chris@40 4383 Add Apple CAF to the support matrix.
Chris@40 4384
Chris@40 4385 * src/caf.c
Chris@40 4386 Add file write support.
Chris@40 4387
Chris@40 4388 * src/common.c
Chris@40 4389 Fix printing of Frames.
Chris@40 4390
Chris@40 4391 * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@40 4392 tests/header_test.tpl misc_test.c
Chris@40 4393 Add tests for CAF files.
Chris@40 4394
Chris@40 4395 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4396
Chris@40 4397 * doc/FAQ.html
Chris@40 4398 Fix Q/A about reading/writing memory buffers.
Chris@40 4399
Chris@40 4400 * src/caf.c
Chris@40 4401 Bunch of work to support reading of CAF files.
Chris@40 4402
Chris@40 4403 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4404
Chris@40 4405 * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
Chris@40 4406 Fix sign conversion errors reported by gcc-4.0.
Chris@40 4407
Chris@40 4408 * src/caf.c
Chris@40 4409 New file for Apple's Core Audio File format.
Chris@40 4410
Chris@40 4411 * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
Chris@40 4412 Hook new file into build system.
Chris@40 4413
Chris@40 4414 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4415
Chris@40 4416 * src_wav_w64.c
Chris@40 4417 Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
Chris@40 4418 for supplying an example file.
Chris@40 4419
Chris@40 4420 * src/common.h src/sndfile.c
Chris@40 4421 Remove redundant error code SFE_WAV_FMT_TOO_BIG.
Chris@40 4422
Chris@40 4423 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4424
Chris@40 4425 * src/sndfile.h.in src/common.h src/sndfile.c
Chris@40 4426 Add public error value SF_ERR_MALFORMED_FILE.
Chris@40 4427
Chris@40 4428 * src/sndfile.c
Chris@40 4429 When parsing a file header fails and we don't have a system error, then set
Chris@40 4430 the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
Chris@40 4431
Chris@40 4432 * configure.ac
Chris@40 4433 Allow sqlite support to be disabled in configure script.
Chris@40 4434
Chris@40 4435 * regtest/database.c regtest/sndfile-regtest.c
Chris@40 4436 Fix compiling when sqlite is missing.
Chris@40 4437
Chris@40 4438 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4439
Chris@40 4440 * src/file_io.c
Chris@40 4441 Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
Chris@40 4442
Chris@40 4443 * src/sndfile.c
Chris@40 4444 Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
Chris@40 4445
Chris@40 4446 * tests/virtual_io_test.c
Chris@40 4447 Fill in skeleton test program.
Chris@40 4448
Chris@40 4449 * tests/Makefile.am
Chris@40 4450 Move virtual i/o tests to end of tests with stdio/pipe tests.
Chris@40 4451
Chris@40 4452 * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
Chris@40 4453 Rename some of the virtual i/o functions and data types.
Chris@40 4454
Chris@40 4455 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4456
Chris@40 4457 * src/sndfile.c
Chris@40 4458 Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
Chris@40 4459 SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
Chris@40 4460 Kyroz for pointing out these errors.
Chris@40 4461
Chris@40 4462 * doc/command.html
Chris@40 4463 Correct documented return values for SFC_SET_NORM_DOUBLE and
Chris@40 4464 SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
Chris@40 4465
Chris@40 4466 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4467
Chris@40 4468 * regtest/*
Chris@40 4469 Add new files for sndfile-regtest program.
Chris@40 4470
Chris@40 4471 * configure.ac Makefile.am
Chris@40 4472 Hook regetest into build.
Chris@40 4473
Chris@40 4474 * src/wav.c src/common.c
Chris@40 4475 Fix a regression where long ICMT chunks were causing the WAV parser
Chris@40 4476 to exit.
Chris@40 4477
Chris@40 4478 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4479
Chris@40 4480 * libsndfile.spec.in
Chris@40 4481 Add html docs to the files section as suggested by Karsten Jeppesen.
Chris@40 4482
Chris@40 4483 * src/aiff.c
Chris@40 4484 Fix parsing of odd length ANNO chunks.
Chris@40 4485
Chris@40 4486 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4487
Chris@40 4488 * src/common.h
Chris@40 4489 Change the include guard to prevent clashes with other code.
Chris@40 4490
Chris@40 4491 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4492
Chris@40 4493 * examples/sndfile-play.c
Chris@40 4494 Improve error handling in code for playback under Linux/ALSA.
Chris@40 4495
Chris@40 4496 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4497
Chris@40 4498 * src/ircam.c
Chris@40 4499 Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
Chris@40 4500
Chris@40 4501 * src/wav.c
Chris@40 4502 Add workaround for files created by the Peak audio editor on Mac which can
Chris@40 4503 produce files with very short LIST chunks (thanks to Jonathan Segel who
Chris@40 4504 supplied the file).
Chris@40 4505
Chris@40 4506 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4507
Chris@40 4508 * src/aiff.c
Chris@40 4509 Apply a patch From David Viens to make the parsing of basc chunks more
Chris@40 4510 robust.
Chris@40 4511
Chris@40 4512 * src/wav.c
Chris@40 4513 Another patch from David Viens to write correct wavex channel masks for
Chris@40 4514 the most common channel configurations.
Chris@40 4515
Chris@40 4516 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4517
Chris@40 4518 * src/command.c
Chris@40 4519 Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
Chris@40 4520 Leigh Smith.
Chris@40 4521
Chris@40 4522 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4523
Chris@40 4524 * src/common.h
Chris@40 4525 Add a directory field for storing the file directory to the SF_PRIVATE
Chris@40 4526 struct.
Chris@40 4527
Chris@40 4528 * src/sndfile.c
Chris@40 4529 Grab the directory name when copying the file path.
Chris@40 4530
Chris@40 4531 * src/file_io.c
Chris@40 4532 Cleanup psf_open_rsrc() and also check for resource fork in
Chris@40 4533 .AppleDouble/filename.
Chris@40 4534
Chris@40 4535 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4536
Chris@40 4537 * src/svx.c
Chris@40 4538 Fix a bug in the printing of the channel count. Bug reported by Michael
Chris@40 4539 Schwendt. Thanks.
Chris@40 4540
Chris@40 4541 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4542
Chris@40 4543 * src/paf.c
Chris@40 4544 Fix a seek bug for 24 bit PAF files.
Chris@40 4545
Chris@40 4546 * tests/write_read_test.tpl
Chris@40 4547 Update write_read_test to trigger the previously hidden PAF seek bug.
Chris@40 4548
Chris@40 4549 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4550
Chris@40 4551 * src/aiff.c src/w64.c src/wav.c
Chris@40 4552 Do not return a header parse error when the log buffer overflows.
Chris@40 4553 Continuing parsing works even on files where the log buffer does overflow.
Chris@40 4554 This avoids a bug on some weirdo WAV (and other) files.
Chris@40 4555
Chris@40 4556 * src/common.h src/sndfile.c
Chris@40 4557 Remove SFE_LOG_OVERRIN error and its associated error message.
Chris@40 4558
Chris@40 4559 * src/file_io.c
Chris@40 4560 Fix a rsrc fork problem on MacOSX.
Chris@40 4561
Chris@40 4562 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4563
Chris@40 4564 * src/sndfile-play.c
Chris@40 4565 In the ALSA output code, added call to snd_pcm_drain() just before
Chris@40 4566 snd_pcm_close() as suggested by Thomas Kaeding.
Chris@40 4567 In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
Chris@40 4568 SNDCTL_DSP_SYNC) just before the close of the audio device.
Chris@40 4569
Chris@40 4570 * tests/virtual_io_test.c tests/Makefile.am
Chris@40 4571 Add a new test program (currently empty) and add it to the build.
Chris@40 4572
Chris@40 4573 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4574
Chris@40 4575 * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
Chris@40 4576 src/create_symbols_file.py
Chris@40 4577 Apply patch from Steve Baker which is the beginnings of a virtual
Chris@40 4578 I/O interface.
Chris@40 4579
Chris@40 4580 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4581
Chris@40 4582 * src/*.c src/sndfile.h.in
Chris@40 4583 Const-ify the write path throughout the library.
Chris@40 4584
Chris@40 4585 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4586
Chris@40 4587 * doc/development.html
Chris@40 4588 Minor improvements.
Chris@40 4589
Chris@40 4590 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4591
Chris@40 4592 * doc/bugs.html
Chris@40 4593 Minor improvements.
Chris@40 4594
Chris@40 4595 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4596
Chris@40 4597 * src/aiff.c
Chris@40 4598 Add workaround for Logic Platinum AIFF files with broken COMT chunks.
Chris@40 4599
Chris@40 4600 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4601
Chris@40 4602 * doc/FAQ.html
Chris@40 4603 Remove some ambiguities in the SD2 FAQ answer.
Chris@40 4604
Chris@40 4605 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4606
Chris@40 4607 * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
Chris@40 4608 Updates from autoconfig versions.
Chris@40 4609
Chris@40 4610 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4611
Chris@40 4612 * src/aiff.c
Chris@40 4613 Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
Chris@40 4614 instead of COMT chunk.
Chris@40 4615
Chris@40 4616 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4617
Chris@40 4618 * src/file_io.c src/common.h
Chris@40 4619 Change the ptr argument to psf_write() from "void*" to a "const void*".
Chris@40 4620 Thanks to Tobias Gehrig for suggesting this.
Chris@40 4621
Chris@40 4622 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4623
Chris@40 4624 * src/file_io.c src/common.h
Chris@40 4625 Add functions psf_close_rsrc() and read length of resourse fork into
Chris@40 4626 rsrclength field of SF_PRIVATE.
Chris@40 4627
Chris@40 4628 * src/sd2.c
Chris@40 4629 Make sure resource fork gets closed.
Chris@40 4630
Chris@40 4631 * tests/util.tpl
Chris@40 4632 Add functions to check for file descriptor leakage.
Chris@40 4633
Chris@40 4634 * src/write_read_test.tpl
Chris@40 4635 Use the file descriptor leak checks.
Chris@40 4636
Chris@40 4637 * src/sndfile.h.in
Chris@40 4638 Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
Chris@40 4639
Chris@40 4640 * src/common.h
Chris@40 4641 Add SF_LOOP_INFO pointer to SF_PRIVATE.
Chris@40 4642
Chris@40 4643 * src/wav.c src/aiff.c
Chris@40 4644 Improve and add parsing of 'ACID' and 'basc' chunks, filling in
Chris@40 4645 SF_LOOP_INFO data in SF_PRIVATE.
Chris@40 4646
Chris@40 4647 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4648
Chris@40 4649 * src/sd2.c
Chris@40 4650 Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
Chris@40 4651
Chris@40 4652 * Win32/config.h Win32/sndfile.h
Chris@40 4653 Updates.
Chris@40 4654
Chris@40 4655 * tests/util.tpl
Chris@40 4656 Add win32 macro for snprintf.
Chris@40 4657
Chris@40 4658 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4659
Chris@40 4660 * src/sfendian.h
Chris@40 4661 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
Chris@40 4662
Chris@40 4663 * src/sd2.c
Chris@40 4664 Use macros to make sure writing SD2 files on little endian machines works
Chris@40 4665 correctly.
Chris@40 4666
Chris@40 4667 * tests/util.tpl
Chris@40 4668 Add a delete_file() function which also deletes the resource fork of SD2
Chris@40 4669 files.
Chris@40 4670
Chris@40 4671 * tests/write_read_test.tpl
Chris@40 4672 Use delete_file() so that "make distcheck" works.
Chris@40 4673
Chris@40 4674 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4675
Chris@40 4676 * src/sndfile.c src/file_io.c
Chris@40 4677 Move resource filename construction and testing to psf_open_rsrc().
Chris@40 4678
Chris@40 4679 * src/common.h src/sndfile.c
Chris@40 4680 Add error SFE_SD2_FD_DISALLOWED.
Chris@40 4681
Chris@40 4682 * tests/util.tpl tests/*.(c|tpl)
Chris@40 4683 Add and allow_fd parameter to test_open_file_or_die() so that use of
Chris@40 4684 sf_open_fd() can be avoided when opening SD2 files.
Chris@40 4685
Chris@40 4686 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4687
Chris@40 4688 * src/wav.c
Chris@40 4689 Update ACID chunk parsing.
Chris@40 4690
Chris@40 4691 * src/sd2.c
Chris@40 4692 More fixes for files with large resource forks.
Chris@40 4693
Chris@40 4694 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4695
Chris@40 4696 * src/common.h src/sndfile.c
Chris@40 4697 Add error numbers and messages for sd2 files.
Chris@40 4698
Chris@40 4699 * src/sd2.c
Chris@40 4700 Reading of sd2 (resource fork version) now seems to be working.
Chris@40 4701
Chris@40 4702 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4703
Chris@40 4704 * src/file_io.h
Chris@40 4705 Update file_io.c to include win32 psf_rsrc_open().
Chris@40 4706
Chris@40 4707 * tests/floating_point_test.tpl
Chris@40 4708 Remove use of __func__ in test programs (MSVC++ doesn't grok this).
Chris@40 4709
Chris@40 4710 * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
Chris@40 4711 Updates.
Chris@40 4712
Chris@40 4713 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4714
Chris@40 4715 * src/sfendian.h
Chris@40 4716 Fix endswap_int64_t_(array|copy).
Chris@40 4717
Chris@40 4718 * src/test_endswap.(tpl|def)
Chris@40 4719 Add tests for above and inprove all tests.
Chris@40 4720
Chris@40 4721 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4722
Chris@40 4723 * src/sfendian.h
Chris@40 4724 Improve type safety, add endswap_double_array().
Chris@40 4725
Chris@40 4726 * src/double64.c
Chris@40 4727 Use endswap_double_array() instead of endswap_long_array().
Chris@40 4728
Chris@40 4729 * src/test_endswap.(tpl|def) src/Makefile.am
Chris@40 4730 Add preliminary endswap tests and hook into build system.
Chris@40 4731
Chris@40 4732 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4733
Chris@40 4734 * src/configure.ac src/makefile.am
Chris@40 4735 Finally fix the bulding of DLLs on Win32/MinGW.
Chris@40 4736
Chris@40 4737 * tests/makefile.am
Chris@40 4738 Fix running of tests on Win32/MinGW.
Chris@40 4739
Chris@40 4740 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4741
Chris@40 4742 * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
Chris@40 4743 Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
Chris@40 4744
Chris@40 4745 * doc/command.html
Chris@40 4746 Document SFC_SET_SCALE_FLOAT_INT_READ.
Chris@40 4747
Chris@40 4748 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4749
Chris@40 4750 * tests/floating_point_test.(tpl|def)
Chris@40 4751 Derived from floating_point_test.c.
Chris@40 4752 Add (float|double)_(short|int)_test functions.
Chris@40 4753
Chris@40 4754 * tests/util.(tpl|def)
Chris@40 4755 Make separate float and double versions of gen_windowed_sine().
Chris@40 4756
Chris@40 4757 * tests/write_read_test.tpl
Chris@40 4758 Fix after changes to gen_windowed_sine().
Chris@40 4759
Chris@40 4760 * src/(float32|double64).c
Chris@40 4761 Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
Chris@40 4762
Chris@40 4763 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4764
Chris@40 4765 * acinclude.m4
Chris@40 4766 Fix warnings from automake 1.8 and later.
Chris@40 4767
Chris@40 4768 * examples/sndfile-info.c
Chris@40 4769 Add a "fflush (stdout)" after printing Win32 message.
Chris@40 4770
Chris@40 4771 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4772
Chris@40 4773 * Win32/Makefile.mingw.in
Chris@40 4774 Add a "make install" target.
Chris@40 4775
Chris@40 4776 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4777
Chris@40 4778 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
Chris@40 4779 Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
Chris@40 4780
Chris@40 4781 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4782
Chris@40 4783 * examples/sndfile-convert.c
Chris@40 4784 Fix a bug converting stereo integer PCM files to float.
Chris@40 4785
Chris@40 4786 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4787
Chris@40 4788 * examples/sndfile-play.c
Chris@40 4789 Appy patch from Conrad Parker to make Mac OSX error messages more
Chris@40 4790 consistent and informative.
Chris@40 4791
Chris@40 4792 * doc/api.html
Chris@40 4793 Fix a HTML HREF which was wrong.
Chris@40 4794
Chris@40 4795 * doc/win32.html
Chris@40 4796 Add information about when nmake fails.
Chris@40 4797
Chris@40 4798 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4799
Chris@40 4800 * examples/sndfile-play.c
Chris@40 4801 Another patch from Denis Cote to prevent race conditions.
Chris@40 4802
Chris@40 4803 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4804
Chris@40 4805 * src/common.h src/ms_adpcm.c src/ima_adpcm.c
Chris@40 4806 Fix alternative to ISO standard flexible struct array feature for broken
Chris@40 4807 compilers.
Chris@40 4808
Chris@40 4809 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4810
Chris@40 4811 * src/common.h src/string.c src/sndfile.c
Chris@40 4812 Make sf_set_string() return an error if trying to set a string when in
Chris@40 4813 read mode.
Chris@40 4814
Chris@40 4815 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4816
Chris@40 4817 * src/common.h
Chris@40 4818 Change the unnamed union into a named union so gcc-2.95 will compile it.
Chris@40 4819
Chris@40 4820 * src/*.c
Chris@40 4821 Fixes to allow for the above change.
Chris@40 4822
Chris@40 4823 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4824
Chris@40 4825 * examples/sndfile-play.c
Chris@40 4826 Fixes for Win32. Thanks to Denis Cote.
Chris@40 4827
Chris@40 4828 * Win32/Win32/Makefile.(msvc|mingw.in)
Chris@40 4829 Fix build system after removal of sfendian.h.
Chris@40 4830 Build sndfile-convert.
Chris@40 4831
Chris@40 4832 * src/Makefile.am
Chris@40 4833 Remove sfendian.c from dependancies.
Chris@40 4834
Chris@40 4835 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4836
Chris@40 4837 * src/sndfile.h.in
Chris@40 4838 Fix typo in comments (thanks Tommi Sakari Uimonen).
Chris@40 4839
Chris@40 4840 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4841
Chris@40 4842 * tests/(a|u)law_test.c
Chris@40 4843 Minor cleanup.
Chris@40 4844
Chris@40 4845 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4846
Chris@40 4847 * src/(pcm|float|double64|ulaw|alaw|xi).c
Chris@40 4848 Optimise read/write loops by removing a redundant variable.
Chris@40 4849
Chris@40 4850 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4851
Chris@40 4852 * src/file_io.c
Chris@40 4853 Remove call to fsync() in psf_close().
Chris@40 4854
Chris@40 4855 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4856
Chris@40 4857 * src/pcm.c
Chris@40 4858 Inline x2y_array() functions where possible.
Chris@40 4859
Chris@40 4860 * configure.ac
Chris@40 4861 Detect presence of type int64_t.
Chris@40 4862
Chris@40 4863 * src/sfendian.c src/sfendian.h
Chris@40 4864 Move functions in the first file to the sfendian.h as static inline
Chris@40 4865 functions.
Chris@40 4866 Improve endswap_long_*() where possible.
Chris@40 4867
Chris@40 4868 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4869
Chris@40 4870 * src/pcm.c
Chris@40 4871 When converting from unsigned char to float or double, subtract 128 before
Chris@40 4872 converting to float/double rather than after to save a floating point
Chris@40 4873 operation as suggested by Stefan Briesenick.
Chris@40 4874
Chris@40 4875 * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
Chris@40 4876 Optimize inner loops by changing the loop counting slightly as suggested
Chris@40 4877 by Stefan Briesenick.
Chris@40 4878
Chris@40 4879 * configure.ac
Chris@40 4880 Detect presence of <byteswap.h>.
Chris@40 4881
Chris@40 4882 * src/sfendian.h
Chris@40 4883 Use <byteswap.h> if present as suggested by Stefan Briesenick.
Chris@40 4884
Chris@40 4885 * src/pcm.c
Chris@40 4886 Update bytewapping.
Chris@40 4887
Chris@40 4888 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4889
Chris@40 4890 * src/common.h src/*.c
Chris@40 4891 Change the psf->buffer field of SF_PRIVATE into a more type safe union with
Chris@40 4892 double, float, int etc elements.
Chris@40 4893
Chris@40 4894 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4895
Chris@40 4896 * examples/sndfile-play.c
Chris@40 4897 Merge slightly modifed patch from Stanko Juzbasic which allows playback of
Chris@40 4898 mono files on MacOSX.
Chris@40 4899
Chris@40 4900 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4901
Chris@40 4902 * examples/sndfile-convert.c
Chris@40 4903 Move copy_metadata() after the second sf_open().
Chris@40 4904
Chris@40 4905 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4906
Chris@40 4907 * examples/sndfile-convert.c
Chris@40 4908 Fix a bug which caused the program to go into an infinite loop if the source
Chris@40 4909 file has no meta-data. Thanks to Ron Parker for reporting this.
Chris@40 4910
Chris@40 4911 * src/sndfile.h.in
Chris@40 4912 Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
Chris@40 4913
Chris@40 4914 * Win32/sndfile.h MacOS9/sndfile.h
Chris@40 4915 Update these as per the above file.
Chris@40 4916
Chris@40 4917 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4918
Chris@40 4919 * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
Chris@40 4920 src/Makefile.am
Chris@40 4921 Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
Chris@40 4922 Annodex support via liboggz and libfishsound. Thanks Conrad.
Chris@40 4923
Chris@40 4924 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4925
Chris@40 4926 * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
Chris@40 4927 Add cast to size_t for some parameters passed to psf_binheader_writef. This
Chris@40 4928 is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
Chris@40 4929
Chris@40 4930 * src/w64.c
Chris@40 4931 Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
Chris@40 4932 chunk.
Chris@40 4933
Chris@40 4934 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4935
Chris@40 4936 * configure.ac
Chris@40 4937 Bump version to 1.0.10 ready for release.
Chris@40 4938
Chris@40 4939 * Makefile.am
Chris@40 4940 Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
Chris@40 4941 from distribution tarball.
Chris@40 4942
Chris@40 4943 * tests/header_test.tpl
Chris@40 4944 Fix uninitialised variable.
Chris@40 4945
Chris@40 4946 * src/GSM610/short_term.c
Chris@40 4947 Fix compiler warning on MSVC++.
Chris@40 4948
Chris@40 4949 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4950
Chris@40 4951 * src/wav.c
Chris@40 4952 Improve record keeping of chunks seen and return an error if a file with
Chris@40 4953 unusual chunks is opened in mode SFM_RDWR.
Chris@40 4954
Chris@40 4955 * src/mmreg.h
Chris@40 4956 This file not needed so remove it.
Chris@40 4957
Chris@40 4958 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4959
Chris@40 4960 * tests/header_test.tpl
Chris@40 4961 Add extra_header_test().
Chris@40 4962
Chris@40 4963 * src/common.h src/sndfile.c
Chris@40 4964 Add SFE_RDWR_BAD_HEADER error number and string.
Chris@40 4965
Chris@40 4966 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4967
Chris@40 4968 * tests/utils.tpl tests/*.c tests/*.tpl
Chris@40 4969 Add a line number argument to check_log_buffer_or_die() and update all
Chris@40 4970 files that use that function.
Chris@40 4971
Chris@40 4972 * tests/header_test.tpl
Chris@40 4973 Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
Chris@40 4974
Chris@40 4975 * src/aiff.c src/wav.c
Chris@40 4976 Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
Chris@40 4977 SFC_UPDATE_HEADER_AUTO.
Chris@40 4978
Chris@40 4979 * src/test_file_io.c
Chris@40 4980 Add a test for psf_ftruncate() function.
Chris@40 4981
Chris@40 4982 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4983
Chris@40 4984 * src/sndfile.c
Chris@40 4985 Fix another weird corner case bug found by Martin Rumori. Thanks.
Chris@40 4986
Chris@40 4987 * tests/header_test.(tpl|def)
Chris@40 4988 Two new files to test for the absence of the above bug and include tests
Chris@40 4989 moved from tests/misc_test.c.
Chris@40 4990
Chris@40 4991 * tests/Makefile.am
Chris@40 4992 Hook new tests into build/test system.
Chris@40 4993
Chris@40 4994 * tests/misc_test.c
Chris@40 4995 Remove update_header_test() which has been moved to the new files above.
Chris@40 4996
Chris@40 4997 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 4998
Chris@40 4999 * src/aiff.c
Chris@40 5000 Fixed a bug reported by Martin Rumori on the LAD list. If a file created
Chris@40 5001 with a format of SF_FORMAT_FLOAT and then closed before any data is written
Chris@40 5002 to it, the header can get screwed up (PEAK chunk gets overwritten).
Chris@40 5003
Chris@40 5004 * tests/write_read_test.tpl
Chris@40 5005 Add a test (empty_file_test) for the above bug.
Chris@40 5006
Chris@40 5007 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5008
Chris@40 5009 * Win32/Makefile.mingw.in
Chris@40 5010 Added a Makefile for MinGW (needs to be processed by configure).
Chris@40 5011
Chris@40 5012 * src/mmsystem.h src/mmreg.h
Chris@40 5013 Add files from the Wine project (under the LGPL) to allow build of
Chris@40 5014 sndfile-play.exe under MinGW.
Chris@40 5015
Chris@40 5016 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5017
Chris@40 5018 * src/GSM610/gsm610_priv.h
Chris@40 5019 Replace ugly macros with inline functions.
Chris@40 5020
Chris@40 5021 * src/GSM610/*.c
Chris@40 5022 Remove temporary variables used by macros and other minor fixes required by
Chris@40 5023 above change.
Chris@40 5024
Chris@40 5025 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5026
Chris@40 5027 * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
Chris@40 5028 Make sure these programs compile (even though they do nothing) on Win32
Chris@40 5029 and add them to the "make check" target.
Chris@40 5030
Chris@40 5031 * src/sfendian.h
Chris@40 5032 Fix warning on Sparc CPU and code cleanup.
Chris@40 5033
Chris@40 5034 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5035
Chris@40 5036 * src/file_io.c
Chris@40 5037 Fix warning messages when compiling under MinGW.
Chris@40 5038
Chris@40 5039 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5040
Chris@40 5041 * configure.ac
Chris@40 5042 Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
Chris@40 5043 accepts the flexible array struct member as per 1999 ISO C standard.
Chris@40 5044
Chris@40 5045 * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
Chris@40 5046 Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
Chris@40 5047 hack for non 1999 ISO C compliant compilers.
Chris@40 5048
Chris@40 5049 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5050
Chris@40 5051 * src/strings.c
Chris@40 5052 If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
Chris@40 5053 string does not already have libsndfile in the string. Thanks to Conrad
Chris@40 5054 Parker.
Chris@40 5055
Chris@40 5056 * tests/string_test.c
Chris@40 5057 Add test to verify the above.
Chris@40 5058
Chris@40 5059 * examples/sndfile-convert.c
Chris@40 5060 Add ability to transcode meta data as well (Conrad Parker).
Chris@40 5061
Chris@40 5062 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5063
Chris@40 5064 * doc/command.html
Chris@40 5065 Fix minor error. Thanks to Simon Burton.
Chris@40 5066
Chris@40 5067 * doc/win32.html
Chris@40 5068 Started adding instructions for compiling libsndfile under MinGW.
Chris@40 5069
Chris@40 5070 * configure.ac
Chris@40 5071 Add --enable-bow-docs to enable black text on a white background HTML docs.
Chris@40 5072
Chris@40 5073 * doc/libsndfile.css.in
Chris@40 5074 This is now a template file for configure which sets the foreground and
Chris@40 5075 background colours.
Chris@40 5076
Chris@40 5077 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5078
Chris@40 5079 * configure.ac
Chris@40 5080 Do some MinGW fixes.
Chris@40 5081
Chris@40 5082 * configure.ac doc/Makefile.am
Chris@40 5083 Install HTML docs when doing make install.
Chris@40 5084
Chris@40 5085 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5086
Chris@40 5087 * examples/sndfile-info.c
Chris@40 5088 Print out the dB level with the signal max.
Chris@40 5089
Chris@40 5090 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5091
Chris@40 5092 * src/file_io.c
Chris@40 5093 Define S_ISSOCK in src/file_io.c if required.
Chris@40 5094
Chris@40 5095 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5096
Chris@40 5097 * configure.ac
Chris@40 5098 Improve printout configuration summary (as suggested by Axel Röbel).
Chris@40 5099
Chris@40 5100 * doc/index.html
Chris@40 5101 Add link to pre-release location.
Chris@40 5102
Chris@40 5103 * src/sndfile.h.in
Chris@40 5104 Remove comma after last element of enum.
Chris@40 5105
Chris@40 5106 * src/float32.c src/double64.c
Chris@40 5107 Fix read/write of float/double encoded raw files to/from pipes.
Chris@40 5108
Chris@40 5109 * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
Chris@40 5110 Turn pipe_test.c into an autogenerated file and add tests for reading/
Chris@40 5111 writing floats and doubles.
Chris@40 5112
Chris@40 5113 * tests/Makefile.am
Chris@40 5114 Hook tests/pipe_test.* into build system.
Chris@40 5115
Chris@40 5116 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5117
Chris@40 5118 * configure.ac acinclude.m4
Chris@40 5119 Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
Chris@40 5120
Chris@40 5121 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5122
Chris@40 5123 * tests/misc_test.c
Chris@40 5124 Perform update_header_test in RDWR mode as well.
Chris@40 5125
Chris@40 5126 * src/aiff.c
Chris@40 5127 Fix problems when updating header in RDWR mode.
Chris@40 5128
Chris@40 5129 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5130
Chris@40 5131 * src/wav.c src/w64.c src/wav_w64.c
Chris@40 5132 Integrate code supplied by David Viens for supporting microsoft's
Chris@40 5133 WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
Chris@40 5134
Chris@40 5135 * configure.ac doc/*.html
Chris@40 5136 Bump version to 1.0.9.
Chris@40 5137
Chris@40 5138 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5139
Chris@40 5140 * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
Chris@40 5141 Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
Chris@40 5142
Chris@40 5143 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5144
Chris@40 5145 * src/avr.c
Chris@40 5146 New file to handle Audio Visual Resaerch files.
Chris@40 5147
Chris@40 5148 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
Chris@40 5149 Hook AVR into everything else.
Chris@40 5150
Chris@40 5151 * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
Chris@40 5152 Add testing for AVR files.
Chris@40 5153
Chris@40 5154 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5155
Chris@40 5156 * src/file_io.c
Chris@40 5157 Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
Chris@40 5158 Technologie) for coming up with the solution.
Chris@40 5159
Chris@40 5160 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5161
Chris@40 5162 * tests/write_read_test.tpl
Chris@40 5163 Fixed a bug that was causing valgrind to report a memory leak. The bug was
Chris@40 5164 in the test code itself, not the library.
Chris@40 5165
Chris@40 5166 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5167
Chris@40 5168 * examples/generate.cs
Chris@40 5169 An example showing how to use libsndfile from C#. Thanks to James Robson
Chris@40 5170 for providing this.
Chris@40 5171
Chris@40 5172 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5173
Chris@40 5174 * src/common.c
Chris@40 5175 Fix problems with WAV files containing large chunks after the 'data'
Chris@40 5176 chunk. Thanks to Koen Tanghe for providing a sample file.
Chris@40 5177
Chris@40 5178 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5179
Chris@40 5180 * configure.ac
Chris@40 5181 Detect presense of ALSA (Advanced Linux Sound Architecture).
Chris@40 5182
Chris@40 5183 * examples/sndfile-play.c
Chris@40 5184 Add ALSA output support.
Chris@40 5185
Chris@40 5186 * examples/Makefile.am
Chris@40 5187 Add ALSA_LIBS to link line of sndfile-play.c.
Chris@40 5188
Chris@40 5189 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5190
Chris@40 5191 * acinclude.m4
Chris@40 5192 Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
Chris@40 5193 the use of the what is known as the struct hack introduced by the 1999 ISO
Chris@40 5194 C Standard.
Chris@40 5195
Chris@40 5196 * configure.ac
Chris@40 5197 The last release would not compile with gcc-2.95 due to the use of features
Chris@40 5198 (ie struct hack) introduced by the 1999 ISO C Standard.
Chris@40 5199 Add check to make sure compiler handles this and bomb out if it doesn't.
Chris@40 5200
Chris@40 5201 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5202
Chris@40 5203 * tests/write_read_test.tpl
Chris@40 5204 Fix compiler warning on Win32.
Chris@40 5205
Chris@40 5206 * src/file_io.c
Chris@40 5207 Fix use of an un-initialised variable in Win32 stuff.
Chris@40 5208
Chris@40 5209 * Win32/config.h examples/sndfile-play.c
Chris@40 5210 Win32 fixes.
Chris@40 5211
Chris@40 5212 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5213
Chris@40 5214 * configure.ac
Chris@40 5215 Fix bug which occurres when configuring for MinGW.
Chris@40 5216 If compiler is gcc and cross compiling use -nostdinc.
Chris@40 5217
Chris@40 5218 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5219
Chris@40 5220 * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
Chris@40 5221 src/sndfile.c
Chris@40 5222 Fix a bug with PEAK chunk handling for files with more than 16 channels.
Chris@40 5223 Thanks to Remy Bruno for finding this.
Chris@40 5224
Chris@40 5225 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5226
Chris@40 5227 * src/common.c
Chris@40 5228 Fix a bug which was preventing WAV files being openned correctly if the
Chris@40 5229 file had a very large header. Thanks to Eldad Zack for finding this.
Chris@40 5230
Chris@40 5231 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5232
Chris@40 5233 * configure.ac src/file_io.c
Chris@40 5234 Fix cross-compiling from Linux to Win32 using the MinGW tools.
Chris@40 5235
Chris@40 5236 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5237
Chris@40 5238 * src/create_symbols_file.sh
Chris@40 5239 Christian Weisgerber pointed out that the shell script did not run on a
Chris@40 5240 real Bourne shell although it did run under Bash in Bourne shell mode.
Chris@40 5241
Chris@40 5242 * src/create_symbols_file.py
Chris@40 5243 Rewrite of above in Python. Also add support for writing Win32 .def files.
Chris@40 5244 The Python script generates Symbols.linux, Symbols.darwin and
Chris@40 5245 libsndfile.def (Win32 version). These files get shipped with the tarball
Chris@40 5246 so there should not be necessary to run the Python script when building
Chris@40 5247 the code from the tarball.
Chris@40 5248
Chris@40 5249 * configure.ac src/Makefile.am Win32/Makefile.am
Chris@40 5250 Hook new Python script into the build system.
Chris@40 5251
Chris@40 5252 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5253
Chris@40 5254 * src/configure.ac
Chris@40 5255 Add --enable-gcc-werror option and move GCC specific stuff down.
Chris@40 5256
Chris@40 5257 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5258
Chris@40 5259 * acinclude.m4 configure.ac
Chris@40 5260 Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
Chris@40 5261
Chris@40 5262 * src/file_io.c
Chris@40 5263 Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
Chris@40 5264 of missing large file support on Linux and Solaris.
Chris@40 5265
Chris@40 5266 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5267
Chris@40 5268 * examples/sndfile-play.c
Chris@40 5269 Fix a MacOSX specific bug which was caused by a space being inserted in
Chris@40 5270 the middle of a file name.
Chris@40 5271
Chris@40 5272 * configure.ac src/Makefile.am examples/Makefile.am
Chris@40 5273 Fix a couple of MacOSX build issues.
Chris@40 5274
Chris@40 5275 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5276
Chris@40 5277 * doc/command.html
Chris@40 5278 Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
Chris@40 5279
Chris@40 5280 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5281
Chris@40 5282 * doc/*.html
Chris@40 5283 Applied patch from Frank Neumann (author of lakai) which fixes many minor
Chris@40 5284 typos in documentation. Thanks Frank.
Chris@40 5285
Chris@40 5286 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5287
Chris@40 5288 * ChangeLog
Chris@40 5289 Changed my email address throughout source and docs.
Chris@40 5290
Chris@40 5291 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5292
Chris@40 5293 * src/file_io.c
Chris@40 5294 Make sure config.h is included before stdio.h to make sure large file
Chris@40 5295 support is enabled on Linux (and Solaris).
Chris@40 5296
Chris@40 5297 * tests/misc_test.c
Chris@40 5298 Disable update_header test on Win32. This should work but doesn't and
Chris@40 5299 I'm not sure why.
Chris@40 5300
Chris@40 5301 * Make.bat Win32/Makefile.msvc
Chris@40 5302 Updates.
Chris@40 5303
Chris@40 5304 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5305
Chris@40 5306 * src/common.h
Chris@40 5307 Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
Chris@40 5308 int to int to prevent weird arithmetic bugs.
Chris@40 5309
Chris@40 5310 * src/common.c src/aiff.c src/wav.c src/w64.c
Chris@40 5311 Fixed compiler warnings resulting from above change.
Chris@40 5312
Chris@40 5313 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5314
Chris@40 5315 * src/common.c
Chris@40 5316 Fixed a bug in header reader for some files with data after the sample data.
Chris@40 5317
Chris@40 5318 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5319
Chris@40 5320 * tests/lossy_comp_test.c tests/Makefile.am
Chris@40 5321 Add tests for AIFF/IMA files.
Chris@40 5322
Chris@40 5323 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5324
Chris@40 5325 * src/macbinary3.c src/macos.c
Chris@40 5326 Two new files required for handling SD2 files.
Chris@40 5327
Chris@40 5328 * src/common.h
Chris@40 5329 Add prototypes for functions in above two files.
Chris@40 5330
Chris@40 5331 * src/Makefile.am
Chris@40 5332 Hook new files into build system.
Chris@40 5333
Chris@40 5334 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5335
Chris@40 5336 * configure.ac
Chris@40 5337 Add checks for mmap() and getpagesize() which might be used at some time
Chris@40 5338 for faster file reads.
Chris@40 5339 Add detection of MacOSX.
Chris@40 5340
Chris@40 5341 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5342
Chris@40 5343 * doc/FAQ.html
Chris@40 5344 Minor mods to pkg-config section.
Chris@40 5345
Chris@40 5346 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5347
Chris@40 5348 * src/create_symbols_file.sh
Chris@40 5349 Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
Chris@40 5350 static symbols are exported causing troubles when trying to link
Chris@40 5351 libsndfile with another library which has any of the same symbols.
Chris@40 5352 He fixed this by supplying the MacOSX linker with a file containing
Chris@40 5353 all the public symbols so that only they would be exported and then
Chris@40 5354 supplied a patch for libsndfile.
Chris@40 5355 This wasn't quite ideal, because I would have to maintain two (3 if
Chris@40 5356 you include Win32) separate files containing the exported symbols.
Chris@40 5357 A better solution was to create this script which can generate a
Chris@40 5358 Symbols file for Linux, MacoSX and any other OS that supports
Chris@40 5359 minimising the number of exported symbols.
Chris@40 5360
Chris@40 5361 * configure.ac src/Makefile.am
Chris@40 5362 Hook the new script into the build process.
Chris@40 5363
Chris@40 5364 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5365
Chris@40 5366 * doc/index.html
Chris@40 5367 Added comments about Steve Dekorte's SoundConverter scam.
Chris@40 5368
Chris@40 5369 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5370
Chris@40 5371 * src/file_io.c
Chris@40 5372 Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
Chris@40 5373 (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
Chris@40 5374 true). The test has therefore been changed to is S_ISREG and anything
Chris@40 5375 which which does not return true for S_ISREG is considered a pipe.
Chris@40 5376
Chris@40 5377 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5378
Chris@40 5379 * tests/misc_test.c
Chris@40 5380 Fix update_header_test to pass SDS.
Chris@40 5381
Chris@40 5382 * src/sds.c
Chris@40 5383 More minor fixes.
Chris@40 5384
Chris@40 5385 * tests/floating_point_test.c
Chris@40 5386 Add test for SDS files.
Chris@40 5387
Chris@40 5388 * src/command.c
Chris@40 5389 Add SDS to major_formats array.
Chris@40 5390
Chris@40 5391 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5392
Chris@40 5393 * tests/write_read_test.tpl tests/misc_test.c
Chris@40 5394 Add tests for SDS files.
Chris@40 5395
Chris@40 5396 * src/sds.c
Chris@40 5397 Fix a bug in header update code.
Chris@40 5398
Chris@40 5399 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5400
Chris@40 5401 * src/sds.c
Chris@40 5402 Get file write working.
Chris@40 5403
Chris@40 5404 * src/paf.c
Chris@40 5405 Fix a potential bug in paf24_seek().
Chris@40 5406
Chris@40 5407 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5408
Chris@40 5409 * doc/FAQ.html
Chris@40 5410 Add Q/A about u-law encoded WAV files.
Chris@40 5411
Chris@40 5412 * Win32/*.h
Chris@40 5413 Updated so it compiles on Win32.
Chris@40 5414
Chris@40 5415 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5416
Chris@40 5417 * examples/sndfile-convert.c
Chris@40 5418 Add -alaw and -ulaw command line arguments.
Chris@40 5419
Chris@40 5420 * configure.ac
Chris@40 5421 Add library versioning comments.
Chris@40 5422 Add arguments to AC_INIT.
Chris@40 5423
Chris@40 5424 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5425
Chris@40 5426 * src/file_io.c
Chris@40 5427 Ross Bencina has contributed code to replace all of the (mostly broken)
Chris@40 5428 Win32 POSIX emulation calls with calls the native Win32 file I/O API.
Chris@40 5429 This code still needs testing but is likely to be a huge improvemnt
Chris@40 5430 of support for Win32. Thanks Ross.
Chris@40 5431
Chris@40 5432 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5433
Chris@40 5434 * src/dwvw.c
Chris@40 5435 Removed filedes field from the DWVW_PRIVATE struct.
Chris@40 5436
Chris@40 5437 * src/file_io.c
Chris@40 5438 Change psf_fopen() so it returns psf->error instead of the file descriptor.
Chris@40 5439 Add new functions psf_set_stdio() and psf_set_file().
Chris@40 5440
Chris@40 5441 * src/sndfile.c
Chris@40 5442 Change these to work with changed psf_fopen() return value.
Chris@40 5443 Remove all uses of psf->filedes from sndfile, making it easier to slot native
Chris@40 5444 Win32 API file handling functions.
Chris@40 5445
Chris@40 5446 * src/test_file_io.c
Chris@40 5447 Minor changes to make it compile with new file_io.c stuff.
Chris@40 5448
Chris@40 5449 2003-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5450
Chris@40 5451 * src/gsm610.h
Chris@40 5452 Rename a variable from true to true_flag. As Ross Bencina points out,
Chris@40 5453 true is defined in the C99 header <stdbool.h>.
Chris@40 5454
Chris@40 5455 * src/file_io.c
Chris@40 5456 If fstat() fails, return SF_TRUE instead of -1 (Ross Bencina).
Chris@40 5457
Chris@40 5458 2003-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5459
Chris@40 5460 * src/common.h
Chris@40 5461 Increase the size of SF_BUFFER_LEN and SF_HEADER_LEN.
Chris@40 5462
Chris@40 5463 * src/sndfile.c
Chris@40 5464 Fix sf_read/write_raw which were dividing by psf->bytwidth and
Chris@40 5465 psf->blockwidth which can both be zero.
Chris@40 5466
Chris@40 5467 * examples/sndfile-info.c
Chris@40 5468 Increase size of BUFFER_LEN.
Chris@40 5469
Chris@40 5470 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5471
Chris@40 5472 * configure.ac
Chris@40 5473 Add checks for <sys/wait.h> and ssize_t.
Chris@40 5474 Other Win32/MinGW checks.
Chris@40 5475
Chris@40 5476 * src/aiff.c src/au_g72x.c src/file_io.c src/gsm610.c src/interleave.c
Chris@40 5477 src/paf.c src/sds.c src/svx.c src/voc.c src/w64.c src/wav.c src/xi.c
Chris@40 5478 Fix compiler warnings.
Chris@40 5479
Chris@40 5480 2003-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5481
Chris@40 5482 * tests/scale_clip_test.tpl
Chris@40 5483 Add definition of M_PI if needed.
Chris@40 5484
Chris@40 5485 2003-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5486
Chris@40 5487 * configure.ac
Chris@40 5488 Detect if S_IRGRP is declared in <unistd.h>.
Chris@40 5489
Chris@40 5490 * src/file_io.c tests/*.tpl tests/*.c
Chris@40 5491 More fixes for Win32/MSVC++ and MinGW. MinGW does have <unistd.h> but that
Chris@40 5492 file doesn't declare S_IRGRP.
Chris@40 5493
Chris@40 5494 2003-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5495
Chris@40 5496 * src/config.h.in
Chris@40 5497 Add comment stating that the sf_count_t typedef is determined when
Chris@40 5498 libsndfile is being compiled.
Chris@40 5499
Chris@40 5500 * tests/utils.tpl
Chris@40 5501 Modified so that utils.c gets one copy of the GPL and not two.
Chris@40 5502
Chris@40 5503
Chris@40 5504 2003-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5505
Chris@40 5506 * Win32/unistd.h src/sf_unistd.h
Chris@40 5507 Move first file to the second. This will help for Win32/MSVC++ and MinGW.
Chris@40 5508
Chris@40 5509 * Win32/Makefile.am src/Makefile.am
Chris@40 5510 Changed in line with above.
Chris@40 5511
Chris@40 5512 * Win32/Makefile.msvc
Chris@40 5513 Removed "/I Win32" which is no longer required.
Chris@40 5514
Chris@40 5515 * src/file_io.c src/test_file_io.c tests/*.tpl tests/*.c
Chris@40 5516 If HAVE_UNISTD_H include <unistd.h> else include <sf_unistd.h>. This should
Chris@40 5517 work for Win32, MinGW and other fakes Unix-like OSes.
Chris@40 5518
Chris@40 5519 * src/*.c
Chris@40 5520 Removed #include <unistd.h> from files which didn't need it.
Chris@40 5521
Chris@40 5522 2003-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5523
Chris@40 5524 * libsndfile.spec.in
Chris@40 5525 Apply fix from Andrew Schultz.
Chris@40 5526
Chris@40 5527 2003-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5528
Chris@40 5529 * src/vox_adpcm.c
Chris@40 5530 Only set psf->sf.samplerate if the existing value is invalid.
Chris@40 5531
Chris@40 5532 2003-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5533
Chris@40 5534 * examples/sndfile-play.c
Chris@40 5535 Started adding support for ALSA output.
Chris@40 5536
Chris@40 5537 2003-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5538
Chris@40 5539 * src/sndfile.h.in
Chris@40 5540 Removed <stdlib.h> from sndfile.h.
Chris@40 5541
Chris@40 5542 * src/*.c examples/*.c tests/*.c tests/*.tpl
Chris@40 5543 Added <stdlib.h> where needed.
Chris@40 5544
Chris@40 5545 2003-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5546
Chris@40 5547 * src/common.h
Chris@40 5548 Added ARRAY_LEN, SF_MAX and SF_MIN macros.
Chris@40 5549
Chris@40 5550 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5551
Chris@40 5552 * doc/index.html
Chris@40 5553 Remove statements about alternative licensing arrangements.
Chris@40 5554
Chris@40 5555 2003-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5556
Chris@40 5557 * MacOS MacOS9 Makefile.am configure.ac
Chris@40 5558 Change directory name from MacOS to MacOS9
Chris@40 5559
Chris@40 5560 * MacOS9/MacOS9-readme.txt
Chris@40 5561 Change name to make it really obvious, add text to top of file to make it
Chris@40 5562 still more obvious again.
Chris@40 5563
Chris@40 5564 2003-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5565
Chris@40 5566 * src/test_log_printf.c
Chris@40 5567 Add tests for %u conversions.
Chris@40 5568
Chris@40 5569 * src/common.c
Chris@40 5570 Fix psf_log_printf() %u conversions.
Chris@40 5571
Chris@40 5572 2003-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5573
Chris@40 5574 * src/aiff.c
Chris@40 5575 Fixed a bug where opening a file with a non-trival header in SFM_RDWR mode
Chris@40 5576 would over-write part of the header. Thanks to Axel Röbel for pointing
Chris@40 5577 this out. Axel also provided a patch to fix this but I came up with a
Chris@40 5578 neater and more general solution.
Chris@40 5579 Return error when openning an AIFF file with data after the SSND chunk
Chris@40 5580 (Thanks Axel Röbel).
Chris@40 5581
Chris@40 5582 * tests/aiff_rw_test.c
Chris@40 5583 Improvements to test program which will later allow it to be generalised to
Chris@40 5584 test WAV, SVX and others as required.
Chris@40 5585
Chris@40 5586 2003-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5587
Chris@40 5588 * tests/pipe_test.c
Chris@40 5589 Add useek_pipe_rw_test() submitted by Russell Francis.
Chris@40 5590
Chris@40 5591 * src/sndfile.c
Chris@40 5592 In sf_open_fd(), check if input file descriptor is a pipe.
Chris@40 5593
Chris@40 5594 * src/sndfile.[ch]
Chris@40 5595 Fix typo in variable name do_not_close_descriptor.
Chris@40 5596
Chris@40 5597 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5598
Chris@40 5599 * src/test_log_printf.c
Chris@40 5600 Improve the tests for %d and %s conversions.
Chris@40 5601
Chris@40 5602 * src/common.c
Chris@40 5603 Fixed a few problems in psf_log_printf() found using new tests.
Chris@40 5604
Chris@40 5605 2003-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5606
Chris@40 5607 * configure.ac
Chris@40 5608 Add -Wwrite-strings warning to CFLAGS if the compiler is GCC. Thanks to
Chris@40 5609 Peter Miller (Aegis author) for suggesting this and supplying a patch.
Chris@40 5610
Chris@40 5611 * src/*.c examples/*.c tests/*.c
Chris@40 5612 Fix all compiler warnings arising from the above.
Chris@40 5613
Chris@40 5614 2003-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5615
Chris@40 5616 * tests/aiff_rw_test.c tests/Makefile.am
Chris@40 5617 New test program to check for errors re-writing the headers of AIFC files
Chris@40 5618 opened in mode SFM_RDWR.
Chris@40 5619
Chris@40 5620 2003-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5621
Chris@40 5622 * examples/sndfile-play.c
Chris@40 5623 Applied a patch from Tero Pelander to allow this program to run on systems
Chris@40 5624 using devfs which used /dev/sound/dsp instead of /dev/dsp.
Chris@40 5625
Chris@40 5626 2003-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5627
Chris@40 5628 * doc/new_file_type.HOWTO
Chris@40 5629 Updated document. Still incomplete.
Chris@40 5630
Chris@40 5631 2003-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5632
Chris@40 5633 * src/sndfile.c
Chris@40 5634 Fix VALIDATE_SNDFILE_AND_ASSIGN_PSF which was returning an error rather
Chris@40 5635 than saving it and returning zero.
Chris@40 5636
Chris@40 5637 2003-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5638
Chris@40 5639 * src/file_io.c
Chris@40 5640 Two fixes for Mac OS9.
Chris@40 5641 Fix all casts from sf_count_t to ssize_t (not size_t).
Chris@40 5642
Chris@40 5643 2003-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5644
Chris@40 5645 * src/wav.c
Chris@40 5646 Fix for reading files with RIFF length of 8 and data length of 0.
Chris@40 5647
Chris@40 5648 2003-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5649
Chris@40 5650 * src/*.c tests/*.c tests/*.tpl
Chris@40 5651 Added comments to mark code for removal when make Lite version of
Chris@40 5652 libsndfile.
Chris@40 5653
Chris@40 5654 2003-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5655
Chris@40 5656 * examples/sndfile-convert.c
Chris@40 5657 Add extra error checking for unrecognised arguments.
Chris@40 5658
Chris@40 5659 2003-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5660
Chris@40 5661 * src/ima_adpcm.c
Chris@40 5662 Started adding code to write IMA ADPCM encoded AIFF files.
Chris@40 5663
Chris@40 5664 * src/test_log_printf.c src/Makefile.am
Chris@40 5665 New file to test psf_log_printf() function and add hooks into build system.
Chris@40 5666
Chris@40 5667 * src/common.c
Chris@40 5668 Move psf_log_printf() function to top of the file and only compile the rest
Chris@40 5669 of the file if if PSF_LOG_PRINTF_ONLY is not defined.
Chris@40 5670
Chris@40 5671 2003-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5672
Chris@40 5673 * Win32/config.h Win32/sndfile.h
Chris@40 5674 Updated with new config variables.
Chris@40 5675
Chris@40 5676 * Win32/unistd.h src/file_io.c
Chris@40 5677 Added implementation of S_ISFIFO macro which Win32 seems to lack and is
Chris@40 5678 used in src/file_io.c.
Chris@40 5679
Chris@40 5680 * tests/utils.tpl
Chris@40 5681 Added #include <unitstd.h> to pull in Win32/unistd.h so it compiles for
Chris@40 5682 Win32.
Chris@40 5683
Chris@40 5684 * src/Makefile.msvc
Chris@40 5685 Added src\test_file_io.exe build target and run this as the very first
Chris@40 5686 test.
Chris@40 5687
Chris@40 5688 * tests/win32_test.c
Chris@40 5689 Add support for testing Cygwin32.
Chris@40 5690
Chris@40 5691 * configure.ac
Chris@40 5692 Detect POSIX fsync() and fdatasync() functions.
Chris@40 5693
Chris@40 5694 * src/file_io.c
Chris@40 5695 If compiling for Cygwin, call fsync() before calling fstat() to retrieve
Chris@40 5696 file length.
Chris@40 5697
Chris@40 5698 * tests/pcm_test.tpl
Chris@40 5699 Add a test for lrintf() function. This was required to detect a really
Chris@40 5700 broken lrint() and lrintf() on Cygwin.
Chris@40 5701
Chris@40 5702 * tests/misc_test.c
Chris@40 5703 Don't run permission test when compiling under Cygwin.
Chris@40 5704
Chris@40 5705 * src/float_cast.h
Chris@40 5706 Fix fallback macro for lrint() and lrintf() to cast to long instead of int
Chris@40 5707 to match official function prototypes.
Chris@40 5708
Chris@40 5709 2003-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5710
Chris@40 5711 * examples/sndfile-convert.c
Chris@40 5712 Modifications to improve accuracy of conversions; use double data for
Chris@40 5713 floating point and int for everything else.
Chris@40 5714
Chris@40 5715 * src/ima_apdcm.c
Chris@40 5716 Completed work on decoding IMA ADPCM encoded AIFF files. Still need to
Chris@40 5717 get encoding working.
Chris@40 5718
Chris@40 5719 2003-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5720
Chris@40 5721 * src/aiff.c src/ima_adpcm.c
Chris@40 5722 Start working on getting IMA ADPCM encoded AIFF files working.
Chris@40 5723
Chris@40 5724 2003-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5725
Chris@40 5726 * configure.ac
Chris@40 5727 Fixed the touch command for when the autogen program is not found (Matt
Chris@40 5728 Flax).
Chris@40 5729
Chris@40 5730 * src/ulaw.c src/alaw.c
Chris@40 5731 Made these pipe-able.
Chris@40 5732
Chris@40 5733 2003-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5734
Chris@40 5735 * src/paf.c src/ircam.c
Chris@40 5736 Fixed writing to pipe.
Chris@40 5737
Chris@40 5738 * src/wav.c src/aiff.c src/nist.c src/mat*.c src/svx.c src/w64.c
Chris@40 5739 Return SFE_NO_PIPE_WRITE if an attempt is made to write to a pipe.
Chris@40 5740
Chris@40 5741 2003-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5742
Chris@40 5743 * examples/sndfile-info.c
Chris@40 5744 Modified to detect unknown file lengths.
Chris@40 5745
Chris@40 5746 * src/mat4.c
Chris@40 5747 Fix reading from a pipe.
Chris@40 5748
Chris@40 5749 2003-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5750
Chris@40 5751 * tests/pipe_test.c
Chris@40 5752 Add more file types to tests.
Chris@40 5753
Chris@40 5754 * src/mat4.c
Chris@40 5755 Removed explicit setting of psf->sf.seekable to SF_TRUE.
Chris@40 5756
Chris@40 5757 * tests/utils.tpl
Chris@40 5758 Add macro for generating and check data in the stdio and pipe tests.
Chris@40 5759
Chris@40 5760 * tests/stdout_test.c tests/stdin_test.c
Chris@40 5761 Use the above macro to generate known data on output and check data on
Chris@40 5762 input.
Chris@40 5763
Chris@40 5764 * src/voc.c src/htk.c common.h sndfile.c
Chris@40 5765 Disallow reading/writing VOC and HTK files from/to pipes be returning new
Chris@40 5766 error values.
Chris@40 5767
Chris@40 5768 * src/w64.c
Chris@40 5769 Fixes to allow reading from a pipe.
Chris@40 5770
Chris@40 5771 2003-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5772
Chris@40 5773 * configure.ac src/sndfile.h.in
Chris@40 5774 When the configure script determines the sizeof (sf_count_t), also set the
Chris@40 5775 value of SF_COUNT_MAX in sndfile.h.
Chris@40 5776
Chris@40 5777 * configure.ac
Chris@40 5778 Remove -pedantic flag from default GCC compiler flags.
Chris@40 5779
Chris@40 5780 * tests/pipe_test.c
Chris@40 5781 Add a pipe_read_test() before doing pipe_write_test().
Chris@40 5782
Chris@40 5783 * tests/scale_clip_test.c
Chris@40 5784 Add test to make sure non-normalized values also clip in the right way.
Chris@40 5785
Chris@40 5786 2003-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5787
Chris@40 5788 * configure.ac
Chris@40 5789 Add test to detect processor clipping capabilities.
Chris@40 5790
Chris@40 5791 * tests/stdin_test.c tests/stdout_test.c
Chris@40 5792 Fix a pair of compiler warnings.
Chris@40 5793
Chris@40 5794 * src/common.h
Chris@40 5795 Add new pipeoffset field to SF_PRIVATE. This will contain the current file
Chris@40 5796 offset when operating on a pipe.
Chris@40 5797
Chris@40 5798 * src/common.c
Chris@40 5799 Removed direct calls to psf_fread()/psf_fseek()/psf_fgets() etc from
Chris@40 5800 psf_binheader_readf and redirect them to new buffered versions
Chris@40 5801 header_read(), header_seek() and header_gets().
Chris@40 5802 Add "G" format specifier to emulate fgets() functionality with buffering.
Chris@40 5803 This will allow reading some file types from pipes.
Chris@40 5804
Chris@40 5805 * src/file_io.c
Chris@40 5806 When the file descriptor is a pipe, manintain psf->pipeoffset.
Chris@40 5807
Chris@40 5808 * src/pvf.c
Chris@40 5809 Change use of psf_fgets() to psf_binheader_readf() as required but changes to header re
Chris@40 5810
Chris@40 5811 * src/au.c
Chris@40 5812 Fix reading from a pipe.
Chris@40 5813
Chris@40 5814 2003-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5815
Chris@40 5816 * src/pcm.c
Chris@40 5817 Add clipping versions of the f2XXX_array() functions to allow option of
Chris@40 5818 clipping data that would otherwise overflow.
Chris@40 5819
Chris@40 5820 * tests/scale_clip_test.tpl tests/scale_clip_test.def
Chris@40 5821 New files test that clipping option does actually work.
Chris@40 5822
Chris@40 5823 2003-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5824
Chris@40 5825 * doc/index.html
Chris@40 5826 Fixed a typo ("OS(" instead of "OS9").
Chris@40 5827
Chris@40 5828 2003-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5829
Chris@40 5830 * tests/open_fail_test.c
Chris@40 5831 Include <string.h> to prevent warning message of missing declaration of
Chris@40 5832 memset().
Chris@40 5833
Chris@40 5834 2003-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5835
Chris@40 5836 * src/common.h
Chris@40 5837 Add new "add_clipping" field to SF_PRIVATE.
Chris@40 5838
Chris@40 5839 * src/sndfile.h.in src/sndfile.c
Chris@40 5840 Add command SFC_SET_CLIPPING which sets/resets add_clipping field.
Chris@40 5841
Chris@40 5842 2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5843
Chris@40 5844 * doc/api.html
Chris@40 5845 Add docs for sf_set_string() and sf_get_string().
Chris@40 5846
Chris@40 5847 * src/common.h src/sndfile.c
Chris@40 5848 Add new SFE_STR_BAD_STRING error.
Chris@40 5849
Chris@40 5850 * tests/stdin_test.c tests/stdout_test.c
Chris@40 5851 Removed all non-error print statements.
Chris@40 5852
Chris@40 5853 * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am
Chris@40 5854 Add print statements removed from two files above.
Chris@40 5855
Chris@40 5856 2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5857
Chris@40 5858 * libsndfile.spec.in
Chris@40 5859 Fixed a coulpe of minor errors discovered by someone calling themselves
Chris@40 5860 Agent Smith.
Chris@40 5861
Chris@40 5862 * src/common.c src/common.h src/file_io.h
Chris@40 5863 Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe()
Chris@40 5864 function. (Axel Röbel)
Chris@40 5865
Chris@40 5866 * src/sndfile.c
Chris@40 5867 Fixed determination of whether the file is a pipe. (Axel Röbel)
Chris@40 5868
Chris@40 5869 * src/paf.c
Chris@40 5870 Force paf24 to start with undefined mode. (Axel Röbel)
Chris@40 5871
Chris@40 5872 * tests/pipe_test.c
Chris@40 5873 Mods to make this test work and actually do the test on RAW files. (Axel
Chris@40 5874 Röbel).
Chris@40 5875
Chris@40 5876 2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5877
Chris@40 5878 * src/sndfile.c
Chris@40 5879 Fixed a potential bug where psf->sf.seekable was being set to FALSE when
Chris@40 5880 operating on stdin or stdout but then the default initialiser was reseting
Chris@40 5881 it to TRUE. Thanks to Axel Röbel.
Chris@40 5882
Chris@40 5883 * src/aiff.c
Chris@40 5884 Fixed a bug in the header parser where it was not handling an odd length
Chris@40 5885 COMM chunk correctly. Thanks to Axel Röbel.
Chris@40 5886
Chris@40 5887 * src/test_file_io.c
Chris@40 5888 Add more tests.
Chris@40 5889
Chris@40 5890 * tests/win32_test.c
Chris@40 5891 New file for showing the bugs in the Win32 implementation of the POSIX API.
Chris@40 5892 It also runs on Linux for sanity checking.
Chris@40 5893
Chris@40 5894 * tests/Makefile.am Win32/Makefile.msvc
Chris@40 5895 Hook the new test program into the build system.
Chris@40 5896
Chris@40 5897 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5898
Chris@40 5899 * src/test_file_io.c
Chris@40 5900 New test program to test operation of functions defined in file_io.c. This
Chris@40 5901 should make supporting win32 significantly easier.
Chris@40 5902
Chris@40 5903 * src/Makefile.am
Chris@40 5904 Hook new test program into the build system.
Chris@40 5905
Chris@40 5906 * src/file_io.c
Chris@40 5907 Add compile/run time check that sizeof statbuf.st_size and sf_count_t are
Chris@40 5908 the same.
Chris@40 5909
Chris@40 5910 * src/common.h src/sndfile.c
Chris@40 5911 Added new error code and error message for new check.
Chris@40 5912
Chris@40 5913 * tests/benchmark.tpl
Chris@40 5914 Fix to use frames instead of samples in SF_INFO.
Chris@40 5915
Chris@40 5916 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5917
Chris@40 5918 * src/file_io.c
Chris@40 5919 More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32.
Chris@40 5920
Chris@40 5921 * examples/sndfile-info.c
Chris@40 5922 Applied patch from Conrad Parker to add "--help" and "-h" options as
Chris@40 5923 well as an improved usage message.
Chris@40 5924
Chris@40 5925 2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5926
Chris@40 5927 * src/au.c
Chris@40 5928 Added embedded file support.
Chris@40 5929
Chris@40 5930 * tests/multi_file_test.c
Chris@40 5931 Added tests for embedded AU files.
Chris@40 5932 Added verbose testing mode.
Chris@40 5933
Chris@40 5934 * src/common.h src/sndfile.c
Chris@40 5935 Added an embedded AU specific error code and message.
Chris@40 5936
Chris@40 5937 * src/wav.c
Chris@40 5938 Added patch from Conrad Parker which filled in a little more information
Chris@40 5939 about ACIDized WAV files.
Chris@40 5940
Chris@40 5941 2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5942
Chris@40 5943 * src/file_io.c
Chris@40 5944 Fixed Win32 version of psf_fseek() which was calling psf_get_filelen()
Chris@40 5945 which was in turn calling psf_fseek() which in the end blew the stack.
Chris@40 5946 Now of course this would have been easy to find on Linux, but this blow
Chris@40 5947 up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't
Chris@40 5948 figure out what call caused this (it couldn't even tell me the stack had
Chris@40 5949 overflowed) and was absolutley useless for this debugging exercise.
Chris@40 5950 On top of that, the reason I got into this mess was that windoze doesn't
Chris@40 5951 have a working fstat() function which can return file lengths > 2 Gig. It
Chris@40 5952 HAS a fscking _fstati64() but the file length value is only updated AFTER
Chris@40 5953 the bloody file is closed. That makes it completely useless.
Chris@40 5954 How the hell do people stand working on this crap excuse of an OS?
Chris@40 5955
Chris@40 5956 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5957
Chris@40 5958 * Win32/unistd.h src/file_io.c
Chris@40 5959 Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these
Chris@40 5960 can be used in the test programs.
Chris@40 5961
Chris@40 5962 * Win32/libsndfile.def
Chris@40 5963 Added sf_open_fd.
Chris@40 5964
Chris@40 5965 * Win32/sndfile.h
Chris@40 5966 Updated to match src/sndfile.h.in.
Chris@40 5967
Chris@40 5968 * Win32/Makefile.msvc
Chris@40 5969 Added dither.c and htk.c to libsndfile.dll target.
Chris@40 5970
Chris@40 5971 2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5972
Chris@40 5973 * src/file_io.c
Chris@40 5974 First attempt at getting the Win32 versions of the these functions working.
Chris@40 5975 They still need to be tested.
Chris@40 5976
Chris@40 5977 2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5978
Chris@40 5979 * src/strings.c
Chris@40 5980 Found and fixed a bug which was causing psf_store_string() to fail on
Chris@40 5981 Motorola 68k processors. Many thanks to Joshua Haberman (Debian maintainer
Chris@40 5982 of libsndfile) for compiling and running debug code to help me debug the
Chris@40 5983 problem.
Chris@40 5984
Chris@40 5985 2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5986
Chris@40 5987 * src/sndfile.c src/file_io.c src/wav.c src/aiff.c
Chris@40 5988 Much hacking to get reading and writing of embedded files working (ie sound
Chris@40 5989 files at a non-zero files offset).
Chris@40 5990
Chris@40 5991 * doc/embedded_files.html
Chris@40 5992 First pass atempt at documenting reading/writing embedded files.
Chris@40 5993
Chris@40 5994 2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 5995
Chris@40 5996 * doc/FAQ.html
Chris@40 5997 Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"
Chris@40 5998
Chris@40 5999 2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6000
Chris@40 6001 * src/wav.c src/aiff.c
Chris@40 6002 Fix retrieving and storing of string data from files. Need to be careful
Chris@40 6003 about using psf->buffer for strings.
Chris@40 6004
Chris@40 6005 2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6006
Chris@40 6007 * src/file_io.c
Chris@40 6008 Fix psf_fseek() for seeks withing embedded files.
Chris@40 6009
Chris@40 6010 2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6011
Chris@40 6012 * src/sndfile.h.in
Chris@40 6013 Changed the definition of SNDFILE slightly to produce warnings when it isn't
Chris@40 6014 used correctly. This should have zero affect in code which uses the SNDFILE
Chris@40 6015 type correctly.
Chris@40 6016
Chris@40 6017 * src/sndfile.c
Chris@40 6018 Fixed a few compiler warnings cause by the changes to the SNDFILE type.
Chris@40 6019
Chris@40 6020 2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6021
Chris@40 6022 * doc/FAQ.html
Chris@40 6023 Added question and answer to the question "How about adding the ability
Chris@40 6024 to write/read sound files to/from memory buffers?".
Chris@40 6025
Chris@40 6026 2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6027
Chris@40 6028 * tests/write_read_test.tpl
Chris@40 6029 Removed un-needed enums declaring TRUE and FALSE and replaced usage of
Chris@40 6030 these with SF_TRUE and SF_FALSE.
Chris@40 6031
Chris@40 6032 * tests/multi_file_test.c
Chris@40 6033 New test program to test sf_open_fd() on files containing data other than
Chris@40 6034 a single sound file.
Chris@40 6035
Chris@40 6036 2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6037
Chris@40 6038 * src/file_io.c
Chris@40 6039 When creating files, set the readable by others flag. This still allows
Chris@40 6040 further restrictions to be enforced by use of the user's umask. Fix
Chris@40 6041 suggested by Eric Lyon.
Chris@40 6042
Chris@40 6043 2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6044
Chris@40 6045 * src/sndfile.h.in src/sndfile.c
Chris@40 6046 Changed sf_open_fd(). Dropped offset parameter and added a close_desc
Chris@40 6047 parameter. If close desc is TRUE, the file descritpor passed into the
Chris@40 6048 library will be closed when sf_close() is called.
Chris@40 6049
Chris@40 6050 * tests/utils.tpl
Chris@40 6051 Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.
Chris@40 6052
Chris@40 6053 2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6054
Chris@40 6055 * tests/write_read_test.tpl
Chris@40 6056 Add a string (using sf_set_string() function) before and after data section
Chris@40 6057 of all files. This will make sure that if string data can be added, it
Chris@40 6058 doesn't overwrite real audio data.
Chris@40 6059
Chris@40 6060 2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6061
Chris@40 6062 * src/sndfile.c
Chris@40 6063 Started work on supporting a non-zero offset parameter for sf_open_fd ().
Chris@40 6064
Chris@40 6065 * src/<file header parsers>.c
Chris@40 6066 Removed many uses of psf_fseek (SEEK_END) which to allow for future use of
Chris@40 6067 sf_open_fd() with non-zero offset.
Chris@40 6068 Associated refactoring.
Chris@40 6069
Chris@40 6070 * src/aiff.c
Chris@40 6071 Implemented functionality required to get sf_get_string() and
Chris@40 6072 sf_set_string() working for AIFF files.
Chris@40 6073
Chris@40 6074 2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6075
Chris@40 6076 * tests/utils.tpl
Chris@40 6077 Modified test_open_file_or_die() to alternately use sf_open() and
Chris@40 6078 sf_open_fd().
Chris@40 6079
Chris@40 6080 * src/svx.c
Chris@40 6081 Fixed a bug which occurred when openning an existing file for read/write
Chris@40 6082 using sf_open_fd(). In this case, the existing NAME chunk needs to be
Chris@40 6083 read into psf->filename.
Chris@40 6084 Fixed printing of sf_count_t types to logbuffer.
Chris@40 6085
Chris@40 6086 2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6087
Chris@40 6088 * src/sndfile.h.in
Chris@40 6089 Added prototype for new function sf_open_fd().
Chris@40 6090
Chris@40 6091 * src/sndfile.c
Chris@40 6092 Moved most of the code in sf_open() to a new function psf_open_file().
Chris@40 6093 Created new function sf_open_fd() which also uses psf_open_file() but
Chris@40 6094 does not currently support the offset parameter.
Chris@40 6095
Chris@40 6096 * doc/api.html
Chris@40 6097 Document sf_open_fd().
Chris@40 6098
Chris@40 6099 2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6100
Chris@40 6101 * src/sndfile.c
Chris@40 6102 Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred
Chris@40 6103 when an attempt was made to read and the open() call fails.
Chris@40 6104
Chris@40 6105 2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6106
Chris@40 6107 * tests/open_fail_test.c
Chris@40 6108 New test program to check for memory leaks when sf_open fails on a valid
Chris@40 6109 file. Currently this must be run manually under valgrid.
Chris@40 6110
Chris@40 6111 * tests/Makefile.am
Chris@40 6112 Hook new test program into build.
Chris@40 6113
Chris@40 6114 2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6115
Chris@40 6116 * Octave/sndfile_save.m Octave/sndfile_play.m
Chris@40 6117 Added a -mat-binary option to the octave save command to force the output
Chris@40 6118 to binary mode even if the user has set ascii data as the default. Found
Chris@40 6119 by Christopher Moore.
Chris@40 6120
Chris@40 6121 2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6122
Chris@40 6123 * doc/dither.html
Chris@40 6124 New file which will document the interface which allows the addition of
Chris@40 6125 audio dither when sample word sizes are being reduced.
Chris@40 6126
Chris@40 6127 * src/dither.c
Chris@40 6128 More work.
Chris@40 6129
Chris@40 6130 2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6131
Chris@40 6132 * tests/misc_test.c
Chris@40 6133 In update_header_test(), make HTK files a special case.
Chris@40 6134
Chris@40 6135 * doc/index.html
Chris@40 6136 Added HTK to the feature matrix.
Chris@40 6137
Chris@40 6138 2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6139
Chris@40 6140 * src/htk.c
Chris@40 6141 New file for reading/writing HMM Tool Kit files.
Chris@40 6142
Chris@40 6143 * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am
Chris@40 6144 Hook in htk.c
Chris@40 6145
Chris@40 6146 * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am
Chris@40 6147 Add tests for HTK files.
Chris@40 6148
Chris@40 6149 2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6150
Chris@40 6151 * src/wav.c
Chris@40 6152 Fixed a bug where the LIST chunk length was being written incorrectly.
Chris@40 6153
Chris@40 6154 * tests/string_test.c
Chris@40 6155 Added call to check_log_buffer().
Chris@40 6156 Minor cleanups.
Chris@40 6157
Chris@40 6158 2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6159
Chris@40 6160 * src/wav_w64.h
Chris@40 6161 Applied patch from Antoine Mathys to add extra WAV format definitions and
Chris@40 6162 a G72x_ADPCM_WAV_FMT struct definition.
Chris@40 6163
Chris@40 6164 * src/wav_w64.c
Chris@40 6165 Applied patch from Antoine Mathys which converts wav_w64_format_str() from
Chris@40 6166 one huge inefficient switch statement to a binary search.
Chris@40 6167
Chris@40 6168 * tests/string_test.c
Chris@40 6169 Dump log buffer if tests fail.
Chris@40 6170
Chris@40 6171 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6172
Chris@40 6173 * tests/string_test.c
Chris@40 6174 David Viens supplied some modifications to this file which showed up a bug
Chris@40 6175 when using sf_set_string() and the sf_writef_float() functions.
Chris@40 6176
Chris@40 6177 * src/sndfile.c
Chris@40 6178 Fixed the above bug.
Chris@40 6179
Chris@40 6180 2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6181
Chris@40 6182 * doc/FAQ.html
Chris@40 6183 Added Q and A on how to detect libsndfile in configure.in (at the suggestion
Chris@40 6184 of Davy Durham).
Chris@40 6185
Chris@40 6186 2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6187
Chris@40 6188 * src/sndfile.h.in
Chris@40 6189 Add enums and typedefs for dither.
Chris@40 6190 Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be
Chris@40 6191 replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will
Chris@40 6192 allow different dither algorithms to be enabled.
Chris@40 6193 Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO.
Chris@40 6194
Chris@40 6195 * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def.
Chris@40 6196 Added public sf_dither_*() functions.
Chris@40 6197
Chris@40 6198 * src/sndfile.c
Chris@40 6199 Implement commands above.
Chris@40 6200
Chris@40 6201 * src/dither.c
Chris@40 6202 More work. Framework and external hooks into dither algorithms complete.
Chris@40 6203
Chris@40 6204 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6205
Chris@40 6206 * doc/version-1.html libsndfile_version_convert.py
Chris@40 6207 Remove redundant files.
Chris@40 6208
Chris@40 6209 * doc/index.html doc/api.html
Chris@40 6210 Remove links to version-1.html.
Chris@40 6211
Chris@40 6212 * src/dither.c
Chris@40 6213 New file to allow the addition of audio dither on input and output.
Chris@40 6214
Chris@40 6215 * src/common.h
Chris@40 6216 Add prototype for dither_init() function.
Chris@40 6217
Chris@40 6218 * Makefile.am doc/Makefile.am
Chris@40 6219 Changes for added and removed files.
Chris@40 6220
Chris@40 6221 2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6222
Chris@40 6223 * Win32/Makefile.msvc
Chris@40 6224 Changes to force example binaries to be placed in the top level directory
Chris@40 6225 instead of the examples/ directory.
Chris@40 6226 Add src/strings.c and src/xi.c to the build.
Chris@40 6227 Add string_test to build and to tests on WAV files.
Chris@40 6228
Chris@40 6229 * doc/index.html
Chris@40 6230 Added XI to support matrix.
Chris@40 6231
Chris@40 6232 2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6233
Chris@40 6234 * src/sndfile.h.in
Chris@40 6235 Added prototypes for sf_get_string() and sf_set_string() and SF_STR_*
Chris@40 6236 enum values.
Chris@40 6237
Chris@40 6238 * src/sndfile.c
Chris@40 6239 Added public interface to sf_get_string() and sf_set_string().
Chris@40 6240
Chris@40 6241 * src/wav.c
Chris@40 6242 Added code for setting and getting strings in WAV files.
Chris@40 6243
Chris@40 6244 * tests/string_test.c
Chris@40 6245 New test program for sf_get_string() and sf_set_string() functionality.
Chris@40 6246
Chris@40 6247 * tests/Makefile.am
Chris@40 6248 Hook new test program into build and test framework.
Chris@40 6249
Chris@40 6250 2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6251
Chris@40 6252 * src/common.h
Chris@40 6253 Added fields to SF_PRIVATE for string data needed to implement
Chris@40 6254 sf_get_string() and sf_set_string().
Chris@40 6255
Chris@40 6256 * src/strings.c
Chris@40 6257 New file for storing and retrieving strings to/from files.
Chris@40 6258
Chris@40 6259 * src/Makefile.am
Chris@40 6260 Added strings.c to build.
Chris@40 6261
Chris@40 6262 2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6263
Chris@40 6264 * src/xi.c
Chris@40 6265 Read seems to be working so looking at write.
Chris@40 6266
Chris@40 6267 * src/sndfile.h.in
Chris@40 6268 Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values.
Chris@40 6269
Chris@40 6270 * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am
Chris@40 6271 Added test for 8 and 16 bit XI format files.
Chris@40 6272
Chris@40 6273 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6274
Chris@40 6275 * doc/index.html
Chris@40 6276 Added a non-lawyer readable summary of the licensing provisions as
Chris@40 6277 suggested by Steve Dekorte.
Chris@40 6278
Chris@40 6279 2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6280
Chris@40 6281 * src/wav.c
Chris@40 6282 Fixed a compiler warning found by Alexander Lerch.
Chris@40 6283
Chris@40 6284 2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6285
Chris@40 6286 * configure.ac
Chris@40 6287 Fixed the multiple linking of libm.
Chris@40 6288
Chris@40 6289 2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6290
Chris@40 6291 * Win32/Makefile.mcvs
Chris@40 6292 Added comments on the correct way to set up the MSVCDir environment
Chris@40 6293 variable.
Chris@40 6294
Chris@40 6295 * doc/win32.html
Chris@40 6296 Add on how to set up the MSVCDir environment variable.
Chris@40 6297
Chris@40 6298 2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6299
Chris@40 6300 * examples/sndfile-play.c examples/sndfile-info.c
Chris@40 6301 When run on Win32 without any command line parameters print a message and
Chris@40 6302 then sleep for 5 seconds. This means the when somebody double clicks on
Chris@40 6303 these programs in explorer the user will actually see the message.
Chris@40 6304
Chris@40 6305 2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6306
Chris@40 6307 * tests/misc_test.c
Chris@40 6308 Bypass permission test if running as root because root is allowed to open
Chris@40 6309 a readonly file for write.
Chris@40 6310
Chris@40 6311 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6312
Chris@40 6313 * Win32/Makefile.msvc
Chris@40 6314 Added pvf.c and xi.c source files to project.
Chris@40 6315
Chris@40 6316 * src/sndfile.h
Chris@40 6317 Updated for PVF files.
Chris@40 6318
Chris@40 6319 2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6320
Chris@40 6321 * src/sndfile.c
Chris@40 6322 Modified validate_sfinfo() to force samplerate, channels and sections
Chris@40 6323 to be >= 1.
Chris@40 6324 In format_from_extension() replaced calls to does_extension_match()
Chris@40 6325 with strcmp().
Chris@40 6326
Chris@40 6327 * src/xi.c
Chris@40 6328 More work.
Chris@40 6329
Chris@40 6330 2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6331
Chris@40 6332 * doc/Makefile.am
Chris@40 6333 Added octave.html which had been left out. Found by Jan Weil.
Chris@40 6334
Chris@40 6335 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6336
Chris@40 6337 * src/pvf.c src/common.h src/sndfile.c
Chris@40 6338 Fixed error handling for PVF files.
Chris@40 6339
Chris@40 6340 * src/xi.c
Chris@40 6341 New file for handling Fasttracker 2 Extended Instrument files. Not working
Chris@40 6342 yet and included when configured with --enable-experimental.
Chris@40 6343
Chris@40 6344 * src/sndfile.c src/common.h
Chris@40 6345 Hooked in new file xi.c.
Chris@40 6346
Chris@40 6347 2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6348
Chris@40 6349 * src/rx2.c
Chris@40 6350 Added a patch from Marek Peteraj which sheds a little more light on the
Chris@40 6351 slices within an RX2 file. Still need to find out data encoding.
Chris@40 6352
Chris@40 6353 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6354
Chris@40 6355 * src/wav.c
Chris@40 6356 Started work on decoding 'acid' and 'strc' chunks.
Chris@40 6357
Chris@40 6358 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6359
Chris@40 6360 * tests/peak_check_test.c
Chris@40 6361 Minor cleanup.
Chris@40 6362
Chris@40 6363 2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6364
Chris@40 6365 * tests/write_read_test.tpl
Chris@40 6366 Added check to make sure no error was generated when an attempt was made to
Chris@40 6367 read past the end of the file.
Chris@40 6368
Chris@40 6369 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6370
Chris@40 6371 * doc/lists.html
Chris@40 6372 Added "mailto" links for all three lists.
Chris@40 6373
Chris@40 6374 * src/pvf.c
Chris@40 6375 New file for Portable Voice Format files.
Chris@40 6376
Chris@40 6377 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
Chris@40 6378 Added hooks for SF_FORMAT_PVF format files.
Chris@40 6379
Chris@40 6380 * tests/write_read_test.tpl tests/std*.c
Chris@40 6381 Add tests for SF_FORMAT_PVF.
Chris@40 6382
Chris@40 6383 * doc/index.html
Chris@40 6384 Add PVF to the compatibility matrix.
Chris@40 6385
Chris@40 6386 * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c
Chris@40 6387 Previously, attempts to read beyond the end of a file would set psf->error
Chris@40 6388 to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX
Chris@40 6389 read() call but has now been fixed.
Chris@40 6390 Attempts to read beyond the end of the file will return a short read count
Chris@40 6391 but will not longer set any error.
Chris@40 6392
Chris@40 6393 2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6394
Chris@40 6395 * src/sndfile.c
Chris@40 6396 Add more sanity checking when opening a RAW file for read. When format is
Chris@40 6397 not RAW, zero out all members of the SF_INFO struct.
Chris@40 6398
Chris@40 6399 * tests/raw_test.c
Chris@40 6400 Add bad_raw_test() to check for above problem.
Chris@40 6401
Chris@40 6402 * tests/stdin_test.c examples/sndfile-info.c
Chris@40 6403 Set the format field of the SF_INFO struct to zero before calling
Chris@40 6404 sf_open().
Chris@40 6405
Chris@40 6406 * doc/api.html
Chris@40 6407 Add information about the need to set the format field of the SF_INFO struct
Chris@40 6408 to zero when opening non-RAW files for read.
Chris@40 6409
Chris@40 6410 * configure.ac
Chris@40 6411 Removed use of conversion script on Solaris. Not all Solaris versions
Chris@40 6412 support it.
Chris@40 6413
Chris@40 6414 * doc/lists.html
Chris@40 6415 New file containg details of the mailing lists.
Chris@40 6416
Chris@40 6417 * doc/index.html
Chris@40 6418 Add a link to the above new file.
Chris@40 6419
Chris@40 6420 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6421
Chris@40 6422 * tests/dft_cmp.c
Chris@40 6423 Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman
Chris@40 6424 for providing the gdb traceback.
Chris@40 6425
Chris@40 6426 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6427
Chris@40 6428 * src/wav.c
Chris@40 6429 Added more capabilities to 'smpl' chunk parser.
Chris@40 6430
Chris@40 6431 * src/sndfile.c
Chris@40 6432 Fixed some (not all) possible problems found with Flawfinder.
Chris@40 6433
Chris@40 6434 2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6435
Chris@40 6436 * src/sndfile.c
Chris@40 6437 Fixed a bug in sf_seek(). This bug could only occur when an attempt was
Chris@40 6438 made to read beyond the end and then sf_seek() was called with a whence
Chris@40 6439 parameter of SEEK_CUR.
Chris@40 6440
Chris@40 6441 * src/file_io.c
Chris@40 6442 Win32's _fstati64() does not work, it returns BS. Re-implemented
Chris@40 6443 psf_get_filelen() in terms of psf_fseek().
Chris@40 6444
Chris@40 6445 * tests/write_read_test.tpl
Chris@40 6446 Add a test to detect above bug.
Chris@40 6447
Chris@40 6448 * src/float_cast.h
Chris@40 6449 Modification to prevent compiler warnings on Mac OS X.
Chris@40 6450
Chris@40 6451 * src/file_io.c
Chris@40 6452 Fixes for windows (what a f**ked OS).
Chris@40 6453
Chris@40 6454 2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6455
Chris@40 6456 * configure.ac
Chris@40 6457 Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on
Chris@40 6458 Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in
Chris@40 6459 src/float_cast.h means that a library compiled on 10.2 will still work on
Chris@40 6460 10.1.
Chris@40 6461
Chris@40 6462 2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6463
Chris@40 6464 * configure.in configure.ac
Chris@40 6465 Renamed configure.in to configure.ac as expected by later versions of
Chris@40 6466 autoconf.
Chris@40 6467 Slight hacking of configure.ac to work with version 2.54 of autoconf.
Chris@40 6468 Changed to using -dumpversion instead of --version for determining GCC
Chris@40 6469 version numer as suggested by Anand Kumria.
Chris@40 6470
Chris@40 6471 * src/G72x/Makefile.am
Chris@40 6472 Slight hacking required for operation with automake 1.6.3.
Chris@40 6473
Chris@40 6474 2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6475
Chris@40 6476 * src/common.c
Chris@40 6477 In psf_binheader_readf() changed type parameter type "b" type from size_t
Chris@40 6478 to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int).
Chris@40 6479 Thanks to Enrique Robledo Arnuncio for debugging this.
Chris@40 6480
Chris@40 6481 2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6482
Chris@40 6483 * test/command_test.tpl
Chris@40 6484 Changed test value so test would pass on Solaris.
Chris@40 6485
Chris@40 6486 * src/Version_script.in
Chris@40 6487 Modified version numbering so that later versions of 1.0.X can replace
Chris@40 6488 earlier versions without recompilation.
Chris@40 6489
Chris@40 6490 * src/vox_adpcm.c
Chris@40 6491 Fixed bug causing short reads.
Chris@40 6492
Chris@40 6493 2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6494
Chris@40 6495 * test/floating_point_test.c
Chris@40 6496 Code cleanup using functions from util.c.
Chris@40 6497 Add test for IEEE replacement floats and doubles.
Chris@40 6498
Chris@40 6499 2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6500
Chris@40 6501 * src/wav.c
Chris@40 6502 Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to
Chris@40 6503 Serg Repalov for the example file.
Chris@40 6504
Chris@40 6505 * tests/pcm_test.tpl
Chris@40 6506 Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code.
Chris@40 6507 Clean up pcm_double_test().
Chris@40 6508
Chris@40 6509 * src/float32.c src/double64.c
Chris@40 6510 Force use of IEEE replacement code using psf->ieee_replace is TRUE,
Chris@40 6511 Print message to log_buffer as well.
Chris@40 6512 Rename all broken_read_* and broken_write* functions to replace_read_* and
Chris@40 6513 replace_write_*.
Chris@40 6514
Chris@40 6515 * tests/util.tpl
Chris@40 6516 Added string_in_log_buffer().
Chris@40 6517
Chris@40 6518 * tests/pcm_test.tpl
Chris@40 6519 Use string_in_log_buffer() to ensure that IEEE replacement code has been
Chris@40 6520 used.
Chris@40 6521
Chris@40 6522 * configure.in
Chris@40 6523 Removed --enable-force-broken-float option. IEEE replacement code is now
Chris@40 6524 always tested.
Chris@40 6525
Chris@40 6526 2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6527
Chris@40 6528 * src/double64.c
Chris@40 6529 Implement code for read/writing IEEE doubles on platforms where the native
Chris@40 6530 double format is not IEEE.
Chris@40 6531
Chris@40 6532 * src/float32.c src/common.h
Chris@40 6533 Remove float32_read() and float32_write(). Replace with float32_le_read(),
Chris@40 6534 float32_be_read(), float32_le_write() and float32_be_write() to match stuff
Chris@40 6535 in src/double64.c.
Chris@40 6536
Chris@40 6537 * src/common.c
Chris@40 6538 Fix all usage of float32_write().
Chris@40 6539
Chris@40 6540 * src/sndfile.h.in
Chris@40 6541 Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only).
Chris@40 6542
Chris@40 6543 * src/common.h
Chris@40 6544 Added SF_PRIVATE field ieee_replace.
Chris@40 6545
Chris@40 6546 * src/sndfile.c
Chris@40 6547 In sf_command() set/reset psf->ieee_replace.
Chris@40 6548
Chris@40 6549 2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6550
Chris@40 6551 * tests/pcm_test.tpl
Chris@40 6552 Fixed a problem when testing with --enable-force-broken-float. The test was
Chris@40 6553 generating a value of negative zero and the broken float code is not able
Chris@40 6554 to write negative zero. Removing the negative zero fixed the test.
Chris@40 6555
Chris@40 6556 2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6557
Chris@40 6558 * src/file_io.c
Chris@40 6559 Added fix for Cygwin (suggested by Maros Michalik).
Chris@40 6560
Chris@40 6561 2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6562
Chris@40 6563 * src/file_io.c
Chris@40 6564 Improved error detection and handling.
Chris@40 6565
Chris@40 6566 * src/file_io.c src/common.h
Chris@40 6567 Removed functions psf_ferror() and psf_clearerr() which were redundant
Chris@40 6568 after above improvements.
Chris@40 6569
Chris@40 6570 * src/aiff.c src/svx.c src/w64.c src/wav.c
Chris@40 6571 Removed all use of psf_ferror() and psf_clearerr().
Chris@40 6572
Chris@40 6573 * src/sndfile.c
Chris@40 6574 Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which
Chris@40 6575 are no longer needed.
Chris@40 6576
Chris@40 6577 * tests/misc_test.c
Chris@40 6578 Added test to make sure the correct error message is returned with an
Chris@40 6579 existing read-only file is openned for write.
Chris@40 6580
Chris@40 6581 2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6582
Chris@40 6583 * doc/index.html doc/api.html
Chris@40 6584 Updated for OKI Dialogic ADPCM files.
Chris@40 6585
Chris@40 6586 * src/command.c
Chris@40 6587 Added VOX ADPCM to sub_fomats.
Chris@40 6588
Chris@40 6589 2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6590
Chris@40 6591 * src/vox_adpcm.c src/Makefile.am
Chris@40 6592 New file for handling OKI Dialogic ADPCM files.
Chris@40 6593
Chris@40 6594 * src/sndfile.h
Chris@40 6595 Add new subtype SF_FORMAT_VOX_ADPCM.
Chris@40 6596
Chris@40 6597 * src/sndfile.c
Chris@40 6598 Renamed function is_au_snd_file () to format_from_extenstion () and expanded
Chris@40 6599 its functionality to detect headerless VOX files.
Chris@40 6600
Chris@40 6601 * src/raw.c
Chris@40 6602 Added hooks for SF_FORMAT_VOX_ADPCM.
Chris@40 6603
Chris@40 6604 * examples/sndfile-info.c
Chris@40 6605 Print out file duration (suggested by Conrad Parker).
Chris@40 6606
Chris@40 6607 * libsndfile.spec.in
Chris@40 6608 Force installation of sndfile.pc file (found by John Thompson).
Chris@40 6609
Chris@40 6610 * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c
Chris@40 6611 Add tests for SF_FORMAT_VOX_ADPCM.
Chris@40 6612
Chris@40 6613 2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6614
Chris@40 6615 * tests/misc_test.c
Chris@40 6616 Add test which attempts to write to /dev/full (on Linux anyway) to check
Chris@40 6617 for correct handling of writing to a full filesystem.
Chris@40 6618
Chris@40 6619 * src/sndfile.c
Chris@40 6620 Return correct error message if the header cannot be written because the
Chris@40 6621 filesystem is full.
Chris@40 6622
Chris@40 6623 * tests/util.tpl
Chris@40 6624 Corrected printing of file mode in error reporting.
Chris@40 6625
Chris@40 6626 * src/mat5.c
Chris@40 6627 Fixed a bug where a MAT5 file written by libsndfile could not be opened by
Chris@40 6628 Octave 2.1.36.
Chris@40 6629
Chris@40 6630 2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6631
Chris@40 6632 * src/common.h src/file_io.c
Chris@40 6633 All low level file I/O have been modified to be better able to report
Chris@40 6634 system errors resulting from calling system level open/read/write etc.
Chris@40 6635
Chris@40 6636 * src/*.c
Chris@40 6637 Updated for compatibility with above changes.
Chris@40 6638
Chris@40 6639 * examples/cooledit-fixer.c
Chris@40 6640 New example program which fixes badly broken file created by Syntrillium's
Chris@40 6641 Cooledit which are marked as containing PCM samples but actually contain
Chris@40 6642 floating point data.
Chris@40 6643
Chris@40 6644 * examples/Makefile.am
Chris@40 6645 Hooked cooledit-fixer into the build system.
Chris@40 6646
Chris@40 6647 2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6648
Chris@40 6649 * doc/command.html
Chris@40 6650 Document SFC_GET_FORMAT_INFO.
Chris@40 6651
Chris@40 6652 2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6653
Chris@40 6654 * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c
Chris@40 6655 examples/sfdump.c
Chris@40 6656 Removed these files because they weren't interesting.
Chris@40 6657
Chris@40 6658 * examples/sfconvert.c examples/sndfile-convert.c
Chris@40 6659 Renamed the first to the latter.
Chris@40 6660
Chris@40 6661 * examples/Makefile.am
Chris@40 6662 Added sndfile-convert to the bin_PROGRAMS, so it is installed when the lib
Chris@40 6663 is installed.
Chris@40 6664 Removed old programs wav32_aiff24 and sndfile2oct.
Chris@40 6665
Chris@40 6666 * man/sndfile-convert.1
Chris@40 6667 New man page.
Chris@40 6668
Chris@40 6669 * examples/sndfile-convert.c
Chris@40 6670 Added some gloss now that sndfile-convert.c is an installed program.
Chris@40 6671
Chris@40 6672 * src/sndfile.h.in src/sndfile.c src/common.h src/command.h
Chris@40 6673 Added command SFC_GET_FORMAT_INFO.
Chris@40 6674
Chris@40 6675 * tests/command_test.c
Chris@40 6676 Added tests form SFC_GET_FORMAT_INFO.
Chris@40 6677
Chris@40 6678 2002-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6679
Chris@40 6680 * src/sndfile.c
Chris@40 6681 In sf_format_check() return error if samplerate < 0.
Chris@40 6682
Chris@40 6683 2002-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6684
Chris@40 6685 * src/aiff.c
Chris@40 6686 Fixed bug in handling of COMM chunks with a 4 byte encoding byte but no
Chris@40 6687 encoding string.
Chris@40 6688
Chris@40 6689 2002-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6690
Chris@40 6691 * src/sndfile.c
Chris@40 6692 Fixed repeated word in an error message.
Chris@40 6693
Chris@40 6694 2002-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6695
Chris@40 6696 * doc/index.html
Chris@40 6697 Improved advertising in Features section.
Chris@40 6698
Chris@40 6699 2002-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6700
Chris@40 6701 * src/wav.c
Chris@40 6702 Added decoding of 'labl' chunks within 'LIST' chunks.
Chris@40 6703
Chris@40 6704 * src/common.h
Chris@40 6705 Added (experimental only) SF_FORMAT_OGG and SF_FORMAT_VORBIS and definition
Chris@40 6706 of ogg_open(). This is nowhere near working yet.
Chris@40 6707
Chris@40 6708 * src/sndfile.c
Chris@40 6709 Added detection of 'OggS' file marker and added call to ogg_open() to
Chris@40 6710 switch statement.
Chris@40 6711
Chris@40 6712 * src/ogg.c
Chris@40 6713 New file. Very early start of Ogg Vorbis support.
Chris@40 6714
Chris@40 6715 * src/wav.c
Chris@40 6716 Added handling of brain-damaged and broken Cooledit "32 bit 24.0 float
Chris@40 6717 type 1" files. These files are marked as being 24 bit WAVE_FORMAT_PCM with
Chris@40 6718 a block alignment of 4 times the numbers of channels but are in fact 32 bit
Chris@40 6719 floating point.
Chris@40 6720
Chris@40 6721 2002-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6722
Chris@40 6723 * configure.in
Chris@40 6724 Modified option --enable-experimental to set ENABLE_EXPERIMENTAL_CODE in
Chris@40 6725 config.h to either 0 or 1.
Chris@40 6726
Chris@40 6727 * src/sndfile.c
Chris@40 6728 Modify sf_command (SFC_GET_LIB_VERSION) to append "-exp" to the version
Chris@40 6729 string if experimental code has been enabled.
Chris@40 6730
Chris@40 6731 2002-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6732
Chris@40 6733 * src/Makefile.am
Chris@40 6734 Added -lm to libsndfile_la_LIBADD. This means that -lm is not longer needed
Chris@40 6735 in the link line when linking something to libsndfile.
Chris@40 6736
Chris@40 6737 * tests/Makefile.am examples/Makefile.am
Chris@40 6738 Removed -lm from all link lines.
Chris@40 6739
Chris@40 6740 * sndfile.pc.in
Chris@40 6741 Removed -lm from Libs line.
Chris@40 6742
Chris@40 6743 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6744
Chris@40 6745 * src/file_io.c
Chris@40 6746 Removed all perror() calls.
Chris@40 6747
Chris@40 6748 * src/nist.c
Chris@40 6749 Removed calls to exit() function.
Chris@40 6750 Added check to detect NIST files dammaged from Unix CR -> Win32 CRLF
Chris@40 6751 conversion process.
Chris@40 6752
Chris@40 6753 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6754
Chris@40 6755 * src/sndfile.h.in src/sndfile.c
Chris@40 6756 New function sf_strerror() which will eventually replace functions
Chris@40 6757 sf_perror() and sf_error_str().
Chris@40 6758 Function sf_error_number() has also been changed, but this was documented
Chris@40 6759 as being for testing only.
Chris@40 6760
Chris@40 6761 * doc/api.html
Chris@40 6762 Documented above changes.
Chris@40 6763
Chris@40 6764 * tests/*.c examples/*.c
Chris@40 6765 Changed to new error functions.
Chris@40 6766
Chris@40 6767 2002-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6768
Chris@40 6769 * configure.in
Chris@40 6770 Detect GCC version, and print a warning message about writeable strings
Chris@40 6771 it GCC major version number is less than 3.
Chris@40 6772
Chris@40 6773 2002-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6774
Chris@40 6775 * src/sndfile.h.in doc/api.html
Chris@40 6776 Documentation fixes.
Chris@40 6777
Chris@40 6778 2002-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6779
Chris@40 6780 * src/Version_script.in src/Makefile.am configure.in
Chris@40 6781 Use the version script to prevent the exporting of all non public symbols.
Chris@40 6782 This currently only works with Linux. Will test on Solaris as well.
Chris@40 6783
Chris@40 6784 * src/float_cast.h
Chris@40 6785 Added #ifndef to prevent the #warning directives killing the SGI MIPSpro
Chris@40 6786 compiler.
Chris@40 6787
Chris@40 6788 * src/au_g72x.c src/double64.c src/float32.c src/gsm610.c src/ima_adpcm.c
Chris@40 6789 src/ms_adpcm.c
Chris@40 6790 Fix benign compiler warnings arising from previously added compiler
Chris@40 6791 flags.
Chris@40 6792
Chris@40 6793 2002-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6794
Chris@40 6795 * src/sndfile.c
Chris@40 6796 Fixed a bug in sf_error_str() where errnum was used as the index instead
Chris@40 6797 of k. Found by Tim Hockin.
Chris@40 6798
Chris@40 6799 * examples/sndfile-play.c
Chris@40 6800 Fixed a compiler warning resulting from a variable shadowing a previously
Chris@40 6801 defined local.
Chris@40 6802
Chris@40 6803 2002-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6804
Chris@40 6805 * src/sndfile.h.in src/sndfile.c
Chris@40 6806 Added command SFC_SET_RAW_START_OFFSET.
Chris@40 6807
Chris@40 6808 * doc/command.html
Chris@40 6809 Document SFC_SET_RAW_START_OFFSET.
Chris@40 6810
Chris@40 6811 * tests/raw_test.c tests/Makefile.am
Chris@40 6812 Add new file for testing SF_FORMAT_RAW specific functionality.
Chris@40 6813
Chris@40 6814 * tests/dwvw_test.c
Chris@40 6815 Updates.
Chris@40 6816
Chris@40 6817 2002-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6818
Chris@40 6819 * src/wav.c
Chris@40 6820 Modified reading of 'smpl' chunk to take account of the sampler data field.
Chris@40 6821
Chris@40 6822 * tests/utils.tpl tests/utils.h
Chris@40 6823 Added function print_test_name().
Chris@40 6824
Chris@40 6825 * tests/misc_test.c tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@40 6826 tests/pcm_test.tpl tests/command_test.tpl tests/floating_point_test.c
Chris@40 6827 Convert to use function print_test_name().
Chris@40 6828
Chris@40 6829 2002-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6830
Chris@40 6831 * doc/octave.html
Chris@40 6832 Added a link to some other Octave scripts for reading and writing sound
Chris@40 6833 files.
Chris@40 6834
Chris@40 6835 * src/paf.c
Chris@40 6836 Change type of dummy data field to int. This should fix a benign compiler
Chris@40 6837 warning on some CPUs.
Chris@40 6838 Removed superfluous casts resulting from the above change.
Chris@40 6839
Chris@40 6840 * src/rx2.c
Chris@40 6841 More hacking.
Chris@40 6842
Chris@40 6843 2002-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6844
Chris@40 6845 * src/mat5.c src/common.c
Chris@40 6846 Changed usage of snprintf() to LSF_SNPRINTF().
Chris@40 6847
Chris@40 6848 * Win32/Makefile.msvc
Chris@40 6849 Updated to include new files and add new tests.
Chris@40 6850
Chris@40 6851 * Win32/config.h Win32/sndfile.h
Chris@40 6852 Updated.
Chris@40 6853
Chris@40 6854 * doc/api.html
Chris@40 6855 Added note about the possibility of "missing" features actually being
Chris@40 6856 implemented as an sf_command().
Chris@40 6857
Chris@40 6858 2002-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6859
Chris@40 6860 * tests/misc_test.c
Chris@40 6861 Added previously missing update_header_test and zero_data_tests for PAF,
Chris@40 6862 MAT4 and MAT5 formats.
Chris@40 6863
Chris@40 6864 * src/paf.c src/mat4.c src/mat5.c
Chris@40 6865 Fixed bugs uncovered by new tests above.
Chris@40 6866
Chris@40 6867 * src/mat5.c
Chris@40 6868 Generalised parsing of name fields of MAT5 files.
Chris@40 6869
Chris@40 6870 * src/mat5.c src/sndfile.c
Chris@40 6871 Added support for unsigned 8 bit PCM MAT5 files.
Chris@40 6872
Chris@40 6873 * tests/write_read_test.tpl
Chris@40 6874 Added test for unsigned 8 bit PCM MAT5 files.
Chris@40 6875
Chris@40 6876 * doc/index.html
Chris@40 6877 Added unsigned 8 bit PCM MAT5 to capabilities matrix.
Chris@40 6878
Chris@40 6879 2002-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6880
Chris@40 6881 * test/update_header_test.c tests/misc_test.c
Chris@40 6882 Renamed update_header_test.c to misc_test.c.
Chris@40 6883 Added zero_data_test() to check for case where file is opened for write and
Chris@40 6884 closed immediately. The resulting file can be left in a state where
Chris@40 6885 libsndfile cannot open it. Problem reported by Werner Schweer, the author
Chris@40 6886 of Muse.
Chris@40 6887
Chris@40 6888 * src/aiff.c
Chris@40 6889 Removed superfluous cast.
Chris@40 6890
Chris@40 6891 * src/wav.c src/svx.c
Chris@40 6892 Fixed case of file generated with no data.
Chris@40 6893 Removed superfluous cast.
Chris@40 6894
Chris@40 6895 * src/sndfile.c
Chris@40 6896 Fixed error on IA64 platform caused by incorrect termination of
Chris@40 6897 SndfileErrors struct array. This problem was found in the Debian buildd
Chris@40 6898 logs (http://buildd.debian.org/).
Chris@40 6899
Chris@40 6900 * configure.in
Chris@40 6901 Added Octave directory.
Chris@40 6902
Chris@40 6903 * Octave/Makefile.ma
Chris@40 6904 New Makfile.am for Octave directory.
Chris@40 6905
Chris@40 6906 * Octave/sndfile_load.m Octave/sndfile_save.m Octave/sndfile_play.m
Chris@40 6907 New files for working with Octave.
Chris@40 6908
Chris@40 6909 * doc/octave.html
Chris@40 6910 Document explaining the use of the above three Octave scripts.
Chris@40 6911
Chris@40 6912 2002-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6913
Chris@40 6914 * src/sndfile.c
Chris@40 6915 Fixed bug in RDWR mode.
Chris@40 6916
Chris@40 6917 2002-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6918
Chris@40 6919 * src/common.c
Chris@40 6920 Fixed psf_get_date_str() for systems which don't have gmtime_r() or
Chris@40 6921 gmtime().
Chris@40 6922
Chris@40 6923 * src/file_io.c
Chris@40 6924 Added #include <io.h> for Win32. Reported by Koen Tanghe.
Chris@40 6925
Chris@40 6926 2002-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6927
Chris@40 6928 * src/common.c
Chris@40 6929 Added 'S' format specifier for psf_binheader_writef() which writes a C
Chris@40 6930 string, including single null terminator to the header.
Chris@40 6931 Added 'j' format specifier to allow jumping forwards or backwards in the
Chris@40 6932 header.
Chris@40 6933 Added function psf_get_date_str().
Chris@40 6934
Chris@40 6935 * src/mat5.c
Chris@40 6936 Complete read and write support.
Chris@40 6937
Chris@40 6938 * doc/index.html
Chris@40 6939 Added entries for MAT4 and MAT5 in capabilities matrix.
Chris@40 6940
Chris@40 6941 2002-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6942
Chris@40 6943 * src/mat4.c
Chris@40 6944 Completed read and write support.
Chris@40 6945
Chris@40 6946 * src/common.h src/sndfile.c
Chris@40 6947 Added MAT4 and MAT5 specific error messages.
Chris@40 6948
Chris@40 6949 * tests/write_read_test.tpl tests/Makefile.am
Chris@40 6950 Added tests for MAT4 and MAT5 files.
Chris@40 6951
Chris@40 6952 * tests/stdio_test.c tests/stdout_test.c tests/stdin_test.c
Chris@40 6953 Added tests for MAT4 and MAT5 files.
Chris@40 6954
Chris@40 6955 2002-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6956
Chris@40 6957 * src/command.c
Chris@40 6958 Added elements for SF_FORMAT_MAT4 and SF_FORMAT_MAT5 to major_formats
Chris@40 6959 array.
Chris@40 6960
Chris@40 6961 * examples/sfconvert.c
Chris@40 6962 Added mat4 and mat5 output targets.
Chris@40 6963
Chris@40 6964 2002-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6965
Chris@40 6966 * src/sndfile.c
Chris@40 6967 Added check to prevent errors openning read only formats for read/write.
Chris@40 6968
Chris@40 6969 * src/interleave.c
Chris@40 6970 New file for interleaving non-interleaved data. Non-interleaved data is
Chris@40 6971 only supported on read.
Chris@40 6972
Chris@40 6973 * src/Makefile.am
Chris@40 6974 Added src/interleave.c to build.
Chris@40 6975
Chris@40 6976 2002-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6977
Chris@40 6978 * src/double64.c src/common.h
Chris@40 6979 Added double64_be_read(), double64_le_read(), double64_be_write() and
Chris@40 6980 double64_le_write() which replace double64_read() and double64_write().
Chris@40 6981
Chris@40 6982 * src/common.c
Chris@40 6983 Cleanup of psf_binheader_readf() and add ability to read big and little
Chris@40 6984 endian doubles (required by mat4.c and mat5.c).
Chris@40 6985 Add ability for psf_binheader_writef() to write doubles to sound file
Chris@40 6986 headers.
Chris@40 6987
Chris@40 6988 2002-09-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 6989
Chris@40 6990 * src/mat5.c
Chris@40 6991 New file for reading Matlab (tm) version 5 data files. This is also the
Chris@40 6992 native binary file format for version 2.1.X of GNU Octave which will be
Chris@40 6993 used for testing.
Chris@40 6994 Not complete yet.
Chris@40 6995
Chris@40 6996 * src/mat4.c
Chris@40 6997 New file for reading Matlab (tm) version 4.2 data files. This is also the
Chris@40 6998 native binary file format for version 2.0.X of GNU Octave which will be
Chris@40 6999 used for testing.
Chris@40 7000 Not complete yet.
Chris@40 7001
Chris@40 7002 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
Chris@40 7003 Mods to add Matlab files.
Chris@40 7004
Chris@40 7005 * src/common.[ch]
Chris@40 7006 Added readf_endian field to SF_PRIVATE struct allowing endianness to
Chris@40 7007 remembered across calls to sf_binheader_readf().
Chris@40 7008 Fixed bug in width_specifier behaviour for printing hex values.
Chris@40 7009
Chris@40 7010 2002-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7011
Chris@40 7012 * src/file_io.c
Chris@40 7013 Check return value of close() call in psf_fclose().
Chris@40 7014
Chris@40 7015 2002-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7016
Chris@40 7017 * src/ms_adpcm.c
Chris@40 7018 Commented out some code where 0x10000 was being subtracted from a short
Chris@40 7019 and the result assigned to a short again. Andrew Zaja found this.
Chris@40 7020
Chris@40 7021 2002-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7022
Chris@40 7023 * doc/command.html
Chris@40 7024 Fixed typo found by Tommi Ilmonen.
Chris@40 7025
Chris@40 7026 * src/ima_adpcm.c
Chris@40 7027 Changed type of diff from short to int to prevent errors which can occur
Chris@40 7028 during very rare circumstances. Thanks to FUWAFUWA.
Chris@40 7029
Chris@40 7030 2002-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7031
Chris@40 7032 * tests/floating_point_test.c
Chris@40 7033 Disable testing on machines without lrintf().
Chris@40 7034
Chris@40 7035 * Win32/Makefile.msvc
Chris@40 7036 Added dwd.c and wve.c to build.
Chris@40 7037
Chris@40 7038 * configure.in
Chris@40 7039 Bumped version to 1.0.0.
Chris@40 7040
Chris@40 7041 2002-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7042
Chris@40 7043 * src/file_io.c
Chris@40 7044 Add a #include for Mac OS 9. Thanks to Stephane Letz.
Chris@40 7045
Chris@40 7046 * src/wav.c
Chris@40 7047 Changed an snprintf to LSF_SNPRINTF.
Chris@40 7048
Chris@40 7049 * doc/Makefile.am
Chris@40 7050 Added version-1.html.
Chris@40 7051
Chris@40 7052 2002-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7053
Chris@40 7054 * configure.in
Chris@40 7055 Bumped version to 1.0.rc6.
Chris@40 7056
Chris@40 7057 * src/*.c
Chris@40 7058 Modified scaling of normalised floats and doubles to integers. Until now
Chris@40 7059 this has been done by multiplying by 0x8000 for short output, 0x80000000
Chris@40 7060 for 32 bit ints and so on. Unfortunately this can cause an overflow and
Chris@40 7061 wrap around in the target value. All thes values have therefore been
Chris@40 7062 reduced to 0x7FFF, 0x7FFFFFFF and so on. The conversion from ints to
Chris@40 7063 normalised floats and doubles remains unchanged. This does mean that for
Chris@40 7064 repeated conversions normalised float -> pcm16 -> normalised float would
Chris@40 7065 result in a decrease in amplitude of 0x7FFF/0x8000 on every round trip.
Chris@40 7066 This is undesirable but less undesireable than the wrap around I am trying
Chris@40 7067 to avoid.
Chris@40 7068
Chris@40 7069 * tests/floating_point_test.c
Chris@40 7070 Removed file hash checking because new float scaling procedure introduced
Chris@40 7071 above prevented the ability to crate a has on both x86 and PowerPC systems.
Chris@40 7072
Chris@40 7073 2002-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7074
Chris@40 7075 * src/txw.c
Chris@40 7076 Completed reading of TXW files. Seek doesn't work yet.
Chris@40 7077
Chris@40 7078 * src/file_io.c
Chris@40 7079 Added a MacOS 9 replacement for ftruncate().
Chris@40 7080
Chris@40 7081 * MacOS/sndfile.h
Chris@40 7082 Added MacOS 9 header file. This should be copied into src/ to compile
Chris@40 7083 libsndfile for MacOS9.
Chris@40 7084
Chris@40 7085 2002-08-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7086
Chris@40 7087 * src/sndfile.c
Chris@40 7088 Fixed commands SF_SET_NORM_DOUBLE and SFC_SET_NORM_FLOAT to return their
Chris@40 7089 values after being set. Reported by Jussi Laako.
Chris@40 7090
Chris@40 7091 * configure.in
Chris@40 7092 If autogen is not found, touch all .c and .h files in tests/.
Chris@40 7093
Chris@40 7094 * src/common.c
Chris@40 7095 Added format width specifier to psf_log_printf() for %u, %d, %D and %X.
Chris@40 7096
Chris@40 7097 * src/dwd.c
Chris@40 7098 Completed implementation of read only access to these files.
Chris@40 7099
Chris@40 7100 * src/common.h src/*.c src/pcm.c
Chris@40 7101 Removed redundant field chars from SF_PRIVATE struct and modified
Chris@40 7102 pcm_init() to do without it.
Chris@40 7103
Chris@40 7104 2002-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7105
Chris@40 7106 * src/wve.c
Chris@40 7107 New file implementing read of Psion Alaw files. This will be a read only
Chris@40 7108 format. Implementation complete.
Chris@40 7109
Chris@40 7110 * src/dwd/c
Chris@40 7111 Started implementation of DiamondWare Digitized files. Also read only, not
Chris@40 7112 complete.
Chris@40 7113
Chris@40 7114 * src/wav.c
Chris@40 7115 Add parsing of 'smpl' chunk.
Chris@40 7116
Chris@40 7117 * src/paf.c
Chris@40 7118 Fixed reading on un-normalized doubles and floats from 24 bit PAF files.
Chris@40 7119 This brings it into line with the reading of 8 bit files into
Chris@40 7120 un-normalized doubles which returns values in the range [-128, 127].
Chris@40 7121
Chris@40 7122 * src/common.c
Chris@40 7123 Modified psf_log_printf() to accept the %% conversion specifier to allow
Chris@40 7124 printing of a single '%'.
Chris@40 7125
Chris@40 7126 * src/sds.c
Chris@40 7127 Read only of 16 bit samples is working. Need to build a test harness for
Chris@40 7128 this and other read only formats.
Chris@40 7129
Chris@40 7130 2002-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7131
Chris@40 7132 * configure.in
Chris@40 7133 Added --enable-experimental configure option.
Chris@40 7134 Removed pkg-config message at the end of the configure process.
Chris@40 7135
Chris@40 7136 * src/sds.c src/txw.c src/rx2.c src/sd2.c
Chris@40 7137 Moved all the code in these files inside #if ENABLE_EXPERIMENTAL_CODE
Chris@40 7138 blocks and added new *_open() function for the case where experimental is
Chris@40 7139 not enabled. These new functions just return SFE_UNIMPLMENTED.
Chris@40 7140
Chris@40 7141 * Win32/sndfile.h src/sndfile.h.in src/common.h
Chris@40 7142 Removed un-necessary #pragma pack commands.
Chris@40 7143
Chris@40 7144 * src/file_io.c
Chris@40 7145 Implemented psf_ftruncate() and much other hacking for Win32.
Chris@40 7146
Chris@40 7147 * Win32/Makefile.msvc
Chris@40 7148 Updated.
Chris@40 7149
Chris@40 7150 * doc/win32.html
Chris@40 7151 Updated to include the copying of the sndfile.h file from the Win32/
Chris@40 7152 directory to the src/ directory.
Chris@40 7153
Chris@40 7154 * Make.bat
Chris@40 7155 Batch file to make compiling on Wi32 a little easier. Implements "make" and
Chris@40 7156 "make check".
Chris@40 7157
Chris@40 7158 2002-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7159
Chris@40 7160 * src/file_io.c
Chris@40 7161 Add place holder for ftruncate() on Win32 which doesn't have ftruncate().
Chris@40 7162 This will need to be fixed later.
Chris@40 7163
Chris@40 7164 * src/sndfile.h.in
Chris@40 7165 New file (copy of sndfile.h) with sets up @TYPEOF_SF_COUNT_T@ which will be
Chris@40 7166 replaced by the correct type during configure.
Chris@40 7167
Chris@40 7168 * configure.in
Chris@40 7169 Modified to find a good type for TYPEOF_SF_COUNT_T.
Chris@40 7170
Chris@40 7171 * src/aiff.c
Chris@40 7172 Fixed a bug when reading malformed headers.
Chris@40 7173
Chris@40 7174 * src/common.c
Chris@40 7175 Set read values to zero before performing read.
Chris@40 7176
Chris@40 7177 2002-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7178
Chris@40 7179 * doc/command.html
Chris@40 7180 Fixed some HTML tags which were not allowing jumps to links within the
Chris@40 7181 page.
Chris@40 7182
Chris@40 7183 * src/sds.c
Chris@40 7184 Massive hacking on this.
Chris@40 7185
Chris@40 7186 * src/wav.c
Chris@40 7187 Added recognition of 'clm ' tag.
Chris@40 7188
Chris@40 7189 2002-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7190
Chris@40 7191 * doc/index.html
Chris@40 7192 Added beginning of a capabilities list beyond simple file formats which
Chris@40 7193 can be read/written.
Chris@40 7194
Chris@40 7195 * src/aiff.c
Chris@40 7196 Added parsing of INST and MARK chunks of AIFF files. At the moment this
Chris@40 7197 data is simply recorded in the log buffer. Later it will be possible to
Chris@40 7198 read this data from an application using sf_command().
Chris@40 7199
Chris@40 7200 * src/wav.c
Chris@40 7201 Added parsing of 'cue ' chunk which contains loop information in WAV files.
Chris@40 7202
Chris@40 7203 * exampes/sndfile-info.c
Chris@40 7204 Changed reporting of Samples to Frames.
Chris@40 7205
Chris@40 7206 * src/wav.c src/w64.c src/aiff.c src/wav_w64.h
Chris@40 7207 Moved from a samples to a frames nomenclature to avoid confusion.
Chris@40 7208
Chris@40 7209 * doc/FAQ.html
Chris@40 7210 What's the best format for storing temporary files?
Chris@40 7211
Chris@40 7212 * src/sds.c
Chris@40 7213 New file for reading/writing Midi Sample Dump Standard files.
Chris@40 7214
Chris@40 7215 * src/Makefile.am src/sndfile.c src/common.[ch]
Chris@40 7216 Added hooks for sds.c.
Chris@40 7217
Chris@40 7218 * examples/sndfile-info.c
Chris@40 7219 Changed from using sf_perror() to using sf_error_str().
Chris@40 7220
Chris@40 7221 2002-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7222
Chris@40 7223 * doc/api.html
Chris@40 7224 Added explanation of mode parameter for sf_open().
Chris@40 7225 Added explanation of usage of SFM_* values in sf_seek().
Chris@40 7226
Chris@40 7227 * src/sndfile.[ch] src/command.c src/file_io.c src/common.h
Chris@40 7228 Implemented SFC_FILE_TRUNCATE to allow a file to be truncated. File
Chris@40 7229 truncation was suggested by James McCartney.
Chris@40 7230
Chris@40 7231 * src/command.html
Chris@40 7232 Documented SFC_FILE_TRUNCATE.
Chris@40 7233
Chris@40 7234 * tests/command_test.c
Chris@40 7235 Add tests for SFC_FILE_TRUNCATE.
Chris@40 7236
Chris@40 7237 * src/sndfile.c
Chris@40 7238 Added a thrid parameter to the VALIDATE_SNDFILE_AND_ASSIGN_PSF macro to
Chris@40 7239 make resetting the error number optional. All uses of the macro other than
Chris@40 7240 in error reporting functions were changed to reset the error number.
Chris@40 7241
Chris@40 7242 * src/pcm.c
Chris@40 7243 Fixed a bug were sf_read_* was logging an SFE_SHORT_READ even when no error
Chris@40 7244 occurred.
Chris@40 7245
Chris@40 7246 * tests/write_read_test.tpl
Chris@40 7247 Added tests of internal error state.
Chris@40 7248
Chris@40 7249 2002-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7250
Chris@40 7251 * src/GSM610/private.h src/GSM610/*.c src/GSM610/Makefile.am
Chris@40 7252 Renamed private.h to gsm610_priv.h to prevent clash with other headers
Chris@40 7253 named private.h in other directories. (Probably only a problem on MacOS 9).
Chris@40 7254
Chris@40 7255 * src/G72x/private.h src/G72x/*.c src/G72x/Makefile.am
Chris@40 7256 Renamed private.h to g72x_priv.h to prevent clash with other headers
Chris@40 7257 named private.h in other directories. (Probably only a problem on MacOS 9).
Chris@40 7258
Chris@40 7259 * MacOS/config.h
Chris@40 7260 Changed values of HAVE_LRINT and HAVE_LRINTF to force use of code in
Chris@40 7261 float_cash.h.
Chris@40 7262
Chris@40 7263 * src/sndfile.h
Chris@40 7264 Changes the name of samples field of the SF_INFO to frames. The old name
Chris@40 7265 had caused too much confusion and it simply had to be changed. There will
Chris@40 7266 be at least one more pre-release.
Chris@40 7267
Chris@40 7268 2002-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7269
Chris@40 7270 * doc/index.html
Chris@40 7271 Updated formats matrix to include RAW (header-less) GSM 6.10.
Chris@40 7272 Fix specificaltion of table and spelling mistakes.
Chris@40 7273
Chris@40 7274 * src/sndfile.c src/command.c
Chris@40 7275 Fixed bug in SFC_CALC_MAX_SIGNAL family and psf_calc_signal_max ().
Chris@40 7276
Chris@40 7277 * tests/command.c
Chris@40 7278 Removed cruft.
Chris@40 7279 Added test for SFC_CALC_MAX_SIGNAL and SFC_CALC_NORM_MAX_SIGNAL.
Chris@40 7280
Chris@40 7281 * configure.in
Chris@40 7282 Update version to 1.0.0rc5.
Chris@40 7283
Chris@40 7284 * sfendian.h
Chris@40 7285 Removed inclusion of un-necessary header.
Chris@40 7286
Chris@40 7287 2002-08-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7288
Chris@40 7289 * src/aiff.c
Chris@40 7290 Minor fixes of info written to log buffer.
Chris@40 7291
Chris@40 7292 * src/float_cast.h
Chris@40 7293 Add definition of HAVE_LRINT_REPLACEMENT.
Chris@40 7294
Chris@40 7295 * tests/floating_point_test.c
Chris@40 7296 Fix file hash check on systems without lrint/lrintf.
Chris@40 7297
Chris@40 7298 * tests/dft_cmp.c
Chris@40 7299 Limit SNR to less than -500.0dB.
Chris@40 7300
Chris@40 7301 * examples/sndfile2oct.c
Chris@40 7302 Fixed compiler warnings.
Chris@40 7303
Chris@40 7304 * doc/api.html
Chris@40 7305 Fixed error where last parameter of sf_error_str() was sf_count_t instead
Chris@40 7306 of size_t.
Chris@40 7307
Chris@40 7308 2002-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7309
Chris@40 7310 * doc/FAQ.html
Chris@40 7311 Why doesn't libsndfile do interleaving/de-interleaving.
Chris@40 7312
Chris@40 7313 * tests/pcm_test.tpl
Chris@40 7314 On Win32 do not perform hash check on files containing doubles.
Chris@40 7315
Chris@40 7316 2002-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7317
Chris@40 7318 * src/common.h
Chris@40 7319 Defined SF_COUNT_MAX_POSITIVE() macro, a portable way of setting variables
Chris@40 7320 of type sf_count_t to their maximum positive value.
Chris@40 7321
Chris@40 7322 * src/dwvw.c src/w64.c
Chris@40 7323 Used SF_COUNT_MAX_POSITIVE().
Chris@40 7324
Chris@40 7325 2002-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7326
Chris@40 7327 * src/paf.c
Chris@40 7328 Fixed bug in reading/writing of 24 bit PCM PAF files on big endian systems.
Chris@40 7329
Chris@40 7330 * tests/floating_point_tests.c
Chris@40 7331 Fixed hash values for 24 bit PCM PAF files.
Chris@40 7332 Disabled file has check if lrintf() function is not available and added
Chris@40 7333 warning.
Chris@40 7334 Decreased level of signal from a peak of 1.0 to a value of 0.95 to prevent
Chris@40 7335 problems on platforms without lrintf() ie Solaris.
Chris@40 7336
Chris@40 7337 2002-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7338
Chris@40 7339 * src/wav.c
Chris@40 7340 Fixed a problem with two different kinds of mal-formed WAV file header. The
Chris@40 7341 first had the 'fact' chunk before the 'fmt ' chunk, the other had an
Chris@40 7342 incomplete 'INFO' chunk at the end of the file.
Chris@40 7343
Chris@40 7344 * src/w64.c
Chris@40 7345 Added fix to allow differentiation between W64 files and ACID files.
Chris@40 7346
Chris@40 7347 * src/au_g72x.c src/common.h src/sndfile.c
Chris@40 7348 Added error for G72x encoded files with more than one channel.
Chris@40 7349
Chris@40 7350 * tests/pcm_test.tpl tests/utils.tpl
Chris@40 7351 Moved function check_file_hash_or_die() to utils.tpl. Function was then
Chris@40 7352 modified to calculate the has of the whole file.
Chris@40 7353
Chris@40 7354 * src/wav.c
Chris@40 7355 Fixed problem writing the 'fact' chunk on big endian systems.
Chris@40 7356
Chris@40 7357 * tests/sfconvert.c
Chris@40 7358 Fixed bug where .paf files were being written as Sphere NIST.
Chris@40 7359
Chris@40 7360 2002-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7361
Chris@40 7362 * src/voc.c
Chris@40 7363 Fix for reading headers generated using SFC_UPDATE_HEADER_NOW.
Chris@40 7364
Chris@40 7365 * doc/command.html
Chris@40 7366 Add docs for SFC_UPDATE_HEADER_NOW and SFC_SET_UPDATE_HEADER_AUTO.
Chris@40 7367
Chris@40 7368 2002-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7369
Chris@40 7370 * man/sndfile-info.1 man/sndfile-play.1
Chris@40 7371 Added manpages supplied by Joshua Haberman the Debian maintainer for
Chris@40 7372 libsndfile. Additional tweaks by me.
Chris@40 7373
Chris@40 7374 * configure.in man/Makefile.am
Chris@40 7375 Hooked manpages into autoconf/automake system.
Chris@40 7376
Chris@40 7377 * src/sndfile.c
Chris@40 7378 Added hooks for SFC_SET_UPDATE_HEADER_AUTO.
Chris@40 7379
Chris@40 7380 * tests/update_header_test.c
Chris@40 7381 Improved rigor of testing.
Chris@40 7382
Chris@40 7383 * src/*.c
Chris@40 7384 Fixed problem with *_write_header() functions.
Chris@40 7385
Chris@40 7386 2002-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7387
Chris@40 7388 * doc/*.html
Chris@40 7389 Updates to documentation to fix problems found by wdg-html-validator.
Chris@40 7390
Chris@40 7391 * src/common.h src/command.c
Chris@40 7392 Added normalize parameter to calls to psf_calc_signal_max() and
Chris@40 7393 psf_calc_max_all_channels().
Chris@40 7394
Chris@40 7395 * src/sndfile.c
Chris@40 7396 Added handling for commands SFC_CALC_NORM_SIGNAL_MAX and
Chris@40 7397 SFC_CALC_NORM_MAX_ALL_CHANNELS.
Chris@40 7398
Chris@40 7399 * doc/command.html
Chris@40 7400 Added entry for SFC_CALC_NORM_SIGNAL_MAX and SFC_CALC_NORM_MAX_ALL_CHANNELS.
Chris@40 7401
Chris@40 7402 2002-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7403
Chris@40 7404 * examples/sndfile-play.c Win32/Makefile.msvc
Chris@40 7405 Get sndfile-play program working on Win32. The Win32 PCM sample I/O API
Chris@40 7406 sucks. The sndfile-play program now works on Linux, MacOSX, Solaris and
Chris@40 7407 Win32.
Chris@40 7408
Chris@40 7409 2002-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7410
Chris@40 7411 * doc/FAQ.html
Chris@40 7412 New file for frequently asked questsions.
Chris@40 7413
Chris@40 7414 2002-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7415
Chris@40 7416 * doc/api.html
Chris@40 7417 Documentation fixes.
Chris@40 7418
Chris@40 7419 * src/au.[ch] src/au_g72x.c src/G72x/g72x.h
Chris@40 7420 Add support of 40kbps G723 ADPCM encoding.
Chris@40 7421
Chris@40 7422 * tests/lossy_comp_test.c tests/floating_point_test.c
Chris@40 7423 Add tests for 40kbps G723 ADPCM encoding.
Chris@40 7424
Chris@40 7425 * doc/index.html
Chris@40 7426 Update support matrix.
Chris@40 7427
Chris@40 7428 2002-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7429
Chris@40 7430 * doc/command.html
Chris@40 7431 Documented SFC_GET_SIMPLE_FORMAT_COUNT, SFC_GET_SIMPLE_FORMAT,
Chris@40 7432 SFC_GET_FORMAT_* and SFC_SET_ADD_PEAK_CHUNK.
Chris@40 7433
Chris@40 7434 * src/sndfile.c src/pcm.c
Chris@40 7435 Add ability to turn on and off the addition of a PEAK chunk for floating
Chris@40 7436 point WAV and AIFF files.
Chris@40 7437
Chris@40 7438 * src/sndfile.[ch] src/common.h src/command.c
Chris@40 7439 Added sf_command SFC_CALC_MAX_ALL_CHANNELS. Implemented by Maurizio Umberto
Chris@40 7440 Puxeddu.
Chris@40 7441
Chris@40 7442 * doc/command.html
Chris@40 7443 Docs for SFC_CALC_MAX_ALL_CHANNELS (assisted by Maurizio Umberto Puxeddu).
Chris@40 7444
Chris@40 7445 2002-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7446
Chris@40 7447 * src/sndfile.c src/gsm610.c
Chris@40 7448 Finalised support for GSM 6.10 AIFF files and added support for GSM 6.10
Chris@40 7449 encoded RAW (header-less) files.
Chris@40 7450
Chris@40 7451 * src/wav.c
Chris@40 7452 Add support for IBM_FORMAT_MULAW and IBM_FORMAT_ALAW encodings.
Chris@40 7453
Chris@40 7454 * src/api.html
Chris@40 7455 Fixed more documentation bugs.
Chris@40 7456
Chris@40 7457 2002-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7458
Chris@40 7459 * src/sndfile.h src/common.h
Chris@40 7460 Moved some yet-to-be-implelmented values for SF_FORMAT_* from the public
Chris@40 7461 header file sndfile.h to the private header file common.h to avoid
Chris@40 7462 confusion about the actual capabilities of libsndfile.
Chris@40 7463
Chris@40 7464 2002-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7465
Chris@40 7466 * src/aiff.c src/wav.c
Chris@40 7467 Fixed file parsing for WAV and AIFF files containing non-audio data after
Chris@40 7468 the data chunk.
Chris@40 7469
Chris@40 7470 * src/aiff.c src/sndfile.c
Chris@40 7471 Add support for GSM 6.10 encoded AIFF files.
Chris@40 7472
Chris@40 7473 * tests/lossy_comp_test.c tests/Makefile.am
Chris@40 7474 Add tests for GSM 6.10 encoded AIFF files.
Chris@40 7475
Chris@40 7476 * src/*.c
Chris@40 7477 Fix compiler warnings.
Chris@40 7478
Chris@40 7479 2002-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7480
Chris@40 7481 * tests/command_test.c
Chris@40 7482 For SFC_SET_NORM_* tests, change the file format from SF_FORMAT_WAV to
Chris@40 7483 SF_FORMAT_RAW.
Chris@40 7484
Chris@40 7485 * src/sndfile.c
Chris@40 7486 Added sf_command(SFC_TEST_ADD_TRAILING_DATA) to allow testing of reading
Chris@40 7487 from AIFF and WAV files with non-audio data after the audio chunk.
Chris@40 7488
Chris@40 7489 * src/common.h
Chris@40 7490 Add test commands SFC_TEST_WAV_ADD_INFO_CHUNK and
Chris@40 7491 SFC_TEST_AIFF_ADD_INST_CHUNK. When these commands are working, they will be
Chris@40 7492 moved to src/sndfile.h
Chris@40 7493
Chris@40 7494 * src/aiff.c src/wav.c
Chris@40 7495 Begin implementation of XXXX_command() hook for sf_command().
Chris@40 7496
Chris@40 7497 * tests/write_read_test.tpl
Chris@40 7498 Added sf_command (SFC_TEST_ADD_TRAILING_DATA) to ensure above new code was
Chris@40 7499 working.
Chris@40 7500
Chris@40 7501 2002-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7502
Chris@40 7503 * tests/update_header_test.c
Chris@40 7504 Allow read sample count == write sample count - 1 to fix problems with VOC
Chris@40 7505 files.
Chris@40 7506
Chris@40 7507 * tests/write_read_test.tpl tests/pcm_test.tpl
Chris@40 7508 Fixed some problems in the test suite discovered by using Valgrind.
Chris@40 7509
Chris@40 7510 2002-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7511
Chris@40 7512 * tests/utils.[ch] tests/*.c
Chris@40 7513 Renamed check_log_buffer() to check_log_buffer_or_die().
Chris@40 7514
Chris@40 7515 * src/sndfile.c
Chris@40 7516 SFC_UPDATE_HEADER_NOW and SFC_SETUPDATE_HEADER_AUTO almost finished. Works
Chris@40 7517 for all file formats other than VOC.
Chris@40 7518
Chris@40 7519 2002-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7520
Chris@40 7521 * src/sndfile.[ch] src/common.h
Chris@40 7522 Started adding functionality to allow the file header to be updated before
Chris@40 7523 the file is closed on files open for SFM_WRITE. This was requested by
Chris@40 7524 Maurizio Umberto Puxeddu who is using libsndfile for file I/O in iCSound.
Chris@40 7525
Chris@40 7526 * tests/update_header_test.c
Chris@40 7527 New test program to test that the above functionality is working correctly.
Chris@40 7528
Chris@40 7529 * tests/peak_chunk_test.c tests/floating_point_test.c
Chris@40 7530 Cleanups.
Chris@40 7531
Chris@40 7532 2002-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7533
Chris@40 7534 * src/sfendian.[ch]
Chris@40 7535 Changed length count parameters for all endswap_XXX() functions from
Chris@40 7536 sf_count_t (which can be 64 bit even on 32 bit architectures) to int. These
Chris@40 7537 functions are only called frin inside the library, are always called with
Chris@40 7538 integer parameters and doing the actual calculation on 64 bit values is
Chris@40 7539 slow in comparision to doing it on ints.
Chris@40 7540
Chris@40 7541 * examples/sndfile-play.c
Chris@40 7542 More playback hacking for Win32.
Chris@40 7543
Chris@40 7544 2002-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7545
Chris@40 7546 * src/common.c
Chris@40 7547 In psf_log_printf(), changed %D format conversion specifier to %M (marker) and
Chris@40 7548 added %D specifier for printing the sf_count_t type.
Chris@40 7549
Chris@40 7550 * src/*.c
Chris@40 7551 Changed all usage of psf_log_printf() with %D format conversion specifiers
Chris@40 7552 to use %M conversion instead.
Chris@40 7553
Chris@40 7554 * tests/pcm_test.tpl tests/pcm_test.def
Chris@40 7555 New files to autogen pcm_test.c.
Chris@40 7556
Chris@40 7557 * src/pcm.c
Chris@40 7558 Fixed bug in scaling floats and doubles to 24 bit PCM and vice versa.
Chris@40 7559
Chris@40 7560 2002-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7561
Chris@40 7562 * configure.in
Chris@40 7563 Fix setup of $ac_cv_sys_largefile_CFLAGS so that sndfile.pc gets valid
Chris@40 7564 values for CFLAGS.
Chris@40 7565
Chris@40 7566 * examples/sndfile-play.c
Chris@40 7567 Start adding playback support for Win32.
Chris@40 7568
Chris@40 7569 2002-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7570
Chris@40 7571 * src/*.c
Chris@40 7572 Worked to removed compiler warnings.
Chris@40 7573 Extensive refactoring.
Chris@40 7574
Chris@40 7575 * src/common.[ch]
Chris@40 7576 Added function psf_memset() which works like the standard C function memset
Chris@40 7577 but takes and sf_count_t as the length parameter.
Chris@40 7578
Chris@40 7579 * src/sndfile.c
Chris@40 7580 Replaced calls to memset(0 with calls to psf_memset() as required.
Chris@40 7581
Chris@40 7582 2002-07-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7583
Chris@40 7584 * src/sndfile.c
Chris@40 7585 Added "libsndfile : " to the start of all error messages. This was suggested
Chris@40 7586 by Conrad Parker author of Sweep ( http://sweep.sourceforge.net/ ).
Chris@40 7587
Chris@40 7588 * src/sfendian.[ch]
Chris@40 7589 Added endswap_XXXX_copy() functions.
Chris@40 7590
Chris@40 7591 * src/pcm.c src/float32.c src/double64.c
Chris@40 7592 Use endswap_XXXX_copy() functions and removed dead code.
Chris@40 7593 Cleanups and optimisations.
Chris@40 7594
Chris@40 7595 2002-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7596
Chris@40 7597 * src/sndfile.c src/sndfile.h
Chris@40 7598 Gave values to all the SFC_* enum values to allow better control of the
Chris@40 7599 interface as commands are added and removed.
Chris@40 7600 Added new command SFC_SET_ADD_PEAK_CHUNK.
Chris@40 7601
Chris@40 7602 * src/wav.c src/aiff.c
Chris@40 7603 Modified wav_write_header and aiff_write_header to make addition of a PEAK
Chris@40 7604 chunk optional, even on floating point files.
Chris@40 7605
Chris@40 7606 * tests/benchmark.tpl
Chris@40 7607 Added call to sf_command(SFC_SET_ADD_PEAK_CHUNK) to turn off addition of a
Chris@40 7608 PEAK chunk for the benchmark where we are trying to miximize speed.
Chris@40 7609
Chris@40 7610 * src.pcm.c
Chris@40 7611 Changed tribyte typedef to something more sensible.
Chris@40 7612 Further conversion speed ups.
Chris@40 7613
Chris@40 7614 2002-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7615
Chris@40 7616 * src/command.c
Chris@40 7617 In major_formats rename "Sphere NIST" to "NIST Sphere".
Chris@40 7618
Chris@40 7619 * src/common.c src/sfendian.c
Chris@40 7620 Moved all endswap_XXX_array() functions to sfendian.c. These functions will
Chris@40 7621 be tweaked to provide maximum performance. Since maximum performance on one
Chris@40 7622 platform does not guarantee maximum performance on another, a small set of
Chris@40 7623 functions will be written and the optimal one chosen at compile time.
Chris@40 7624
Chris@40 7625 * src/common.h src/sfendian.h
Chris@40 7626 Declarations of all endswap_XXX_array() functions moved to sfendian.h.
Chris@40 7627
Chris@40 7628 * src/Makefile.am
Chris@40 7629 Add sfendian.c to build targets.
Chris@40 7630
Chris@40 7631 2002-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7632
Chris@40 7633 * src/pcm.c src/sfendian.h
Chris@40 7634 Re-coded PCM encoders and decoders to match or better the speed of
Chris@40 7635 libsndfile version 0.0.28.
Chris@40 7636
Chris@40 7637 2002-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7638
Chris@40 7639 * src/wav.c
Chris@40 7640 Add checking for WAVPACK data in standard PCM WAV file. Return error if
Chris@40 7641 found. This WAVPACK is *WAY* broken. It uses the same PCM WAV file header
Chris@40 7642 and then stores non-PCM data.
Chris@40 7643
Chris@40 7644 * tests/benchmark.tpl
Chris@40 7645 Added more tests.
Chris@40 7646
Chris@40 7647 2002-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7648
Chris@40 7649 * tests/benchmark.tpl
Chris@40 7650 Added conditional definition of M_PI.
Chris@40 7651 For Win32, set WRITE_PERMS to 0777.
Chris@40 7652
Chris@40 7653 * Win32/Makefile.msvc
Chris@40 7654 Added target to make generate program on Win32.
Chris@40 7655
Chris@40 7656 * src/samplitude.c
Chris@40 7657 Removed handler for Samplitude RAP file format. This file type seems rarer
Chris@40 7658 than hens teeth and is completely undocumented.
Chris@40 7659
Chris@40 7660 * src/common.h src/sndfile.c src/Makefile.am Win32/Makefile.msvc
Chris@40 7661 Removed references to sampltiude RAP format.
Chris@40 7662
Chris@40 7663 * tests/benchmark.tpl
Chris@40 7664 Benchmark program now prints the libsndfile version number when run. This
Chris@40 7665 program was also backported to version 0 to compare results. Version
Chris@40 7666 1.0.0rc2 is faster than version 0.0.28 on most conversions but slower on
Chris@40 7667 some. The slow ones need to be fixed before final release.
Chris@40 7668
Chris@40 7669 2002-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7670
Chris@40 7671 * tests/benchmark.def tests/benchmark.tpl
Chris@40 7672 New files which generate tests/benchmark.c using Autogen. Added int ->
Chris@40 7673 SF_FORMAT_PCM_24 test.
Chris@40 7674
Chris@40 7675 * tests/benchmark.c
Chris@40 7676 Now and Autogen output file.
Chris@40 7677
Chris@40 7678 * tests/Makefile.am
Chris@40 7679 Updated for above changes.
Chris@40 7680
Chris@40 7681 2002-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7682
Chris@40 7683 * tests/benchmark.c
Chris@40 7684 Basic benchmark program complete. Need to convert it to Autogen.
Chris@40 7685
Chris@40 7686 * Win32/Makefile.msvc
Chris@40 7687 Added benchmark.exe target.
Chris@40 7688
Chris@40 7689 2002-06-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7690
Chris@40 7691 * examples/generate.c
Chris@40 7692 New program to generate a number of different output file formats from a
Chris@40 7693 single input file. This allows testing of the created files.
Chris@40 7694
Chris@40 7695 * tests/benchmark.c
Chris@40 7696 New test program to benchmark libsndfile. Nowhere near complete yet.
Chris@40 7697
Chris@40 7698 * examples/Makefile.am tests/Makefile.am
Chris@40 7699 New make rules for the two new programs.
Chris@40 7700
Chris@40 7701 2002-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7702
Chris@40 7703 * Win32/libsndfile.def
Chris@40 7704 Removed definition for sf_signal_max().
Chris@40 7705
Chris@40 7706 * src/sndfile.c
Chris@40 7707 Removed cruft.
Chris@40 7708
Chris@40 7709 * doc/index.html
Chris@40 7710 A number of documentation bugs were fixed. Thanks to Anand Kumria.
Chris@40 7711
Chris@40 7712 * doc/version-1.html
Chris@40 7713 Minor doc updates.
Chris@40 7714
Chris@40 7715 * configure.in
Chris@40 7716 Bumped version to 1.0.0rc2.
Chris@40 7717
Chris@40 7718 * src/sf_command.h src/Makefile.am
Chris@40 7719 Removed the header file as it was no longer being used. Thanks to Anand
Chris@40 7720 Kunria for spotting this.
Chris@40 7721
Chris@40 7722 * doc/index.html
Chris@40 7723 A number of documentation bugs were fixed. Thanks to Anand Kumria.
Chris@40 7724
Chris@40 7725 2002-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7726
Chris@40 7727 * src/common.h
Chris@40 7728 Test for Win32 before testing SIZEOF_OFF_T so that it works correctly
Chris@40 7729 on Win32..
Chris@40 7730
Chris@40 7731 * src/file_io.c
Chris@40 7732 Win32 fixes to ensure O_BINARY is used for file open.
Chris@40 7733
Chris@40 7734 * doc/win32.html
Chris@40 7735 New file documenting the building libsndfile on Win32.
Chris@40 7736
Chris@40 7737 * doc/*.html
Chris@40 7738 Updating of documentation.
Chris@40 7739
Chris@40 7740 2002-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7741
Chris@40 7742 * tests/pcm_test.c
Chris@40 7743 Minor changes to allow easier determination of test file name.
Chris@40 7744
Chris@40 7745 * src/sndfile.[ch]
Chris@40 7746 Removed function sf_signal_max().
Chris@40 7747
Chris@40 7748 * examples/sndfile-play.c
Chris@40 7749 Changed call to sf_signal_max() to a call to sf_command().
Chris@40 7750
Chris@40 7751 2002-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7752
Chris@40 7753 * src/format.c src/command.c
Chris@40 7754 Renamed format.c to command.c which will now include code for sf_command()
Chris@40 7755 calls to perform operations other than format commands.
Chris@40 7756
Chris@40 7757 * src/sndfile.c src/sndfile.h
Chris@40 7758 Removed function sf_get_signal_max() which is replaced by commands passed
Chris@40 7759 to sf_command().
Chris@40 7760
Chris@40 7761 * src/command.c
Chris@40 7762 Implement commands SFC_CALC_SIGNAL_MAX.
Chris@40 7763
Chris@40 7764 * doc/command.html
Chris@40 7765 Documented SFC_CALC_SIGNAL_MAX.
Chris@40 7766
Chris@40 7767 2002-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7768
Chris@40 7769 * examples/sndfile-play.c
Chris@40 7770 Mods to make sndfile-play work on Solaris. The program sndfile-play now
Chris@40 7771 runs on Linux, MaxOSX and Solaris. Win32 to come.
Chris@40 7772
Chris@40 7773 * src/format.c
Chris@40 7774 Added SF_FORMAT_DWVW_* to subtype_formats array.
Chris@40 7775
Chris@40 7776 * src/nist.c
Chris@40 7777 Added support for 8 bit NIST Sphere files. Example file supplied by Anand
Chris@40 7778 Kumria.
Chris@40 7779
Chris@40 7780 2002-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7781
Chris@40 7782 * examples/sndfile-info.c
Chris@40 7783 Tidy up of output format.
Chris@40 7784
Chris@40 7785 * examnples/sndfile-play.c
Chris@40 7786 Mods to make sndfile-play work on MacOSX using Apple's CoreAudio API.
Chris@40 7787
Chris@40 7788 * configure.in
Chris@40 7789 Add new variables OS_SPECIFIC_INCLUDES and OS_SPECIFIC_LINKS which were
Chris@40 7790 required to supply extra include paths and link parameters to get
Chris@40 7791 sndfile-play working on MacOSX.
Chris@40 7792
Chris@40 7793 * examples/Makefile.am
Chris@40 7794 Use OS_SPOECIFIC_INCLUDES and OS_SPECIFIC_LINKS to build commands for
Chris@40 7795 sndfile-play.
Chris@40 7796
Chris@40 7797 2002-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7798
Chris@40 7799 * src/nist.c
Chris@40 7800 Added ability to read/write new NIST Sphere file types (A-law, u-law).
Chris@40 7801 Header parser was re-written from scratch. Example files supplied by Anand
Chris@40 7802 Kumria.
Chris@40 7803
Chris@40 7804 * src/sndfile.c
Chris@40 7805 Support for A-law and u-law NIST files.
Chris@40 7806
Chris@40 7807 * tests/Makefile.am tests/lossy_comp_test.c
Chris@40 7808 Tests for A-law and u-law NIST files.
Chris@40 7809
Chris@40 7810 2002-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7811
Chris@40 7812 * tests/utils.c
Chris@40 7813 Fixed an error in error string.
Chris@40 7814
Chris@40 7815 2002-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7816
Chris@40 7817 * acinclude.m4
Chris@40 7818 Removed exit command to allow cross-compiling.
Chris@40 7819
Chris@40 7820 * Win32/unistd.h src/file_io.c
Chris@40 7821 Moved contents of first file into the second file (enclosed in #ifdef).
Chris@40 7822 Win32/unistd.h is now an empty file but still must be there for libsndfile
Chris@40 7823 to compile on Win32.
Chris@40 7824
Chris@40 7825 * src/sd2.c, src/sndfile.c:
Chris@40 7826 Fixes for Sound Designer II files on big endian systems.
Chris@40 7827
Chris@40 7828 2002-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7829
Chris@40 7830 * configure.in
Chris@40 7831 Modified to work around problems with crappy MacOSX version of sed.
Chris@40 7832 Added sanity check for proper values for CFLAGS.
Chris@40 7833
Chris@40 7834 2002-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7835
Chris@40 7836 * src/sndfile.c
Chris@40 7837 Code clean up in sf_open ().
Chris@40 7838
Chris@40 7839 * Win32/Makefile.msvc
Chris@40 7840 Michael Fink's contributed MSVC++ makefile was hacked to bits and put back
Chris@40 7841 together in a new improved form.
Chris@40 7842
Chris@40 7843 * src/file_io.c
Chris@40 7844 Fixes for Win32; _lseeki64() returns an invalid argument for calls like
Chris@40 7845 _lseeki64(fd, 0, SEEK_CUR) so need to use _telli64 (fd) instead.
Chris@40 7846
Chris@40 7847 * src/common.h src/sndfile.c src/wav.c src/aiff.c
Chris@40 7848 Added SFE_LOG_OVERRUN error.
Chris@40 7849 Added termination for potential infinite loop when parsing file headers.
Chris@40 7850
Chris@40 7851 * src/wav.c src/w64.c
Chris@40 7852 Fixed bug casuing incorrect header generation when opening file read/write.
Chris@40 7853
Chris@40 7854 2002-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7855
Chris@40 7856 * doc/api.html
Chris@40 7857 Improved the documentation to make it clearer that the file read method
Chris@40 7858 and the underlying file format are completely disconnected. Suggested
Chris@40 7859 by Josh Green.
Chris@40 7860
Chris@40 7861 * doc/command.html
Chris@40 7862 Started correcting docs to take into account changes made to the
Chris@40 7863 operations of the sf_command () function. Not complete yet.
Chris@40 7864
Chris@40 7865 * src/sndfile.c
Chris@40 7866 Reverted some changes which had broken the partially working SDII header
Chris@40 7867 parsing. Now have access to an iBook with OS X so reading and writing SDII
Chris@40 7868 files on all platforms should be a reality in the near future. On Mac this
Chris@40 7869 will involve reading the resource fork via the standard MacOS API. To move
Chris@40 7870 a file from Mac to another OS, the resource and data forks will need to be
Chris@40 7871 combined before transfer. The combined file will be read on both Mac and
Chris@40 7872 other OSes like any other file.
Chris@40 7873
Chris@40 7874 2002-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7875
Chris@40 7876 * ltmain.sh
Chris@40 7877 Applied a patch from http://fink.sourceforge.net/doc/porting/libtool.php
Chris@40 7878 which allows libsndfile to compile on MacOSX 10.1. This patch should not
Chris@40 7879 interfere with compiling on other OSes.
Chris@40 7880
Chris@40 7881 * src/GSM610/private.h
Chris@40 7882 Changes to fix compile problems on MacOSX (see src/GSM610/ChangeLog).
Chris@40 7883
Chris@40 7884 * src/float_cast.h
Chris@40 7885 Added MacOSX replacements for lrint() and lrintf().
Chris@40 7886
Chris@40 7887 2002-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7888
Chris@40 7889 * src/sndfile.c
Chris@40 7890 Replaced the code to print the filename to the log buffer when a file is
Chris@40 7891 opened. This code seems to have been left out during the merge of
Chris@40 7892 sf_open_read() and sf_open_write() to make a single functions sf_open().
Chris@40 7893
Chris@40 7894 2002-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7895
Chris@40 7896 * src/wav.c
Chris@40 7897 Fixed a bug where the WAV header parser was going into an infinite loop
Chris@40 7898 on a badly formed LIST chunk. File supplied by David Viens.
Chris@40 7899
Chris@40 7900 2002-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7901
Chris@40 7902 * configure.in
Chris@40 7903 Added a message at the end of the configuration process to warn about the
Chris@40 7904 need for the use of pkg-config when linking programs against version 1 of
Chris@40 7905 libsndfile.
Chris@40 7906
Chris@40 7907 * doc/pkg-config.html
Chris@40 7908 New documentation file containing details of how to use pkg-config to
Chris@40 7909 retrieve settings for CFLAGS and library locations for linking files
Chris@40 7910 against version 1 of libsndfile.
Chris@40 7911
Chris@40 7912 2002-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7913
Chris@40 7914 * src/wav.c
Chris@40 7915 Fixed minor bug in handling of so-called ACIDized WAV files.
Chris@40 7916
Chris@40 7917 2002-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7918
Chris@40 7919 * Win32/libsndfile.def Win32/Makefile.msvc
Chris@40 7920 Two new files contributed by Michael Fink (from the winLAME project)
Chris@40 7921 which allows libsndfile to be built on windows in a MSDOS box by doing
Chris@40 7922 "nmake -f Makefile.msvc". Way cool!
Chris@40 7923
Chris@40 7924 2002-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7925
Chris@40 7926 * configure.in
Chris@40 7927 MacOSX is SSSOOOOOOO screwed up!!! I can't believe how hard it is to
Chris@40 7928 generate a tarball which will configure and compile on that platform.
Chris@40 7929 Joined the libtool mailing list to try and get some answers.
Chris@40 7930
Chris@40 7931 2002-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7932
Chris@40 7933 * configure.in
Chris@40 7934 Changed to autoconf version 2.50. MacOSX uses autoconf version 2.53 which
Chris@40 7935 is incompatible with with version 2.13 which had been using until now.
Chris@40 7936 The AC_SYS_LARGE_FILE macro distributed withe autoconf 2.50 is missing a
Chris@40 7937 few features so AC_SYS_EXTRA_LARGE file was defined to replace it.
Chris@40 7938
Chris@40 7939 * configure.in
Chris@40 7940 Changed to automake version 1.5 to try and make a tarball which will
Chris@40 7941 work on MacOSX.
Chris@40 7942
Chris@40 7943 2002-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7944
Chris@40 7945 * src/wav_gsm610.c
Chris@40 7946 Changed name to gsm610.c. Added reading/writing of headerless files.
Chris@40 7947
Chris@40 7948 * src/sndfile.c src/raw.c
Chris@40 7949 Added ability to read/write headerless (SF_FORMAT_RAW) GSM 6.10 files.
Chris@40 7950
Chris@40 7951 2002-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7952
Chris@40 7953 * tests/lossy_comp_test.c
Chris@40 7954 Clean up in preparation for Autogen-ing this file.
Chris@40 7955
Chris@40 7956 * src/GSM610/*.[ch]
Chris@40 7957 Code cleanup and prepartion forgetting file seek working. Details in
Chris@40 7958 src/GSM610/ChangeLog.
Chris@40 7959
Chris@40 7960 * sndfile.pc.in
Chris@40 7961 Testing complete. Is sndfile.m4 still needed?
Chris@40 7962
Chris@40 7963 2002-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7964
Chris@40 7965 * tests/write_read_test.tpl tests/rdwr_test.tpl
Chris@40 7966 Merged tests from these two programs into write_read_test.tpl and deleted
Chris@40 7967 rdwr_test.tpl.
Chris@40 7968
Chris@40 7969 2002-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7970
Chris@40 7971 * src/w64.c src/svx.c src/paf.c
Chris@40 7972 Fixed bugs in read/write mode.
Chris@40 7973
Chris@40 7974 2002-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7975
Chris@40 7976 * examples/Makefile.am
Chris@40 7977 Renamed sfplay.c to sndfile-play.c and sndfile_info.c to sndfile-info.c for
Chris@40 7978 consistency when these programs become part of the Debian package
Chris@40 7979 sndfile-programs.
Chris@40 7980
Chris@40 7981 * sndfile.pc.in
Chris@40 7982 New file to replace sndfile-config.in. Libsndfile now uses the pkg-config
Chris@40 7983 model for providing installation parameters to dependant programs.
Chris@40 7984
Chris@40 7985 * src/sndfile.c
Chris@40 7986 Cleanup of code in sf_open().
Chris@40 7987
Chris@40 7988 2002-05-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 7989
Chris@40 7990 * tests/utils.tpl tests/write_read_test.tpl
Chris@40 7991 More conversion to Autogen fixes and enchancements.
Chris@40 7992
Chris@40 7993 * src/*.c
Chris@40 7994 Read/write mode is now working for 16, 24 and 32 bit PCM as well as 32
Chris@40 7995 bit float and 64 bit double data. More tests still required.
Chris@40 7996
Chris@40 7997 * src/Makefile.am
Chris@40 7998 Added DISTCLEANFILES target to remove config.status and config.last.
Chris@40 7999
Chris@40 8000 * Win32/Makefile.am MacOS/Makefile.am
Chris@40 8001 Added DISTCLEANFILES target to remove Makefile.
Chris@40 8002
Chris@40 8003 2002-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8004
Chris@40 8005 * src/*.[ch] tests/rdwr_test.c
Chris@40 8006 More verifying workings of read/write mode. Fixing bugs found.
Chris@40 8007
Chris@40 8008 * tests/utils.[ch]
Chris@40 8009 Made these files Autogen generated files.
Chris@40 8010
Chris@40 8011 * tests/util.tpl tests/util.def
Chris@40 8012 New Autogen files to generate utils.[ch]. Moved some generic test functions
Chris@40 8013 into this file. Autogen is such a great tool!
Chris@40 8014
Chris@40 8015 2002-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8016
Chris@40 8017 * src/pcm.c src/float_cast.h Win32/config.h
Chris@40 8018 Fixed a couple of Win32 specific bugs pointed out by Michael Fink
Chris@40 8019 (maintainer of WinLAME) and David Viens.
Chris@40 8020
Chris@40 8021 * tests/check_log_buffer.[ch] tests/utils.[ch]
Chris@40 8022 Moved check_log_buffer() to utils.[ch] and deleted old file.
Chris@40 8023
Chris@40 8024 2002-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8025
Chris@40 8026 * src/common.[ch] src/sndfile.c
Chris@40 8027 New function psf_default_seek() which will be the default seek function
Chris@40 8028 for things like PCM and floating point data. This default is set for
Chris@40 8029 both read and write in sf_open() but can be over-ridden by any codec
Chris@40 8030 during it's initialisation.
Chris@40 8031
Chris@40 8032 2002-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8033
Chris@40 8034 * src/au.c
Chris@40 8035 AU files use a data size value of -1 to mean unknown. Fixed au_open_read()
Chris@40 8036 to allow opening files like this.
Chris@40 8037
Chris@40 8038 * tests/rdwr_test .c
Chris@40 8039 Added more tests.
Chris@40 8040
Chris@40 8041 * src/sndfile.c
Chris@40 8042 Fixed bugs in read/write mode found due to improvements in the test
Chris@40 8043 program.
Chris@40 8044
Chris@40 8045 2002-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8046
Chris@40 8047 * tests/rdwr_test .c
Chris@40 8048 New file for testing read/write mode.
Chris@40 8049
Chris@40 8050 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8051
Chris@40 8052 * m4/*
Chris@40 8053 Removed all m4 macros from this directory as they get concatenated to form
Chris@40 8054 the file aclocal.m4 anyway.
Chris@40 8055
Chris@40 8056 * sndfile.m4
Chris@40 8057 Moved this from the m4 directory to the root directory asn this is part of
Chris@40 8058 the distribution and is installed during "make install".
Chris@40 8059
Chris@40 8060 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8061
Chris@40 8062 * src/float32.c
Chris@40 8063 Removed logging of peaks for all file formats other than AIFF and WAV.
Chris@40 8064
Chris@40 8065 * tests/write_read_test.tpl tests/write_read_test.def
Chris@40 8066 New files which autogen uses to generate write_read_test.c. Doing it this
Chris@40 8067 way makes write_read_test.c far easier to maintain. Other test programs
Chris@40 8068 will be converted to autogen in the near future.
Chris@40 8069
Chris@40 8070 * src/*.c
Chris@40 8071 Fixed a few bugs found when testing on Sparc (bug endian) Solaris.
Chris@40 8072
Chris@40 8073 2002-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8074
Chris@40 8075 * doc/*.html
Chris@40 8076 Fixed documention versioning.
Chris@40 8077
Chris@40 8078 * configure.in
Chris@40 8079 Fixed a bug in the routines which search for Large File Support on systems
Chris@40 8080 which have large file support by defualt.
Chris@40 8081
Chris@40 8082 2002-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8083
Chris@40 8084 * src/*.[ch]
Chris@40 8085 Found and fixed an issue which can cause a bug in other software (I was
Chris@40 8086 porting Conrad Parker's Sweep program from version 0 of the library to
Chris@40 8087 version 1). When opening a file for write, the libsndfile code would
Chris@40 8088 set the sfinfo.samples field to a maximum value.
Chris@40 8089
Chris@40 8090 * tests/write_read_test.c
Chris@40 8091 Added tests to detect the above problem.
Chris@40 8092
Chris@40 8093 2002-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8094
Chris@40 8095 * src/*.[ch]
Chris@40 8096 Finished base implementation of read/write mode. Much more testing still
Chris@40 8097 needed.
Chris@40 8098
Chris@40 8099 * m4/largefile.m4
Chris@40 8100 Macro for detecting Large File Standard capabilities. This macro was ripped
Chris@40 8101 out of the aclocal.m4 file of GNU tar-1.13.
Chris@40 8102
Chris@40 8103 * configure.in
Chris@40 8104 Added detection of large file support. Files larger than 2 Gigabytes should
Chris@40 8105 now be supported on 64 bit platforms and many 32 bit platforms including
Chris@40 8106 Linux (2.4 kernel, glibc-2.2), *BSD, MacOS, Win32.
Chris@40 8107
Chris@40 8108 * libsndfile_convert_version.py
Chris@40 8109 A Python script which attempts to autoconvert code written to use version 0
Chris@40 8110 to version 1.
Chris@40 8111
Chris@40 8112 2002-04-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8113
Chris@40 8114 * src/*.[ch]
Chris@40 8115 Finished base implementation of read/write mode. Much more testing still
Chris@40 8116 needed.
Chris@40 8117
Chris@40 8118 * tests/write_read_test.c
Chris@40 8119 Preliminary tests for read/write mode added. More needed.
Chris@40 8120
Chris@40 8121 2002-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8122
Chris@40 8123 * src/sndfile.[ch]
Chris@40 8124 Removed sf_open_read() and sf_open_write() functions,replacting them with
Chris@40 8125 sf_open() which takes an extra mode parameter (SF_OPEN_READ, SF_OPEN_WRITE,
Chris@40 8126 or SF_OPEN_RDWR). This new function sf_open can now be modified to allow
Chris@40 8127 opening a file formodification (RDWR).
Chris@40 8128
Chris@40 8129 2002-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8130
Chris@40 8131 * src/*.c
Chris@40 8132 Completed merging of separate xxx_open_read() and xxx_open_write()
Chris@40 8133 functions. All tests pass.
Chris@40 8134
Chris@40 8135 2002-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8136
Chris@40 8137 * src/au.c
Chris@40 8138 Massive refactoring required to merge au_open_read() with au_open_write()
Chris@40 8139 to create au_open().
Chris@40 8140
Chris@40 8141 2002-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8142
Chris@40 8143 * src/*.c
Chris@40 8144 Started changes required to allow a sound file to be opened in read/write
Chris@40 8145 mode, with separate file pointers for read and write. This involves merging
Chris@40 8146 of encoder/decoder functions like pcm_read_init() and pcm_write_init()
Chris@40 8147 int a new function pcm_init() as well as doing something similar for all
Chris@40 8148 the file type specific functions ie aiff_open_read() and aiff_open_write()
Chris@40 8149 were merged to make the function aiff_open().
Chris@40 8150
Chris@40 8151 2002-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8152
Chris@40 8153 * src/file_io.c
Chris@40 8154 New file containing psf_fopen(), psf_fread(), psf_fwrite(), psf_fseek() and
Chris@40 8155 psf_ftell() functions. These function will replace use of fopen/fread/fwrite
Chris@40 8156 etc and allow access to files larger than 2 gigabytes on a number of 32 bit
Chris@40 8157 OSes (Linux on x86, 32 bit Solaris user space apps, Win32 and MacOS).
Chris@40 8158
Chris@40 8159 * src/*.c
Chris@40 8160 Replaced all instances of fopen with psf_open, fread with psd_read, fwrite
Chris@40 8161 with psf_write and so on.
Chris@40 8162
Chris@40 8163 2002-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8164
Chris@40 8165 * src/dwvw.c
Chris@40 8166 Finally fixed all known problems with 12, 16 and 24 bit DWVW encoding.
Chris@40 8167
Chris@40 8168 * tests/floating_point_test.c
Chris@40 8169 Added tests for 12, 16 and 24 bit DWVW encoding.
Chris@40 8170
Chris@40 8171 2002-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8172
Chris@40 8173 * m4/endian.m4
Chris@40 8174 Defines a new m4 macro AC_C_FIND_ENDIAN, for determining the endian-ness of
Chris@40 8175 the target CPU. It first checks for the definition of BYTE_ORDER in
Chris@40 8176 <endian.h>, then in <sys/types.h> and <sys/param.h>. If none of these work
Chris@40 8177 and the C compiler is not a cross compiler it compiles and runs a program
Chris@40 8178 to test for endian-ness. If the compiler is a cross compiler it makes a
Chris@40 8179 guess based on $target_cpu.
Chris@40 8180
Chris@40 8181 * configure.in
Chris@40 8182 Modified to use AC_C_FIND_ENDIAN.
Chris@40 8183
Chris@40 8184 * src/sfendian.h
Chris@40 8185 Simplified.
Chris@40 8186
Chris@40 8187 2002-02-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8188
Chris@40 8189 * tests/floating_point_test.c
Chris@40 8190 Tests completely rewritten using the dft_cmp function. Now able to
Chris@40 8191 calculate a quick guesstimate of the Signal to Noise Ratio of the encoder.
Chris@40 8192
Chris@40 8193 2002-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8194
Chris@40 8195 * tests/dft_cmp.[ch]
Chris@40 8196 New files containing functions for comparing pre and post lossily
Chris@40 8197 compressed data using a quickly hacked DFT.
Chris@40 8198
Chris@40 8199 * tests/utils.[ch]
Chris@40 8200 New files containing functions for saving pre and post encoded data in a
Chris@40 8201 file readable by the GNU Octave package.
Chris@40 8202
Chris@40 8203 2002-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8204
Chris@40 8205 * m4/lrint.m4 m4/lrintf.m4
Chris@40 8206 Fixed m4 macros to define HAVE_LRINT and HAVE_LRINTF even when the test
Chris@40 8207 is cached.
Chris@40 8208
Chris@40 8209 2002-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8210
Chris@40 8211 * tests/floating_point_test.c
Chris@40 8212 Fixed improper use of strncat ().
Chris@40 8213
Chris@40 8214 2002-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8215
Chris@40 8216 * tests/headerless_test.c
Chris@40 8217 New test program to test the ability to open and read a known file type as a
Chris@40 8218 RAW header-less file.
Chris@40 8219
Chris@40 8220 2002-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8221
Chris@40 8222 * tests/losy_comp_test.c
Chris@40 8223 Added a test to ensure that the data read from a file is not all zeros.
Chris@40 8224
Chris@40 8225 * examples/sfconvert.c
Chris@40 8226 Added "-gsm610" encoding types.
Chris@40 8227
Chris@40 8228 2002-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8229
Chris@40 8230 * examples/sfconvert.c
Chris@40 8231 Added "-dwvw12", "-dwvw16" and "-dwvw24" encoding types.
Chris@40 8232
Chris@40 8233 * tests/dwvw_test.c
Chris@40 8234 New file for testing DWVW encoder/decoder.
Chris@40 8235
Chris@40 8236 2002-01-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8237
Chris@40 8238 * src/dwvw.c
Chris@40 8239 Implemented writing of DWVW. 12 bit seems to work, 16 and 24 bit still broken.
Chris@40 8240
Chris@40 8241 * src/aiff.c
Chris@40 8242 Improved reporting of encoding types.
Chris@40 8243
Chris@40 8244 * src/voc.c
Chris@40 8245 Clean up.
Chris@40 8246
Chris@40 8247 2002-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8248
Chris@40 8249 * src/dwvw.c
Chris@40 8250 New file implementing lossless Delta Word Variable Width (DWVW) encoding.
Chris@40 8251 Reading 12 bit DWVW is now working.
Chris@40 8252
Chris@40 8253 * src/aiff.c common.h sndfile.c
Chris@40 8254 Added hooks for DWVW encoded AIFF and RAW files.
Chris@40 8255
Chris@40 8256 2002-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8257
Chris@40 8258 * src/w64.c
Chris@40 8259 Robustify header parsing.
Chris@40 8260
Chris@40 8261 * src/wav_w64.h
Chris@40 8262 Header file wav.h was renamed to wav_w64.h to signify sharing of
Chris@40 8263 definitions across the two file types.
Chris@40 8264
Chris@40 8265 * src/wav.c src/w64.c src/wav_w64.c
Chris@40 8266 Refactoring.
Chris@40 8267 Modified and moved functions with a high degree of similarity between
Chris@40 8268 wav.c and w64.c to wav_w64.c.
Chris@40 8269
Chris@40 8270 2002-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8271
Chris@40 8272 * src/w64.c
Chris@40 8273 Completed work on getting read and write working.
Chris@40 8274
Chris@40 8275 * examples/sfplay.c
Chris@40 8276 Added code to scale floating point data so it plays at a reasonable volume.
Chris@40 8277
Chris@40 8278 * tests/Makefile.am tests/write_read_test.c
Chris@40 8279 Added tests for W64 files.
Chris@40 8280
Chris@40 8281 2002-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8282
Chris@40 8283 * src/*.c
Chris@40 8284 Modded all code in file header writing routines to use
Chris@40 8285 psf_new_binheader_writef().
Chris@40 8286 Removed psf_binheader_writef() from src/common.c.
Chris@40 8287 Globally replaced psf_new_binheader_writef with psf_binheader_writef.
Chris@40 8288
Chris@40 8289 2002-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8290
Chris@40 8291 * src/*.c
Chris@40 8292 Modded all code in file parsing routines to use psf_new_binheader_readf().
Chris@40 8293 Removed psf_binheader_readf() from src/common.c.
Chris@40 8294 Globally replaced psf_new_binheader_readf with psf_binheader_readf.
Chris@40 8295
Chris@40 8296 * src/common.[ch]
Chris@40 8297 Added new function psf_new_binheader_writef () which will soon replace
Chris@40 8298 psf_binheader_writef (). The new function has basically the same function
Chris@40 8299 as the original but has a more flexible and capable interface. It also
Chris@40 8300 allows the writing of 64 bit integer values for files contains 64 bit file
Chris@40 8301 offsets.
Chris@40 8302
Chris@40 8303 2002-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8304
Chris@40 8305 * src/formats.c src/sndfile.c src/sndfile.h
Chris@40 8306 Added code allowing full enumeration of supported file formats via the
Chris@40 8307 sf_command () interface.
Chris@40 8308 This feature will allow applications to avoid needing recompilation when
Chris@40 8309 support for new file formats are added to libsndfile.
Chris@40 8310
Chris@40 8311 * tests/command_test.c
Chris@40 8312 Added test code for the above feature.
Chris@40 8313
Chris@40 8314 * examples/list_formats.c
Chris@40 8315 New file. An example of the use of the supported file enumeration
Chris@40 8316 interface. This program lists all the major formats and for each major
Chris@40 8317 format the supported subformats.
Chris@40 8318
Chris@40 8319 2002-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8320
Chris@40 8321 * src/*.[ch] tests/*.c
Chris@40 8322 Changed command parameter of sf_command () function from a test string to
Chris@40 8323 an int. The valid values for the command parameter begin with SFC_ and are
Chris@40 8324 listed in src/sndfile.h.
Chris@40 8325
Chris@40 8326 2001-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8327
Chris@40 8328 * src/formats.c src/sndfile.c
Chris@40 8329 Added an way of enumerating a set of common file formats using the
Chris@40 8330 sf_command () interface. This interface was suggested by Dominic Mazzoni,
Chris@40 8331 one of the main authors of Audacity (http://audacity.sourceforge.net/).
Chris@40 8332
Chris@40 8333 2001-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8334
Chris@40 8335 * src/sndfile.c
Chris@40 8336 Added checking of filename parameter in sf_open_read (). Previousy, if a
Chris@40 8337 NULL pointer was passed the library would segfault.
Chris@40 8338
Chris@40 8339 2001-12-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8340
Chris@40 8341 * src/common.c src/common.h
Chris@40 8342 Changed the len parameter of the endswap_*_array () functions from type
Chris@40 8343 int to type long.
Chris@40 8344
Chris@40 8345 * src/pcm.c
Chris@40 8346 Fixed a problem which
Chris@40 8347
Chris@40 8348 2001-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8349
Chris@40 8350 * src/sndfile.c
Chris@40 8351 Added conditional #include <sys/types.h> for EMX/gcc on OS/2. Thanks to
Chris@40 8352 Paul Hartman for pointing this out.
Chris@40 8353
Chris@40 8354 * tests/lossy_comp_test.c tests/floating_point_test.c
Chris@40 8355 Added definitions for M_PI for when it isn't defined in <math.h>.
Chris@40 8356
Chris@40 8357 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8358
Chris@40 8359 * src/ircam.c
Chris@40 8360 Re-implemented the header reader. Old version was making incorrect
Chris@40 8361 assumptions about the endian-ness of the file from the magic number at the
Chris@40 8362 start of the file. The new code looks at the integer which holds the
Chris@40 8363 number of channels and determines the endian-ness from that.
Chris@40 8364
Chris@40 8365 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8366
Chris@40 8367 * src/aiff.c
Chris@40 8368 Added support for other AIFC types ('raw ', 'in32', '23ni').
Chris@40 8369 Further work on IMA ADPCM encoding.
Chris@40 8370
Chris@40 8371 2001-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8372
Chris@40 8373 * src/ima_adpcm.c
Chris@40 8374 Renamed from wav_ima_adpcm.c. This file will soon handle IMA ADPCM
Chris@40 8375 encodings for both WAV and AIFF files.
Chris@40 8376
Chris@40 8377 * src/aiff.c
Chris@40 8378 Started adding IMA ADPCM support.
Chris@40 8379
Chris@40 8380 2001-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8381
Chris@40 8382 * src/double.c
Chris@40 8383 New file for handling double precision floating point (SF_FORMAT_DOUBLE)
Chris@40 8384 data.
Chris@40 8385
Chris@40 8386 * src/wav.c src/aiff.c src/au.c src/raw.c
Chris@40 8387 Added support for SF_FORMAT_DOUBLE data.
Chris@40 8388
Chris@40 8389 * src/common.[ch]
Chris@40 8390 Addition of endswap_long_array () for endian swapping 64 bit integers. This
Chris@40 8391 function will work correctly on processors with 32 bit and 64 bit longs.
Chris@40 8392 Optimised endswap_short_array () and endswap_int_array ().
Chris@40 8393
Chris@40 8394 * tests/pcm_test.c
Chris@40 8395 Added and extra check. After the first file of each type is written to disk
Chris@40 8396 a checksum is performed of the first 64 bytes and checked against a pre-
Chris@40 8397 calculated value. This will work whatever the endian-ness of the host
Chris@40 8398 machine.
Chris@40 8399
Chris@40 8400 2001-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8401
Chris@40 8402 * src/aiff.c
Chris@40 8403 Added handling of u-law, A-law encoded AIFF files. Thanks to Tom Erbe for
Chris@40 8404 supplying example files.
Chris@40 8405
Chris@40 8406 * tests/lossy_comp_test.c
Chris@40 8407 Added tests for above.
Chris@40 8408
Chris@40 8409 * src/common.h src/*.c
Chris@40 8410 Removed function typedefs from common.h and function pointer casting in all
Chris@40 8411 the other files. This allows the compiler to perform proper type checking.
Chris@40 8412 Hopefully this will prevernt problems like the sf_seek bug for OpenBSD,
Chris@40 8413 BeOS etc.
Chris@40 8414
Chris@40 8415 * src/common.[ch]
Chris@40 8416 Added new function psf_new_binheader_readf () which will eventually replace
Chris@40 8417 psf_binheader_readf (). The new function has basically the same function as
Chris@40 8418 the original but has a more flexible and capable interface. It also allows
Chris@40 8419 the reading of 64 bit integer values for files contains 64 bit file
Chris@40 8420 offsets.
Chris@40 8421
Chris@40 8422 2001-11-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8423
Chris@40 8424 * src/voc.c
Chris@40 8425 Completed implementation of VOC file handling. Can now handle 8 and 16 bit
Chris@40 8426 PCM, u-law and A-law files with one or two channels.
Chris@40 8427
Chris@40 8428 * src/write_read_test.c tests/lossy_comp_test.c
Chris@40 8429 Added tests for VOC files.
Chris@40 8430
Chris@40 8431 2001-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8432
Chris@40 8433 * src/float_cast.h
Chris@40 8434 Added inline asm version of lrint/lrintf for MacOS. Solution provided by
Chris@40 8435 Stephane Letz.
Chris@40 8436
Chris@40 8437 * src/voc.c
Chris@40 8438 More work on this braindamaged format. The VOC files produced by SoX also
Chris@40 8439 have a number of inconsistencies.
Chris@40 8440
Chris@40 8441 2001-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8442
Chris@40 8443 * src/paf.c
Chris@40 8444 Added support for 8 bit PCM PAF files.
Chris@40 8445
Chris@40 8446 * tests/write_read_test.c
Chris@40 8447 Added tests for 8 bit PAF files.
Chris@40 8448
Chris@40 8449 2001-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8450
Chris@40 8451 * tests/pcm_test.c
Chris@40 8452 New test program to test for correct scaling of integer values between
Chris@40 8453 different sized integer containers (ie short -> int).
Chris@40 8454 The new specs for libsndfile state that when the source and destination
Chris@40 8455 containers are of a different size, the most significant bit of the source
Chris@40 8456 value becomes the most significant bit of the destination container.
Chris@40 8457
Chris@40 8458 * src/pcm.c src/paf.c
Chris@40 8459 Modified to pass the above test program.
Chris@40 8460
Chris@40 8461 * tests/write_read_test.c tests/lossy_comp_test.c
Chris@40 8462 Modified to work with the new scaling rules.
Chris@40 8463
Chris@40 8464 2001-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8465
Chris@40 8466 * src/raw.c tests/write_read_test.c tests/write_read_test.c
Chris@40 8467 Added ability to do raw reads/writes of float, u-law and A-law files.
Chris@40 8468
Chris@40 8469 * src/*.[ch] examples/*.[ch] tests/*.[ch]
Chris@40 8470 Removed dependance on pcmbitwidth field of SF_INFO struct and moved to new
Chris@40 8471 SF_FORMAT_* types and use of SF_ENDIAN_BIG/LITTLE/CPU.
Chris@40 8472
Chris@40 8473 2001-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8474
Chris@40 8475 * src/*.[ch]
Chris@40 8476 Started implmentation of major changes documented in doc/version1.html.
Chris@40 8477
Chris@40 8478 Removed all usage of off_t which is not part of the ISO C standard. All
Chris@40 8479 places which were using it are now using type long which is the type of
Chris@40 8480 the offset parameter for the fseek function.
Chris@40 8481 This should fix problems on BeOS, MacOS and *BSD like systems which were
Chris@40 8482 failing "make check" because sizeof (long) != sizeof (off_t).
Chris@40 8483
Chris@40 8484 --------------------------------------------------------------------------------
Chris@40 8485 This is the boundary between version 1 of the library above and version 0 below.
Chris@40 8486 --------------------------------------------------------------------------------
Chris@40 8487
Chris@40 8488 2001-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8489
Chris@40 8490 * examples/sfplay_beos.cpp
Chris@40 8491 Added BeOS version of sfplay.c. This needs to be compiled using a C++
Chris@40 8492 compiler so is therefore not built by default. Thanks to Marcus Overhagen
Chris@40 8493 for providing this.
Chris@40 8494
Chris@40 8495 2001-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8496
Chris@40 8497 * examples/sfplay.c
Chris@40 8498 New example file showing how libsndfile can be used to read and play a
Chris@40 8499 sound file.
Chris@40 8500 At the moment on Linux is supported. Others will follow in the near future.
Chris@40 8501
Chris@40 8502 2001-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8503
Chris@40 8504 * src/pcm.c
Chris@40 8505 Fixed problem with normalisation code where a value of 1.0 could map to
Chris@40 8506 a value greater than MAX_SHORT or MAX_INT. Thanks to Roger Dannenberg for
Chris@40 8507 pointing this out.
Chris@40 8508
Chris@40 8509 2001-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8510
Chris@40 8511 * src/pcm.c
Chris@40 8512 Fixed scaling issue when reading/writing 8 bit files using
Chris@40 8513 sf_read/sf_write_short ().
Chris@40 8514 On read, values are scaled so that the most significant bit in the char
Chris@40 8515 ends up in the most significant bit of the short. On write, values are
Chris@40 8516 scaled so that most significant bit in the short ends up as the most
Chris@40 8517 significant bit in the char.
Chris@40 8518
Chris@40 8519 2001-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8520
Chris@40 8521 * src/au.c src/sndfile.c
Chris@40 8522 Added support for 32 bit float data in big and little endian AU files.
Chris@40 8523
Chris@40 8524 * tests/write_read_test.c
Chris@40 8525 Added tests for 32 bit float data in AU files.
Chris@40 8526
Chris@40 8527 2001-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8528
Chris@40 8529 * tests/lossy_comp_test.c
Chris@40 8530 Finalised testing of stereo files where possible.
Chris@40 8531
Chris@40 8532 2001-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8533
Chris@40 8534 * src/wav_ms_adpcm.c
Chris@40 8535 Fixed bug in writing stereo MS ADPCM WAV files. Thanks to Xu Xin for
Chris@40 8536 pointing out this problem.
Chris@40 8537
Chris@40 8538 2001-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8539
Chris@40 8540 * src/wav_ms_adpcm.c
Chris@40 8541 Modified function srate2blocksize () to handle 44k1Hz stereo files.
Chris@40 8542
Chris@40 8543 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8544
Chris@40 8545 * src/w64.c
Chris@40 8546 Added support for Sonic Foundry 64 bit WAV format. As Linux (my main
Chris@40 8547 development platform) does not yet support 64 bit file offsets by default,
Chris@40 8548 current handling of this file format treats everything as 32 bit and fails
Chris@40 8549 openning the file, if it finds anything that goes beyond 32 bit values.
Chris@40 8550
Chris@40 8551 * src/sndfile.[hc] src/common.h src/Makefile.am
Chris@40 8552 Added hooks for W64 support.
Chris@40 8553
Chris@40 8554 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8555
Chris@40 8556 * configure.in
Chris@40 8557 Added more warnings options to CFLAGS when the gcc compiler is detected.
Chris@40 8558
Chris@40 8559 * src/*.[ch] tests/*.c examples/*.c
Chris@40 8560 Started fixing the warning messages due to the new CFLASG.
Chris@40 8561
Chris@40 8562 * src/voc.c
Chris@40 8563 More work on VOC file read/writing.
Chris@40 8564
Chris@40 8565 * src/paf.c
Chris@40 8566 Found that PAF files were not checking the normalisation flag when reading
Chris@40 8567 or writing floats and doubles. Fixed it.
Chris@40 8568
Chris@40 8569 * tests/floating_point_test.c
Chris@40 8570 Added specific test for the above problem.
Chris@40 8571
Chris@40 8572 * src/float_cast.h src/pcm.c
Chris@40 8573 Added a section for Win32 to define lrint () and lrintf () in the header
Chris@40 8574 and implement it in the pcm.c
Chris@40 8575
Chris@40 8576 2001-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8577
Chris@40 8578 * sndfile-config.in m4/sndfile.m4
Chris@40 8579 These files were donated by Conrad Parker who also provided instructions
Chris@40 8580 on how to install them using autoconf/automake.
Chris@40 8581
Chris@40 8582 * src/float_cast.h
Chris@40 8583 Fiddled around with this file some more. On Linux and other gcc supported
Chris@40 8584 OSes use the C99 functions lrintf() and lrint() for casting from floating
Chris@40 8585 point to int without incurring the huge perfromance penalty (particularly
Chris@40 8586 on the i386 family) caused by the regular C cast from float to int.
Chris@40 8587 These new C99 functions replace the FLOAT_TO_* and DOUBLE_TO_* macros which
Chris@40 8588 I had been playing with.
Chris@40 8589
Chris@40 8590 * configure.in m4/lrint.m4 m4/lrintf.m4
Chris@40 8591 Add detection of these functions.
Chris@40 8592
Chris@40 8593 2001-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8594
Chris@40 8595 * src/voc.c
Chris@40 8596 Completed code for reading VOC files containing a single audio data
Chris@40 8597 segment.
Chris@40 8598 Started implementing code to handle files with multiple VOC_SOUND_DATA
Chris@40 8599 segments but couldn't be bothered finishing it. Multiple segment files can
Chris@40 8600 have different sample rates for different sections and other nasties like
Chris@40 8601 silence and repeat segments.
Chris@40 8602
Chris@40 8603 2001-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8604
Chris@40 8605 * src/common.h src/*.c
Chris@40 8606 Removed SF_PRIVATE struct field fdata and replaced it with extra_data.
Chris@40 8607
Chris@40 8608 * src/voc.c
Chris@40 8609 Further development of the read part of this woefult file format.
Chris@40 8610
Chris@40 8611 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8612
Chris@40 8613 * src/float_cast.h
Chris@40 8614 Implemented gcc and i386 floating point to int cast macros. Standard cast
Chris@40 8615 will be used when not on gcc for i385.
Chris@40 8616
Chris@40 8617 * src/pcm.c
Chris@40 8618 Modified all uses of FLOAT/DOUBLE_TO_INT and FLOAT/DOUBLE_TO_SHORT casts to
Chris@40 8619 comply with macros in float_cast.h.
Chris@40 8620
Chris@40 8621 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8622
Chris@40 8623 * src/voc.c
Chris@40 8624 Changed the TYPE_xxx enum names to VOC_TYPE_xxx to prevent name clashes
Chris@40 8625 on MacOS with CodeWarrior 6.0.
Chris@40 8626
Chris@40 8627 * MacOS/MacOS-readme.txt
Chris@40 8628 Updated the compile instructions. Probably still need work as I don't have
Chris@40 8629 access to a Mac.
Chris@40 8630
Chris@40 8631 2001-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8632
Chris@40 8633 * src/wav.c src/aiff.c common.c
Chris@40 8634 Changed all references to snprintf to LSF_SNPRINTF and all vsnprintf to
Chris@40 8635 LSF_VSNPRINTF. LSF_VSNPRINTF and LSF_VSNPRINTF are defined in common.h.
Chris@40 8636
Chris@40 8637 * src/common.h
Chris@40 8638 Added checking of HAVE_SNPRINTF and HAVE_VSNPRINTF and defining
Chris@40 8639 LSF_VSNPRINTF and LSF_VSNPRINTF to appropriate values.
Chris@40 8640
Chris@40 8641 * src/missing.c
Chris@40 8642 New file containing a minimal implementation of snprintf and vsnprintf
Chris@40 8643 functions named missing_snprintf and missing_vsnprintf respectively. These
Chris@40 8644 are only compliled into the binary if snprintf and/or vsnprintf are not
Chris@40 8645 available.
Chris@40 8646
Chris@40 8647 2001-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8648
Chris@40 8649 * src/ircam.c
Chris@40 8650 New file to handle Berkeley/IRCAM/CARL files.
Chris@40 8651
Chris@40 8652 * src/sndfile.c src/common.h
Chris@40 8653 Modified for IRCAM handling.
Chris@40 8654
Chris@40 8655 * tests/*.c
Chris@40 8656 Added tests for IRCAM files.
Chris@40 8657
Chris@40 8658 2001-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8659
Chris@40 8660 * src/wav.c
Chris@40 8661 Apparently microsoft windows (tm) doesn't like ulaw and Alaw WAV files with
Chris@40 8662 20 byte format chunks (contrary to ms's own documentation). Fixed the WAV
Chris@40 8663 header writing code to generate smaller ms compliant ulaw and Alaw WAV
Chris@40 8664 files.
Chris@40 8665
Chris@40 8666 2001-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8667
Chris@40 8668 * tests/stdio_test.sh tests/stdio_test.c
Chris@40 8669 Shell script was rewritten as a C program due to incompatibilities of the
Chris@40 8670 sh shell on Linux and Solaris.
Chris@40 8671
Chris@40 8672 2001-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8673
Chris@40 8674 * tests/stdio_test.sh tests/stdout_test.c tests/stdin_test.c
Chris@40 8675 New test programs to verify the correct operation of reading from stdin and
Chris@40 8676 writing to stdout.
Chris@40 8677
Chris@40 8678 * src/sndfile.c wav.c au.c nist.c paf.c
Chris@40 8679 Fixed a bugs uncovered by the new test programs above.
Chris@40 8680
Chris@40 8681 2001-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8682
Chris@40 8683 * src/sndfile.c wav.c
Chris@40 8684 Fixed a bug preventing reading a file from stdin. Found by T. Narita.
Chris@40 8685
Chris@40 8686 2001-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8687
Chris@40 8688 * src/common.h
Chris@40 8689 Fixed a problem on OpenBSD 2.9 which was causing sf_seek() to fail on IMA
Chris@40 8690 WAV files. Root cause was the declaration of the func_seek typedef not
Chris@40 8691 matching the functions it was actually being used to point to. In OpenBSD
Chris@40 8692 sizeof (off_t) != sizeof (int). Thanks to Heikki Korpela for allowing me
Chris@40 8693 to log into his OpenBSD machine to debug this problem.
Chris@40 8694
Chris@40 8695 2001-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8696
Chris@40 8697 * src/sndfile.c
Chris@40 8698 Implemented sf_command ("norm float").
Chris@40 8699
Chris@40 8700 * src/*.c
Chris@40 8701 Implemented handling of sf_command ("set-norm-float"). Float normalization
Chris@40 8702 can now be turned on and off.
Chris@40 8703
Chris@40 8704 * tests/double_test.c
Chris@40 8705 Renamed to floating_point_test.c. Modified to include tests for all scaled
Chris@40 8706 reads and writes of floats and doubles.
Chris@40 8707
Chris@40 8708 * src/au_g72x.c
Chris@40 8709 Fixed bug in normalization code found with improved floating_point_test
Chris@40 8710 program.
Chris@40 8711
Chris@40 8712 * src/wav.c
Chris@40 8713 Added code for parsing 'INFO' and 'LIST' chunks. Will be used for extract
Chris@40 8714 text annotations from WAV files.
Chris@40 8715
Chris@40 8716 * src/aiff.c
Chris@40 8717 Added code for parsing '(c) ' and 'ANNO' chunks. Will be used for extract
Chris@40 8718 text annotations from WAV files.
Chris@40 8719
Chris@40 8720 2001-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8721
Chris@40 8722 * examples/sf_info.c example/Makefile.am
Chris@40 8723 Renamed to sndfile_info.c. The program sndfile_info will now be installed
Chris@40 8724 when the library is installed.
Chris@40 8725
Chris@40 8726 * src/float_cast.h
Chris@40 8727 New file defining floating point to short and int casts. These casts will
Chris@40 8728 eventually replace all flot and double casts to short and int. See comments
Chris@40 8729 at the top of the file for the reasoning.
Chris@40 8730
Chris@40 8731 * src/*.c
Chris@40 8732 Changed all default float and double casts to short or int with macros
Chris@40 8733 defined in floatcast.h. At the moment these casts do nothing. They will be
Chris@40 8734 replaced with faster float to int cast operations in the near future.
Chris@40 8735
Chris@40 8736 2001-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8737
Chris@40 8738 * tests/command_test.c
Chris@40 8739 New file for testing sf_command () functionality.
Chris@40 8740
Chris@40 8741 * src/sndfile.c
Chris@40 8742 Revisiting of error return values of some functions.
Chris@40 8743 Started implementing sf_command () a new function will allow on-the-fly
Chris@40 8744 modification of library behaviour, or instance, sample value scaling.
Chris@40 8745
Chris@40 8746 * src/common.h
Chris@40 8747 Added hook for format specific sf_command () calls to SNDFILE struct.
Chris@40 8748
Chris@40 8749 * doc/api.html
Chris@40 8750 Updated and errors corrected.
Chris@40 8751
Chris@40 8752 * doc/command.html
Chris@40 8753 New documentation file explaining new sf_command () function.
Chris@40 8754
Chris@40 8755 2001-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8756
Chris@40 8757 * src/sndfile.c
Chris@40 8758 Fixed error return values from sf_read*() and sf_write*(). There were
Chris@40 8759 numerous instances of -1 being returned through size_t. These now all set
Chris@40 8760 error int the SF_PRIVATE struct and return 0. Thanks to David Viens for
Chris@40 8761 spotting this.
Chris@40 8762
Chris@40 8763 2001-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8764
Chris@40 8765 * src/common.c
Chris@40 8766 Fixed use of va_arg() calls that were causing warning messages with the
Chris@40 8767 latest version of gcc (thanks Maurizio Umberto Puxeddu).
Chris@40 8768
Chris@40 8769 2001-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8770
Chris@40 8771 * src/*.c src/sfendian.h
Chris@40 8772 Moved definition of MAKE_MARKER macro to sfendian.h
Chris@40 8773
Chris@40 8774 2001-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8775
Chris@40 8776 * src/sndfile.c
Chris@40 8777 Modified sf_get_lib_version () so that version string will be visible using
Chris@40 8778 the Unix strings command.
Chris@40 8779
Chris@40 8780 * examples/Makefile.am examples/sfinfo.c
Chris@40 8781 Renamed sfinfo program and source code to sf_info. This prevents a name
Chris@40 8782 clash with the program included with libaudiofile.
Chris@40 8783
Chris@40 8784 2001-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8785
Chris@40 8786 * tests/read_seek_test.c tests/lossy_comp_test.c
Chris@40 8787 Added tests for sf_read_float () and sf_readf_float ().
Chris@40 8788
Chris@40 8789 * src/voc.c
Chris@40 8790 New files for handling Creative Voice files (not complete).
Chris@40 8791
Chris@40 8792 * src/samplitude.c
Chris@40 8793 New files for handling Samplitude files (not complete).
Chris@40 8794
Chris@40 8795 2001-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8796
Chris@40 8797 * src/aiff.c src/au.c src/paf.c src/svx.c src/wav.c
Chris@40 8798 Converted these files to using psf_binheader_readf() function. Will soon be
Chris@40 8799 ready to attempt to make reading writing from pipes work reliably.
Chris@40 8800
Chris@40 8801 * src/*.[ch]
Chris@40 8802 Added code for sf_read_float () and sf_readf_float () methods of accessing
Chris@40 8803 file data.
Chris@40 8804
Chris@40 8805 2001-07-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8806
Chris@40 8807 * src/paf.c src/wav_gsm610.c
Chris@40 8808 Removed two printf()s which had escaped notice for some time (thanks
Chris@40 8809 Sigbjørn Skjæret).
Chris@40 8810
Chris@40 8811 2001-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8812
Chris@40 8813 * src/wav_gsm610.c
Chris@40 8814 Fixed a bug which prevented GSM 6.10 encoded WAV files generated by
Chris@40 8815 libsndfile from being played in Windoze (thanks klay).
Chris@40 8816
Chris@40 8817 2001-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8818
Chris@40 8819 * src/common.[ch]
Chris@40 8820 Implemented psf_binheader_readf() which will do for file header reading what
Chris@40 8821 psf_binheader_writef() did for writing headers. Will eventually allow
Chris@40 8822 libsndfile to read and write from pipes, including named pipes.
Chris@40 8823
Chris@40 8824 2001-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8825
Chris@40 8826 * MacOS/config.h Win32/config.h
Chris@40 8827 Attempted to bring these two files uptodate with src/config.h. As I don't
Chris@40 8828 have access to either of these systems support for them may be completely
Chris@40 8829 broken.
Chris@40 8830
Chris@40 8831 2001-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8832
Chris@40 8833 * src/float32.c
Chris@40 8834 Fixed bug for big endian processors that can't read 32 bit IEEE floats. Now
Chris@40 8835 tested on Intel x86 and UltraSparc processors.
Chris@40 8836
Chris@40 8837 2001-06-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8838
Chris@40 8839 * src/aiff.c
Chris@40 8840 Modified to allow REX files (from Propellorhead's Recycle and Reason
Chris@40 8841 programs) to be read.
Chris@40 8842 REX files are basically an AIFF file with slightly unusual sequence of
Chris@40 8843 chunks (AIFF files are supposed to allow any sequence) and some extra
Chris@40 8844 application specific information.
Chris@40 8845 Not yet able to write a REX file as the details of the application specific
Chris@40 8846 data is unknown.
Chris@40 8847
Chris@40 8848 2001-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8849
Chris@40 8850 * src/wav.c
Chris@40 8851 Fixed endian bug when reading PEAK chunk on big endian machines.
Chris@40 8852
Chris@40 8853 * src/common.c
Chris@40 8854 Fixed endian bug when reading PEAK chunk on big endian machines with
Chris@40 8855 --enable-force-broken-float configure option.
Chris@40 8856 Fix psf_binheader_writef for (FORCE_BROKEN_FLOAT ||______)
Chris@40 8857
Chris@40 8858 2001-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8859
Chris@40 8860 * configure.in src/config.h.in
Chris@40 8861 Removed old CAN_READ_WRITE_x86_IEEE configure variable now that float
Chris@40 8862 capabilities are detected at run time.
Chris@40 8863 Added FORCE_BROKEN_FLOAT to allow testing of broken float code on machines
Chris@40 8864 where the processor can in fact handle floats correctly.
Chris@40 8865
Chris@40 8866 * src/float32.c
Chris@40 8867 Rejigged code reading and writing of floats on broken processors.
Chris@40 8868
Chris@40 8869 * m4/
Chris@40 8870 Removed this directory and all its files as they are no longer needed.
Chris@40 8871
Chris@40 8872 2001-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8873
Chris@40 8874 * tests/peak_chunk_test.c
Chris@40 8875 New test to validate reading and writing of peak chunk.
Chris@40 8876
Chris@40 8877 * examples/sfconvert
Chris@40 8878 Added -float32 option.
Chris@40 8879
Chris@40 8880 * src/*.c
Chris@40 8881 Changed all error return values to negative values (ie the negative of what
Chris@40 8882 they were).
Chris@40 8883
Chris@40 8884 * src/sndfile.c tests/error_test.c
Chris@40 8885 Modified to take account of the previous change.
Chris@40 8886
Chris@40 8887 2001-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8888
Chris@40 8889 * src/float32.c
Chris@40 8890 File renamed from wav_float.c and renamed function to something more
Chris@40 8891 general.
Chris@40 8892 Added runtime detection of floating point capabilities.
Chris@40 8893 Added recording of peaks during write for generation of PEAK chunk.
Chris@40 8894
Chris@40 8895 * src/wav.c src/aiff.c
Chris@40 8896 Added handing for PEAK chunk for floating point files. PEAK is read when the
Chris@40 8897 file headers are read and generated when the file is closed. Logic is in
Chris@40 8898 place for adding PEAK chunk to end of file when writing to a pipe (reading
Chris@40 8899 and writing from/to pipe to be implemented soon).
Chris@40 8900
Chris@40 8901 * src/sndfile.c
Chris@40 8902 Modified sf_signal_max () to use PEAK values if present.
Chris@40 8903
Chris@40 8904 2001-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8905
Chris@40 8906 * src/*.c
Chris@40 8907 Added pcm_read_init () and pcm_write_init () to src/pcm.c and removed all
Chris@40 8908 other calls to functions in this file from the filetype specific files.
Chris@40 8909
Chris@40 8910 * src/*.c
Chris@40 8911 Added alaw_read_init (), alaw_write_int (), ulaw_read_init () and
Chris@40 8912 ulaw_write_init () and removed all other calls to functions in alaw.c and
Chris@40 8913 ulaw.c from the filetype specific files.
Chris@40 8914
Chris@40 8915 * tests/write_read_test.c
Chris@40 8916 Added tests to validate sf_seek () on all file types.
Chris@40 8917
Chris@40 8918 * src/raw.c
Chris@40 8919 Implemented raw_seek () function to fix a bug where
Chris@40 8920 sf_seek (file, 0, SEEK_SET) on a RAW file failed.
Chris@40 8921
Chris@40 8922 * src/paf.c
Chris@40 8923 Fixed a bug in paf24_seek () found due to added seeks tests in
Chris@40 8924 tests/write_read_test.c
Chris@40 8925
Chris@40 8926 2001-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8927
Chris@40 8928 * tests/read_seek_test.c
Chris@40 8929 Fixed a couple of broken binary files.
Chris@40 8930
Chris@40 8931 * src/aiff.c src/wav.c
Chris@40 8932 Added handling of PEAK chunks on file read.
Chris@40 8933
Chris@40 8934 2001-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8935
Chris@40 8936 * check_libsndfile.py
Chris@40 8937 New file for the regression testing of libsndfile.
Chris@40 8938 check_libsndfile.py is a Python script which reads in a file containing
Chris@40 8939 filenames of audio files. Each file is checked by running the examples/sfinfo
Chris@40 8940 program on them and checking for error or warning messages in the libsndfile
Chris@40 8941 log buffer.
Chris@40 8942
Chris@40 8943 * check_libsndfile.list
Chris@40 8944 This is an example list of audio files for use with check_libsndfile.py
Chris@40 8945
Chris@40 8946 * tests/lossy_comp_test.c
Chris@40 8947 Changed the defined value of M_PI for math header files which don't have it.
Chris@40 8948 This fixed validation test failures on MetroWerks compilers. Thanks to Lord
Chris@40 8949 Praetor Satanus of Acheron for bringing this to my attention.
Chris@40 8950
Chris@40 8951 2001-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8952
Chris@40 8953 * src/common.[ch]
Chris@40 8954 Removed psf_header_setf () which was no longer required after refactoring
Chris@40 8955 and simplification of header writing.
Chris@40 8956 Added 'z' format specifier to psf_binheader_writef () for zero filling header
Chris@40 8957 with N bytes. Used by paf.c and nist.c
Chris@40 8958
Chris@40 8959 * tests/check_log_buffer.c
Chris@40 8960 New file implementing check_log_buffer () which reads the log buffer of a
Chris@40 8961 SNDFILE* object and searches for error and warning messages. Calls exit ()
Chris@40 8962 if any are found.
Chris@40 8963
Chris@40 8964 * tests/*.c
Chris@40 8965 Added calls to check_log_buffer () after each call to sf_open_XXX ().
Chris@40 8966
Chris@40 8967 2001-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8968
Chris@40 8969 * src/wav.c src/wav_ms_adpcm.c src/wav_gsm610.c
Chris@40 8970 Major rehack of header writing using psf_binheader_writef ().
Chris@40 8971
Chris@40 8972 2001-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8973
Chris@40 8974 * src/wav.c src/wav_ima_adpcm.c
Chris@40 8975 Major rehack of header writing using psf_binheader_writef ().
Chris@40 8976
Chris@40 8977 2001-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8978
Chris@40 8979 * src/wav.c
Chris@40 8980 Changed return type of get_encoding_str () to prevent compiler warnings on
Chris@40 8981 Mac OSX.
Chris@40 8982
Chris@40 8983 * src/aiff.c src/au.c
Chris@40 8984 Major rehack of header writing using psf_binheader_writef ().
Chris@40 8985
Chris@40 8986 2001-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 8987
Chris@40 8988 * src/common.h src/common.c
Chris@40 8989 Added comments.
Chris@40 8990 Name of log buffer changed from strbuffer to logbuffer.
Chris@40 8991 Name of log buffer index variable changed from strindex to logindex.
Chris@40 8992
Chris@40 8993 * src/*.[ch]
Chris@40 8994 Changed name of internal logging function from psf_sprintf () to
Chris@40 8995 psf_log_printf ().
Chris@40 8996 Changed name of internal header generation functions from
Chris@40 8997 psf_[ab]h_printf () to psf_asciiheader_printf () and
Chris@40 8998 psf_binheader_writef ().
Chris@40 8999 Changed name of internal header manipulation function psf_hsetf () to
Chris@40 9000 psf_header_setf ().
Chris@40 9001
Chris@40 9002 2001-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9003
Chris@40 9004 * src/nist.c
Chris@40 9005 Fixed reading and writing of sample_byte_format header. "01" means little
Chris@40 9006 endian and "10" means big endian regardless of bit width.
Chris@40 9007
Chris@40 9008 * configure.in
Chris@40 9009 Detect Mac OSX and disable -Wall and -pedantic gcc options. Mac OSX is
Chris@40 9010 way screwed up and spews out buckets of warning messages from the system
Chris@40 9011 headers.
Chris@40 9012 Added --disable-gcc-opt configure option (sets gcc optimisation to -O0 ) for
Chris@40 9013 easier debugging.
Chris@40 9014 Made decision to harmonise source code version number and .so library
Chris@40 9015 version number. Future releases will stick to this rule.
Chris@40 9016
Chris@40 9017 * doc/new_file_type.HOWTO
Chris@40 9018 New file to document the addition of new file types to libsndfile.
Chris@40 9019
Chris@40 9020 2001-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9021
Chris@40 9022 * src/nist.c
Chris@40 9023 New file for reading/writing Sphere NIST audio file format.
Chris@40 9024 Originally requested by Elis Pomales in 1999.
Chris@40 9025 Retrieved from unstable (and untouched for 18 months) branch of libsndfile.
Chris@40 9026 Some vital information gleaned from the source code to Bill Schottstaedt's
Chris@40 9027 sndlib library : ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
Chris@40 9028 Currently reading and writing 16, 24 and 32 bit, big-endian and little
Chris@40 9029 endian, stereo and mono files.
Chris@40 9030
Chris@40 9031 * src/common.h src/common.c
Chris@40 9032 Added psf_ah_printf () function to help construction of ASCII headers (ie NIST).
Chris@40 9033
Chris@40 9034 * configure.in
Chris@40 9035 Added test for vsnprintf () required by psf_ah_printf ().
Chris@40 9036
Chris@40 9037 * tests/write_read_test.c
Chris@40 9038 Added tests for supported NIST files.
Chris@40 9039
Chris@40 9040 2001-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9041
Chris@40 9042 * tests/write_read_test.c
Chris@40 9043 Added tests for little endian AIFC files.
Chris@40 9044
Chris@40 9045 * src/aiff.c
Chris@40 9046 Minor re-working of aiff_open_write ().
Chris@40 9047 Added write support for little endian PCM encoded AIFC files.
Chris@40 9048
Chris@40 9049 2001-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9050
Chris@40 9051 * src/aiff.c
Chris@40 9052 Minor re-working of aiff_open_read ().
Chris@40 9053 Added read support for little endian PCM encoded AIFC files from the Mac
Chris@40 9054 OSX CD ripper program. Guillaume Lessard provided a couple of sample files
Chris@40 9055 and a working patch.
Chris@40 9056 The patch was not used as is but gave a good guide as to what to do.
Chris@40 9057
Chris@40 9058 2001-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9059
Chris@40 9060 * src/sndfile.h
Chris@40 9061 Fixed comments about endian-ness of WAV and AIFF files. Guillaume Lessard
Chris@40 9062 pointed out the error.
Chris@40 9063
Chris@40 9064 2001-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9065
Chris@40 9066 * examples/make_sine.c
Chris@40 9067 Re-write of this example using sample rate and required frequency in Hz.
Chris@40 9068
Chris@40 9069 2001-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9070
Chris@40 9071 * src/sndfile.c
Chris@40 9072 Fixed bug that prevented known file types from being read as RAW PCM data.
Chris@40 9073
Chris@40 9074 2000-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9075
Chris@40 9076 * src/aiff.c
Chris@40 9077 Added handing of COMT chunk.
Chris@40 9078
Chris@40 9079 2000-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9080
Chris@40 9081 * examples/sfconvert.c
Chris@40 9082 Fixed bug in normalisatio code. Pointed out by Johnny Wu.
Chris@40 9083
Chris@40 9084 2000-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9085
Chris@40 9086 * Win32/config.h
Chris@40 9087 Fixed the incorrect setting of HAVE_ENDIAN_H parameter. Win32 only issue.
Chris@40 9088
Chris@40 9089 2000-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9090
Chris@40 9091 * tests/Makefile.am
Chris@40 9092 Added -lm for write_read_test_LDADD.
Chris@40 9093
Chris@40 9094 2000-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9095
Chris@40 9096 * src/sndfile.c src/au.c
Chris@40 9097 Fixed bug which prevented writing of G723 24kbps AU files.
Chris@40 9098
Chris@40 9099 * tests/lossy_comp_test.c
Chris@40 9100 Corrrection to options for G723 tests.
Chris@40 9101
Chris@40 9102 * configure.in
Chris@40 9103 Added --disable-gcc-pipe option for DJGPP compiler (gcc on MS-DOS) which
Chris@40 9104 doesn't allow gcc -pipe option.
Chris@40 9105
Chris@40 9106 2000-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9107
Chris@40 9108 * src/ulaw.c src/alaw.c src/wav_imaadpcm.c src/msadpcm.c src/wav_gsm610.c
Chris@40 9109 Fixed normailsation bugs shown up by new double_test program.
Chris@40 9110
Chris@40 9111 2000-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9112
Chris@40 9113 * src/pcm.c
Chris@40 9114 Fixed bug in normalisation code (spotted by Steve Lhomme).
Chris@40 9115
Chris@40 9116 * tests/double_test.c
Chris@40 9117 New file to test scaled and unscaled sf_read_double() and sf_write_double()
Chris@40 9118 functions.
Chris@40 9119
Chris@40 9120 2000-08-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9121
Chris@40 9122 * COPYING
Chris@40 9123 Changed to the LGPL COPYING file (spotted by H. S. Teoh).
Chris@40 9124
Chris@40 9125 2000-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9126
Chris@40 9127 * src/sndfile.h
Chris@40 9128 Removed prototype of unimplemented function sf_get_info(). Added prototype
Chris@40 9129 for sf_error_number() Thanks to Sigbjørn Skjæret for spotting these.
Chris@40 9130
Chris@40 9131 2000-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9132
Chris@40 9133 * src/newpcm.h
Chris@40 9134 New file to contain a complete rewrite of the PCM data handling.
Chris@40 9135
Chris@40 9136 2000-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9137
Chris@40 9138 * src/sndfile.c
Chris@40 9139 Fixed a leak of FILE* pointers in sf_open_write(). Thanks to Sigbjørn
Chris@40 9140 Skjæret for spotting this one.
Chris@40 9141
Chris@40 9142 2000-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9143
Chris@40 9144 * src/au_g72x.c src/G72x/g72x.c
Chris@40 9145 Added G723 encoded AU file support.
Chris@40 9146
Chris@40 9147 * tests/lossy_comp_test.c
Chris@40 9148 Added tests for G721 and G723 encoded AU files.
Chris@40 9149
Chris@40 9150 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9151
Chris@40 9152 * all files
Chris@40 9153 Changed the license to LGPL. Albert Faber who had copyright on
Chris@40 9154 Win32/unistd.h gave his permission to change the license on that file. All
Chris@40 9155 other files were either copyright erikd AT mega-nerd DOT com or copyright
Chris@40 9156 under a GPL/LGPL compatible license.
Chris@40 9157
Chris@40 9158 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9159
Chris@40 9160 * tests/lossy_comp_test.c
Chris@40 9161 Fixed incorrect error message.
Chris@40 9162
Chris@40 9163 * src/au_g72x.c src/G72x/*
Chris@40 9164 G721 encoded AU files now working.
Chris@40 9165
Chris@40 9166 * Win32/README-Win32.txt
Chris@40 9167 Replaced this file with a new one which gives a full explanation
Chris@40 9168 of how to build libsndfile under Win32. Thanks to Mike Ricos.
Chris@40 9169
Chris@40 9170 2000-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9171
Chris@40 9172 * src/*.[ch]
Chris@40 9173 Removed double leading underscores from the start of all variable and
Chris@40 9174 function names. Identifiers with a leading underscores are reserved
Chris@40 9175 for use by the compiler.
Chris@40 9176
Chris@40 9177 * src/au_g72x.c src/G72x/*
Chris@40 9178 Continued work on G721 encoded AU files.
Chris@40 9179
Chris@40 9180 2000-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9181
Chris@40 9182 * src/G72x/*
Chris@40 9183 New files for reading/writing G721 and G723 ADPCM audio. These files
Chris@40 9184 are from a Sun Microsystems reference implementation released under a
Chris@40 9185 free software licence.
Chris@40 9186 Extensive changes to this code to make it fit in with libsndfile.
Chris@40 9187 See the ChangeLog in this directory for details.
Chris@40 9188
Chris@40 9189 * src/au_g72x.c
Chris@40 9190 New file for G721 encoded AU files.
Chris@40 9191
Chris@40 9192 2000-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9193
Chris@40 9194 * libsndfile.spec.in
Chris@40 9195 Added a spec file for making RPMs. Thanks to Josh Green for supplying this.
Chris@40 9196
Chris@40 9197 2000-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9198
Chris@40 9199 * src/sndfile.c src/sndfile.h
Chris@40 9200 Add checking for and handling of header-less u-law encoded AU/SND files.
Chris@40 9201 Any file with a ".au" or ".snd" file extension and without the normal
Chris@40 9202 AU file header is treated as an 8kHz, u-law encoded file.
Chris@40 9203
Chris@40 9204 * src/au.h
Chris@40 9205 New function for opening a headerless u-law encoded file for read.
Chris@40 9206
Chris@40 9207 2000-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9208
Chris@40 9209 * src/paf.c
Chris@40 9210 Add checking for files shorter than minimal PAF file header length.
Chris@40 9211
Chris@40 9212 2000-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9213
Chris@40 9214 * tests/write_read_test.c
Chris@40 9215 Added extra sf_perror() calls when sf_write_XXXX fails.
Chris@40 9216
Chris@40 9217 2000-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9218
Chris@40 9219 * src/common.c
Chris@40 9220 Modified usage of va_arg() macro to work correctly on PowerPC
Chris@40 9221 Linux. Thanks to Kyle Wheeler for giving me ssh access to his
Chris@40 9222 machine while I was trying to track this down.
Chris@40 9223
Chris@40 9224 * configure.in src/*.[ch]
Chris@40 9225 Sorted out some endian-ness issues brought up by PowerPC Linux.
Chris@40 9226
Chris@40 9227 * tests/read_seek_test.c
Chris@40 9228 Added extra debugging for when tests fail.
Chris@40 9229
Chris@40 9230 2000-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9231
Chris@40 9232 * src/wav.c
Chris@40 9233 Fixed bug in GSM 6.10 handling for big-endian machines. Thanks
Chris@40 9234 to Sigbjørn Skjæret for reporting this.
Chris@40 9235
Chris@40 9236 2000-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9237
Chris@40 9238 * src/sndfile.c src/wav.c src/wav_gsm610.c
Chris@40 9239 Finallised writing of GSM 6.10 WAV files.
Chris@40 9240
Chris@40 9241 * tests/lossy_comp_test.c
Chris@40 9242 Wrote new test code for GSM 6.10 files.
Chris@40 9243
Chris@40 9244 * examples/sfinfo.c
Chris@40 9245 Fixed incorrect format in printf() statement.
Chris@40 9246
Chris@40 9247 2000-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9248
Chris@40 9249 * src/sndfile.h.in
Chris@40 9250 Fixed comments about sf_perror () and sf_error_str ().
Chris@40 9251
Chris@40 9252 2000-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9253
Chris@40 9254 * configure.in
Chris@40 9255 Fixed --enable-justsrc option.
Chris@40 9256
Chris@40 9257 2000-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9258
Chris@40 9259 * wav.c
Chris@40 9260 Fixed checking of bytespersec field of header. Still some weirdness
Chris@40 9261 with some files.
Chris@40 9262
Chris@40 9263 2000-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9264
Chris@40 9265 * tests/lossy_comp_test.c
Chris@40 9266 Added option to test PCM WAV files (sanity check).
Chris@40 9267 Fixed bug in sf_seek() tests.
Chris@40 9268
Chris@40 9269 2000-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9270
Chris@40 9271 * src/sndfile.c src/wav.c
Chris@40 9272 Minor changes to allow writing of GSM 6.10 WAV files.
Chris@40 9273
Chris@40 9274 2000-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9275
Chris@40 9276 * configure.in Makefile.am src/Makefile.am
Chris@40 9277 Finally got around to figuring out how to build a single library from
Chris@40 9278 multiple source directories.
Chris@40 9279 Reading GSM 6.10 files now seems to work.
Chris@40 9280
Chris@40 9281 2000-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9282
Chris@40 9283 * src/wav.c
Chris@40 9284 Added more error reporting in read_fmt_chunk().
Chris@40 9285
Chris@40 9286 1999-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9287
Chris@40 9288 * examples/sfinfo.c
Chris@40 9289 Modified program to accept multiple filenames from the command line.
Chris@40 9290
Chris@40 9291 1999-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9292
Chris@40 9293 * src/wav_ima_adpcm.c
Chris@40 9294 Moved code around in preparation to adding ability to read/write IMA ADPCM
Chris@40 9295 encoded AIFF files.
Chris@40 9296
Chris@40 9297 1999-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9298
Chris@40 9299 * src/common.c
Chris@40 9300 Fixed put_int() and put_short() macros used by _psf_hprintf() which were
Chris@40 9301 causing seg. faults on Sparc Solaris.
Chris@40 9302
Chris@40 9303 1999-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9304
Chris@40 9305 * src/common.c
Chris@40 9306 Added string.h to includes. Thanks to Sigbjxrn Skjfret.
Chris@40 9307
Chris@40 9308 * src/svx.c
Chris@40 9309 Fixed __svx_close() function to ensure FORM and BODY chunks are correctly
Chris@40 9310 set.
Chris@40 9311
Chris@40 9312 1999-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9313
Chris@40 9314 * src/au.c
Chris@40 9315 Fixed handling of incorrect size field in AU header on read. Thanks to
Chris@40 9316 Christoph Lauer for finding this problem.
Chris@40 9317
Chris@40 9318 1999-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9319
Chris@40 9320 * src/aiff.c
Chris@40 9321 Fixed a bug with incorrect SSND chunk length being written. This also lead
Chris@40 9322 to finding an minor error in AIFF header parsing. Thanks to Dan Timis for
Chris@40 9323 pointing this out.
Chris@40 9324
Chris@40 9325 1999-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9326
Chris@40 9327 * src/paf.c
Chris@40 9328 Fixed a bug with reading and writing 24 bit stereo PAF files. This problem
Chris@40 9329 came to light when implementing tests for the new functions which operate
Chris@40 9330 in terms of frames rather than items.
Chris@40 9331
Chris@40 9332 1999-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9333
Chris@40 9334 * src/sndfile.c
Chris@40 9335 Modified file type detection to use first 12 bytes of file rather than
Chris@40 9336 file name extension. Required this because NIST files use the same
Chris@40 9337 filename extension as Microsoft WAV files.
Chris@40 9338
Chris@40 9339 * src/sndfile.c src/sndfile.h
Chris@40 9340 Added short, int and double read/write functions which work in frames
Chris@40 9341 rather than items. This was originally suggested by Maurizio Umberto
Chris@40 9342 Puxeddu.
Chris@40 9343
Chris@40 9344 1999-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9345
Chris@40 9346 * src/svx.c
Chris@40 9347 Finished off implementation of write using __psf_hprintf().
Chris@40 9348
Chris@40 9349 1999-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9350
Chris@40 9351 * src/common.h
Chris@40 9352 Added a buffer to SF_PRIVATE for writing the header. This is required
Chris@40 9353 to make generating headers for IFF/SVX files easier as well as making
Chris@40 9354 it easier to do re-write the headers which will be required when
Chris@40 9355 sf_rewrite_header() is implemented.
Chris@40 9356
Chris@40 9357 * src/common.c
Chris@40 9358 Implemented __psf_hprintf() function. This is an internal function
Chris@40 9359 which is documented briefly just above the code.
Chris@40 9360
Chris@40 9361 1999-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9362
Chris@40 9363 * src/sndfile.c
Chris@40 9364 Fixed a bug in sf_write_raw() where it was returning incorrect values
Chris@40 9365 (thanks to Richard Dobson for finding this one). Must put in a test
Chris@40 9366 routine for sf_read_raw and sf_write_raw.
Chris@40 9367
Chris@40 9368 * src/aiff.c
Chris@40 9369 Fixed default FORMsize in __aiff_open_write ().
Chris@40 9370
Chris@40 9371 * src/sndfile.c
Chris@40 9372 Added copy of filename to internal data structure. IFF/SVX files
Chris@40 9373 contain a NAME header chunk. Both sf_open_read() and sf_open_write()
Chris@40 9374 copy the file name (less the leading path information) to the
Chris@40 9375 filename field.
Chris@40 9376
Chris@40 9377 * src/svx.c
Chris@40 9378 Started implementing writing of files.
Chris@40 9379
Chris@40 9380 1999-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9381
Chris@40 9382 * src/svx.c
Chris@40 9383 New file for reading/writing 8SVX and 16SVX files.
Chris@40 9384
Chris@40 9385 * src/sndfile.[ch] src/common.h
Chris@40 9386 Changes for SVX files.
Chris@40 9387
Chris@40 9388 * src/aiff.c
Chris@40 9389 Fixed header parsing when unknown chunk is found.
Chris@40 9390
Chris@40 9391 1999-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9392
Chris@40 9393 * src/paf.c
Chris@40 9394 New file for reading/writing Ensoniq PARIS audio file format.
Chris@40 9395
Chris@40 9396 * src/sndfile.[ch] src/common.h
Chris@40 9397 Changes for PAF files.
Chris@40 9398
Chris@40 9399 * src/sndfile.[ch]
Chris@40 9400 Added stuff for sf_get_lib_version() function.
Chris@40 9401
Chris@40 9402
Chris@40 9403 1999-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9404
Chris@40 9405 * src/sndfile.h MacOS/config.h
Chris@40 9406 Fixed minor MacOS configuration issues.
Chris@40 9407
Chris@40 9408 1999-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9409
Chris@40 9410 * MacOS/
Chris@40 9411 Added a new directory for the MacOS config.h file and the
Chris@40 9412 readme file.
Chris@40 9413
Chris@40 9414 * src/aiff.c
Chris@40 9415 Fixed calculation of datalength when reading SSND chunk. Thanks to
Chris@40 9416 Sigbjørn Skjæret for pointing out this error.
Chris@40 9417
Chris@40 9418 1999-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9419
Chris@40 9420 * src/sndfile.c src/sndfile.h src/raw.c
Chris@40 9421 Further fixing of #includes for MacOS.
Chris@40 9422
Chris@40 9423 1999-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9424
Chris@40 9425 * src/wav.c src/aiff.c
Chris@40 9426 Added call to ferror () in main header parsing loop of __XXX_open_read
Chris@40 9427 functions. This should fix problems on platforms (MacOS, AmigaOS) where
Chris@40 9428 fseek()ing or fread()ing beyond the end of the file puts the FILE*
Chris@40 9429 stream in an error state until clearerr() is called.
Chris@40 9430
Chris@40 9431 * tests/write_read_test.c
Chris@40 9432 Added tests for RAW header-less PCM files.
Chris@40 9433
Chris@40 9434 * src/common.h
Chris@40 9435 Moved definition of struct tribyte to pcm.c which is the only place
Chris@40 9436 which needs it.
Chris@40 9437
Chris@40 9438 * src/pcm.c
Chris@40 9439 Modified all code which assumed sizeof (struct tribyte) == 3. This code
Chris@40 9440 did not work on MacOS. Thanks to Ben "Jacobs" for pointing this out.
Chris@40 9441
Chris@40 9442 * src/au.c
Chris@40 9443 Removed <sys/stat.h> from list of #includes (not being used).
Chris@40 9444
Chris@40 9445 * src/sndfile.c
Chris@40 9446 Added MacOS specific #ifdef to replace <sys/stat.h>.
Chris@40 9447
Chris@40 9448 * src/sndfile.h
Chris@40 9449 Added MacOS specific #ifdef to replace <sys/stat.h>.
Chris@40 9450
Chris@40 9451 * src/sndfile.h
Chris@40 9452 Added MacOS specific typedef for off_t.
Chris@40 9453
Chris@40 9454 * MacOS-readme.txt
Chris@40 9455 New file with instructions for building libsndfile under MacOS. Thanks
Chris@40 9456 to Ben "Jacobs" for supplying these instructions.
Chris@40 9457
Chris@40 9458 1999-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9459
Chris@40 9460 * configure.in
Chris@40 9461 Removed sndfile.h from generated file list as there were no longer
Chris@40 9462 any autoconf substitutions being made.
Chris@40 9463
Chris@40 9464 * src/raw.c
Chris@40 9465 New file for handling raw header-less PCM files. In order to open these
Chris@40 9466 for read, the user must specify format, pcmbitwidth and channels in the
Chris@40 9467 SF_INFO struct when calling sf_open_read ().
Chris@40 9468
Chris@40 9469 * src/sndfile.c
Chris@40 9470 Added support for raw header-less PCM files.
Chris@40 9471
Chris@40 9472 1999-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9473
Chris@40 9474 * examples/sfinfo.c
Chris@40 9475 Removed options so the sfinfo program always prints out all the information.
Chris@40 9476
Chris@40 9477 1999-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9478
Chris@40 9479 * src/alaw.c
Chris@40 9480 New file for A-law encoding (similar to u-law).
Chris@40 9481
Chris@40 9482 * tests/alaw_test.c
Chris@40 9483 New test program to test the A-law encode/decode lookup tables.
Chris@40 9484
Chris@40 9485 * tests/lossy_comp_test.c
Chris@40 9486 Added tests for a-law encoded WAV, AU and AULE files.
Chris@40 9487
Chris@40 9488 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9489
Chris@40 9490 * src/sndfile.c src/au.c
Chris@40 9491 Removed second "#include <unistd.h>". Thanks to Ben "Jacobs" for pointing
Chris@40 9492 this out.
Chris@40 9493
Chris@40 9494 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9495
Chris@40 9496 * tests/ulaw_test.c
Chris@40 9497 New test program to test the u-law encode/decode lookup tables.
Chris@40 9498
Chris@40 9499 1999-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9500
Chris@40 9501 * src/sndfile.h
Chris@40 9502 Made corrections to comments on the return values from sf_seek ().
Chris@40 9503
Chris@40 9504 * src/sndfile.c
Chris@40 9505 Fixed boundary condition checking bug and accounting bug in sf_read_raw ().
Chris@40 9506
Chris@40 9507 1999-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9508
Chris@40 9509 * src/au.c src/ulaw.c
Chris@40 9510 Finished implementation of u-law encoded AU files.
Chris@40 9511
Chris@40 9512 * src/wav.c
Chris@40 9513 Implemented reading and writing of u-law encoded WAV files.
Chris@40 9514
Chris@40 9515 * tests/
Chris@40 9516 Changed name of adpcm_test.c to lossy_comp_test.c. This test program
Chris@40 9517 will now be used to test Ulaw and Alaw encoding as well as APDCM.
Chris@40 9518 Added tests for Ulaw encoded WAV files.
Chris@40 9519
Chris@40 9520 1999-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9521
Chris@40 9522 * tests/adpcm_test.c
Chris@40 9523 Initialised amp variable in gen_signal() to remove compiler warning.
Chris@40 9524
Chris@40 9525 1999-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9526
Chris@40 9527 * src/aiff.c
Chris@40 9528 In __aiff_open_read () prevented fseek()ing beyond end of file which
Chris@40 9529 was causing trouble on MacOS with the MetroWerks compiler. Thanks to
Chris@40 9530 Ben "Jacobs" for pointing this out.
Chris@40 9531
Chris@40 9532 *src/wav.c
Chris@40 9533 Fixed as above in __wav_open_read ().
Chris@40 9534
Chris@40 9535 1999-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9536
Chris@40 9537 * src/wav_ms_adpcm.c
Chris@40 9538 Implemented MS ADPCM encoding. Code cleanup of decoder.
Chris@40 9539
Chris@40 9540 * tests/adpcm_test.c
Chris@40 9541 Added tests for MS ADPCM WAV files.
Chris@40 9542
Chris@40 9543 * src/wav_ima_adpcm.c
Chris@40 9544 Fixed incorrect parameter in call to srate2blocksize () from
Chris@40 9545 __ima_writer_init ().
Chris@40 9546
Chris@40 9547 1999-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9548
Chris@40 9549 * tests/read_seek_test.c
Chris@40 9550 Added test for 8 bit AIFF files.
Chris@40 9551
Chris@40 9552 1999-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9553
Chris@40 9554 * tests/write_read_test.c
Chris@40 9555 Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c
Chris@40 9556
Chris@40 9557 * configure.in
Chris@40 9558 Added -Wconversion to CFLAGS.
Chris@40 9559
Chris@40 9560 * src/*.c tests/*.c examples/*.c
Chris@40 9561 Fixed all warnings resulting from use of -Wconversion.
Chris@40 9562
Chris@40 9563 1999-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9564
Chris@40 9565 * src/wav.c
Chris@40 9566 Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
Chris@40 9567 WAV files.
Chris@40 9568
Chris@40 9569 * src/wav_ima.c
Chris@40 9570 Changed block alignment to be dependant on sample rate. This should make
Chris@40 9571 WAV files created with libsndfile compatible with the MS Windows media
Chris@40 9572 players.
Chris@40 9573
Chris@40 9574 * tests/adpcm_test.c
Chris@40 9575 Reimplemented adpcm_test_short and implemented adpcm_test_int and
Chris@40 9576 adpcm_test_double.
Chris@40 9577 Now have full testing of IMA ADPCM WAV file read, write and seek.
Chris@40 9578
Chris@40 9579 1999-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9580
Chris@40 9581 * src/wav_float.c
Chris@40 9582 Fixed function prototype for x86f2d_array () which was causing ocassional
Chris@40 9583 seg. faults on Sparc Solaris machines.
Chris@40 9584
Chris@40 9585 1999-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9586
Chris@40 9587 * src/aiff.c
Chris@40 9588 Fixed bug in __aiff_close where the length fields in the header were
Chris@40 9589 not being correctly calculated before writing.
Chris@40 9590
Chris@40 9591 * tests/write_read_test.c
Chris@40 9592 Modified to detect the above bug in WAV, AIFF and AU files.
Chris@40 9593
Chris@40 9594 1999-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9595
Chris@40 9596 * Win32/*
Chris@40 9597 Added a contribution from Albert Faber to allow libsndfile to compile
Chris@40 9598 under Win32 systems. libsndfile will now be used as part of LAME the
Chris@40 9599 the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).
Chris@40 9600
Chris@40 9601 1999-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9602
Chris@40 9603 * configure.in
Chris@40 9604 Changed to reflect previous changes.
Chris@40 9605
Chris@40 9606 * src/wav_ima_adpcm.c
Chris@40 9607 Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
Chris@40 9608
Chris@40 9609 Fixed bug when writing from int or double data to IMA ADPCM file. Will need
Chris@40 9610 to write test code for this.
Chris@40 9611
Chris@40 9612 Fixed bug in __ima_write () whereby the length of the current block was
Chris@40 9613 calculated incorrectly. Thanks to Jongcheon Park for pointing this out.
Chris@40 9614
Chris@40 9615 1999-03-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9616
Chris@40 9617 * src/*.c
Chris@40 9618 Changed all read/write/lseek function calls to fread/fwrite/
Chris@40 9619 fseek/ftell and added error checking of return values from
Chris@40 9620 fread and fwrite in critical areas of the code.
Chris@40 9621
Chris@40 9622 * src/au.c
Chris@40 9623 Fixed incorrect datasize element in AU header on write.
Chris@40 9624
Chris@40 9625 * tests/error_test.c
Chris@40 9626 Add new test to check all error values have an associated error
Chris@40 9627 string. This will avoid embarrassing real world core dumps.
Chris@40 9628
Chris@40 9629 1999-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9630
Chris@40 9631 * src/wav.c src/aiff.c
Chris@40 9632 Added handling for unknown chunk markers in the file.
Chris@40 9633
Chris@40 9634 1999-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9635
Chris@40 9636 * src/sndfile.c
Chris@40 9637 Filled in missing error strings in SndfileErrors array. Missing entries
Chris@40 9638 can cause core dumps when calling sf_error-str (). Thanks to Sam
Chris@40 9639 <mrsam at-sign geocities.com> for finding this problem.
Chris@40 9640
Chris@40 9641 1999-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9642
Chris@40 9643 * src/wav_ima_adpcm.c
Chris@40 9644 Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading
Chris@40 9645 stereo files. Caused by not adjusting offset into buffer of decoded
Chris@40 9646 samples for 2 channels. A similar bug existed in __ima_write ().
Chris@40 9647 Need a test for stereo ADPCM files.
Chris@40 9648
Chris@40 9649 * src/wav_ms_adpcm.c
Chris@40 9650 Decoder working correctly.
Chris@40 9651
Chris@40 9652 1999-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9653
Chris@40 9654 * configure.in Makefile.am
Chris@40 9655 Added --enable-justsrc configuration variable sent by Sam
Chris@40 9656 <mrsam at-sign geocities.com>.
Chris@40 9657
Chris@40 9658 * src/wav_ima_adpcm.c
Chris@40 9659 Fixed bug when reading beyond end of data section due to not
Chris@40 9660 checking pima->blockcount.
Chris@40 9661 This uncovered __ima_seek () bug due to pima->blockcount being set
Chris@40 9662 before calling __ima_init_block ().
Chris@40 9663
Chris@40 9664 1999-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9665
Chris@40 9666 * src/wav.c
Chris@40 9667 Started implementing MS ADPCM decoder.
Chris@40 9668 If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
Chris@40 9669 encoder seems to add an extra byte. Why not just give an even data
Chris@40 9670 length?
Chris@40 9671
Chris@40 9672 1999-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9673
Chris@40 9674 * src/wav.c
Chris@40 9675 Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
Chris@40 9676 This will make it easier to add and debug other kinds of WAV files
Chris@40 9677 in future.
Chris@40 9678
Chris@40 9679 1999-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9680
Chris@40 9681 * tests/
Chris@40 9682 Added adpcm_test.c which implements test functions for
Chris@40 9683 IMA ADPCM reading/writing/seeking etc.
Chris@40 9684
Chris@40 9685 * src/wav.c
Chris@40 9686 Fixed many bugs in IMA ADPCM encoder and decoder.
Chris@40 9687
Chris@40 9688 1999-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9689
Chris@40 9690 * src/wav.c
Chris@40 9691 Finished implementing IMA ADPCM encoder and decoder (what a bitch!).
Chris@40 9692
Chris@40 9693 1999-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9694
Chris@40 9695 * src/wav.c
Chris@40 9696 Started implementing IMA ADPCM decoder.
Chris@40 9697
Chris@40 9698 1999-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9699
Chris@40 9700 * src/sndfile.c
Chris@40 9701 Fixed bug where the sf_read_XXX functions were returning a
Chris@40 9702 incorrect read count when reading past end of file.
Chris@40 9703 Fixed bug in sf_seek () when seeking backwards from end of file.
Chris@40 9704
Chris@40 9705 * tests/read_seek_test.c
Chris@40 9706 Added multiple read test to short_test(), int_test () and
Chris@40 9707 double_test ().
Chris@40 9708 Added extra chunk to all test WAV files to test that reading
Chris@40 9709 stops at end of 'data' chunk.
Chris@40 9710
Chris@40 9711 1999-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9712
Chris@40 9713 * tests/write_read_test.c
Chris@40 9714 Added tests for little DEC endian AU files.
Chris@40 9715
Chris@40 9716 * src/au.c
Chris@40 9717 Add handling for DEC format little endian AU files.
Chris@40 9718
Chris@40 9719 1999-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9720
Chris@40 9721 * src/aiff.c src/au.c src/wav.c
Chris@40 9722 Add __psf_sprintf calls during header parsing.
Chris@40 9723
Chris@40 9724 * src/sndfile.c src/common.c
Chris@40 9725 Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).
Chris@40 9726
Chris@40 9727 * tests/write_read_test.c
Chris@40 9728 Added tests for 8 bit PCM files (WAV, AIFF and AU).
Chris@40 9729
Chris@40 9730 * src/au.c src/aiff.c
Chris@40 9731 Add handling of 8 bit PCM data format.
Chris@40 9732
Chris@40 9733 * src/aiff.c
Chris@40 9734 On write, set blocksize in SSND chunk to zero like everybody else.
Chris@40 9735
Chris@40 9736 1999-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9737
Chris@40 9738 * src/pcm.c:
Chris@40 9739 Fixed bug in let2s_array (cptr was not being initialised).
Chris@40 9740
Chris@40 9741 * src/sndfile.c:
Chris@40 9742 Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
Chris@40 9743 now work when using these functions.
Chris@40 9744
Chris@40 9745 1999-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9746
Chris@40 9747 * tests/write_read_test.c:
Chris@40 9748 Force test_buffer array to be double aligned. Sparc Solaris
Chris@40 9749 requires this.
Chris@40 9750
Chris@40 9751 1999-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9752
Chris@40 9753 * src/pcm.c:
Chris@40 9754 Fixed a bug which was causing errors in the reading
Chris@40 9755 and writing of 24 bit PCM files.
Chris@40 9756
Chris@40 9757 * doc/api.html
Chris@40 9758 Finished of preliminary documentaion.
Chris@40 9759
Chris@40 9760 1999-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@40 9761
Chris@40 9762 * src/aiff.c:
Chris@40 9763 Changed reading of 'COMM' chunk to avoid reading an int
Chris@40 9764 which overlaps an int (4 byte) boundary.