annotate src/libsndfile-1.0.25/doc/ChangeLog @ 23:619f715526df sv_v2.1

Update Vamp plugin SDK to 2.5
author Chris Cannam
date Thu, 09 May 2013 10:52:46 +0100
parents c7265573341e
children
rev   line source
Chris@0 1 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2
Chris@0 3 * NEWS README configure.ac doc/*.html
Chris@0 4 Updates for 1.0.25.
Chris@0 5
Chris@0 6 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7
Chris@0 8 * src/sfconfig.h
Chris@0 9 Add handling for HAVE_SYS_WAIT_H.
Chris@0 10
Chris@0 11 * Makefile.am src/Makefile.am tests/Makefile.am
Chris@0 12 Add 'checkprograms' target.
Chris@0 13
Chris@0 14 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 15
Chris@0 16 * src/common.h src/sndfile.c
Chris@0 17 Purge SF_ASSERT macro. Use standard C assert instead.
Chris@0 18
Chris@0 19 * src/paf.c src/common.h src/sndfile.c
Chris@0 20 Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
Chris@0 21 byte value of 0) due to integer overflow if PAF file handler.
Chris@0 22
Chris@0 23 * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
Chris@0 24 Use calloc instead of malloc followed by memset.
Chris@0 25
Chris@0 26 * tests/utils.tpl
Chris@0 27 Clean up use of memset.
Chris@0 28
Chris@0 29 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 30
Chris@0 31 * src/ogg.c
Chris@0 32 Fix log message.
Chris@0 33
Chris@0 34 * tests/format_check_test.c
Chris@0 35 Fix compiler warnings.
Chris@0 36
Chris@0 37 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 38
Chris@0 39 * src/sndfile.c
Chris@0 40 Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
Chris@0 41
Chris@0 42 * tests/format_check_test.c
Chris@0 43 Add a test to for SF_FINFO format field validation.
Chris@0 44
Chris@0 45 * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
Chris@0 46 src/common.h src/Makefile.am
Chris@0 47 Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
Chris@0 48 and Speex codecs in an Ogg container. The later two are only enabled with
Chris@0 49 ENABLE_EXPERIMENTAL_CODE config variable.
Chris@0 50
Chris@0 51 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 52
Chris@0 53 * src/strings.c
Chris@0 54 Clean up and refactor storage of SF_STR_SOFTWARE.
Chris@0 55
Chris@0 56 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 57
Chris@0 58 * src/sndfile.h.in doc/api.html
Chris@0 59 Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
Chris@0 60 Tim van der Molen for the patch.
Chris@0 61
Chris@0 62 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 63
Chris@0 64 * programs/sndfile-interleave.c
Chris@0 65 Fix handling of argc. Thanks to Marius Hennecke.
Chris@0 66
Chris@0 67 * src/wav_w64.c
Chris@0 68 Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
Chris@0 69 providing example files.
Chris@0 70
Chris@0 71 * src/wav.c
Chris@0 72 Jump over 'FLLR' chunks.
Chris@0 73
Chris@0 74 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 75
Chris@0 76 * src/sndfile.h.in
Chris@0 77 Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@0 78
Chris@0 79 * configure.ac
Chris@0 80 Add -Wundef to CFLAGS.
Chris@0 81
Chris@0 82 * src/ogg.c
Chris@0 83 Fix -Wunder warning.
Chris@0 84
Chris@0 85 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 86
Chris@0 87 * configure.ac
Chris@0 88 Use int64_t instead of off_t when they are the same size.
Chris@0 89
Chris@0 90 * src/Makefile.am tests/Makefile.am
Chris@0 91 Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
Chris@0 92
Chris@0 93 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 94
Chris@0 95 * src/wav.c
Chris@0 96 Don't allow unknown and/or un-editable chunks to prevent the file from being
Chris@0 97 opened in SFM_RDWR mode.
Chris@0 98
Chris@0 99 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 100
Chris@0 101 * tests/format_check_test.c
Chris@0 102 Fix segfault in test program.
Chris@0 103
Chris@0 104 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 105
Chris@0 106 * tests/format_check_test.c
Chris@0 107 New test program to check to make sure that sf_open() and sf_check_format()
Chris@0 108 agree as to what is a valid program.
Chris@0 109
Chris@0 110 * tests/Makefile.am tests/test_wrapper.sh.in
Chris@0 111 Hook into build and test runner.
Chris@0 112
Chris@0 113 * src/sndfile.c
Chris@0 114 Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
Chris@0 115 notification.
Chris@0 116
Chris@0 117 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 118
Chris@0 119 * src/caf.c
Chris@0 120 Add validation to size of 'data' chunk and fix size of written 'data'
Chris@0 121 chunk. Thanks to Michael Pruett for reporting this.
Chris@0 122
Chris@0 123 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 124
Chris@0 125 * src/* tests/* programs/*
Chris@0 126 Fix a bunch of compiler warnings with gcc-4.6.
Chris@0 127
Chris@0 128 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 129
Chris@0 130 * tests/util.tpl
Chris@0 131 Add NOT macro to util.h.
Chris@0 132
Chris@0 133 * src/strings.c
Chris@0 134 Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
Chris@0 135 strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
Chris@0 136 this problem.
Chris@0 137
Chris@0 138 * tests/string_test.c
Chris@0 139 Add test for SF_STR_SOFTWARE segfault bug.
Chris@0 140
Chris@0 141 * configure.ac
Chris@0 142 Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
Chris@0 143 '-I${includedir}/FLAC'. However FLAC also provides an include file
Chris@0 144 <assert.h> which clashes with the Standard C header of the same name. The
Chris@0 145 solution is strip the 'FLAC' part off the end and include all FLAC headers
Chris@0 146 as <FLAC/header.h>.
Chris@0 147
Chris@0 148 * configure.ac src/Makefile.am
Chris@0 149 Use non-recursive make in src/ directory.
Chris@0 150
Chris@0 151 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 152
Chris@0 153 * NEWS README docs/*.html
Chris@0 154 Updates for 1.0.24 release.
Chris@0 155
Chris@0 156 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 157
Chris@0 158 * configure.ac
Chris@0 159 Fix up usage of sed (should not assume GNU sed).
Chris@0 160
Chris@0 161 * M4/add_(c|cxx)flags.m4
Chris@0 162 Test flags in isolation.
Chris@0 163
Chris@0 164 * tests/cpp_test.cc
Chris@0 165 Fix a broken test (test segfaults). Report by Dave Flogeras.
Chris@0 166
Chris@0 167 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 168
Chris@0 169 * programs/common.[ch]
Chris@0 170 Add function program_name() which returns the program name minus the path
Chris@0 171 from argv [0].
Chris@0 172
Chris@0 173 * programs/*.c programs/Makefile.am
Chris@0 174 Use program_name() where appropriate. Fix build.
Chris@0 175
Chris@0 176 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 177
Chris@0 178 * src/wav.c
Chris@0 179 For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
Chris@0 180 byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
Chris@0 181 version accept 18 byte but not 16 byte.
Chris@0 182
Chris@0 183 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 184
Chris@0 185 * doc/FAQ.html
Chris@0 186 Add examples for question 12.
Chris@0 187
Chris@0 188 * doc/libsndfile.css.in
Chris@0 189 Add tweaks for h4 element.
Chris@0 190
Chris@0 191 * doc/api.html
Chris@0 192 Add documentation for virtual I/O functionality. Thanks to Uli Franke.
Chris@0 193
Chris@0 194 * tests/util.tpl
Chris@0 195 Add static inline functions sf_info_clear() and sf_info_setup().
Chris@0 196
Chris@0 197 * tests/(alaw|dwvw|ulaw)_test.c
Chris@0 198 Use functions sf_info_clear() and sf_info_setup().
Chris@0 199
Chris@0 200 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 201
Chris@0 202 * configure.ac
Chris@0 203 Fail more gracefully if pkg-config is missing. Suggestion from Brian
Chris@0 204 Willoughby.
Chris@0 205
Chris@0 206 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 207
Chris@0 208 * src/common.c
Chris@0 209 Use size_t instead of int for size params with varargs.
Chris@0 210
Chris@0 211 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 212
Chris@0 213 * doc/index.html
Chris@0 214 Update supported platforms with more Debian platforms and Android.
Chris@0 215
Chris@0 216 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 217
Chris@0 218 * src/sndfile.hh
Chris@0 219 Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
Chris@0 220 class definition. Thanks to Eric Eizenman for pointing out this was missing.
Chris@0 221
Chris@0 222 * tests/cpp_test.cc
Chris@0 223 Add test for LPCWSTR version of the SndfileHandle constructor.
Chris@0 224
Chris@0 225 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 226
Chris@0 227 * programs/sndfile-play.c
Chris@0 228 Remove cruft.
Chris@0 229
Chris@0 230 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 231
Chris@0 232 * src/sndfile.hh
Chris@0 233 Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
Chris@0 234 the patch.
Chris@0 235
Chris@0 236 * tests/cpp_test.cc
Chris@0 237 Add tests for above two methods. Also supplied by Tim Blechmann.
Chris@0 238
Chris@0 239 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 240
Chris@0 241 * doc/api.html
Chris@0 242 Add mention of use of sf_strerror() when sf_open() fails.
Chris@0 243
Chris@0 244 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 245
Chris@0 246 * configure.ac
Chris@0 247 Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
Chris@0 248 people are compiling on a 64 bit system with the GCC -m32 flag.
Chris@0 249
Chris@0 250 * src/sndfile.h.in
Chris@0 251 Fix comments on sf_count_t.
Chris@0 252
Chris@0 253 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 254
Chris@0 255 * src/aiff.c
Chris@0 256 Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
Chris@0 257
Chris@0 258 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 259
Chris@0 260 * configure.ac
Chris@0 261 Sed fix for FreeBSD. Thanks Tony Theodore.
Chris@0 262
Chris@0 263 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 264
Chris@0 265 * shave.in M4/shave.m4
Chris@0 266 Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
Chris@0 267 shave author).
Chris@0 268
Chris@0 269 * configure.ac M4/shave.m4 shave-libtool.in shave.in
Chris@0 270 Switch from shave to automake-1.11's AM_SILENT_RULES.
Chris@0 271
Chris@0 272 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 273
Chris@0 274 * shave-libtool.in shave.in
Chris@0 275 Sync to upstream version.
Chris@0 276
Chris@0 277 * src/rf64.c
Chris@0 278 More work to make the parser more robust and accepting of mal-formed files.
Chris@0 279
Chris@0 280 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 281
Chris@0 282 * src/common.h
Chris@0 283 Add functions psf_strlcpy() and psf_strlcat().
Chris@0 284
Chris@0 285 * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
Chris@0 286 src/test_main.h src/test_strncpy_crlf.c
Chris@0 287 Use functions psf_strlcpy() and psf_strlcat() as appropriate.
Chris@0 288
Chris@0 289 * tests/string_test.c
Chris@0 290 Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
Chris@0 291
Chris@0 292 * src/rf64.c
Chris@0 293 Fix size of 'ds64' chunk when writing RF64.
Chris@0 294
Chris@0 295 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 296
Chris@0 297 * programs/*.c
Chris@0 298 Add the libsndfile version to the usage message of all programs.
Chris@0 299
Chris@0 300 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 301
Chris@0 302 * configure.ac src/version-metadata.rc.in src/Makefile.am
Chris@0 303 Add version string resources to the windows DLL.
Chris@0 304
Chris@0 305 * doc/api.html
Chris@0 306 Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
Chris@0 307
Chris@0 308 * NEWS README configure.ac doc/*.html
Chris@0 309 Updates for 1.0.23 release.
Chris@0 310
Chris@0 311 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 312
Chris@0 313 * tests/pedantic-header-test.sh.in
Chris@0 314 Handle unusual values of CC environment variable.
Chris@0 315
Chris@0 316 * src/rf64.c
Chris@0 317 Minor tweaks and additional sanity checking.
Chris@0 318
Chris@0 319 * src/Makefile.am src/binheader_writef_check.py
Chris@0 320 Use python 2.6.
Chris@0 321
Chris@0 322 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 323
Chris@0 324 * src/sndfile.hh
Chris@0 325 Add a missing 'inline' before a constructor defintion.
Chris@0 326
Chris@0 327 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 328
Chris@0 329 * src/common.h
Chris@0 330 Add macro NOT.
Chris@0 331
Chris@0 332 * src/rf64.c
Chris@0 333 Minor tweaks.
Chris@0 334
Chris@0 335 * Makefile.am */Makefile.am
Chris@0 336 Add *~ to CLEANFILES.
Chris@0 337
Chris@0 338 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 339
Chris@0 340 * src/sndfile.c
Chris@0 341 Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
Chris@0 342 Van Winkle for the report.
Chris@0 343
Chris@0 344 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 345
Chris@0 346 * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
Chris@0 347 Add ability to read/write tracknumber and genre to flac/ogg/wav files.
Chris@0 348 Thanks to Matti Nykyri for the patch.
Chris@0 349
Chris@0 350 * src/common.h src/broadcast.c src/strings.c
Chris@0 351 Add function psf_safe_strncpy() and use where appropriate.
Chris@0 352
Chris@0 353 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 354
Chris@0 355 * NEWS README configure.ac doc/*.html
Chris@0 356 Updates for 1.0.22 release.
Chris@0 357
Chris@0 358 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 359
Chris@0 360 * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
Chris@0 361 Rewrite of SF_BROADCAST_INFO handling.
Chris@0 362
Chris@0 363 * src/test_broadcast_var.c tests/command_test.c
Chris@0 364 Tweak SF_BROADCAST_INFO tests.
Chris@0 365
Chris@0 366 * src/test_broadcast_var.c
Chris@0 367 Fix OSX stack check error.
Chris@0 368
Chris@0 369 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 370
Chris@0 371 * src/sds.c
Chris@0 372 Set sustain_loop_end to 0 as suggested by Brian Lewis.
Chris@0 373
Chris@0 374 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 375
Chris@0 376 * src/sds.c
Chris@0 377 Make sure the correct frame count gets written into the header.
Chris@0 378
Chris@0 379 * tests/write_read_test.tpl
Chris@0 380 Don't allow SDS files to have a long frame count.
Chris@0 381
Chris@0 382 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 383
Chris@0 384 * src/sds.c
Chris@0 385 Apply a pair of patches from Brian Lewis to fix the packet number location
Chris@0 386 and the checksum.
Chris@0 387
Chris@0 388 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 389
Chris@0 390 * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
Chris@0 391 src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
Chris@0 392 src/wav.c tests/pcm_test.tpl
Chris@0 393 Fix a bunch of minor issues found using static analysis.
Chris@0 394
Chris@0 395 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 396
Chris@0 397 * src/test_broadcast_var.c
Chris@0 398 New file containing tests for broadcast_set_var().
Chris@0 399
Chris@0 400 * src/Makefile.am src/test_main.[ch]
Chris@0 401 Hook test_broadcast_var.c into tests.
Chris@0 402
Chris@0 403 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 404
Chris@0 405 * src/broadcast.c src/common.(c|h)
Chris@0 406 Move function strncpy_crlf() to src/common.c so the function can be tested
Chris@0 407 in isolation.
Chris@0 408
Chris@0 409 * src/test_strncpy_crlf.c
Chris@0 410 New file.
Chris@0 411
Chris@0 412 * src/Makefile.am src/test_main.[ch]
Chris@0 413 Hook test_strncpy_crlf.c into tests.
Chris@0 414
Chris@0 415 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 416
Chris@0 417 * src/common.h
Chris@0 418 Move code around to make comments make sense.
Chris@0 419
Chris@0 420 * src/broadcast.c
Chris@0 421 Add debugging code that is disabled by default.
Chris@0 422
Chris@0 423 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 424
Chris@0 425 * src/flac.c
Chris@0 426 When the file meta data says the file has zero frames set psf->sf.frames
Chris@0 427 to SF_COUNT_MAX. Fixes Debian bug #590752.
Chris@0 428
Chris@0 429 * programs/sndfile-info.c
Chris@0 430 Print 'unknown' if frame count == SF_COUNT_MAX.
Chris@0 431
Chris@0 432 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 433
Chris@0 434 * src/sndfile.c
Chris@0 435 Only support writing mono SVX files. Multichannel SVX files are not
Chris@0 436 interleaved and there is no support infrastructure to cache and write
Chris@0 437 multiple channels to create a non-interleaved file.
Chris@0 438
Chris@0 439 * src/file_io.c
Chris@0 440 Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
Chris@0 441 for the bug report.
Chris@0 442
Chris@0 443 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 444
Chris@0 445 * src/common.h
Chris@0 446 Add macro SF_ASSERT.
Chris@0 447
Chris@0 448 * src/sndfile.c
Chris@0 449 Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
Chris@0 450
Chris@0 451 * src/svx.c
Chris@0 452 Add support for reading and writing stereo SVX files.
Chris@0 453
Chris@0 454 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 455
Chris@0 456 * configure.ac
Chris@0 457 When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
Chris@0 458
Chris@0 459 * programs/common.c programs/sndfile-metadata-set.c
Chris@0 460 Update metadata after the audio data is copied. Other minor fixes. Patch
Chris@0 461 from Marius Hennecke.
Chris@0 462
Chris@0 463 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 464
Chris@0 465 * src/nist.c
Chris@0 466 Fix a regression reported by Hugh Secker-Walker.
Chris@0 467
Chris@0 468 * src/api.html
Chris@0 469 Add comment about sf_open_fd() not working on Windows if the application
Chris@0 470 and the libsndfile DLL are linked to different versions of the Microsoft
Chris@0 471 C runtime DLL.
Chris@0 472
Chris@0 473 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 474
Chris@0 475 * tests/pedantic-header-test.sh.in
Chris@0 476 Fix 'make distcheck'.
Chris@0 477
Chris@0 478 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 479
Chris@0 480 * tests/pedantic-header-test.sh.in
Chris@0 481 New file to test whether sndfile.h can be compiled with gcc's -pedantic
Chris@0 482 flag.
Chris@0 483
Chris@0 484 * configure.ac tests/test_wrapper.sh.in
Chris@0 485 Hook pedantic-header-test into test suite.
Chris@0 486
Chris@0 487 * src/sndfile.h.in
Chris@0 488 Fix -pedantic warning.
Chris@0 489
Chris@0 490 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 491
Chris@0 492 * programs/sndfile-salvage.c programs/Makefile.am
Chris@0 493 New program to salvage the audio data from WAV/WAVEX/AIFF files which are
Chris@0 494 greater than 4Gig in size.
Chris@0 495
Chris@0 496 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 497
Chris@0 498 * programs/sndfile-convert.c
Chris@0 499 Fix valgrind warning.
Chris@0 500
Chris@0 501 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 502
Chris@0 503 * programs/sndfile-cmp.c
Chris@0 504 When files differ in the PCM data, also print the difference offset.
Chris@0 505 Minor cleanup.
Chris@0 506
Chris@0 507 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 508
Chris@0 509 * src/aiff.c
Chris@0 510 Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
Chris@0 511 instead. Thanks to Paul Davis (Ardour) for this suggestion.
Chris@0 512
Chris@0 513 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 514
Chris@0 515 * configure.ac
Chris@0 516 Clean up configure report.
Chris@0 517
Chris@0 518 * tests/utils.tpl
Chris@0 519 Add functions test_read_raw_or_die and test_write_raw_or_die.
Chris@0 520
Chris@0 521 * tests/rdwr_test.(def|tpl) tests/Makefile.am
Chris@0 522 Add new test program and hook into build.
Chris@0 523
Chris@0 524 * src/sndfile.c
Chris@0 525 Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
Chris@0 526
Chris@0 527 * tests/test_wrapper.sh.in
Chris@0 528 Add rdwr_test to the test wrapper script.
Chris@0 529
Chris@0 530 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 531
Chris@0 532 * configure.ac
Chris@0 533 Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
Chris@0 534
Chris@0 535 * programs/common.[ch] programs/sndfile-metadata-set.c
Chris@0 536 Apply a patch from Robin Gareus allowing the setting of the time reference
Chris@0 537 field of the BEXT chunk.
Chris@0 538
Chris@0 539 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 540
Chris@0 541 * src/ima_adpcm.c
Chris@0 542 Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
Chris@0 543 IMA4.
Chris@0 544
Chris@0 545 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 546
Chris@0 547 * src/sndfile.hh
Chris@0 548 Add a constructor which takes an existing file descriptor and then calls
Chris@0 549 sf_open_fd(). Patch from Sakari Bergen.
Chris@0 550
Chris@0 551 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 552
Chris@0 553 * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
Chris@0 554 Improve usage messages.
Chris@0 555
Chris@0 556 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 557
Chris@0 558 * src/id3.c src/Makefile.am
Chris@0 559 Add new file src/id3.c and hook into build.
Chris@0 560
Chris@0 561 * src/sndfile.c src/common.h
Chris@0 562 Detect and skip and ID3 header at the start of the file.
Chris@0 563
Chris@0 564 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 565
Chris@0 566 * programs/common.c
Chris@0 567 Fix update_strings() copyright, comment, album and license are correctly
Chris@0 568 written. Thanks to Todd Allen for reporting this.
Chris@0 569
Chris@0 570 * man/Makefile.am
Chris@0 571 Change GNU makeism to something more widely supported. Thanks to Christian
Chris@0 572 Weisgerber for reporting this.
Chris@0 573
Chris@0 574 * configure.ac programs/Makefile.am programs/sndfile-play.c
Chris@0 575 Apply patch from Christian Weisgerber and Jacob Meuserto add support for
Chris@0 576 OpenBSD's sndio.
Chris@0 577
Chris@0 578 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 579
Chris@0 580 * doc/api.html
Chris@0 581 Discourage the use of sf_read/write_raw().
Chris@0 582
Chris@0 583 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 584
Chris@0 585 * configure.ac
Chris@0 586 Test for Unix pipe() and waitpid() functions.
Chris@0 587
Chris@0 588 * src/sfconfig.h tests/pipe_test.tpl
Chris@0 589 Disable pipe_test if pipe() and waitpid() aren't available.
Chris@0 590
Chris@0 591 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 592
Chris@0 593 * configure.ac src/Makefile.am src/create_symbols_file.py
Chris@0 594 src/make-static-lib-hidden-privates.sh
Chris@0 595 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
Chris@0 596 and use the same symbols file for other systems which use GNU binutils like
Chris@0 597 Debian's kfreebsd.
Chris@0 598
Chris@0 599 * M4/shave.m4 shave.in
Chris@0 600 Update shave files from upstream.
Chris@0 601
Chris@0 602 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 603
Chris@0 604 * man/sndfile-metadata-get.1
Chris@0 605 Fix typo.
Chris@0 606
Chris@0 607 * man/sndfile-interleave.1 man/Makefile.am
Chris@0 608 New man page.
Chris@0 609
Chris@0 610 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 611
Chris@0 612 * src/ogg.c
Chris@0 613 When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
Chris@0 614 its too hot. Thanks to Dmitry Baikov for suggesting this.
Chris@0 615
Chris@0 616 * NEWS README doc/*.html
Chris@0 617 Updates for 1.0.21.
Chris@0 618
Chris@0 619 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 620
Chris@0 621 * programs/sndfile-jackplay.c man/sndfile-jackplay.1
Chris@0 622 Remove these which will now be in found in the sndfile-tools package.
Chris@0 623
Chris@0 624 * programs/Makefile.am man/Makefile.am
Chris@0 625 Remove build rules for sndfile-jackplay.
Chris@0 626
Chris@0 627 * configure.ac
Chris@0 628 Remove detection of JACK Audio Connect Kit.
Chris@0 629
Chris@0 630 * programs/sndfile-concat.c man/sndfile-concat.1
Chris@0 631 Add new program with man page.
Chris@0 632
Chris@0 633 * man/Makefile.am programs/Makefile.am
Chris@0 634 Hook sndfile-concat into build system.
Chris@0 635
Chris@0 636 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 637
Chris@0 638 * tests/error_test.c
Chris@0 639 Don't terminate when sf_close() returns zero in error_close_test().
Chris@0 640 It seems that Windows 7 behaves differently from earlier versions of
Chris@0 641 Windows.
Chris@0 642
Chris@0 643 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 644
Chris@0 645 * configure.ac M4/*.m4
Chris@0 646 Rename all custom macros from AC_* to MN_*.
Chris@0 647
Chris@0 648 * programs/sndfile-interleave.c
Chris@0 649 Make it actually work.
Chris@0 650
Chris@0 651 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 652
Chris@0 653 * doc/*.html configure.ac
Chris@0 654 Corrections and clarifications courtesy of Robin Forder.
Chris@0 655
Chris@0 656 * programs/sndfile-convert.c programs/common.[ch]
Chris@0 657 Move some code from convert to common for reuse.
Chris@0 658
Chris@0 659 * programs/sndfile-interleave.c programs/sndfile-interleave.c
Chris@0 660 Add new programs sndfile-interleave and sndfile-deinterleave.
Chris@0 661
Chris@0 662 * programs/Makefile.am
Chris@0 663 Hook new programs into build.
Chris@0 664
Chris@0 665 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 666
Chris@0 667 * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
Chris@0 668 Minor OS/2 tweaks as suggested by David Yeo.
Chris@0 669
Chris@0 670 * tests/multi_file_test.c
Chris@0 671 Fix file creation flags on windows. Thanks to Bruce Sharpe.
Chris@0 672
Chris@0 673 * src/sf_unistd.h
Chris@0 674 Set all group and other file create permssions to zero.
Chris@0 675
Chris@0 676 * tests/win32_test.c
Chris@0 677 Add a new test.
Chris@0 678
Chris@0 679 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 680
Chris@0 681 * doc/print.css doc/*.html
Chris@0 682 Add a print stylesheet and update all HTML documents to reference it.
Chris@0 683 Thanks to Aditya Bhargava for suggesting this.
Chris@0 684
Chris@0 685 * doc/index.html
Chris@0 686 Minor corrections.
Chris@0 687
Chris@0 688 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 689
Chris@0 690 * sndfile.pc.in
Chris@0 691 Add a Libs.private entry to assist with static linking.
Chris@0 692
Chris@0 693 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 694
Chris@0 695 * src/make-static-lib-hidden-privates.sh src/Makefile.am
Chris@0 696 Add a script to hide all non-public symbols in the libsndfile.a static
Chris@0 697 library.
Chris@0 698
Chris@0 699 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 700
Chris@0 701 * tests/locale_test.c
Chris@0 702 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@0 703
Chris@0 704 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 705
Chris@0 706 * src/windows.c
Chris@0 707 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
Chris@0 708
Chris@0 709 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 710
Chris@0 711 * programs/sndfile-convert.c
Chris@0 712 Allow the program to read from stdin by specifying '-' on the command line
Chris@0 713 as the input file.
Chris@0 714
Chris@0 715 * src/sndfile.h.in
Chris@0 716 Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
Chris@0 717
Chris@0 718 * tests/virtual_io_test.c
Chris@0 719 Add a PAF/PCM_24 test and verify the file length is not negative
Chris@0 720 immediately after openning the file for write.
Chris@0 721
Chris@0 722 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 723
Chris@0 724 * src/wav.c
Chris@0 725 When writing loop lengths, adjust the end position by one to make up for
Chris@0 726 Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
Chris@0 727
Chris@0 728 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 729
Chris@0 730 * src/flac.c
Chris@0 731 Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
Chris@0 732 rate.
Chris@0 733
Chris@0 734 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 735
Chris@0 736 * src/nist.c
Chris@0 737 Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
Chris@0 738
Chris@0 739 * configure.ac
Chris@0 740 Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
Chris@0 741 libsndfile test suite to fail on MIPS, PowerPC and others.
Chris@0 742 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
Chris@0 743
Chris@0 744 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 745
Chris@0 746 * man/sndfile-convert.1
Chris@0 747 Fix warning from Debian's lintian checks.
Chris@0 748
Chris@0 749 * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
Chris@0 750 man/Makefile.am
Chris@0 751 Add three new minimal manpages and hook into build.
Chris@0 752
Chris@0 753 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 754
Chris@0 755 * tests/test_wrapper.sh.in
Chris@0 756 Don't run cpp_test on x86_64-w64-mingw32.
Chris@0 757
Chris@0 758 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 759
Chris@0 760 * tests/utils.tpl
Chris@0 761 On windows, make sure the open() function doesn't get called with a third
Chris@0 762 parameter of 0 which fails for no good reason. Also make sure this third
Chris@0 763 parameter doesn't get called with S_IRGRP when compiling for windows because
Chris@0 764 Wine complains.
Chris@0 765
Chris@0 766 * src/sndfile.hh
Chris@0 767 Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
Chris@0 768 string.
Chris@0 769
Chris@0 770 * doc/FAQ.html
Chris@0 771 Add Q/A : I'm cross compiling libsndfile for another platform. How can I
Chris@0 772 run the test suite?
Chris@0 773
Chris@0 774 * src/create_symbols_file.py src/Makefile.am
Chris@0 775 Add Symbols.static target, a list of symbols, one per line.
Chris@0 776
Chris@0 777 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 778
Chris@0 779 * tests/test_wrapper.sh.in
Chris@0 780 Update to allow all tests to be gathered up into a testsuite tarball and
Chris@0 781 then be run using this script.
Chris@0 782
Chris@0 783 * build-test-tarball.mk.in
Chris@0 784 Add a Make script to build a tarball of all the test binaries and the test
Chris@0 785 wrapper script. This is useful for cross compiling; you can build the
Chris@0 786 binaries, build test test tarball and transfer the test tarball to the
Chris@0 787 target machine for testing.
Chris@0 788
Chris@0 789 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 790
Chris@0 791 * src/common.h src/*.c
Chris@0 792 Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
Chris@0 793 for the file path, directory and name. Fixes for this change throughout.
Chris@0 794
Chris@0 795 * src/windows.c src/Makefile.am
Chris@0 796 New file defining new windows only public function sf_wchar_open() which
Chris@0 797 takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
Chris@0 798
Chris@0 799 * src/sndfile.h.in
Chris@0 800 Add SF_CHANNEL_MAP_ABISONIC_* entries.
Chris@0 801 Add windows only defintion for sf_wchar_open().
Chris@0 802
Chris@0 803 * src/create_symbols_file.py
Chris@0 804 Add sf_wchar_open() to the list of public symbols (windows only).
Chris@0 805
Chris@0 806 * tests/locale_test.c
Chris@0 807 Add a wchar_test() to test sf_wchar_open().
Chris@0 808
Chris@0 809 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 810
Chris@0 811 * src/common.h src/*.c
Chris@0 812 Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
Chris@0 813
Chris@0 814 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 815
Chris@0 816 * src/aiff.c src/voc.c
Chris@0 817 When a byte is needed, use unsigned char.
Chris@0 818
Chris@0 819 * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
Chris@0 820 Include sfconfig.h to prevent compile errors with MinGW compilers.
Chris@0 821
Chris@0 822 * configure.ac
Chris@0 823 Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
Chris@0 824
Chris@0 825 * tests/locale_test.c
Chris@0 826 Update to work with xx_XX.UTF-8 style locales. Refactoring.
Chris@0 827
Chris@0 828 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 829
Chris@0 830 * configure.ac
Chris@0 831 Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
Chris@0 832 Remove unneeded AC_SUBST.
Chris@0 833 Report Host CPU/OS/vendor.
Chris@0 834
Chris@0 835 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 836
Chris@0 837 * src/sndfile.c
Chris@0 838 Fix error message string.
Chris@0 839
Chris@0 840 * src/flac.c
Chris@0 841 Add 88200 to the list of supported sample rates.
Chris@0 842
Chris@0 843 * src/ogg.c
Chris@0 844 Fix compiler warning when using gcc-4.5.0.
Chris@0 845
Chris@0 846 * programs/sndfile-info.c tests/utils.tpl
Chris@0 847 Remove WIN32 snprintf #define.
Chris@0 848
Chris@0 849 * src/ima_adpcm.c
Chris@0 850 Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
Chris@0 851 this.
Chris@0 852
Chris@0 853 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 854
Chris@0 855 * src/caf.c
Chris@0 856 Use the correct C99 format specifier for int64_t.
Chris@0 857
Chris@0 858 * M4/endian.m4
Chris@0 859 Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
Chris@0 860 Ossman for the bug report.
Chris@0 861
Chris@0 862 * src/caf.c src/sndfile.c
Chris@0 863 Fix reading and writing of PEAK chunks in CAF files.
Chris@0 864
Chris@0 865 * tests/peak_chunk_test.c tests/test_wrapper.sh.in
Chris@0 866 Run peak_chunk_test on CAF files.
Chris@0 867
Chris@0 868 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 869
Chris@0 870 * src/aiff.c src/wav.c
Chris@0 871 Use the correct C99 format specifier for int64_t.
Chris@0 872
Chris@0 873 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 874
Chris@0 875 * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
Chris@0 876 Apply a patch (massaged slightly) from Uli Franke adding handling of the
Chris@0 877 BEXT chunk in RF64 files.
Chris@0 878
Chris@0 879 * tests/command_test.c
Chris@0 880 Update channel_map_test() function so WAV test passes.
Chris@0 881
Chris@0 882 * src/rf64.c
Chris@0 883 Add channel mapping and ambisonic support.
Chris@0 884
Chris@0 885 * src/sndfile.h
Chris@0 886 Add comments showing correspondance between libsndfile channel map
Chris@0 887 defintiions and those used by Apple and MS.
Chris@0 888
Chris@0 889 Add handling of reading/writing channel map info.
Chris@0 890
Chris@0 891 * tests/command_test.c tests/test_wrapper.sh.in
Chris@0 892 Update channel map tests.
Chris@0 893
Chris@0 894 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 895
Chris@0 896 * src/common.h
Chris@0 897 Add function psf_isprint() a replacement for the standard C isprint()
Chris@0 898 function which ignores any locale settings and treats all input as ASCII.
Chris@0 899
Chris@0 900 * src/(aiff|common|rf64|sd2|strings|svx|wav).c
Chris@0 901 Use psf_isprint() instead of isprint().
Chris@0 902
Chris@0 903 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 904
Chris@0 905 * src/command.c
Chris@0 906 Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
Chris@0 907
Chris@0 908 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 909
Chris@0 910 * programs/sndfile-play.c
Chris@0 911 Allow use of Open Sound System audio output under FreeBSD.
Chris@0 912
Chris@0 913 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 914
Chris@0 915 * configure.ac
Chris@0 916 Add patch from Conrad Parker to add --disable-jack.
Chris@0 917
Chris@0 918 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 919
Chris@0 920 * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
Chris@0 921 Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
Chris@0 922 Thanks to Sami Liedes for reporting this a Debian bug #530831.
Chris@0 923
Chris@0 924 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 925
Chris@0 926 * src/chanmap.[ch]
Chris@0 927 New files for channel map decoding/encoding.
Chris@0 928
Chris@0 929 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 930
Chris@0 931 * configure.ac src/sndfile.h.in
Chris@0 932 Fix MSVC definition of sf_count_t.
Chris@0 933
Chris@0 934 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 935
Chris@0 936 * src/wav_w64.[ch]
Chris@0 937 Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
Chris@0 938 an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
Chris@0 939
Chris@0 940 * src/wav.c
Chris@0 941 Add ability to write the channel mask.
Chris@0 942
Chris@0 943 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 944
Chris@0 945 * programs/sndfile-info.c
Chris@0 946 Add -c command line option to dump the channel map information.
Chris@0 947
Chris@0 948 * src/wav_w64.c
Chris@0 949 Don't bail from parser if channel map bitmask is faulty.
Chris@0 950
Chris@0 951 * src/common.h src/sndfile.c
Chris@0 952 Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
Chris@0 953
Chris@0 954 * src/sndfile.c
Chris@0 955 On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
Chris@0 956 command handler.
Chris@0 957
Chris@0 958 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 959
Chris@0 960 * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
Chris@0 961 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
Chris@0 962 channel data in WAV and W64 files.
Chris@0 963 Add a test for the above.
Chris@0 964
Chris@0 965 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 966
Chris@0 967 * src/FAQ.html
Chris@0 968 Update the section about pre-compiled binaries for Win64.
Chris@0 969
Chris@0 970 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 971
Chris@0 972 * src/common.h src/test_conversions.c
Chris@0 973 Be more careful when including <stdint.h> so compiling on pre-C99 platforms
Chris@0 974 (hello Slowlaris) might actually work.
Chris@0 975
Chris@0 976 * NEWS README doc/*.html
Chris@0 977 Updates for 1.0.20.
Chris@0 978
Chris@0 979 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 980
Chris@0 981 * src/voc.c
Chris@0 982 Fix a bug whereby opening a specially crafted VOC file could result in a
Chris@0 983 heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
Chris@0 984 this issue.
Chris@0 985
Chris@0 986 * src/aiff.c
Chris@0 987 Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
Chris@0 988
Chris@0 989 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 990
Chris@0 991 * tests/stdin_test.c
Chris@0 992 Check psf->error after opening file.
Chris@0 993
Chris@0 994 * src/file_io.c
Chris@0 995 Fix obscure seeking bug reported by Hugh Secker-Walker.
Chris@0 996
Chris@0 997 * tests/utils.tpl
Chris@0 998 Add check of sf_error to test_open_file_or_die().
Chris@0 999
Chris@0 1000 * src/sndfile.c
Chris@0 1001 Clear error if opening resource fork fails.
Chris@0 1002
Chris@0 1003 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1004
Chris@0 1005 * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
Chris@0 1006 Cleanup output.
Chris@0 1007
Chris@0 1008 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1009
Chris@0 1010 * src/float32.c
Chris@0 1011 Fix f2s_clip_array.
Chris@0 1012
Chris@0 1013 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1014
Chris@0 1015 * src/float32.c
Chris@0 1016 In host_read_f2s call convert instead of f2s_array.
Chris@0 1017
Chris@0 1018 * src/ima_adpcm.c
Chris@0 1019 Remove dead code.
Chris@0 1020
Chris@0 1021 * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
Chris@0 1022 tests/dwvw_test.c tests/fix_this.c tests/generate.c
Chris@0 1023 tests/multi_file_test.c
Chris@0 1024 Minor fixes.
Chris@0 1025
Chris@0 1026 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1027
Chris@0 1028 * M4/shave.m4 shave.in
Chris@0 1029 Pulled update from upstream.
Chris@0 1030
Chris@0 1031 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1032
Chris@0 1033 * doc/api.html
Chris@0 1034 Add pointers to example programs in source code tarball.
Chris@0 1035
Chris@0 1036 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1037
Chris@0 1038 * src/common.h
Chris@0 1039 Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
Chris@0 1040
Chris@0 1041 * configure.ac
Chris@0 1042 Add documentation for --disable-external-libs and improve error handling
Chris@0 1043 for that option.
Chris@0 1044
Chris@0 1045 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
Chris@0 1046 Add public function sf_version_string.
Chris@0 1047
Chris@0 1048 * tests/sfversion.c
Chris@0 1049 Test function sf_version_string.
Chris@0 1050
Chris@0 1051 * M4/shave.m4 shave-libtool.in shave.in
Chris@0 1052 Add new files from 'git clone git://git.lespiau.name/shave'.
Chris@0 1053
Chris@0 1054 * configure.ac
Chris@0 1055 Enable shave.
Chris@0 1056
Chris@0 1057 * src/Makefile.am src/binheader_writef_check.py Octave/*
Chris@0 1058 Shave related tweaks.
Chris@0 1059
Chris@0 1060 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1061
Chris@0 1062 * src/common.h src/caf.c src/sndfile.c
Chris@0 1063 Add SF_MAX_CHANNELS (set to 256) and use it.
Chris@0 1064
Chris@0 1065 * src/sndfile.h.in
Chris@0 1066 Check for either _MSCVER or _MSC_VER being defined.
Chris@0 1067
Chris@0 1068 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1069
Chris@0 1070 * tests/vorbis_test.c
Chris@0 1071 Relax test slighly to allow test to pass on more CPUs etc.
Chris@0 1072
Chris@0 1073 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1074
Chris@0 1075 * configure.ac
Chris@0 1076 Detect vorbis_version_string() correctly.
Chris@0 1077
Chris@0 1078 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1079
Chris@0 1080 * doc/index.html
Chris@0 1081 Add a 'See Also' section with a link to sndfile-tools.
Chris@0 1082
Chris@0 1083 * NEWS README doc/*.html
Chris@0 1084 Updates for 1.0.19 release.
Chris@0 1085
Chris@0 1086 * configure.ac
Chris@0 1087 Fix --enable-external-libs logic.
Chris@0 1088
Chris@0 1089 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1090
Chris@0 1091 * src/aiff.c
Chris@0 1092 Fix resource leak and potential read beyond end of buffer.
Chris@0 1093
Chris@0 1094 * src/nist.c
Chris@0 1095 Fix reading of header value sample_n_bytes.
Chris@0 1096
Chris@0 1097 * src/sd2.c src/wav.c
Chris@0 1098 Fix potential read beyond end of buffer.
Chris@0 1099
Chris@0 1100 * src/sndfile.c src/svx.c
Chris@0 1101 Check return values of file_io functions.
Chris@0 1102
Chris@0 1103 * tests/win32_test.c
Chris@0 1104 Fix resource leak.
Chris@0 1105
Chris@0 1106 * configure.ac
Chris@0 1107 Detect the presence/absence of vorbis_version_string() in libvorbis.
Chris@0 1108
Chris@0 1109 * src/ogg.c
Chris@0 1110 Only call vorbis_version_string() from libvorbis if present.
Chris@0 1111
Chris@0 1112 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1113
Chris@0 1114 * tests/win32_test.c
Chris@0 1115 Don't use sprintf, even on windows.
Chris@0 1116
Chris@0 1117 * src/aiff.c src/rf64.c src/wav.c
Chris@0 1118 Eliminate dead code, more validation of data read from file.
Chris@0 1119
Chris@0 1120 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1121
Chris@0 1122 * src/ima_adpcm.c
Chris@0 1123 Clamp values to a valid range before indexing ima_step_size array.
Chris@0 1124
Chris@0 1125 * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
Chris@0 1126 Don't include un-needed headers.
Chris@0 1127
Chris@0 1128 * programs/sndfile-info.c
Chris@0 1129 Remove dead code.
Chris@0 1130
Chris@0 1131 * tests/test_wrapper.sh.in
Chris@0 1132 Add 'set -e' so the script exits on error.
Chris@0 1133
Chris@0 1134 * src/test_ima_oki_adpcm.c
Chris@0 1135 Fix read beyond end of array.
Chris@0 1136
Chris@0 1137 * tests/win32_test.c
Chris@0 1138 Add missing close on file descriptor.
Chris@0 1139
Chris@0 1140 * src/nist.c programs/sndfile-metadata-set.c
Chris@0 1141 Fix 'unused variable' warnings.
Chris@0 1142
Chris@0 1143 * src/aiff.c
Chris@0 1144 Fix potential memory leak in handling of 'MARK' chunk.
Chris@0 1145 Remove un-needed test (unsigned > 0).
Chris@0 1146
Chris@0 1147 * src/sd2.c
Chris@0 1148 Improve handling of heap allocated buffer.
Chris@0 1149
Chris@0 1150 * src/sndfile.c
Chris@0 1151 Remove un-needed test (always true).
Chris@0 1152
Chris@0 1153 * src/wav.c src/rf64.c
Chris@0 1154 Ifdef out dead code that will be resurected some time in the future.
Chris@0 1155
Chris@0 1156 * src/wav.c src/w64.c src/xi.c
Chris@0 1157 Handle error return values from psf_ftell.
Chris@0 1158
Chris@0 1159 * src/wav_w64.c
Chris@0 1160 Fix handling and error checking of MSADPCM coefficient arrays.
Chris@0 1161
Chris@0 1162 * regtest/*.c
Chris@0 1163 Bunch of fixes.
Chris@0 1164
Chris@0 1165 * src/test_file_io.c
Chris@0 1166 Use snprintf instead of strncpy in test program.
Chris@0 1167
Chris@0 1168 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1169
Chris@0 1170 * src/sd2.c
Chris@0 1171 Validate data before using.
Chris@0 1172
Chris@0 1173 * src/caf.c
Chris@0 1174 Validate channels per frame value before using, fixing a possible integer
Chris@0 1175 overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
Chris@0 1176 Secunia Research (CVE-2009-0186).
Chris@0 1177
Chris@0 1178 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1179
Chris@0 1180 * Octave/octave_test.sh
Chris@0 1181 Unset TERM environment variable and export LD_LIBRARY_PATH.
Chris@0 1182
Chris@0 1183 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1184
Chris@0 1185 * src/file_io.c
Chris@0 1186 In windows code, cast LPVOID to 'char*' in printf.
Chris@0 1187
Chris@0 1188 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1189
Chris@0 1190 * M4/octave.m4
Chris@0 1191 Clear the TERM environment before evaluating anything in Octave. This works
Chris@0 1192 around problems that might occur if a users TERM settings are incorrect.
Chris@0 1193 Thanks to Rob Til Freedmen for helping to debug this.
Chris@0 1194
Chris@0 1195 * src/wav.c
Chris@0 1196 Handle four zero bytes as a marker within a LIST or INFO chunk.
Chris@0 1197 Thanks to Rogério Brito for supplying an example file.
Chris@0 1198
Chris@0 1199 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1200
Chris@0 1201 * src/common.h src/*.c
Chris@0 1202 Use C99 snprintf everywhere.
Chris@0 1203
Chris@0 1204 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1205
Chris@0 1206 * tests/test_wrapper.sh.in
Chris@0 1207 New file to act as the template for the test wrapper script.
Chris@0 1208
Chris@0 1209 * configure.ac
Chris@0 1210 Generate tests/test_wrapper.sh from the template.
Chris@0 1211
Chris@0 1212 * tests/Makefile.am
Chris@0 1213 Replace all tests with a single invocation of the test wrapper script.
Chris@0 1214
Chris@0 1215 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1216
Chris@0 1217 * src/ogg.c
Chris@0 1218 Record vorbis library version string.
Chris@0 1219
Chris@0 1220 * configure.ac
Chris@0 1221 Require libvorbis >= 1.2.2.
Chris@0 1222
Chris@0 1223 * M4/endian.m4
Chris@0 1224 Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
Chris@0 1225
Chris@0 1226 * M4/octave.m4 M4/mkoctfile_version.m4
Chris@0 1227 Clean up AC_WITH_ARG usage using AC_HELP_STRING.
Chris@0 1228
Chris@0 1229 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1230
Chris@0 1231 * Octave/Makefile.am
Chris@0 1232 Use $(top_buildir) instead of $(builddir) which may not be defined.
Chris@0 1233
Chris@0 1234 * M4/octave.m4
Chris@0 1235 Improve logic and status reporting.
Chris@0 1236
Chris@0 1237 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1238
Chris@0 1239 * configure.ac AUTHORS NEWS README doc/*.html
Chris@0 1240 Final tweaks for 1.0.18 release.
Chris@0 1241
Chris@0 1242 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1243
Chris@0 1244 * programs/sndfile-convert.c
Chris@0 1245 Add 'htk' to the list of convert formats.
Chris@0 1246
Chris@0 1247 * programs/sndfile-info.c
Chris@0 1248 Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
Chris@0 1249 Increase size of files for which signal max will be calculated.
Chris@0 1250
Chris@0 1251 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1252
Chris@0 1253 * doc/index.html
Chris@0 1254 Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
Chris@0 1255
Chris@0 1256 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1257
Chris@0 1258 * programs/sndfile-metadata-get.c
Chris@0 1259 Make valgrind clean.
Chris@0 1260 Clean up temp string array usage.
Chris@0 1261 Error out if trying to update coding history in RDWR mode.
Chris@0 1262
Chris@0 1263 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1264
Chris@0 1265 * doc/index.html
Chris@0 1266 Fix links to versions of the LGPL.
Chris@0 1267
Chris@0 1268 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1269
Chris@0 1270 * tests/string_test.c
Chris@0 1271 Add test for RDWR mode where the file ends up shorter than when it was
Chris@0 1272 opened.
Chris@0 1273
Chris@0 1274 * src/wav.c
Chris@0 1275 Truncate the file on close for RDWR mode where the file ends up shorter
Chris@0 1276 than when it was opened.
Chris@0 1277
Chris@0 1278 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1279
Chris@0 1280 * M4/add_cflags.m4
Chris@0 1281 Fix problem with quoting of '#include'.
Chris@0 1282
Chris@0 1283 * M4/add_cxxflags.m4 configure.ac
Chris@0 1284 Add new file M4/add_cxxflags.m4 and use it in configure.ac.
Chris@0 1285
Chris@0 1286 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1287
Chris@0 1288 * programs/sndfile-info.c
Chris@0 1289 Apply patch from Conrad Parker to calculate and display total duration when
Chris@0 1290 more than one file is dumped.
Chris@0 1291
Chris@0 1292 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1293
Chris@0 1294 * configure.ac src/Makefile.am
Chris@0 1295 Tweaks to generation of Symbols files.
Chris@0 1296
Chris@0 1297 * tests/win32_ordinal_test.c
Chris@0 1298 Update tests for above changes.
Chris@0 1299
Chris@0 1300 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1301
Chris@0 1302 * programs/common.c
Chris@0 1303 When merging broadcast info, make sure to clear the destination field
Chris@0 1304 before copying in the new data.
Chris@0 1305
Chris@0 1306 * programs/test-sndfile-metadata-set.py
Chris@0 1307 Add test for the above.
Chris@0 1308
Chris@0 1309 * src/broadcast.c
Chris@0 1310 Fix checking of required coding_history_size.
Chris@0 1311
Chris@0 1312 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1313
Chris@0 1314 * tests/command_test.c
Chris@0 1315 Add test to detect if coding history is truncated.
Chris@0 1316
Chris@0 1317 * src/broadcast.c
Chris@0 1318 Fix truncation of coding history.
Chris@0 1319
Chris@0 1320 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1321
Chris@0 1322 * tests/command_test.c
Chris@0 1323 Add broadcast_coding_history_size test.
Chris@0 1324
Chris@0 1325 * programs/*.[ch]
Chris@0 1326 Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
Chris@0 1327
Chris@0 1328 * src/rf64.c
Chris@0 1329 Add code to prevent infinite loop on malformed file.
Chris@0 1330
Chris@0 1331 * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
Chris@0 1332 Rationalize and improve error handling when parsing 'fmt ' chunk.
Chris@0 1333
Chris@0 1334 * M4/octave.m4
Chris@0 1335 Simplify and remove cruft.
Chris@0 1336 Check for correct Octave version.
Chris@0 1337
Chris@0 1338 * Octave/*
Chris@0 1339 Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
Chris@0 1340
Chris@0 1341 * Octave/sndfile.cc Octave/PKG_ADD
Chris@0 1342 Add Octave function sfversion which returns the libsndfile version that the
Chris@0 1343 module is linked against.
Chris@0 1344
Chris@0 1345 * Octave/Makefile.am
Chris@0 1346 Bunch of build and 'make distcheck' fixes.
Chris@0 1347
Chris@0 1348 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1349
Chris@0 1350 * programs/common.c
Chris@0 1351 Return 1 if SFC_SET_BROADCAST_INFO fails.
Chris@0 1352
Chris@0 1353 * programs/test-sndfile-metadata-set.py
Chris@0 1354 Update for new programs directory, exit on any error.
Chris@0 1355
Chris@0 1356 * tests/error_test.c
Chris@0 1357 Fix failure behaviour in error_number_test.
Chris@0 1358
Chris@0 1359 * src/common.h src/sndfile.c
Chris@0 1360 Add error number SFE_BAD_BROADCAST_INFO_SIZE.
Chris@0 1361
Chris@0 1362 * src/*
Chris@0 1363 Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
Chris@0 1364
Chris@0 1365 * src/broadcast.c
Chris@0 1366 Fix generation of added coding history.
Chris@0 1367
Chris@0 1368 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1369
Chris@0 1370 * programs/sndfile-metadata-get.c programs/sndfile-info.c
Chris@0 1371 Exit with non-zero on errors.
Chris@0 1372
Chris@0 1373 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1374
Chris@0 1375 * examples/sndfile-to-text.c examples/Makefile.am
Chris@0 1376 Add a new example program and hook it into the build.
Chris@0 1377
Chris@0 1378 * examples/ programs/
Chris@0 1379 Add a new directory programs and move sndfile-info, sndfile-play and other
Chris@0 1380 real programs to the new directory, leaving example programs where they
Chris@0 1381 were.
Chris@0 1382
Chris@0 1383 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1384
Chris@0 1385 * tests/Makefile.am
Chris@0 1386 Automake 1.10 MinGW cross compiling fixes.
Chris@0 1387
Chris@0 1388 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1389
Chris@0 1390 * examples/sndfile-play.c
Chris@0 1391 Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
Chris@0 1392 Fix gcc-4.3 compiler warnings.
Chris@0 1393
Chris@0 1394 * tests/command_test.c
Chris@0 1395 Fix a valgrind warning.
Chris@0 1396
Chris@0 1397 * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
Chris@0 1398 tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
Chris@0 1399 Fix gcc-4.3 compiler warnings.
Chris@0 1400
Chris@0 1401 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1402
Chris@0 1403 * src/broadcast.c
Chris@0 1404 Fix termination of desitination string in strncpy_crlf.
Chris@0 1405 When copying BROADCAST_INFO chunk, make sure destination gets correct line
Chris@0 1406 endings.
Chris@0 1407
Chris@0 1408 * examples/common.c
Chris@0 1409 Fix copying of BROADCAST_INFO coding_history field.
Chris@0 1410
Chris@0 1411 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1412
Chris@0 1413 * tests/command_test.c
Chris@0 1414 Add test function instrument_rw_test, but don't hook it into the testing
Chris@0 1415 yet.
Chris@0 1416
Chris@0 1417 * src/common.h src/command.c src/sndfile.c src/flac.c
Chris@0 1418 Error code rationalization.
Chris@0 1419
Chris@0 1420 * src/common.h src/sndfile.c
Chris@0 1421 Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
Chris@0 1422 fails due to psf->have_written being true.
Chris@0 1423
Chris@0 1424 * doc/command.html
Chris@0 1425 Document the SFC_GET/SET_BROADCAST_INFO comamnds.
Chris@0 1426
Chris@0 1427 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1428
Chris@0 1429 * tests/command_test.c
Chris@0 1430 Improve error reporting when '\0' is found in coding history.
Chris@0 1431 Fix false failure.
Chris@0 1432
Chris@0 1433 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1434
Chris@0 1435 * src/broadcast.c
Chris@0 1436 Convert all coding history line endings to \r\n.
Chris@0 1437
Chris@0 1438 * tests/command_test.c
Chris@0 1439 Add test to make sure all line endings are converted to \r\n.
Chris@0 1440
Chris@0 1441 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1442
Chris@0 1443 * src/broadcast.c
Chris@0 1444 Changed the order of coding history fields.
Chris@0 1445
Chris@0 1446 * tests/command_test.c
Chris@0 1447 Update bextch test to cope with previous change.
Chris@0 1448
Chris@0 1449 * examples/common.c
Chris@0 1450 Add extra length check when copying broadcast info data.
Chris@0 1451
Chris@0 1452 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1453
Chris@0 1454 * tests/utils.tpl tests/pcm_test.tpl
Chris@0 1455 Update check_file_hash_or_die to use 64 bit hash.
Chris@0 1456
Chris@0 1457 * tests/checksum_test.c tests/Makefile.am
Chris@0 1458 Add new checksum_test specifically for lossy compression of headerless
Chris@0 1459 files.
Chris@0 1460
Chris@0 1461 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1462
Chris@0 1463 * src/gsm610.c
Chris@0 1464 Seek to psf->dataoffset before decoding first block.
Chris@0 1465
Chris@0 1466 * src/sndfile.c
Chris@0 1467 Fix detection of mpc2k files on big endian systems.
Chris@0 1468
Chris@0 1469 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1470
Chris@0 1471 * src/broadcast.c
Chris@0 1472 Use '\r\n' newlines in Coding History as required by spec.
Chris@0 1473
Chris@0 1474 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1475
Chris@0 1476 * src/test_conversions.c
Chris@0 1477 Use int64_t instead of 'long long'.
Chris@0 1478
Chris@0 1479 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1480
Chris@0 1481 * examples/sndfile-metadata-set.c
Chris@0 1482 Remove --bext-coding-history-append command line option because it didn't
Chris@0 1483 really make sense.
Chris@0 1484
Chris@0 1485 * examples/sndfile-metadata-(get|set).c
Chris@0 1486 Add usage messages.
Chris@0 1487
Chris@0 1488 * examples/test-sndfile-metadata-set.py
Chris@0 1489 Start work on test coding history.
Chris@0 1490
Chris@0 1491 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1492
Chris@0 1493 * README doc/win32.html
Chris@0 1494 Bring these up to date.
Chris@0 1495
Chris@0 1496 * src/aiff.c
Chris@0 1497 Fix parsing of REX files.
Chris@0 1498
Chris@0 1499 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1500
Chris@0 1501 * src/file_io.c
Chris@0 1502 Use intptr_t instead of long for return value of _get_osfhandle.
Chris@0 1503
Chris@0 1504 * src/test_conversions.c src/test_endswap.tpl
Chris@0 1505 Fix printing of int64_t values.
Chris@0 1506
Chris@0 1507 * examples/sndfile-play.c
Chris@0 1508 Fix win64 issues.
Chris@0 1509
Chris@0 1510 * tests/win32_ordinal_test.c
Chris@0 1511 Fix calling of GetProcAddress with ordinal under win64.
Chris@0 1512
Chris@0 1513 * tests/utils.tpl
Chris@0 1514 Fix win64 issues.
Chris@0 1515
Chris@0 1516 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1517
Chris@0 1518 * examples/*
Chris@0 1519 Rename copy_data.[ch] to common.[ch]. Fix build.
Chris@0 1520 Move code from sndfile-metadata-set.c to common.c.
Chris@0 1521
Chris@0 1522 * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
Chris@0 1523 Clean paths.
Chris@0 1524
Chris@0 1525 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1526
Chris@0 1527 * doc/tutorial.html doc/Makefile.am
Chris@0 1528 Add file doc/tutorial.html and hook into build/dist system.
Chris@0 1529
Chris@0 1530 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1531
Chris@0 1532 * examples/sndfile-metadata-set.c
Chris@0 1533 Clean up handling of bext command line params.
Chris@0 1534
Chris@0 1535 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1536
Chris@0 1537 * src/w64.c
Chris@0 1538 Add handling/skipping of a couple of new chunk types.
Chris@0 1539
Chris@0 1540 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1541
Chris@0 1542 * configure.ac
Chris@0 1543 Add -funsigned-char to CFLAGS if the compiler supports it.
Chris@0 1544
Chris@0 1545 * examples/sndfile-metadata-(get|set).c
Chris@0 1546 Add handling for more metadata types.
Chris@0 1547
Chris@0 1548 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1549
Chris@0 1550 * src/common.h
Chris@0 1551 Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
Chris@0 1552 field of SF_INFO into component parts.
Chris@0 1553
Chris@0 1554 * src/*.c
Chris@0 1555 Use new macros everywhere it is appropriate.
Chris@0 1556
Chris@0 1557 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1558
Chris@0 1559 * examples/sndfile-bwf-set.c
Chris@0 1560 Massive reworking.
Chris@0 1561
Chris@0 1562 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1563
Chris@0 1564 * examples/sndfile-bwf-set.c
Chris@0 1565 Add --info-auto-create-date command line option.
Chris@0 1566
Chris@0 1567 * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
Chris@0 1568 examples/Makefile.am examples/test-sndfile-bwf-set.py
Chris@0 1569 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
Chris@0 1570 Change command line args.
Chris@0 1571
Chris@0 1572 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1573
Chris@0 1574 * src/wav.c
Chris@0 1575 Allow 'PAD ' chunk to be modified in RDWR mode.
Chris@0 1576
Chris@0 1577 * src/sndfile.h.in src/sndfile.c
Chris@0 1578 Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
Chris@0 1579
Chris@0 1580 * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
Chris@0 1581 tests/misc_test.c
Chris@0 1582 Add tests for RF64.
Chris@0 1583
Chris@0 1584 * src/rf64.c
Chris@0 1585 Fixes to make sure all tests pass.
Chris@0 1586
Chris@0 1587 * tests/Makefile.am tests/string_test.c
Chris@0 1588 Add string tests (not yet passing).
Chris@0 1589
Chris@0 1590 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1591
Chris@0 1592 * src/rf64.c
Chris@0 1593 First pass at writing RF64 now working.
Chris@0 1594
Chris@0 1595 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1596
Chris@0 1597 * examples/sndfile-convert.c
Chris@0 1598 Add SF_FORMAT_RF64 to format_map.
Chris@0 1599
Chris@0 1600 * src/common.h src/sndfile.c
Chris@0 1601 More RF64 support code.
Chris@0 1602
Chris@0 1603 * examples/sndfile-bwf-set.c
Chris@0 1604 Fix the month number in autogenerated date string and use hypen in date
Chris@0 1605 instead of slash.
Chris@0 1606
Chris@0 1607 * examples/test-sndfile-bwf-set.py
Chris@0 1608 Update tests.
Chris@0 1609
Chris@0 1610 * examples/sndfile-info.c
Chris@0 1611 When called with -i or -b option, operate on all files on command line, not
Chris@0 1612 just the first.
Chris@0 1613
Chris@0 1614 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1615
Chris@0 1616 * src/rf64.c
Chris@0 1617 New file to handle RF64 (WAV like format supportting > 4Gig files).
Chris@0 1618
Chris@0 1619 * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
Chris@0 1620 Hook the above into build so hacking can begin.
Chris@0 1621
Chris@0 1622 * src/pcm.c
Chris@0 1623 Improve log message when pcm_init fails.
Chris@0 1624
Chris@0 1625 * src/sndfile-info.c
Chris@0 1626 Only calculate and print 'Signal Max' if file is less than 10 megabytes in
Chris@0 1627 length.
Chris@0 1628
Chris@0 1629 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1630
Chris@0 1631 * tests/string_test.c
Chris@0 1632 Polish string_multi_set_test.
Chris@0 1633
Chris@0 1634 * src/wav.c
Chris@0 1635 In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
Chris@0 1636 length has changed).
Chris@0 1637 Minor fixes in wav_write_strings.
Chris@0 1638 Write PAD chunk with default endian-ness, not a specific endian-ness.
Chris@0 1639
Chris@0 1640 * examples/test-sndfile-bwf-set.py
Chris@0 1641 Add Python script to test sndfile-bwf-set/get.
Chris@0 1642
Chris@0 1643 * examples/sndfile-bwf-set.c
Chris@0 1644 Clean up and fixes.
Chris@0 1645
Chris@0 1646 * src/wav.c
Chris@0 1647 Merge function wavex_write_header into wav_write_header, deleting about 70
Chris@0 1648 lines of code.
Chris@0 1649
Chris@0 1650 * src/common.h
Chris@0 1651 Double value of SF_MAX_STRINGS.
Chris@0 1652
Chris@0 1653 * tests/string_test.c
Chris@0 1654 Add string tests for WAVEX and RIFX files.
Chris@0 1655
Chris@0 1656 * tests/command_test.c
Chris@0 1657 Add broadcast test for WAVEX files.
Chris@0 1658
Chris@0 1659 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1660
Chris@0 1661 * tests/string_test.c
Chris@0 1662 Add a new string_rdwr_test (currently failing for WAV).
Chris@0 1663 Add a new string_multi_set_test (currently failing).
Chris@0 1664
Chris@0 1665 * tests/command_test.c
Chris@0 1666 Add new broadcast_rdwr_test (currently failing).
Chris@0 1667
Chris@0 1668 * src/wav.c
Chris@0 1669 Fix to WAV parser to allow 'bext' chunk to be updated in place.
Chris@0 1670 In wav_write_tailer, seek to psf->dataend if its greater than zero.
Chris@0 1671
Chris@0 1672 * src/sndfile.c
Chris@0 1673 Make sure psf->have_written gets set correctly in mode SFM_RDWR.
Chris@0 1674
Chris@0 1675 * configure.ac
Chris@0 1676 Test for <sys/time.h> and gettimeofday.
Chris@0 1677
Chris@0 1678 * src/common.c
Chris@0 1679 Use gettimeofday() to initialize psf_rand_int32.
Chris@0 1680
Chris@0 1681 * src/common.h src/sndfile.c
Chris@0 1682 Add unique_id field to SF_PRIVATE struct.
Chris@0 1683
Chris@0 1684 * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
Chris@0 1685 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
Chris@0 1686
Chris@0 1687 * src/common.h src/strings.c
Chris@0 1688 Add function psf_location_string_count.
Chris@0 1689
Chris@0 1690 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1691
Chris@0 1692 * configure.ac
Chris@0 1693 Test for localtime and localtime_r.
Chris@0 1694
Chris@0 1695 * examples/sndfile-convert.c
Chris@0 1696 In function copy_metadata(), copy broadcast info if present.
Chris@0 1697
Chris@0 1698 * examples/copy_data.[ch] examples/Makefile.am
Chris@0 1699 Break some functionality out of sndfile-convert.c so it can be used in
Chris@0 1700 examples/sndfile-bwf-set.c.
Chris@0 1701
Chris@0 1702 * tests/utils.tpl
Chris@0 1703 Add new function create_short_sndfile().
Chris@0 1704
Chris@0 1705 * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
Chris@0 1706 examples/Makefile.am
Chris@0 1707 Add new files and hook into build.
Chris@0 1708
Chris@0 1709 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1710
Chris@0 1711 * src/sndfile.h.in
Chris@0 1712 Fix comments. Patch from Mark Glines.
Chris@0 1713
Chris@0 1714 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1715
Chris@0 1716 * tests/misc_test.c
Chris@0 1717 Use zero_data_test on Ogg/Vorbis files.
Chris@0 1718
Chris@0 1719 * src/ogg.c
Chris@0 1720 Fix segfault when closing an Ogg/Vorbis file that has been opened for write
Chris@0 1721 but had no actual data written to it. Bug reported by Chinoy Gupta.
Chris@0 1722
Chris@0 1723 * tests/Makefile.am
Chris@0 1724 Make sure to run mist_test on Ogg/Vorbis files.
Chris@0 1725
Chris@0 1726 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1727
Chris@0 1728 * regtest/Makefile.am
Chris@0 1729 Use SQLITE3_CFLAGS to locate sqlite headers.
Chris@0 1730
Chris@0 1731 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1732
Chris@0 1733 * doc/index.html doc/FAQ.html
Chris@0 1734 Add notes about which versions of windows libsndfile works on.
Chris@0 1735
Chris@0 1736 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1737
Chris@0 1738 * tests/misc_test.c
Chris@0 1739 Add a test for correct handling of Ambisonic files. Thanks to Fons
Chris@0 1740 Adriaensen for the test.
Chris@0 1741
Chris@0 1742 * src/wav.c src/wav_w64.c
Chris@0 1743 Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
Chris@0 1744
Chris@0 1745 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1746
Chris@0 1747 * configure.ac
Chris@0 1748 Fix detection/enabling of external libs.
Chris@0 1749
Chris@0 1750 * M4/extra_pkg.m4 M4/Makefile.am
Chris@0 1751 Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
Chris@0 1752 PKG_CHECK_MODULES. The new macro prints the version number of the package
Chris@0 1753 it is searching for.
Chris@0 1754
Chris@0 1755 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1756
Chris@0 1757 * src/aiff.c
Chris@0 1758 Apply a fix from Axel Röbel where if the second loop in the instrument
Chris@0 1759 chunk is none, the loop mode is written into the first loop.
Chris@0 1760
Chris@0 1761 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1762
Chris@0 1763 * src/test_float.c src/test_main.(c|h) src/Makefile.am
Chris@0 1764 Add new file to test functions float32_(le|be)_(read|write) and
Chris@0 1765 double64_(le|be)_(read|write). Hook into build and testsuite.
Chris@0 1766
Chris@0 1767 * src/double64.c src/float32.c
Chris@0 1768 Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
Chris@0 1769 for reporting this bug.
Chris@0 1770
Chris@0 1771 * src/sndfile.h.in
Chris@0 1772 Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
Chris@0 1773 unsigned.
Chris@0 1774
Chris@0 1775 * examples/sndfile-info.c
Chris@0 1776 Print out the BEXT time reference in a sensible format.
Chris@0 1777
Chris@0 1778 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1779
Chris@0 1780 * src/*.c
Chris@0 1781 Fuzz fixes.
Chris@0 1782
Chris@0 1783 * src/ogg.c
Chris@0 1784 Add call to ogg_stream_clear to fix valgrind warning.
Chris@0 1785
Chris@0 1786 * src/aiff.c
Chris@0 1787 Fix x86_64 compile issue.
Chris@0 1788
Chris@0 1789 * configure.ac src/Makefile.am src/flac.c src/ogg.c
Chris@0 1790 Link to external versions of FLAC, Ogg and Vorbis.
Chris@0 1791
Chris@0 1792 * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
Chris@0 1793 tests/vorbis_test.c tests/write_read_test.tpl
Chris@0 1794 Fix tests when configured with --disable-external-libs.
Chris@0 1795
Chris@0 1796 * tests/external_libs_test.c tests/Makefile.am
Chris@0 1797 Add new test and hook into build and test suite.
Chris@0 1798
Chris@0 1799 * src/command.c
Chris@0 1800 Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
Chris@0 1801 the right data when external libs are disabled.
Chris@0 1802
Chris@0 1803 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1804
Chris@0 1805 * tests/write_read_test.tpl
Chris@0 1806 Add a test for extending a file during write by seeking past the current
Chris@0 1807 end of file.
Chris@0 1808
Chris@0 1809 * src/sndfile.c
Chris@0 1810 Allow seeking past end of file during write.
Chris@0 1811
Chris@0 1812 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1813
Chris@0 1814 * doc/api.html doc/command.html
Chris@0 1815 Move all information about the sf_command function to command.html and add
Chris@0 1816 a link from documentation of the sf_read/write_raw function to the
Chris@0 1817 SFC_RAW_NEEDS_ENDSWAP command.
Chris@0 1818
Chris@0 1819 * doc/index.html doc/FAQ.html doc/libsndfile.css
Chris@0 1820 Minor documentation tweaks.
Chris@0 1821
Chris@0 1822 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1823
Chris@0 1824 * configure.ac
Chris@0 1825 Add AM_PROG_CC_C_O.
Chris@0 1826
Chris@0 1827 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1828
Chris@0 1829 * tests/error_test.c
Chris@0 1830 Add a test to make sure if file opened with sf_open_fd, and then the file
Chris@0 1831 descriptor is closed, then sf_close will return an error code. Thanks to
Chris@0 1832 Dave Flogeras for the bug report.
Chris@0 1833
Chris@0 1834 * src/sndfile.c
Chris@0 1835 Make sf_close return an error is the file descriptor is already closed.
Chris@0 1836
Chris@0 1837 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1838
Chris@0 1839 * configure.ac
Chris@0 1840 Set object format to aout for OS/2. Thanks to David Yeo.
Chris@0 1841
Chris@0 1842 * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
Chris@0 1843 Add ability to read MPC 2000 file.
Chris@0 1844
Chris@0 1845 * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
Chris@0 1846 tests/Makefile.am
Chris@0 1847 Add tests for MPC 2000 file format.
Chris@0 1848
Chris@0 1849 * examples/sndfile-convert.c
Chris@0 1850 Allow conversion to MPC 2000 file format.
Chris@0 1851
Chris@0 1852 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1853
Chris@0 1854 * src/VORBIS/lib/codebook.c
Chris@0 1855 Sync from upstream SVN.
Chris@0 1856
Chris@0 1857 * autogen.sh configure.ac
Chris@0 1858 Minor tweaks.
Chris@0 1859
Chris@0 1860 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1861
Chris@0 1862 * src/ogg.c
Chris@0 1863 Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
Chris@0 1864 The patch as supplied segfaulted and required many hours of debugging.
Chris@0 1865
Chris@0 1866 * src/OGG/bitwise.c
Chris@0 1867 Sync from upstream SVN.
Chris@0 1868
Chris@0 1869 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1870
Chris@0 1871 * src/aiff.c
Chris@0 1872 Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
Chris@0 1873 this issue.
Chris@0 1874
Chris@0 1875 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1876
Chris@0 1877 * tests/*.c
Chris@0 1878 Add calls to sf_close() where needed.
Chris@0 1879
Chris@0 1880 * tests/utils.tpl tests/multi_file_test.c
Chris@0 1881 Always pass 0 as the third argument to open when OS_IS_WIN32.
Chris@0 1882
Chris@0 1883 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1884
Chris@0 1885 * src/test_*
Chris@0 1886 Add files test_main.[ch].
Chris@0 1887 Collapse all tests into a single executable.
Chris@0 1888
Chris@0 1889 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1890
Chris@0 1891 * src/FLAC
Chris@0 1892 Sync to upstream CVS.
Chris@0 1893
Chris@0 1894 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1895
Chris@0 1896 * src/common.h
Chris@0 1897 Make SF_MIN and SF_MAX macros MinGW friendly.
Chris@0 1898
Chris@0 1899 * examples/sndfile-(info|play).c
Chris@0 1900 Use Sleep function from <windows.h> instead of _sleep.
Chris@0 1901
Chris@0 1902 * tests/locale_test.c
Chris@0 1903 Disable some tests when OS_IS_WIN32.
Chris@0 1904
Chris@0 1905 * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
Chris@0 1906 src/FLAC/src/share/utf8/utf8.c
Chris@0 1907 MinGW fixes.
Chris@0 1908
Chris@0 1909 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1910
Chris@0 1911 * doc/FAQ.html
Chris@0 1912 Tweaks to pcm16 <-> float conversion answer.
Chris@0 1913
Chris@0 1914 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1915
Chris@0 1916 * src/OGG
Chris@0 1917 Sync to SVN upstream.
Chris@0 1918
Chris@0 1919 * Makefile.am
Chris@0 1920 Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
Chris@0 1921
Chris@0 1922 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1923
Chris@0 1924 * examples/sndfile-jackplay.c
Chris@0 1925 Minor tweaks to warning message printed when compiled without libjack.
Chris@0 1926
Chris@0 1927 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1928
Chris@0 1929 * tests/peak_chunk_test.c
Chris@0 1930 Improve read_write_peak_test to find more errors. Inspired by example
Chris@0 1931 provided by Nicolas Castagne.
Chris@0 1932
Chris@0 1933 * src/aiff.c
Chris@0 1934 Another SFM_RDWR fix shown up by above test.
Chris@0 1935
Chris@0 1936 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1937
Chris@0 1938 * src/aiff.c
Chris@0 1939 Fix reading of COMM encoding string.
Chris@0 1940
Chris@0 1941 * src/chunk.c src/common.h src/Makefile.am
Chris@0 1942 New file for storing and retrieving info about header chunks. Hook into
Chris@0 1943 build.
Chris@0 1944
Chris@0 1945 * src/aiff.c
Chris@0 1946 Use new chunk logging to fix problem with AIFF in RDWR mode.
Chris@0 1947
Chris@0 1948 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1949
Chris@0 1950 * src/command.c
Chris@0 1951 Add WVE to the list of major formats.
Chris@0 1952
Chris@0 1953 * tests/aiff_rw_test.c
Chris@0 1954 Fix error reporting.
Chris@0 1955
Chris@0 1956 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1957
Chris@0 1958 * src/common.[ch]
Chris@0 1959 Add internal functions str_of_major_format, str_of_minor_format,
Chris@0 1960 str_of_open_mode and str_of_endianness.
Chris@0 1961
Chris@0 1962 * tests/write_read_test.tpl
Chris@0 1963 Fix reporting of errors in new_rdwr_XXXX_test.
Chris@0 1964
Chris@0 1965 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1966
Chris@0 1967 * examples/sndfile-play.c
Chris@0 1968 Apply patch from Yair K. to fix compiles with OSS v4.
Chris@0 1969
Chris@0 1970 * src/common.h src/float32.c src/double64.c
Chris@0 1971 Rename psf->float_enswap to psf->data_endswap.
Chris@0 1972
Chris@0 1973 * src/sndfile.h.in src/sndfile.c src/pcm.c
Chris@0 1974 Add command SFC_RAW_NEEDS_ENDSWAP.
Chris@0 1975
Chris@0 1976 * tests/command.c
Chris@0 1977 Add test for SFC_RAW_NEEDS_ENDSWAP.
Chris@0 1978
Chris@0 1979 * doc/command.html
Chris@0 1980 Document SFC_RAW_NEEDS_ENDSWAP.
Chris@0 1981
Chris@0 1982 * tests/peak_chunk_test.c
Chris@0 1983 Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
Chris@0 1984 bug report.
Chris@0 1985
Chris@0 1986 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1987
Chris@0 1988 * examples/sndfile-cmp.c
Chris@0 1989 Add new example program contributed by Conrad Parker.
Chris@0 1990
Chris@0 1991 * examples/Makefile.am
Chris@0 1992 Hook into build.
Chris@0 1993
Chris@0 1994 * doc/development.html
Chris@0 1995 Change use or reconfigure.mk to autogen.sh.
Chris@0 1996
Chris@0 1997 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 1998
Chris@0 1999 * tests/win32_test.c
Chris@0 2000 Add another win32 test.
Chris@0 2001
Chris@0 2002 * tests/util.tpl
Chris@0 2003 Add function file_length_fd which wraps fstat.
Chris@0 2004
Chris@0 2005 * tests/Makefile.am
Chris@0 2006 Run the multi_file_test on AU files.
Chris@0 2007
Chris@0 2008 * tests/multi_file_test.c
Chris@0 2009 Use function file_length_fd() instead of file_length() to overcome stupid
Chris@0 2010 win32 bug. Fscking hell Microsoft sucks so much.
Chris@0 2011
Chris@0 2012 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2013
Chris@0 2014 * src/sd2.c
Chris@0 2015 Fix a rsrc parsing bug. Example file supplied by Uli Franke.
Chris@0 2016
Chris@0 2017 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2018
Chris@0 2019 * doc/index.html
Chris@0 2020 Allow use of either LGPL v2.1 or LGPL v3.
Chris@0 2021
Chris@0 2022 * tests/header_test.tpl
Chris@0 2023 Add header_shrink_test from Axel Röbel.
Chris@0 2024
Chris@0 2025 * src/wav.c
Chris@0 2026 Add fix from Axel Röbel for writing files with float data but no peak
Chris@0 2027 chunk (ie peak chunk gets removed after the file is opened).
Chris@0 2028
Chris@0 2029 * src/aiff.c tests/header_test.tpl
Chris@0 2030 Apply similar fix to above for AIFF files.
Chris@0 2031
Chris@0 2032 * src/wav.c tests/header_test.tpl
Chris@0 2033 Apply similar fix to above for WAVEX files.
Chris@0 2034
Chris@0 2035 * src/command.c
Chris@0 2036 Add Ogg/Vorbis to 'get format' commands.
Chris@0 2037
Chris@0 2038 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2039
Chris@0 2040 * src/ogg.c
Chris@0 2041 Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
Chris@0 2042 Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
Chris@0 2043
Chris@0 2044 * tests/ogg_test.c
Chris@0 2045 Add stereo seek tests.
Chris@0 2046
Chris@0 2047 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2048
Chris@0 2049 * tests/ogg_test.c
Chris@0 2050 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
Chris@0 2051 case supplied by Bodo.
Chris@0 2052
Chris@0 2053 * tests/utils.(def|tpl)
Chris@0 2054 Add compare_XXX_or_die functions.
Chris@0 2055
Chris@0 2056 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2057
Chris@0 2058 * src/aiff.c
Chris@0 2059 Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
Chris@0 2060 misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
Chris@0 2061
Chris@0 2062 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2063
Chris@0 2064 * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
Chris@0 2065 Merge in code from the vox-patch branch. Thanks to Robs for the patch
Chris@0 2066 which fixes a long standing bug in the VOX codec.
Chris@0 2067
Chris@0 2068 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2069
Chris@0 2070 * examples/sndfile-convert.c
Chris@0 2071 Fix handling of -override-sample-rate=X option.
Chris@0 2072
Chris@0 2073 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2074
Chris@0 2075 * src/ogg.c src/VORBIS
Chris@0 2076 Merge in Ogg Vorbis support from John ffitch of the Csound project.
Chris@0 2077
Chris@0 2078 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2079
Chris@0 2080 * src/sndfile.c
Chris@0 2081 Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
Chris@0 2082 recognise 'vox8' as and 'vox' as 8kHz files.
Chris@0 2083
Chris@0 2084 * configure.ac
Chris@0 2085 Detect libjack (JACK Audio Connect Kit).
Chris@0 2086
Chris@0 2087 * examples/sndfile-jackplay.c examples/Makefile.am
Chris@0 2088 Add new example program to play sound files using the JACK audio server.
Chris@0 2089 Thanks to Jonatan Liljedahl for allowing this to be included.
Chris@0 2090
Chris@0 2091 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2092
Chris@0 2093 * doc/index.html
Chris@0 2094 Update support table with SD2 and FLAC.
Chris@0 2095
Chris@0 2096 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2097
Chris@0 2098 * src/sndfile.c
Chris@0 2099 Fix calculation of internal value psf->read_current when attempting to read
Chris@0 2100 past end of audio data.
Chris@0 2101 Remove redundant code.
Chris@0 2102
Chris@0 2103 * tests/lossy_comp_test.c
Chris@0 2104 Add read_raw_test to check that raw reads do not go past the end of the
Chris@0 2105 audio data section.
Chris@0 2106 Clean up error output messages.
Chris@0 2107
Chris@0 2108 * src/sndfile.c
Chris@0 2109 Add code to prevent sf_read_raw from reading past the end of the audio data.
Chris@0 2110
Chris@0 2111 * tests/Makefile.am
Chris@0 2112 Add the wav_pcm lossy_comp_test.
Chris@0 2113
Chris@0 2114 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2115
Chris@0 2116 * configure.ac src/Makefile.am src/create_symbols_file.py
Chris@0 2117 More OS/2 fixes from David Yeo.
Chris@0 2118
Chris@0 2119 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2120
Chris@0 2121 * src/file_io.c tests/utils.tpl tests/benchmark.tpl
Chris@0 2122 Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
Chris@0 2123
Chris@0 2124 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2125
Chris@0 2126 * src/common.h
Chris@0 2127 Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
Chris@0 2128
Chris@0 2129 * src/create_symbols_file.py
Chris@0 2130 Add support for OS/2 contributed by David Yeo.
Chris@0 2131
Chris@0 2132 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2133
Chris@0 2134 * M4/gcc_version.m4
Chris@0 2135 Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
Chris@0 2136
Chris@0 2137 * configure.ac
Chris@0 2138 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
Chris@0 2139 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
Chris@0 2140 Use -fgnu-inline to prevent stupid warnings.
Chris@0 2141
Chris@0 2142 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2143
Chris@0 2144 * tests/util.tpl
Chris@0 2145 Increase the printing width for print_test_name().
Chris@0 2146
Chris@0 2147 * tests/command_test.c tests/Makefile.am
Chris@0 2148 Add tests for correct updating of broadcast WAV coding history.
Chris@0 2149
Chris@0 2150 * examples/sndfilehandle.cc examples/Makefile.am
Chris@0 2151 Add example program using the C++ SndfileHandle class.
Chris@0 2152
Chris@0 2153 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2154
Chris@0 2155 * src/common.h src/sndfile.c
Chris@0 2156 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
Chris@0 2157
Chris@0 2158 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2159
Chris@0 2160 * src/sd2.c
Chris@0 2161 Identify sample-rate/sample-size/channels by resource id.
Chris@0 2162
Chris@0 2163 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2164
Chris@0 2165 * src/broadcast.c src/common.h src/sndfile.c
Chris@0 2166 Improvements to handling of broadcast info in WAV files. Thanks to Frederic
Chris@0 2167 Cornu and other for their input.
Chris@0 2168
Chris@0 2169 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2170
Chris@0 2171 * src/FLAC/include/share/alloc.h
Chris@0 2172 Mingw fix for SIZE_T_MAX from Uli Franke.
Chris@0 2173
Chris@0 2174 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2175
Chris@0 2176 * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
Chris@0 2177 Move tests from open_fail_test.c to error_test.c and remove the former.
Chris@0 2178
Chris@0 2179 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2180
Chris@0 2181 * tests/scale_clip_test.(def|tpl)
Chris@0 2182 Add tests for SFC_SET_INT_FLOAT_WRITE command.
Chris@0 2183
Chris@0 2184 * doc/command.html
Chris@0 2185 Add docs for SFC_SET_INT_FLOAT_WRITE command.
Chris@0 2186
Chris@0 2187 * examples/sndfile-play.c tests/dft_cmp.c
Chris@0 2188 Fix gcc-4.2 warning messages.
Chris@0 2189
Chris@0 2190 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2191
Chris@0 2192 * src/sndfile.h.in src/sndfile.c
Chris@0 2193 Add command SFC_GET_CURRENT_SF_INFO.
Chris@0 2194
Chris@0 2195 * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
Chris@0 2196 Remove function sf_get_info (only ever in pre-release code).
Chris@0 2197
Chris@0 2198 * tests/command_test.c
Chris@0 2199 Add test for SFC_GET_CURRENT_SF_INFO.
Chris@0 2200
Chris@0 2201 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2202
Chris@0 2203 * src/wav.c
Chris@0 2204 Add parsing of 'exif' chunks. Originally coded by Trent Apted.
Chris@0 2205
Chris@0 2206 * configure.ac
Chris@0 2207 Put config stuff in Cfg directory.
Chris@0 2208 Remove check for inttypes.h.
Chris@0 2209
Chris@0 2210 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2211
Chris@0 2212 * src/w64.c
Chris@0 2213 Fix writing of 'riff' chunk length and check for correct value in parser.
Chris@0 2214
Chris@0 2215 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2216
Chris@0 2217 * doc/index.html
Chris@0 2218 Link to MP3 FAQ entry.
Chris@0 2219
Chris@0 2220 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2221
Chris@0 2222 * src/flac.c
Chris@0 2223 Move the blocksize check to an earlier stage of flac_buffer_copy.
Chris@0 2224
Chris@0 2225 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2226
Chris@0 2227 * src/FLAC
Chris@0 2228 Huge merge from FLAC upstream.
Chris@0 2229
Chris@0 2230 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2231
Chris@0 2232 * examples/*.c
Chris@0 2233 Change license to all example programs to BSD.
Chris@0 2234
Chris@0 2235 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2236
Chris@0 2237 * src/FLAC/include/FLAC/metadata.h
Chris@0 2238 Include <sys/types.h> to prevent compile error on OSX.
Chris@0 2239
Chris@0 2240 * Octave/octave_test.sh
Chris@0 2241 Disable test on OSX. Can't get it to work.
Chris@0 2242
Chris@0 2243 * src/flac.c
Chris@0 2244 Check the blocksize returned from the FLAC decoder to prevent buffer
Chris@0 2245 overruns. Reported by Jeremy Friesner. Thanks.
Chris@0 2246
Chris@0 2247 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2248
Chris@0 2249 * Makefile.am M4/octave.m4
Chris@0 2250 Fix build when Octave headers are not present.
Chris@0 2251
Chris@0 2252 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2253
Chris@0 2254 * doc/development.html
Chris@0 2255 Add note about bzr repository directory looking empty.
Chris@0 2256
Chris@0 2257 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2258
Chris@0 2259 * configure.ac Octave/* M4/octave_*
Chris@0 2260 Bunch of changes to add ability to build GNU Octave modules to read/write
Chris@0 2261 sound files using libsndfile from Octave.
Chris@0 2262
Chris@0 2263 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2264
Chris@0 2265 * acinclude.m4 configure.ac ...
Chris@0 2266 Get rid of acinclude.m4 and replace it with an M4 directory.
Chris@0 2267
Chris@0 2268 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2269
Chris@0 2270 * src/sndfile.h.in
Chris@0 2271 Remove crufty Metrowerks compiler support. Allow header file to be compiled
Chris@0 2272 on windows with both GCC and microsoft compiler.
Chris@0 2273
Chris@0 2274 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2275
Chris@0 2276 * tests/dft_cmp.[ch] tests/floating_point_test.tpl
Chris@0 2277 Clean up floating point tests.
Chris@0 2278
Chris@0 2279 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2280
Chris@0 2281 * src/aiff.c
Chris@0 2282 Fix segfault when COMM chunk length is byte swapped.
Chris@0 2283
Chris@0 2284 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2285
Chris@0 2286 * src/common.h src/mat4.c src/mat5.c src/sndfile.c
Chris@0 2287 Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
Chris@0 2288
Chris@0 2289 * src/au.c
Chris@0 2290 Fix crash on AU files with zero channel count. Reported by Ben Alison.
Chris@0 2291
Chris@0 2292 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2293
Chris@0 2294 * src/voc.c
Chris@0 2295 Fix bug in handling file supplied by Matt Olenik.
Chris@0 2296
Chris@0 2297 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2298
Chris@0 2299 * src/OGG
Chris@0 2300 Merge from OGG upstream sources.
Chris@0 2301
Chris@0 2302 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2303
Chris@0 2304 * src/FLAC
Chris@0 2305 Merge from FLAC upstream sources.
Chris@0 2306
Chris@0 2307 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2308
Chris@0 2309 * src/flac.c
Chris@0 2310 Fix memory leak; set copy parameter to FALSE in call to
Chris@0 2311 FLAC__metadata_object_vorbiscomment_append_comment.
Chris@0 2312
Chris@0 2313 * src/common.[ch]
Chris@0 2314 Add function psf_rand_int32().
Chris@0 2315
Chris@0 2316 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2317
Chris@0 2318 * src/FLAC
Chris@0 2319 Merge from FLAC upstream sources.
Chris@0 2320
Chris@0 2321 * src/strings.c tests/string_test.c tests/Makefile.am
Chris@0 2322 Make sure string tests for SF_STR_LICENSE actually works.
Chris@0 2323
Chris@0 2324 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2325
Chris@0 2326 * tests/string_test.c
Chris@0 2327 Add ability to test strings stored in metadata secion of FLAC files.
Chris@0 2328
Chris@0 2329 * src/string.c
Chris@0 2330 Fix logic for testing if audio data has been written and string is added.
Chris@0 2331 Make sure SF_STR_ALBUM actually works.
Chris@0 2332
Chris@0 2333 * src/flac.c
Chris@0 2334 Finalize reading/writing string metadata. Tests pass.
Chris@0 2335
Chris@0 2336 * src/sndfile.h.in tests/string_test.c src/flac.c
Chris@0 2337 Add string type SF_STR_LICENSE, update test and use for FLAC files.
Chris@0 2338
Chris@0 2339 * src/sndfile.h.in
Chris@0 2340 Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
Chris@0 2341
Chris@0 2342 * src/common.h src/double64.c src/float32.c src/sndfile.c
Chris@0 2343 Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
Chris@0 2344
Chris@0 2345 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2346
Chris@0 2347 * src/flac.c
Chris@0 2348 Apply patch from Ed Schouten to read artist and title metadata from FLAC
Chris@0 2349 files.
Chris@0 2350 Improve reporting of FLAC metadata.
Chris@0 2351
Chris@0 2352 * src/sndfile.h.in tests/string_test.c src/flac.c
Chris@0 2353 Add string type SF_STR_ALBUM, update test and use for FLAC files.
Chris@0 2354
Chris@0 2355 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2356
Chris@0 2357 * src/FLAC/*
Chris@0 2358 Merge from upstream CVS.
Chris@0 2359
Chris@0 2360 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2361
Chris@0 2362 * src/FLAC/*
Chris@0 2363 Update from upstream CVS.
Chris@0 2364
Chris@0 2365 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2366
Chris@0 2367 * tests/cpp_test.cc
Chris@0 2368 Add extra tests for when the SndfileHandle constructor fails.
Chris@0 2369
Chris@0 2370 * src/sndfile.hh
Chris@0 2371 Make sure failure to open the file in the constructor does not allow later
Chris@0 2372 calls to other methods to fail.
Chris@0 2373
Chris@0 2374 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2375
Chris@0 2376 * tests/util.tpl
Chris@0 2377 Add function write_mono_file.
Chris@0 2378
Chris@0 2379 * tests/generate.[ch] tests/Makefile.am
Chris@0 2380 Add files generate.[ch] and hook into build.
Chris@0 2381
Chris@0 2382 * tests/write_read_test.tpl
Chris@0 2383 Add multi_seek_test.
Chris@0 2384
Chris@0 2385 * src/flac.c
Chris@0 2386 Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
Chris@0 2387 by David Viens.
Chris@0 2388
Chris@0 2389 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2390
Chris@0 2391 * doc/FAQ.html
Chris@0 2392 Minor update.
Chris@0 2393
Chris@0 2394 * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
Chris@0 2395 Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
Chris@0 2396
Chris@0 2397 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2398
Chris@0 2399 * src/wav.c
Chris@0 2400 Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
Chris@0 2401
Chris@0 2402 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2403
Chris@0 2404 * src/wav.c
Chris@0 2405 Fix array indexing bug raised by Bruce Sharpe.
Chris@0 2406
Chris@0 2407 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2408
Chris@0 2409 * src/FLAC/src/share/getopt/getopt.c
Chris@0 2410 Fix Mac OSX / PowerPC compile warnings.
Chris@0 2411
Chris@0 2412 * configure.ac
Chris@0 2413 Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
Chris@0 2414
Chris@0 2415 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2416
Chris@0 2417 * doc/FAQ.html
Chris@0 2418 Add Q/A about MP3 support.
Chris@0 2419
Chris@0 2420 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2421
Chris@0 2422 * doc/new_file_type.HOWTO
Chris@0 2423 Minor updates.
Chris@0 2424
Chris@0 2425 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2426
Chris@0 2427 * src/wve.c
Chris@0 2428 Fix a couple bad parameters with psf_log_printf.
Chris@0 2429
Chris@0 2430 * src/pcm.c
Chris@0 2431 Improve error reporting.
Chris@0 2432
Chris@0 2433 * src/common.h src/common.c
Chris@0 2434 Constify psf_hexdump.
Chris@0 2435
Chris@0 2436 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2437
Chris@0 2438 * src/FLAC
Chris@0 2439 Ditch and re-import required FLAC code.
Chris@0 2440
Chris@0 2441 * configure.ac
Chris@0 2442 Force FLAC__HAS_OGG variable to 1.
Chris@0 2443
Chris@0 2444 * src/FLAC/src/libFLAC/stream_encoder.c
Chris@0 2445 Fix compiler warnings.
Chris@0 2446
Chris@0 2447 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2448
Chris@0 2449 * configure.ac tests/win32_ordinal_test.c
Chris@0 2450 Detect if win32 DLL is beging generated and only run win32_ordinal_test if
Chris@0 2451 true.
Chris@0 2452
Chris@0 2453 * src/G72x/Makefile.am src/Makefile.am
Chris@0 2454 Use $(EXEEXT) where possible.
Chris@0 2455
Chris@0 2456 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2457
Chris@0 2458 * src/wve.c src/common.h src/sndfile.c
Chris@0 2459 Complete definition of SfE_WVE_NO_WVE error message.
Chris@0 2460
Chris@0 2461 * src/wve.c
Chris@0 2462 Fix error in files generated on big endian systems. Robustify parsing.
Chris@0 2463
Chris@0 2464 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2465
Chris@0 2466 * src/double64.c
Chris@0 2467 Fix clipping of double to short conversions on 64 bit systems.
Chris@0 2468
Chris@0 2469 * src/flac.c regtest/database.c tests/cpp_test.cc
Chris@0 2470 Fix compile warnings for 64 bit systems.
Chris@0 2471
Chris@0 2472 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2473
Chris@0 2474 * src/wav.c src/wav_w64.c
Chris@0 2475 Use audio detect function when 'fmt ' chunk data is suspicious.
Chris@0 2476
Chris@0 2477 * configure.ac
Chris@0 2478 Add ugly hack to remove -Werror from some Makefiles.
Chris@0 2479
Chris@0 2480 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2481
Chris@0 2482 * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
Chris@0 2483 Add patch from André Pang to clean up compiles on OSX.
Chris@0 2484
Chris@0 2485 * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
Chris@0 2486 examples/sndfile-convert.c
Chris@0 2487 Merge changes from Reuben Thomas to improve WVE support.
Chris@0 2488
Chris@0 2489 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 2490 Add tests for WVE files.
Chris@0 2491
Chris@0 2492 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2493
Chris@0 2494 * src/sndfile.hh
Chris@0 2495 Add a static SndfileHandle::formatCheck method as suggested by Jorge
Chris@0 2496 Jiménez.
Chris@0 2497
Chris@0 2498 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2499
Chris@0 2500 * src/sndfile.c
Chris@0 2501 Fixed a bug in sf_error() where the function itself was being compared
Chris@0 2502 against zero. Add a check for a NULL return from peak_info_calloc. Fix a
Chris@0 2503 possible NULL dereference.
Chris@0 2504
Chris@0 2505 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2506
Chris@0 2507 * src/flac.c
Chris@0 2508 Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
Chris@0 2509 opening file for RDWR.
Chris@0 2510
Chris@0 2511 * src/sndfile.c
Chris@0 2512 Improve error message for SFE_BAD_RDWR_FORMAT.
Chris@0 2513
Chris@0 2514 * src/mat4.c
Chris@0 2515 Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
Chris@0 2516
Chris@0 2517 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2518
Chris@0 2519 * doc/FAQ.html
Chris@0 2520 Add Q/A 19 on project files.
Chris@0 2521
Chris@0 2522 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2523
Chris@0 2524 * src/sndfile.c
Chris@0 2525 Guard agains MacOSX universal binary compiles.
Chris@0 2526
Chris@0 2527 * doc/FAQ.html
Chris@0 2528 Add Q/A 18 and clean up Q3.
Chris@0 2529
Chris@0 2530 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2531
Chris@0 2532 * src/aiff.c
Chris@0 2533 Add support for 'in24' files.
Chris@0 2534
Chris@0 2535 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2536
Chris@0 2537 * src/wav.c src/wav_w64.c src/wav_w64.h
Chris@0 2538 Start work towards detecting ausio codec type from the actual audio data.
Chris@0 2539
Chris@0 2540 * src/audio_detect.c src/test_audio_detect.c
Chris@0 2541 Add new file and its unit test.
Chris@0 2542
Chris@0 2543 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2544
Chris@0 2545 * examples/cooledit-fixer.c examples/Makefile.am
Chris@0 2546 Remove old broken example program.
Chris@0 2547
Chris@0 2548 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2549
Chris@0 2550 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
Chris@0 2551 Add function sf_get_info.
Chris@0 2552
Chris@0 2553 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2554
Chris@0 2555 * examples/sndfile-play.c
Chris@0 2556 For ALSA, use the 'default' device instead of 'plughw:0'.
Chris@0 2557
Chris@0 2558 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2559
Chris@0 2560 * src/sndfile.c
Chris@0 2561 Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
Chris@0 2562
Chris@0 2563 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2564
Chris@0 2565 * doc/development.html doc/embedded_files.html man/sndfile-play.1
Chris@0 2566 Minor documentation fixes. Thanks Reuben Thomas.
Chris@0 2567
Chris@0 2568 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2569
Chris@0 2570 * examples/sndfile-convert.c
Chris@0 2571 Add -override-sample-rate command line option.
Chris@0 2572
Chris@0 2573 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2574
Chris@0 2575 * tests/misc_test.c
Chris@0 2576 Force errno to zero at start of some tests.
Chris@0 2577
Chris@0 2578 * src/sndfile.c
Chris@0 2579 Minor clean up of error handling.
Chris@0 2580
Chris@0 2581 * configure.ac
Chris@0 2582 Remove an assembler test which was failing on OSX.
Chris@0 2583
Chris@0 2584 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2585
Chris@0 2586 * src/common.h
Chris@0 2587 Fix the definition of SF_PLATFORM_S64 for MinGW.
Chris@0 2588
Chris@0 2589 * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
Chris@0 2590 Fix path problems for MinGW.
Chris@0 2591
Chris@0 2592 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2593
Chris@0 2594 * src/sfendian.h
Chris@0 2595 Add include guard.
Chris@0 2596
Chris@0 2597 * src/Makefile.am src/flac.c
Chris@0 2598 Clean up include paths.
Chris@0 2599
Chris@0 2600 * src/test_conversions.c
Chris@0 2601 New file to test psf_binheader_readf/writef functions.
Chris@0 2602
Chris@0 2603 * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
Chris@0 2604 Clean up unit testing.
Chris@0 2605
Chris@0 2606 * src/common.c
Chris@0 2607 Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
Chris@0 2608 for reporting this.
Chris@0 2609
Chris@0 2610 * src/test_conversions.c
Chris@0 2611 Complete unit test for above fix.
Chris@0 2612
Chris@0 2613 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2614
Chris@0 2615 * src/sndfile.c
Chris@0 2616 More refactoring to clean up psf_open_file() and vairous sf_open()
Chris@0 2617 functions.
Chris@0 2618
Chris@0 2619 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2620
Chris@0 2621 * src/wav.c
Chris@0 2622 Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
Chris@0 2623 files of over 4 gigabytes.
Chris@0 2624
Chris@0 2625 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2626
Chris@0 2627 * src/sndfile.c
Chris@0 2628 Refactor function psf_open_file() to provide a single return point.
Chris@0 2629
Chris@0 2630 * tests/misc_test.c
Chris@0 2631 Fix permission_test to ensure that read only file can be created.
Chris@0 2632
Chris@0 2633 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2634
Chris@0 2635 * src/common.h
Chris@0 2636 Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
Chris@0 2637 bit integers.
Chris@0 2638
Chris@0 2639 * src/aiff.c src/svx.c src/wav.c
Chris@0 2640 Add warning in log if files are larger than 4 gigabytes in size.
Chris@0 2641
Chris@0 2642 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2643
Chris@0 2644 * src/FLAC src/OGG confgure.ac src/Makefile.am
Chris@0 2645 Pull in all required FLAC and OGG code so external libraries are not
Chris@0 2646 needed. This makes compiling on stupid fscking Windoze easier.
Chris@0 2647
Chris@0 2648 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2649
Chris@0 2650 * src/sd2.c
Chris@0 2651 Add workaround for switched sample rate and sample size.
Chris@0 2652
Chris@0 2653 * src/wav.c
Chris@0 2654 Add workaround for excessively long coding history in the 'bext' chunk.
Chris@0 2655
Chris@0 2656 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2657
Chris@0 2658 * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
Chris@0 2659 Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
Chris@0 2660
Chris@0 2661 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2662
Chris@0 2663 * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
Chris@0 2664 Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
Chris@0 2665 files. Still needs a little tweaking before its ready for release.
Chris@0 2666
Chris@0 2667 * src/*.c
Chris@0 2668 Use the UNUSED macro to prevent compiler warnings.
Chris@0 2669
Chris@0 2670 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2671
Chris@0 2672 * src/aiff.c
Chris@0 2673 Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
Chris@0 2674 to David Viens for providing two example files.
Chris@0 2675
Chris@0 2676 * src/common.(c|h) src/aiff.c
Chris@0 2677 Add a function psf_sanitize_string and use it in aiff.c.
Chris@0 2678
Chris@0 2679 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2680
Chris@0 2681 * src/wav_w64.c
Chris@0 2682 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
Chris@0 2683
Chris@0 2684 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2685
Chris@0 2686 * src/Makefile.am
Chris@0 2687 Fix problem related to recent test coverage changes.
Chris@0 2688
Chris@0 2689 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2690
Chris@0 2691 * configure.ac tests/Makefile.am
Chris@0 2692 Add --enable-test-coverage configure option.
Chris@0 2693
Chris@0 2694 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2695
Chris@0 2696 * src/sndfile.hh
Chris@0 2697 Add an std::string SndfileHandle constructor.
Chris@0 2698
Chris@0 2699 * tests/scale_clip_test.tpl
Chris@0 2700 Fix the 'make distcheck' target.
Chris@0 2701
Chris@0 2702 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2703
Chris@0 2704 * src/double64.c src/float32.c
Chris@0 2705 Add optional clipping on float file data to int read data conversions.
Chris@0 2706
Chris@0 2707 * tests/tests/scale_clip_test.(def|tpl)
Chris@0 2708 Add test for above new code.
Chris@0 2709
Chris@0 2710 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2711
Chris@0 2712 * tests/aiff_rw_test.c
Chris@0 2713 Add 'MARK' chunks to make sure they are parsed correctly.
Chris@0 2714
Chris@0 2715 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2716
Chris@0 2717 * src/aiff.c
Chris@0 2718 Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
Chris@0 2719 help debug the problem.
Chris@0 2720
Chris@0 2721 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2722
Chris@0 2723 * src/common.h
Chris@0 2724 Make the SF_MIN and SF_MAX macros at least partially type safe.
Chris@0 2725
Chris@0 2726 * tests/lossy_comp_test.c
Chris@0 2727 Fix overflow problems when ensuring that signalis not zero.
Chris@0 2728
Chris@0 2729 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2730
Chris@0 2731 * configure.ac docs/*.html
Chris@0 2732 Changes for release 1.0.17.
Chris@0 2733
Chris@0 2734 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2735
Chris@0 2736 * src/flac.c
Chris@0 2737 Remove inline from functions called by pointer. Thanks to Sampo Savolainen
Chris@0 2738 for notifying me of this.
Chris@0 2739
Chris@0 2740 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2741
Chris@0 2742 * src/sndfile.hh
Chris@0 2743 Add writeSync method.
Chris@0 2744 Add copy constructor and assignment operator (thanks Daniel Schmitt).
Chris@0 2745 Add methods readRaw and writeRaw.
Chris@0 2746 Make read/write/readf/writef simple overlaods instead of templates (thanks
Chris@0 2747 to Trent Apted for suggesting this).
Chris@0 2748
Chris@0 2749 * tests/cpp_test.cc
Chris@0 2750 Cleanup. Add tests.
Chris@0 2751
Chris@0 2752 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2753
Chris@0 2754 * src/sndfile.hh
Chris@0 2755 Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
Chris@0 2756 Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
Chris@0 2757 openReadWrite methods.
Chris@0 2758 Add const to SF_INFO pointer in Sndfile constructor.
Chris@0 2759 Make the destrictor call the close() method.
Chris@0 2760
Chris@0 2761 * tests/cpp_test.cc
Chris@0 2762 Add more tests.
Chris@0 2763
Chris@0 2764 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2765
Chris@0 2766 * tests/cpp_test.cc
Chris@0 2767 Remove the generated file so "make distcheck" passes.
Chris@0 2768
Chris@0 2769 * src/Makefile.am
Chris@0 2770 Add sndfile.hh to distributed header files.
Chris@0 2771
Chris@0 2772 * src/sndfile.hh
Chris@0 2773 Change the license for the C++ wrapper to modified BSD.
Chris@0 2774
Chris@0 2775 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2776
Chris@0 2777 * src/sndfile.hh
Chris@0 2778 Complete it.
Chris@0 2779
Chris@0 2780 * tests/cpp_test.cc
Chris@0 2781 Add more tests.
Chris@0 2782
Chris@0 2783 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2784
Chris@0 2785 * tests/utils.tpl
Chris@0 2786 Add extern C to generated header file.
Chris@0 2787
Chris@0 2788 * src/sndfile.hh
Chris@0 2789 Work towards completing this.
Chris@0 2790
Chris@0 2791 * tests/cpp_test.cc tests/Makefile.am
Chris@0 2792 Add a C++ test and hook into build.
Chris@0 2793
Chris@0 2794 * configure.ac
Chris@0 2795 Add appropriate CXXFLAGS.
Chris@0 2796
Chris@0 2797 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2798
Chris@0 2799 * configure.ac
Chris@0 2800 Test if compiler supports -Wpointer-arith.
Chris@0 2801
Chris@0 2802 * src/common.c
Chris@0 2803 Fix a warning resulting from -Wpointer-arith.
Chris@0 2804
Chris@0 2805 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2806
Chris@0 2807 * examples/sndfile-play.c
Chris@0 2808 Explicitly set endian-ness as well as setting 16 bit output.
Chris@0 2809
Chris@0 2810 * examples/sndfile-info.c
Chris@0 2811 Make sure to parse info if file fails to open.
Chris@0 2812
Chris@0 2813 * src/sndfile.c
Chris@0 2814 Handle parse error a little better.
Chris@0 2815
Chris@0 2816 * src/wav_w64.[ch]
Chris@0 2817 Minor clean up, add detection of IPP ITU G723.1.
Chris@0 2818
Chris@0 2819 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2820
Chris@0 2821 * src/sndfile.c
Chris@0 2822 Make sure psf->dataoffset gets reset to zero when openning headersless
Chris@0 2823 files based on the file name extension.
Chris@0 2824
Chris@0 2825 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2826
Chris@0 2827 * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
Chris@0 2828 tests/write_read_test.(tpl|def)
Chris@0 2829 Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
Chris@0 2830 break strict-aliasing rules".
Chris@0 2831
Chris@0 2832 * examples/cooledit-fixer.c
Chris@0 2833 More fixes like above.
Chris@0 2834
Chris@0 2835 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2836
Chris@0 2837 * src/file_io.c
Chris@0 2838 Fix a windows bug where the syserr string of SF_PRIVATE was not being set
Chris@0 2839 correctly.
Chris@0 2840
Chris@0 2841 * src/sndfile.c
Chris@0 2842 Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
Chris@0 2843
Chris@0 2844 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2845
Chris@0 2846 * configure.ac
Chris@0 2847 Fixed detection of S_IRGRP.
Chris@0 2848
Chris@0 2849 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2850
Chris@0 2851 * sndfile-convert.c
Chris@0 2852 Add conversion SF_INSTRUMENT data when present.
Chris@0 2853
Chris@0 2854 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2855
Chris@0 2856 * doc/development.html
Chris@0 2857 Removed references to tla on windows.
Chris@0 2858
Chris@0 2859 * src/common.h src/sndfile.c
Chris@0 2860 Add separate void pointers for file containter and file codec data to
Chris@0 2861 SF_PRIVATE struct. Still need to move all existing fdata pointers.
Chris@0 2862
Chris@0 2863 * tests/write_read_test.tpl
Chris@0 2864 Change the order of some tests.
Chris@0 2865
Chris@0 2866 * src/aiff.c
Chris@0 2867 When writing 'AIFC' files, make sure get an 'FVER' gets added.
Chris@0 2868
Chris@0 2869 * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
Chris@0 2870 src/(sndfile|voc|vox_adpcm|xi).c
Chris@0 2871 Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
Chris@0 2872
Chris@0 2873 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2874
Chris@0 2875 * Win32/testprog.c Win32/Makefile.am
Chris@0 2876 Add a minimal win32 test program.
Chris@0 2877
Chris@0 2878 * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
Chris@0 2879 Update readme and Mingw build script.
Chris@0 2880
Chris@0 2881 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2882
Chris@0 2883 * configure.ac acinclude.m4
Chris@0 2884 Minor fixes for Solaris.
Chris@0 2885
Chris@0 2886 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2887
Chris@0 2888 * src/test_endswap.(def|tpl)
Chris@0 2889 Fix printf formatting for int64_t on 64 bit machines.
Chris@0 2890
Chris@0 2891 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2892
Chris@0 2893 * src/binhead_check.py
Chris@0 2894 New file to check for bad parameters passed to psf_binheader_writef().
Chris@0 2895
Chris@0 2896 * src/Makefile.am
Chris@0 2897 Hook into test suite.
Chris@0 2898
Chris@0 2899 * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
Chris@0 2900 Fix bugs found by new test program.
Chris@0 2901
Chris@0 2902 * src/double64.c
Chris@0 2903 Clean up double64_get_capability().
Chris@0 2904
Chris@0 2905 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2906
Chris@0 2907 * src/wav_w64.c
Chris@0 2908 Fix a bug on x86_64 where an int was being passed via stdargs and being
Chris@0 2909 read using size_t which is 64 bits. Thenks to John ffitch for giving me a
Chris@0 2910 login on his box.
Chris@0 2911
Chris@0 2912 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2913
Chris@0 2914 * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
Chris@0 2915 tests/utils.tpl
Chris@0 2916 Fix a couple of signed/unsigned problems.
Chris@0 2917
Chris@0 2918 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2919
Chris@0 2920 * tests/command_test.c
Chris@0 2921 Add channel map tests.
Chris@0 2922
Chris@0 2923 * src/common.h src/sndfile.c
Chris@0 2924 Add a pointer the the SF_PRIVATE struct and make sure it gets freed in
Chris@0 2925 sf_close().
Chris@0 2926
Chris@0 2927 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2928
Chris@0 2929 * configure.ac doc/(command|index|api).html NEWS README
Chris@0 2930 Updates for 1.0.16 release.
Chris@0 2931
Chris@0 2932 * src/sndfile.h.in
Chris@0 2933 Define enums for channel mapping.
Chris@0 2934
Chris@0 2935 * examples/sndfile-info.c
Chris@0 2936 Clean up usage of SF_INFO struct.
Chris@0 2937
Chris@0 2938 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2939
Chris@0 2940 * tests/util.tpl
Chris@0 2941 Add function testing function exit_if_true().
Chris@0 2942
Chris@0 2943 * tests/floating_point_test.tpl
Chris@0 2944 Fix a problem where the test program was not exiting when the test failed.
Chris@0 2945
Chris@0 2946 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2947
Chris@0 2948 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
Chris@0 2949 Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
Chris@0 2950
Chris@0 2951 * doc/commands.html
Chris@0 2952 Document new commands. Other minor updates.
Chris@0 2953
Chris@0 2954 * tests/peak_chunk_test.c
Chris@0 2955 Update tests for new commands.
Chris@0 2956
Chris@0 2957 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2958
Chris@0 2959 * tests/peak_chunk_test.c
Chris@0 2960 Add test for RIFX and WAVEX files.
Chris@0 2961 Try and confuse the PEAK chunk writing by enabling and disabling it.
Chris@0 2962
Chris@0 2963 * src/sndfile.c
Chris@0 2964 Fix a bug where enabling and disabling PEAK chunk was screwing up.
Chris@0 2965
Chris@0 2966 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2967
Chris@0 2968 * src/sndfile.h.in
Chris@0 2969 Add the block of 190 reserved bytes into this struct to allow for
Chris@0 2970 future expansion.
Chris@0 2971
Chris@0 2972 * src/wav.c src/sndfile.c src/broadcast.c
Chris@0 2973 Significant cleanup of broadcast wave stuff.
Chris@0 2974
Chris@0 2975 * examples/sndfile-info.c
Chris@0 2976 Fix print message.
Chris@0 2977
Chris@0 2978 * tests/command_test.c tests/Makefile.am
Chris@0 2979 Complete bext tests, hook test in test suite.
Chris@0 2980
Chris@0 2981 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2982
Chris@0 2983 * src/sndfile.h.in
Chris@0 2984 Make coding_history field of SF_BROADCAST_INFO struct a char array instead
Chris@0 2985 of a char pointer.
Chris@0 2986
Chris@0 2987 * src/sndfile.c src/common.h src/wav.c
Chris@0 2988 Clean up knock on effects of above chnage.
Chris@0 2989
Chris@0 2990 * examples/sndfile-info.c
Chris@0 2991 Add -b command line option to usage message.
Chris@0 2992 Clean up output of broadcast wave info.
Chris@0 2993
Chris@0 2994 * src/wav.c
Chris@0 2995 Ignore and skip the 'levl' chunk.
Chris@0 2996
Chris@0 2997 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 2998
Chris@0 2999 * configure.ac
Chris@0 3000 Fix handling of --enable and --disable configure args. Thanks to Diego
Chris@0 3001 'Flameeyes' Pettenò who sent the patch.
Chris@0 3002
Chris@0 3003 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3004
Chris@0 3005 * doc/win32.html
Chris@0 3006 Make it really clear that although the MSVC++ cannot compile libsndfile,
Chris@0 3007 the precompiled DLL can be used in C++ programs compiled with MSVC++.
Chris@0 3008
Chris@0 3009 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3010
Chris@0 3011 * src/aiff.c
Chris@0 3012 Fix bug in writing of INST chunk in AIFF files.
Chris@0 3013 Fix potential bug in writing MARK chunks.
Chris@0 3014
Chris@0 3015 * src/sndfile.c
Chris@0 3016 Make sure the instrument chunk can only be written at the start of the file.
Chris@0 3017
Chris@0 3018 * tests/command_test.c
Chris@0 3019 Add check of log buffer.
Chris@0 3020
Chris@0 3021 * tests/utils.tpl
Chris@0 3022 Add usage of space character to psf_binheader_writef.
Chris@0 3023
Chris@0 3024 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3025
Chris@0 3026 * src/Makefile.am tests/Makefile.am
Chris@0 3027 Remove --source-time argument from autogen command lines.
Chris@0 3028
Chris@0 3029 * src/broadcast.c
Chris@0 3030 New file for EBU Broadcast chunk in WAV files.
Chris@0 3031
Chris@0 3032 * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
Chris@0 3033 Add patch from Paul Davis implementing read/write of the BEXT chunk.
Chris@0 3034
Chris@0 3035 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3036
Chris@0 3037 * Win32/README-precompiled-dll.txt
Chris@0 3038 New file descibing how to use the precompiled DLL.
Chris@0 3039
Chris@0 3040 * Win32/Makefile.am
Chris@0 3041 Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
Chris@0 3042
Chris@0 3043 * configure.ac
Chris@0 3044 Bump version to 1.0.15.
Chris@0 3045
Chris@0 3046 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3047
Chris@0 3048 * src/wav.c
Chris@0 3049 On read, only add the endian flag if the file is big endian.
Chris@0 3050
Chris@0 3051 * src/ms_adpcm.c
Chris@0 3052 Fixed writing of APDCM coeffs in RIFX files.
Chris@0 3053
Chris@0 3054 * tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@0 3055 Add tests for RIFX files.
Chris@0 3056
Chris@0 3057 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3058
Chris@0 3059 * Mingw-make-dist.sh
Chris@0 3060 Bunch of improvements.
Chris@0 3061
Chris@0 3062 * doc/win32.html
Chris@0 3063 Update MinGW program versions.
Chris@0 3064
Chris@0 3065 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3066
Chris@0 3067 * src/create_symbols_file.py
Chris@0 3068 Fix the library name in created win32 DEF file. Add correct DLL name for
Chris@0 3069 Cygwin DLL.
Chris@0 3070
Chris@0 3071 * Win32/Makefile.am tests/Makefile.am
Chris@0 3072 Remove redundant files, add win32_ordinal_test to test suite.
Chris@0 3073
Chris@0 3074 * tests/win32_ordinal_test.c
Chris@0 3075 Update to do test in cygsndfile-1.dll as well.
Chris@0 3076
Chris@0 3077 * doc/win32.html
Chris@0 3078 Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
Chris@0 3079
Chris@0 3080 * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
Chris@0 3081 Apply large patch from Jesse Chappell which adds support for RIFX files.
Chris@0 3082
Chris@0 3083 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3084
Chris@0 3085 * Makefile.am
Chris@0 3086 Add Mingw-make-dist.sh to the extra dist files.
Chris@0 3087
Chris@0 3088 * configure.ac
Chris@0 3089 Fix setting SHLIB_VERSION_ARG for MinGW.
Chris@0 3090
Chris@0 3091 * tests/win32_ordinal_test.c
Chris@0 3092 New test program to test that the win32 DLL ordinals agree with the DEF
Chris@0 3093 file.
Chris@0 3094
Chris@0 3095 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3096
Chris@0 3097 * src/common.h
Chris@0 3098 Add a static inline function to convert an int to a size_t. This will be
Chris@0 3099 a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
Chris@0 3100
Chris@0 3101 * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
Chris@0 3102 Fix an ia64 problem where a varargs function was being passed an int in
Chris@0 3103 some places and a size_t in other places.
Chris@0 3104
Chris@0 3105 * src/sd2.c
Chris@0 3106 Add a workaround for situations where OSX seems to add an extra 0x52 bytes
Chris@0 3107 to the start of the resource fork.
Chris@0 3108
Chris@0 3109 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3110
Chris@0 3111 * Mingw-make-dist.sh
Chris@0 3112 Add a shell script to build the windows binary/source ZIP file.
Chris@0 3113
Chris@0 3114 * doc/index.html
Chris@0 3115 Add download link for windows binary/source ZIP file. Add links for GPG
Chris@0 3116 signatures.
Chris@0 3117
Chris@0 3118 * doc/win32.html
Chris@0 3119 Remove info about building using microsoft compiler.
Chris@0 3120
Chris@0 3121 * configure.ac
Chris@0 3122 Bump version to 1.0.14.
Chris@0 3123
Chris@0 3124 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3125
Chris@0 3126 * src/sd2.c
Chris@0 3127 Improve logging of errors in resource fork parser.
Chris@0 3128
Chris@0 3129 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3130
Chris@0 3131 * Win32/Makefile.msvc
Chris@0 3132 Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
Chris@0 3133
Chris@0 3134 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3135
Chris@0 3136 * src/common.c
Chris@0 3137 Make sure return values are initialised header buffer is full.
Chris@0 3138
Chris@0 3139 * src/wav.c
Chris@0 3140 Add workarounds for messed up WAV files.
Chris@0 3141
Chris@0 3142 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3143
Chris@0 3144 * Win32/config.h
Chris@0 3145 Undef HAVE_INTTYPES_H for win32.
Chris@0 3146
Chris@0 3147 * tests/command_test.c
Chris@0 3148 Don't exit on error in instrument test for XI files.
Chris@0 3149
Chris@0 3150 * configure.ac
Chris@0 3151 Bump version to 1.0.13.
Chris@0 3152
Chris@0 3153 * doc/*.html NEWS README
Chris@0 3154 Update version numbers.
Chris@0 3155
Chris@0 3156 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3157
Chris@0 3158 * src/xi.c
Chris@0 3159 Start work on add read/write of instrument chunks.
Chris@0 3160
Chris@0 3161 * src/command_test.c
Chris@0 3162 Add tests for XI instrument chunk.
Chris@0 3163
Chris@0 3164 * tests/largefile_test.c tests/Makefile.am
Chris@0 3165 Add new test and hook it into the build system. This test will not be run
Chris@0 3166 automatically because it requires 3 Gig of disk space and takes 3 minutes
Chris@0 3167 to run.
Chris@0 3168
Chris@0 3169 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3170
Chris@0 3171 * examples/sndfile-play.c
Chris@0 3172 Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
Chris@0 3173
Chris@0 3174 * src/common.h
Chris@0 3175 Make sure length of header buffer can hold header plus strings. Thanks Axel
Chris@0 3176 Röbel.
Chris@0 3177
Chris@0 3178 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3179
Chris@0 3180 * src/sndfile.h.in src/aiff.c src/wav.c
Chris@0 3181 Apply a patch from John ffitch (Csound project).
Chris@0 3182 Add detune field to SF_INSTRUMENT struct.
Chris@0 3183 Add reading/writing instrument chunks to WAV files.
Chris@0 3184
Chris@0 3185 * tests/command_test.c
Chris@0 3186 Update SF_INSTRUMENT tests.
Chris@0 3187
Chris@0 3188 * tests/Makefile.am
Chris@0 3189 Hook instrument tests into test suite.
Chris@0 3190
Chris@0 3191 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3192
Chris@0 3193 * configure.ac
Chris@0 3194 Check for <inttypes.h> because some broken systems (like Solaris) don't have
Chris@0 3195 <stdint.h> which is the 1999 ISO C standard file containing int64_t.
Chris@0 3196
Chris@0 3197 * src/sfendian.h src/common.h
Chris@0 3198 Use <inttypes.h> if <stdint.h> is not available.
Chris@0 3199
Chris@0 3200 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3201
Chris@0 3202 * tests/peak_chunk_test.c
Chris@0 3203 Extend and clean up tests.
Chris@0 3204
Chris@0 3205 * src/sndfile.c
Chris@0 3206 Fix a bug that prevented the turning off of PEAK chunks.
Chris@0 3207
Chris@0 3208 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3209
Chris@0 3210 * tests/error_test.c
Chris@0 3211 Make the test distclean correct.
Chris@0 3212
Chris@0 3213 * src/file_io.c
Chris@0 3214 Fix an SD2 MacOSX bug (reported by vince schwarzinger).
Chris@0 3215
Chris@0 3216 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3217
Chris@0 3218 * src/aiff.c tests/command_test.c
Chris@0 3219 Apply a big patch from John ffitch (Csound project) to add reading and
Chris@0 3220 writing of instrument chunks to AIFF files. Also update the test.
Chris@0 3221
Chris@0 3222 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3223
Chris@0 3224 * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
Chris@0 3225 Move test function dump_data_to_file() to utils.tpl.
Chris@0 3226
Chris@0 3227 * tests/error_test.c tests/Makefile.am
Chris@0 3228 Updates, including a new test to test that sf_error() returns a valid error
Chris@0 3229 number.
Chris@0 3230
Chris@0 3231 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3232
Chris@0 3233 * examples/list_formats.c
Chris@0 3234 Make sure the SF_INFO struct is memset to all zero before being used.
Chris@0 3235 Thanks to Stephen F. Booth.
Chris@0 3236
Chris@0 3237 * src/sndfile.c
Chris@0 3238 Make the return value of sf_error() match the API documentation.
Chris@0 3239
Chris@0 3240 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3241
Chris@0 3242 * examples/sndfile-convert.c
Chris@0 3243 Allow conversion to raw gsm610.
Chris@0 3244
Chris@0 3245 * src/common.h src/sndfile.c src/au.c
Chris@0 3246 Remove au_nh_open() and all references to it (wasn't working anyway).
Chris@0 3247
Chris@0 3248 * tests/headerless_test.c
Chris@0 3249 Add new test for file extension based detection.
Chris@0 3250
Chris@0 3251 * src/sndfile.c
Chris@0 3252 Rejig file extension based file type detection.
Chris@0 3253
Chris@0 3254 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3255
Chris@0 3256 * src/sndfile.c
Chris@0 3257 Add "gsm" as a recognised file extension when no magic number can be found.
Chris@0 3258
Chris@0 3259 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 3260 Test headerless GSM610.
Chris@0 3261
Chris@0 3262 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3263
Chris@0 3264 * doc/api.html
Chris@0 3265 Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
Chris@0 3266
Chris@0 3267 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3268
Chris@0 3269 * src/wav_w64.c
Chris@0 3270 Add more reporting of 'fmt ' chunk for G721 encoded files.
Chris@0 3271
Chris@0 3272 * src/wav.c
Chris@0 3273 Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
Chris@0 3274
Chris@0 3275 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3276
Chris@0 3277 * src/G72x/g72x.[ch]
Chris@0 3278 Minor cleanup of interface.
Chris@0 3279
Chris@0 3280 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3281
Chris@0 3282 * src/ogg.c
Chris@0 3283 Removed the horribly broken and non-functional OGG implementation when
Chris@0 3284 --enable-experimental was enabled. When OGG does finally work it will be
Chris@0 3285 merged.
Chris@0 3286
Chris@0 3287 * src/caf.c
Chris@0 3288 Fix a memory leak.
Chris@0 3289
Chris@0 3290 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3291
Chris@0 3292 * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
Chris@0 3293 Add support for G721 encoded WAV files.
Chris@0 3294
Chris@0 3295 * doc/index.html
Chris@0 3296 Update support matrix.
Chris@0 3297
Chris@0 3298 * tests/lossy_comp_test.c
Chris@0 3299 For file formats that support it, add string data after the audio data and
Chris@0 3300 make sure it isn't treated as audio data on read.
Chris@0 3301
Chris@0 3302 * src/gsm610.c
Chris@0 3303 Add code to ensure that the container close function (ie for WAV files) gets
Chris@0 3304 called after the codec's close function. This allows GSM610 encoded WAV files
Chris@0 3305 to have string data following the audio data.
Chris@0 3306 Add an AIFF specific check on psf->datalength.
Chris@0 3307
Chris@0 3308 * src/wav.c
Chris@0 3309 Simplify wav_close function.
Chris@0 3310
Chris@0 3311 * src/aiff.c
Chris@0 3312 Make sure the tailer data gets written at an even file offset. Pad if
Chris@0 3313 necessary.
Chris@0 3314
Chris@0 3315 * src/common.h
Chris@0 3316 Replace the close function pointer in SF_PRIVATE with separate functions
Chris@0 3317 codec_close and container_close. The former is always called first.
Chris@0 3318
Chris@0 3319 * src/*.c
Chris@0 3320 Fix knock on effects of above.
Chris@0 3321
Chris@0 3322 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3323
Chris@0 3324 * examples/sndfile-info.c
Chris@0 3325 Complete dumping SF_INSTRUMENT data.
Chris@0 3326
Chris@0 3327 * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
Chris@0 3328 Add extra checks in *_init function.
Chris@0 3329
Chris@0 3330 * tests/lossy_comp_test.c
Chris@0 3331 Add a string comment to the end of the files to make sure that the decoder
Chris@0 3332 doesn't decode beyond the end of the audio data section.
Chris@0 3333
Chris@0 3334 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3335
Chris@0 3336 * examples/sndfile-info.c
Chris@0 3337 Minor code cleanup.
Chris@0 3338 Start work on dumping SF_INSTRUMENT data.
Chris@0 3339
Chris@0 3340 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3341
Chris@0 3342 * src/sndfile.h.in src/common.h src/common.c
Chris@0 3343 Update definition of SF_INSTRUMENT struct and create a function to allocate
Chris@0 3344 and initialize the struct (input from David Viens).
Chris@0 3345 Clean up definition of SF_INSTRUMENT struct.
Chris@0 3346
Chris@0 3347 * src/wav.c src/wav_w64.c
Chris@0 3348 Add support for Ambisoncs B WAVEX files (David Viens).
Chris@0 3349
Chris@0 3350 * src/aiff.c src/wav.c src/wav_w64.c
Chris@0 3351 Start work on reading/writing the SF_INSTRUMENT data.
Chris@0 3352
Chris@0 3353 * src/sndfile.c
Chris@0 3354 Add code to get and set SF_INSTRUMENT data.
Chris@0 3355
Chris@0 3356 * tests/command_test.* tests/Makefile.am
Chris@0 3357 Add test for set and getof SF_INSTRUMENT data.
Chris@0 3358 The file command_test.c is no longer autogen generated.
Chris@0 3359
Chris@0 3360 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3361
Chris@0 3362 * src/gsm610.c
Chris@0 3363 Minor cleanup.
Chris@0 3364
Chris@0 3365 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3366
Chris@0 3367 * tests/lossy_comp_test.c
Chris@0 3368 Minor cleanup.
Chris@0 3369
Chris@0 3370 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3371
Chris@0 3372 * src/*.c
Chris@0 3373 Ensure sfconfig.h is included before any other header file.
Chris@0 3374
Chris@0 3375 * src/file_io.c
Chris@0 3376 Add comments documenting the three sections of the file.
Chris@0 3377
Chris@0 3378 * src/gsm610.c
Chris@0 3379 Make sure SF_FORMAT_WAVEX are handled correctly.
Chris@0 3380
Chris@0 3381 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3382
Chris@0 3383 * configure.ac
Chris@0 3384 Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
Chris@0 3385
Chris@0 3386 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3387
Chris@0 3388 * tests/locale_test.c
Chris@0 3389 Modify the way the unicode strings were encoded so that older compilers
Chris@0 3390 do not complain. Thanks Axel Röbel.
Chris@0 3391
Chris@0 3392 * configure.ac
Chris@0 3393 Bump the version to 1.0.12 for release.
Chris@0 3394
Chris@0 3395 * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
Chris@0 3396 Update version numbers.
Chris@0 3397
Chris@0 3398 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3399
Chris@0 3400 * src/flac.c
Chris@0 3401 Fix valgrind error and minor cleanup.
Chris@0 3402
Chris@0 3403 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3404
Chris@0 3405 * src/(au|paf|aiff|w64|wav|svx).c
Chris@0 3406 Make sure structs are initialised.
Chris@0 3407
Chris@0 3408 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3409
Chris@0 3410 * configure.ac
Chris@0 3411 Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
Chris@0 3412 option.
Chris@0 3413 Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
Chris@0 3414 compiler supports it.
Chris@0 3415
Chris@0 3416 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3417
Chris@0 3418 * configure.ac acinclude.m4
Chris@0 3419 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
Chris@0 3420
Chris@0 3421 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3422
Chris@0 3423 * tests/util.(tpl|def)
Chris@0 3424 Make the test_write_*_or_die() functions const safe.
Chris@0 3425
Chris@0 3426 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3427
Chris@0 3428 * src/nist.c
Chris@0 3429 Make sure the data offset is read from the file header. Thanks to
Chris@0 3430 David A. van Leeuwen for a patch.
Chris@0 3431
Chris@0 3432 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3433
Chris@0 3434 * configure.ac src/sfconfig.h
Chris@0 3435 Check for <locale.h> and the function setlocale().
Chris@0 3436 Set config variables to zero if not found.
Chris@0 3437
Chris@0 3438 * tests/locale_test.c tests/Makefile.am
Chris@0 3439 Add new test program and hook into build/test system.
Chris@0 3440
Chris@0 3441 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3442
Chris@0 3443 * src/common.h src/file_io.c
Chris@0 3444 On windows, use windows specific types for file handles.
Chris@0 3445 Add functions psf_init_files() and psf_use_rsrc().
Chris@0 3446
Chris@0 3447 * src/sd2.c
Chris@0 3448 Make resource fork handling independant of file desciptor/handles.
Chris@0 3449
Chris@0 3450 * src/sndfile.c src/test_file_io.c
Chris@0 3451 Fix knock on effects.
Chris@0 3452
Chris@0 3453 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3454
Chris@0 3455 * src/float_cast.h
Chris@0 3456 The lrint and lrintf implementations in Cygwin are both buggy and slow.
Chris@0 3457 Add replacements which were pulled from the Public Domain MinGW math.h
Chris@0 3458 header file.
Chris@0 3459
Chris@0 3460 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3461
Chris@0 3462 * tests/(lossy_comp_test|virtual_io_test).c
Chris@0 3463 More Valgrind fixups.
Chris@0 3464
Chris@0 3465 * configure.ac
Chris@0 3466 Simplify and correct configuring for Cygwin.
Chris@0 3467
Chris@0 3468 * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
Chris@0 3469 Update build for MSVC.
Chris@0 3470
Chris@0 3471 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3472
Chris@0 3473 * tests/lossy_comp_test.c
Chris@0 3474 Make sure to close SNDFILE when exiting test when file format is not seekable.
Chris@0 3475
Chris@0 3476 * tests/(aiff_rw_test|virtual_io_test).c
Chris@0 3477 Do a few valgrind fix ups.
Chris@0 3478
Chris@0 3479 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3480
Chris@0 3481 * src/float32.c src/double64.c
Chris@0 3482 Replace floating point equality comparisons with greater/less comparisons.
Chris@0 3483 Found by John Pavel using the Intel compiler.
Chris@0 3484
Chris@0 3485 * src/sfconfig.h
Chris@0 3486 New file to clean up issues surrounding autoconf generated preprocessor
Chris@0 3487 symbols.
Chris@0 3488
Chris@0 3489 * src/*.(c|h) tests/*.(c|tpl) examples/*.c
Chris@0 3490 Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
Chris@0 3491
Chris@0 3492 * src/file_io.c
Chris@0 3493 Remove Mac OS9 Metrowerks compiler specific hacks.
Chris@0 3494
Chris@0 3495 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3496
Chris@0 3497 * src/w64.c
Chris@0 3498 Cast integer literal to sf_count_t in call to psf_binheader_writef() to
Chris@0 3499 prevent Valgrind error.
Chris@0 3500
Chris@0 3501 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3502
Chris@0 3503 * doc/command.html
Chris@0 3504 Improve documentation of SF_GET_FORMAT_SUBTYPE.
Chris@0 3505
Chris@0 3506 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3507
Chris@0 3508 * examples/sndfile-convert.c
Chris@0 3509 Allow files to be converted to SD2 format.
Chris@0 3510
Chris@0 3511 * src/sd2.c
Chris@0 3512 Fix a bug in reading and writing of SD2 files on little endian CPUs.
Chris@0 3513 Thanks to Matthew Willis for finding this.
Chris@0 3514
Chris@0 3515 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3516
Chris@0 3517 * doc/api.html
Chris@0 3518 Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
Chris@0 3519
Chris@0 3520 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3521
Chris@0 3522 * configure.ac
Chris@0 3523 Use $host_os instead of $target_os (thanks to Mo De Jong).
Chris@0 3524
Chris@0 3525 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3526
Chris@0 3527 * src/Makefile.am
Chris@0 3528 Apply a patch from Mo DeJong to allow building outside of the source dir.
Chris@0 3529
Chris@0 3530 * src/file_io.c
Chris@0 3531 Fix psf_fsync() for win32.
Chris@0 3532
Chris@0 3533 * src/wav.c src/wav_w64.(c|h)
Chris@0 3534 Move some code from wav.c to wav_w64.c to improve the log output of files of
Chris@0 3535 type WAVE_FORMAT_EXTENSIBLE.
Chris@0 3536
Chris@0 3537 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3538
Chris@0 3539 * src/create_symbols_file.py
Chris@0 3540 Make sure sf_write_fsync is an exported symbol.
Chris@0 3541
Chris@0 3542 * examples/sndfile-convert.c
Chris@0 3543 Add support for writing VOX adpcm files.
Chris@0 3544
Chris@0 3545 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3546
Chris@0 3547 * doc/api.html
Chris@0 3548 Document the new function sf_write_sync().
Chris@0 3549
Chris@0 3550 * doc/FAQ.html
Chris@0 3551 Do you plan to support XYZ codec.
Chris@0 3552
Chris@0 3553 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3554
Chris@0 3555 * src/sndfile.h.in src/sndfile.c
Chris@0 3556 Add function sf_write_sync() to the API.
Chris@0 3557
Chris@0 3558 * src/common.h src/file_io.c
Chris@0 3559 Low level implementation (win32 not done yet).
Chris@0 3560
Chris@0 3561 * tests/write_read_test.tpl
Chris@0 3562 Use the new function in the tests.
Chris@0 3563
Chris@0 3564 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3565
Chris@0 3566 * src/common.h src/double64.c src/float32.c src/sndfile.c
Chris@0 3567 Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
Chris@0 3568 for position and a double as the value.
Chris@0 3569
Chris@0 3570 * src/aiff.c src/caf.c src/wav.c
Chris@0 3571 Fix knock on effects of above changes.
Chris@0 3572
Chris@0 3573 * src/caf.c
Chris@0 3574 Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
Chris@0 3575 SF_FORMAT_DOUBLE format.
Chris@0 3576
Chris@0 3577 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3578
Chris@0 3579 * src/nist.c
Chris@0 3580 Fix a bug where a variable was being used without being initialized.
Chris@0 3581
Chris@0 3582 * src/flac.c
Chris@0 3583 Add extra debug in sf_flac_meta_callback.
Chris@0 3584 Make a bunch of private functions static.
Chris@0 3585
Chris@0 3586 * src/aiff.c src/wav.c
Chris@0 3587 Fix allocation for PEAK_CHUNK (bug found using valgrind).
Chris@0 3588
Chris@0 3589 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3590
Chris@0 3591 * src/common.h
Chris@0 3592 Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
Chris@0 3593 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
Chris@0 3594 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
Chris@0 3595
Chris@0 3596 * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
Chris@0 3597 Fix knock on effects from above.
Chris@0 3598
Chris@0 3599 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3600
Chris@0 3601 * src/wav.c
Chris@0 3602 Prevent files with unknown chunks from being opened read/write.
Chris@0 3603
Chris@0 3604 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3605
Chris@0 3606 * src/flac.c
Chris@0 3607 Do not use psf->end_of_file because it never gets set to anything.
Chris@0 3608
Chris@0 3609 * src/common.h
Chris@0 3610 Remove unused SF_PRIVATE field end_of_file.
Chris@0 3611
Chris@0 3612 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3613
Chris@0 3614 * src/common.c
Chris@0 3615 Change the 'S' format specifier of psf_binheader_writef() to write AIFF
Chris@0 3616 style strings (no terminating character).
Chris@0 3617
Chris@0 3618 * src/aiff.c
Chris@0 3619 Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
Chris@0 3620 so persistent on this issue.
Chris@0 3621
Chris@0 3622 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3623
Chris@0 3624 * src/sndfile.c
Chris@0 3625 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
Chris@0 3626
Chris@0 3627 * doc/api.html doc/command.html
Chris@0 3628 Documentation updates (thanks to Kyroz for promoting these updates).
Chris@0 3629
Chris@0 3630 * src/mat5.c
Chris@0 3631 Modify the way the header is written.
Chris@0 3632
Chris@0 3633 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3634
Chris@0 3635 * src/caf.c
Chris@0 3636 Add a 'free' chunk to the written file so that the audio data starts at
Chris@0 3637 an offset of 0x1000.
Chris@0 3638
Chris@0 3639 * src/sndfile.c
Chris@0 3640 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
Chris@0 3641
Chris@0 3642 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3643
Chris@0 3644 * src/caf.c src/sndfile.c
Chris@0 3645 Add support for signed 8 bit integers.
Chris@0 3646
Chris@0 3647 * tests/write_read_test.tpl
Chris@0 3648 Add test for signed 8 bit integers in CAF files.
Chris@0 3649
Chris@0 3650 * doc/index.html
Chris@0 3651 Update matrix for signed 8 bit integers in CAF files.
Chris@0 3652
Chris@0 3653 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3654
Chris@0 3655 * src/sndfile.c
Chris@0 3656 Update sf_check_format() to support CAF.
Chris@0 3657
Chris@0 3658 * examples/sndfile-convert.c
Chris@0 3659 Add support for ".caf" file extension.
Chris@0 3660
Chris@0 3661 * doc/index.html
Chris@0 3662 Add Apple CAF to the support matrix.
Chris@0 3663
Chris@0 3664 * src/caf.c
Chris@0 3665 Add file write support.
Chris@0 3666
Chris@0 3667 * src/common.c
Chris@0 3668 Fix printing of Frames.
Chris@0 3669
Chris@0 3670 * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@0 3671 tests/header_test.tpl misc_test.c
Chris@0 3672 Add tests for CAF files.
Chris@0 3673
Chris@0 3674 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3675
Chris@0 3676 * doc/FAQ.html
Chris@0 3677 Fix Q/A about reading/writing memory buffers.
Chris@0 3678
Chris@0 3679 * src/caf.c
Chris@0 3680 Bunch of work to support reading of CAF files.
Chris@0 3681
Chris@0 3682 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3683
Chris@0 3684 * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
Chris@0 3685 Fix sign conversion errors reported by gcc-4.0.
Chris@0 3686
Chris@0 3687 * src/caf.c
Chris@0 3688 New file for Apple's Core Audio File format.
Chris@0 3689
Chris@0 3690 * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
Chris@0 3691 Hook new file into build system.
Chris@0 3692
Chris@0 3693 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3694
Chris@0 3695 * src_wav_w64.c
Chris@0 3696 Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
Chris@0 3697 for supplying an example file.
Chris@0 3698
Chris@0 3699 * src/common.h src/sndfile.c
Chris@0 3700 Remove redundant error code SFE_WAV_FMT_TOO_BIG.
Chris@0 3701
Chris@0 3702 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3703
Chris@0 3704 * src/sndfile.h.in src/common.h src/sndfile.c
Chris@0 3705 Add public error value SF_ERR_MALFORMED_FILE.
Chris@0 3706
Chris@0 3707 * src/sndfile.c
Chris@0 3708 When parsing a file header fails and we don't have a system error, then set
Chris@0 3709 the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
Chris@0 3710
Chris@0 3711 * configure.ac
Chris@0 3712 Allow sqlite support to be disabled in configure script.
Chris@0 3713
Chris@0 3714 * regtest/database.c regtest/sndfile-regtest.c
Chris@0 3715 Fix compiling when sqlite is missing.
Chris@0 3716
Chris@0 3717 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3718
Chris@0 3719 * src/file_io.c
Chris@0 3720 Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
Chris@0 3721
Chris@0 3722 * src/sndfile.c
Chris@0 3723 Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
Chris@0 3724
Chris@0 3725 * tests/virtual_io_test.c
Chris@0 3726 Fill in skeleton test program.
Chris@0 3727
Chris@0 3728 * tests/Makefile.am
Chris@0 3729 Move virtual i/o tests to end of tests with stdio/pipe tests.
Chris@0 3730
Chris@0 3731 * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
Chris@0 3732 Rename some of the virtual i/o functions and data types.
Chris@0 3733
Chris@0 3734 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3735
Chris@0 3736 * src/sndfile.c
Chris@0 3737 Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
Chris@0 3738 SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
Chris@0 3739 Kyroz for pointing out these errors.
Chris@0 3740
Chris@0 3741 * doc/command.html
Chris@0 3742 Correct documented return values for SFC_SET_NORM_DOUBLE and
Chris@0 3743 SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
Chris@0 3744
Chris@0 3745 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3746
Chris@0 3747 * regtest/*
Chris@0 3748 Add new files for sndfile-regtest program.
Chris@0 3749
Chris@0 3750 * configure.ac Makefile.am
Chris@0 3751 Hook regetest into build.
Chris@0 3752
Chris@0 3753 * src/wav.c src/common.c
Chris@0 3754 Fix a regression where long ICMT chunks were causing the WAV parser
Chris@0 3755 to exit.
Chris@0 3756
Chris@0 3757 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3758
Chris@0 3759 * libsndfile.spec.in
Chris@0 3760 Add html docs to the files section as suggested by Karsten Jeppesen.
Chris@0 3761
Chris@0 3762 * src/aiff.c
Chris@0 3763 Fix parsing of odd length ANNO chunks.
Chris@0 3764
Chris@0 3765 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3766
Chris@0 3767 * src/common.h
Chris@0 3768 Change the include guard to prevent clashes with other code.
Chris@0 3769
Chris@0 3770 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3771
Chris@0 3772 * examples/sndfile-play.c
Chris@0 3773 Improve error handling in code for playback under Linux/ALSA.
Chris@0 3774
Chris@0 3775 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3776
Chris@0 3777 * src/ircam.c
Chris@0 3778 Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
Chris@0 3779
Chris@0 3780 * src/wav.c
Chris@0 3781 Add workaround for files created by the Peak audio editor on Mac which can
Chris@0 3782 produce files with very short LIST chunks (thanks to Jonathan Segel who
Chris@0 3783 supplied the file).
Chris@0 3784
Chris@0 3785 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3786
Chris@0 3787 * src/aiff.c
Chris@0 3788 Apply a patch From David Viens to make the parsing of basc chunks more
Chris@0 3789 robust.
Chris@0 3790
Chris@0 3791 * src/wav.c
Chris@0 3792 Another patch from David Viens to write correct wavex channel masks for
Chris@0 3793 the most common channel configurations.
Chris@0 3794
Chris@0 3795 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3796
Chris@0 3797 * src/command.c
Chris@0 3798 Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
Chris@0 3799 Leigh Smith.
Chris@0 3800
Chris@0 3801 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3802
Chris@0 3803 * src/common.h
Chris@0 3804 Add a directory field for storing the file directory to the SF_PRIVATE
Chris@0 3805 struct.
Chris@0 3806
Chris@0 3807 * src/sndfile.c
Chris@0 3808 Grab the directory name when copying the file path.
Chris@0 3809
Chris@0 3810 * src/file_io.c
Chris@0 3811 Cleanup psf_open_rsrc() and also check for resource fork in
Chris@0 3812 .AppleDouble/filename.
Chris@0 3813
Chris@0 3814 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3815
Chris@0 3816 * src/svx.c
Chris@0 3817 Fix a bug in the printing of the channel count. Bug reported by Michael
Chris@0 3818 Schwendt. Thanks.
Chris@0 3819
Chris@0 3820 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3821
Chris@0 3822 * src/paf.c
Chris@0 3823 Fix a seek bug for 24 bit PAF files.
Chris@0 3824
Chris@0 3825 * tests/write_read_test.tpl
Chris@0 3826 Update write_read_test to trigger the previously hidden PAF seek bug.
Chris@0 3827
Chris@0 3828 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3829
Chris@0 3830 * src/aiff.c src/w64.c src/wav.c
Chris@0 3831 Do not return a header parse error when the log buffer overflows.
Chris@0 3832 Continuing parsing works even on files where the log buffer does overflow.
Chris@0 3833 This avoids a bug on some weirdo WAV (and other) files.
Chris@0 3834
Chris@0 3835 * src/common.h src/sndfile.c
Chris@0 3836 Remove SFE_LOG_OVERRIN error and its associated error message.
Chris@0 3837
Chris@0 3838 * src/file_io.c
Chris@0 3839 Fix a rsrc fork problem on MacOSX.
Chris@0 3840
Chris@0 3841 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3842
Chris@0 3843 * src/sndfile-play.c
Chris@0 3844 In the ALSA output code, added call to snd_pcm_drain() just before
Chris@0 3845 snd_pcm_close() as suggested by Thomas Kaeding.
Chris@0 3846 In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
Chris@0 3847 SNDCTL_DSP_SYNC) just before the close of the audio device.
Chris@0 3848
Chris@0 3849 * tests/virtual_io_test.c tests/Makefile.am
Chris@0 3850 Add a new test program (currently empty) and add it to the build.
Chris@0 3851
Chris@0 3852 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3853
Chris@0 3854 * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
Chris@0 3855 src/create_symbols_file.py
Chris@0 3856 Apply patch from Steve Baker which is the beginnings of a virtual
Chris@0 3857 I/O interface.
Chris@0 3858
Chris@0 3859 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3860
Chris@0 3861 * src/*.c src/sndfile.h.in
Chris@0 3862 Const-ify the write path throughout the library.
Chris@0 3863
Chris@0 3864 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3865
Chris@0 3866 * doc/development.html
Chris@0 3867 Minor improvements.
Chris@0 3868
Chris@0 3869 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3870
Chris@0 3871 * doc/bugs.html
Chris@0 3872 Minor improvements.
Chris@0 3873
Chris@0 3874 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3875
Chris@0 3876 * src/aiff.c
Chris@0 3877 Add workaround for Logic Platinum AIFF files with broken COMT chunks.
Chris@0 3878
Chris@0 3879 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3880
Chris@0 3881 * doc/FAQ.html
Chris@0 3882 Remove some ambiguities in the SD2 FAQ answer.
Chris@0 3883
Chris@0 3884 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3885
Chris@0 3886 * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
Chris@0 3887 Updates from autoconfig versions.
Chris@0 3888
Chris@0 3889 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3890
Chris@0 3891 * src/aiff.c
Chris@0 3892 Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
Chris@0 3893 instead of COMT chunk.
Chris@0 3894
Chris@0 3895 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3896
Chris@0 3897 * src/file_io.c src/common.h
Chris@0 3898 Change the ptr argument to psf_write() from "void*" to a "const void*".
Chris@0 3899 Thanks to Tobias Gehrig for suggesting this.
Chris@0 3900
Chris@0 3901 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3902
Chris@0 3903 * src/file_io.c src/common.h
Chris@0 3904 Add functions psf_close_rsrc() and read length of resourse fork into
Chris@0 3905 rsrclength field of SF_PRIVATE.
Chris@0 3906
Chris@0 3907 * src/sd2.c
Chris@0 3908 Make sure resource fork gets closed.
Chris@0 3909
Chris@0 3910 * tests/util.tpl
Chris@0 3911 Add functions to check for file descriptor leakage.
Chris@0 3912
Chris@0 3913 * src/write_read_test.tpl
Chris@0 3914 Use the file descriptor leak checks.
Chris@0 3915
Chris@0 3916 * src/sndfile.h.in
Chris@0 3917 Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
Chris@0 3918
Chris@0 3919 * src/common.h
Chris@0 3920 Add SF_LOOP_INFO pointer to SF_PRIVATE.
Chris@0 3921
Chris@0 3922 * src/wav.c src/aiff.c
Chris@0 3923 Improve and add parsing of 'ACID' and 'basc' chunks, filling in
Chris@0 3924 SF_LOOP_INFO data in SF_PRIVATE.
Chris@0 3925
Chris@0 3926 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3927
Chris@0 3928 * src/sd2.c
Chris@0 3929 Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
Chris@0 3930
Chris@0 3931 * Win32/config.h Win32/sndfile.h
Chris@0 3932 Updates.
Chris@0 3933
Chris@0 3934 * tests/util.tpl
Chris@0 3935 Add win32 macro for snprintf.
Chris@0 3936
Chris@0 3937 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3938
Chris@0 3939 * src/sfendian.h
Chris@0 3940 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
Chris@0 3941
Chris@0 3942 * src/sd2.c
Chris@0 3943 Use macros to make sure writing SD2 files on little endian machines works
Chris@0 3944 correctly.
Chris@0 3945
Chris@0 3946 * tests/util.tpl
Chris@0 3947 Add a delete_file() function which also deletes the resource fork of SD2
Chris@0 3948 files.
Chris@0 3949
Chris@0 3950 * tests/write_read_test.tpl
Chris@0 3951 Use delete_file() so that "make distcheck" works.
Chris@0 3952
Chris@0 3953 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3954
Chris@0 3955 * src/sndfile.c src/file_io.c
Chris@0 3956 Move resource filename construction and testing to psf_open_rsrc().
Chris@0 3957
Chris@0 3958 * src/common.h src/sndfile.c
Chris@0 3959 Add error SFE_SD2_FD_DISALLOWED.
Chris@0 3960
Chris@0 3961 * tests/util.tpl tests/*.(c|tpl)
Chris@0 3962 Add and allow_fd parameter to test_open_file_or_die() so that use of
Chris@0 3963 sf_open_fd() can be avoided when opening SD2 files.
Chris@0 3964
Chris@0 3965 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3966
Chris@0 3967 * src/wav.c
Chris@0 3968 Update ACID chunk parsing.
Chris@0 3969
Chris@0 3970 * src/sd2.c
Chris@0 3971 More fixes for files with large resource forks.
Chris@0 3972
Chris@0 3973 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3974
Chris@0 3975 * src/common.h src/sndfile.c
Chris@0 3976 Add error numbers and messages for sd2 files.
Chris@0 3977
Chris@0 3978 * src/sd2.c
Chris@0 3979 Reading of sd2 (resource fork version) now seems to be working.
Chris@0 3980
Chris@0 3981 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3982
Chris@0 3983 * src/file_io.h
Chris@0 3984 Update file_io.c to include win32 psf_rsrc_open().
Chris@0 3985
Chris@0 3986 * tests/floating_point_test.tpl
Chris@0 3987 Remove use of __func__ in test programs (MSVC++ doesn't grok this).
Chris@0 3988
Chris@0 3989 * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
Chris@0 3990 Updates.
Chris@0 3991
Chris@0 3992 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 3993
Chris@0 3994 * src/sfendian.h
Chris@0 3995 Fix endswap_int64_t_(array|copy).
Chris@0 3996
Chris@0 3997 * src/test_endswap.(tpl|def)
Chris@0 3998 Add tests for above and inprove all tests.
Chris@0 3999
Chris@0 4000 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4001
Chris@0 4002 * src/sfendian.h
Chris@0 4003 Improve type safety, add endswap_double_array().
Chris@0 4004
Chris@0 4005 * src/double64.c
Chris@0 4006 Use endswap_double_array() instead of endswap_long_array().
Chris@0 4007
Chris@0 4008 * src/test_endswap.(tpl|def) src/Makefile.am
Chris@0 4009 Add preliminary endswap tests and hook into build system.
Chris@0 4010
Chris@0 4011 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4012
Chris@0 4013 * src/configure.ac src/makefile.am
Chris@0 4014 Finally fix the bulding of DLLs on Win32/MinGW.
Chris@0 4015
Chris@0 4016 * tests/makefile.am
Chris@0 4017 Fix running of tests on Win32/MinGW.
Chris@0 4018
Chris@0 4019 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4020
Chris@0 4021 * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
Chris@0 4022 Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
Chris@0 4023
Chris@0 4024 * doc/command.html
Chris@0 4025 Document SFC_SET_SCALE_FLOAT_INT_READ.
Chris@0 4026
Chris@0 4027 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4028
Chris@0 4029 * tests/floating_point_test.(tpl|def)
Chris@0 4030 Derived from floating_point_test.c.
Chris@0 4031 Add (float|double)_(short|int)_test functions.
Chris@0 4032
Chris@0 4033 * tests/util.(tpl|def)
Chris@0 4034 Make separate float and double versions of gen_windowed_sine().
Chris@0 4035
Chris@0 4036 * tests/write_read_test.tpl
Chris@0 4037 Fix after changes to gen_windowed_sine().
Chris@0 4038
Chris@0 4039 * src/(float32|double64).c
Chris@0 4040 Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
Chris@0 4041
Chris@0 4042 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4043
Chris@0 4044 * acinclude.m4
Chris@0 4045 Fix warnings from automake 1.8 and later.
Chris@0 4046
Chris@0 4047 * examples/sndfile-info.c
Chris@0 4048 Add a "fflush (stdout)" after printing Win32 message.
Chris@0 4049
Chris@0 4050 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4051
Chris@0 4052 * Win32/Makefile.mingw.in
Chris@0 4053 Add a "make install" target.
Chris@0 4054
Chris@0 4055 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4056
Chris@0 4057 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
Chris@0 4058 Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
Chris@0 4059
Chris@0 4060 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4061
Chris@0 4062 * examples/sndfile-convert.c
Chris@0 4063 Fix a bug converting stereo integer PCM files to float.
Chris@0 4064
Chris@0 4065 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4066
Chris@0 4067 * examples/sndfile-play.c
Chris@0 4068 Appy patch from Conrad Parker to make Mac OSX error messages more
Chris@0 4069 consistent and informative.
Chris@0 4070
Chris@0 4071 * doc/api.html
Chris@0 4072 Fix a HTML HREF which was wrong.
Chris@0 4073
Chris@0 4074 * doc/win32.html
Chris@0 4075 Add information about when nmake fails.
Chris@0 4076
Chris@0 4077 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4078
Chris@0 4079 * examples/sndfile-play.c
Chris@0 4080 Another patch from Denis Cote to prevent race conditions.
Chris@0 4081
Chris@0 4082 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4083
Chris@0 4084 * src/common.h src/ms_adpcm.c src/ima_adpcm.c
Chris@0 4085 Fix alternative to ISO standard flexible struct array feature for broken
Chris@0 4086 compilers.
Chris@0 4087
Chris@0 4088 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4089
Chris@0 4090 * src/common.h src/string.c src/sndfile.c
Chris@0 4091 Make sf_set_string() return an error if trying to set a string when in
Chris@0 4092 read mode.
Chris@0 4093
Chris@0 4094 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4095
Chris@0 4096 * src/common.h
Chris@0 4097 Change the unnamed union into a named union so gcc-2.95 will compile it.
Chris@0 4098
Chris@0 4099 * src/*.c
Chris@0 4100 Fixes to allow for the above change.
Chris@0 4101
Chris@0 4102 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4103
Chris@0 4104 * examples/sndfile-play.c
Chris@0 4105 Fixes for Win32. Thanks to Denis Cote.
Chris@0 4106
Chris@0 4107 * Win32/Win32/Makefile.(msvc|mingw.in)
Chris@0 4108 Fix build system after removal of sfendian.h.
Chris@0 4109 Build sndfile-convert.
Chris@0 4110
Chris@0 4111 * src/Makefile.am
Chris@0 4112 Remove sfendian.c from dependancies.
Chris@0 4113
Chris@0 4114 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4115
Chris@0 4116 * src/sndfile.h.in
Chris@0 4117 Fix typo in comments (thanks Tommi Sakari Uimonen).
Chris@0 4118
Chris@0 4119 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4120
Chris@0 4121 * tests/(a|u)law_test.c
Chris@0 4122 Minor cleanup.
Chris@0 4123
Chris@0 4124 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4125
Chris@0 4126 * src/(pcm|float|double64|ulaw|alaw|xi).c
Chris@0 4127 Optimise read/write loops by removing a redundant variable.
Chris@0 4128
Chris@0 4129 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4130
Chris@0 4131 * src/file_io.c
Chris@0 4132 Remove call to fsync() in psf_close().
Chris@0 4133
Chris@0 4134 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4135
Chris@0 4136 * src/pcm.c
Chris@0 4137 Inline x2y_array() functions where possible.
Chris@0 4138
Chris@0 4139 * configure.ac
Chris@0 4140 Detect presence of type int64_t.
Chris@0 4141
Chris@0 4142 * src/sfendian.c src/sfendian.h
Chris@0 4143 Move functions in the first file to the sfendian.h as static inline
Chris@0 4144 functions.
Chris@0 4145 Improve endswap_long_*() where possible.
Chris@0 4146
Chris@0 4147 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4148
Chris@0 4149 * src/pcm.c
Chris@0 4150 When converting from unsigned char to float or double, subtract 128 before
Chris@0 4151 converting to float/double rather than after to save a floating point
Chris@0 4152 operation as suggested by Stefan Briesenick.
Chris@0 4153
Chris@0 4154 * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
Chris@0 4155 Optimize inner loops by changing the loop counting slightly as suggested
Chris@0 4156 by Stefan Briesenick.
Chris@0 4157
Chris@0 4158 * configure.ac
Chris@0 4159 Detect presence of <byteswap.h>.
Chris@0 4160
Chris@0 4161 * src/sfendian.h
Chris@0 4162 Use <byteswap.h> if present as suggested by Stefan Briesenick.
Chris@0 4163
Chris@0 4164 * src/pcm.c
Chris@0 4165 Update bytewapping.
Chris@0 4166
Chris@0 4167 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4168
Chris@0 4169 * src/common.h src/*.c
Chris@0 4170 Change the psf->buffer field of SF_PRIVATE into a more type safe union with
Chris@0 4171 double, float, int etc elements.
Chris@0 4172
Chris@0 4173 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4174
Chris@0 4175 * examples/sndfile-play.c
Chris@0 4176 Merge slightly modifed patch from Stanko Juzbasic which allows playback of
Chris@0 4177 mono files on MacOSX.
Chris@0 4178
Chris@0 4179 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4180
Chris@0 4181 * examples/sndfile-convert.c
Chris@0 4182 Move copy_metadata() after the second sf_open().
Chris@0 4183
Chris@0 4184 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4185
Chris@0 4186 * examples/sndfile-convert.c
Chris@0 4187 Fix a bug which caused the program to go into an infinite loop if the source
Chris@0 4188 file has no meta-data. Thanks to Ron Parker for reporting this.
Chris@0 4189
Chris@0 4190 * src/sndfile.h.in
Chris@0 4191 Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
Chris@0 4192
Chris@0 4193 * Win32/sndfile.h MacOS9/sndfile.h
Chris@0 4194 Update these as per the above file.
Chris@0 4195
Chris@0 4196 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4197
Chris@0 4198 * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
Chris@0 4199 src/Makefile.am
Chris@0 4200 Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
Chris@0 4201 Annodex support via liboggz and libfishsound. Thanks Conrad.
Chris@0 4202
Chris@0 4203 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4204
Chris@0 4205 * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
Chris@0 4206 Add cast to size_t for some parameters passed to psf_binheader_writef. This
Chris@0 4207 is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
Chris@0 4208
Chris@0 4209 * src/w64.c
Chris@0 4210 Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
Chris@0 4211 chunk.
Chris@0 4212
Chris@0 4213 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4214
Chris@0 4215 * configure.ac
Chris@0 4216 Bump version to 1.0.10 ready for release.
Chris@0 4217
Chris@0 4218 * Makefile.am
Chris@0 4219 Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
Chris@0 4220 from distribution tarball.
Chris@0 4221
Chris@0 4222 * tests/header_test.tpl
Chris@0 4223 Fix uninitialised variable.
Chris@0 4224
Chris@0 4225 * src/GSM610/short_term.c
Chris@0 4226 Fix compiler warning on MSVC++.
Chris@0 4227
Chris@0 4228 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4229
Chris@0 4230 * src/wav.c
Chris@0 4231 Improve record keeping of chunks seen and return an error if a file with
Chris@0 4232 unusual chunks is opened in mode SFM_RDWR.
Chris@0 4233
Chris@0 4234 * src/mmreg.h
Chris@0 4235 This file not needed so remove it.
Chris@0 4236
Chris@0 4237 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4238
Chris@0 4239 * tests/header_test.tpl
Chris@0 4240 Add extra_header_test().
Chris@0 4241
Chris@0 4242 * src/common.h src/sndfile.c
Chris@0 4243 Add SFE_RDWR_BAD_HEADER error number and string.
Chris@0 4244
Chris@0 4245 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4246
Chris@0 4247 * tests/utils.tpl tests/*.c tests/*.tpl
Chris@0 4248 Add a line number argument to check_log_buffer_or_die() and update all
Chris@0 4249 files that use that function.
Chris@0 4250
Chris@0 4251 * tests/header_test.tpl
Chris@0 4252 Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
Chris@0 4253
Chris@0 4254 * src/aiff.c src/wav.c
Chris@0 4255 Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
Chris@0 4256 SFC_UPDATE_HEADER_AUTO.
Chris@0 4257
Chris@0 4258 * src/test_file_io.c
Chris@0 4259 Add a test for psf_ftruncate() function.
Chris@0 4260
Chris@0 4261 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4262
Chris@0 4263 * src/sndfile.c
Chris@0 4264 Fix another weird corner case bug found by Martin Rumori. Thanks.
Chris@0 4265
Chris@0 4266 * tests/header_test.(tpl|def)
Chris@0 4267 Two new files to test for the absence of the above bug and include tests
Chris@0 4268 moved from tests/misc_test.c.
Chris@0 4269
Chris@0 4270 * tests/Makefile.am
Chris@0 4271 Hook new tests into build/test system.
Chris@0 4272
Chris@0 4273 * tests/misc_test.c
Chris@0 4274 Remove update_header_test() which has been moved to the new files above.
Chris@0 4275
Chris@0 4276 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4277
Chris@0 4278 * src/aiff.c
Chris@0 4279 Fixed a bug reported by Martin Rumori on the LAD list. If a file created
Chris@0 4280 with a format of SF_FORMAT_FLOAT and then closed before any data is written
Chris@0 4281 to it, the header can get screwed up (PEAK chunk gets overwritten).
Chris@0 4282
Chris@0 4283 * tests/write_read_test.tpl
Chris@0 4284 Add a test (empty_file_test) for the above bug.
Chris@0 4285
Chris@0 4286 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4287
Chris@0 4288 * Win32/Makefile.mingw.in
Chris@0 4289 Added a Makefile for MinGW (needs to be processed by configure).
Chris@0 4290
Chris@0 4291 * src/mmsystem.h src/mmreg.h
Chris@0 4292 Add files from the Wine project (under the LGPL) to allow build of
Chris@0 4293 sndfile-play.exe under MinGW.
Chris@0 4294
Chris@0 4295 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4296
Chris@0 4297 * src/GSM610/gsm610_priv.h
Chris@0 4298 Replace ugly macros with inline functions.
Chris@0 4299
Chris@0 4300 * src/GSM610/*.c
Chris@0 4301 Remove temporary variables used by macros and other minor fixes required by
Chris@0 4302 above change.
Chris@0 4303
Chris@0 4304 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4305
Chris@0 4306 * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
Chris@0 4307 Make sure these programs compile (even though they do nothing) on Win32
Chris@0 4308 and add them to the "make check" target.
Chris@0 4309
Chris@0 4310 * src/sfendian.h
Chris@0 4311 Fix warning on Sparc CPU and code cleanup.
Chris@0 4312
Chris@0 4313 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4314
Chris@0 4315 * src/file_io.c
Chris@0 4316 Fix warning messages when compiling under MinGW.
Chris@0 4317
Chris@0 4318 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4319
Chris@0 4320 * configure.ac
Chris@0 4321 Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
Chris@0 4322 accepts the flexible array struct member as per 1999 ISO C standard.
Chris@0 4323
Chris@0 4324 * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
Chris@0 4325 Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
Chris@0 4326 hack for non 1999 ISO C compliant compilers.
Chris@0 4327
Chris@0 4328 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4329
Chris@0 4330 * src/strings.c
Chris@0 4331 If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
Chris@0 4332 string does not already have libsndfile in the string. Thanks to Conrad
Chris@0 4333 Parker.
Chris@0 4334
Chris@0 4335 * tests/string_test.c
Chris@0 4336 Add test to verify the above.
Chris@0 4337
Chris@0 4338 * examples/sndfile-convert.c
Chris@0 4339 Add ability to transcode meta data as well (Conrad Parker).
Chris@0 4340
Chris@0 4341 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4342
Chris@0 4343 * doc/command.html
Chris@0 4344 Fix minor error. Thanks to Simon Burton.
Chris@0 4345
Chris@0 4346 * doc/win32.html
Chris@0 4347 Started adding instructions for compiling libsndfile under MinGW.
Chris@0 4348
Chris@0 4349 * configure.ac
Chris@0 4350 Add --enable-bow-docs to enable black text on a white background HTML docs.
Chris@0 4351
Chris@0 4352 * doc/libsndfile.css.in
Chris@0 4353 This is now a template file for configure which sets the foreground and
Chris@0 4354 background colours.
Chris@0 4355
Chris@0 4356 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4357
Chris@0 4358 * configure.ac
Chris@0 4359 Do some MinGW fixes.
Chris@0 4360
Chris@0 4361 * configure.ac doc/Makefile.am
Chris@0 4362 Install HTML docs when doing make install.
Chris@0 4363
Chris@0 4364 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4365
Chris@0 4366 * examples/sndfile-info.c
Chris@0 4367 Print out the dB level with the signal max.
Chris@0 4368
Chris@0 4369 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4370
Chris@0 4371 * src/file_io.c
Chris@0 4372 Define S_ISSOCK in src/file_io.c if required.
Chris@0 4373
Chris@0 4374 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4375
Chris@0 4376 * configure.ac
Chris@0 4377 Improve printout configuration summary (as suggested by Axel Röbel).
Chris@0 4378
Chris@0 4379 * doc/index.html
Chris@0 4380 Add link to pre-release location.
Chris@0 4381
Chris@0 4382 * src/sndfile.h.in
Chris@0 4383 Remove comma after last element of enum.
Chris@0 4384
Chris@0 4385 * src/float32.c src/double64.c
Chris@0 4386 Fix read/write of float/double encoded raw files to/from pipes.
Chris@0 4387
Chris@0 4388 * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
Chris@0 4389 Turn pipe_test.c into an autogenerated file and add tests for reading/
Chris@0 4390 writing floats and doubles.
Chris@0 4391
Chris@0 4392 * tests/Makefile.am
Chris@0 4393 Hook tests/pipe_test.* into build system.
Chris@0 4394
Chris@0 4395 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4396
Chris@0 4397 * configure.ac acinclude.m4
Chris@0 4398 Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
Chris@0 4399
Chris@0 4400 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4401
Chris@0 4402 * tests/misc_test.c
Chris@0 4403 Perform update_header_test in RDWR mode as well.
Chris@0 4404
Chris@0 4405 * src/aiff.c
Chris@0 4406 Fix problems when updating header in RDWR mode.
Chris@0 4407
Chris@0 4408 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4409
Chris@0 4410 * src/wav.c src/w64.c src/wav_w64.c
Chris@0 4411 Integrate code supplied by David Viens for supporting microsoft's
Chris@0 4412 WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
Chris@0 4413
Chris@0 4414 * configure.ac doc/*.html
Chris@0 4415 Bump version to 1.0.9.
Chris@0 4416
Chris@0 4417 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4418
Chris@0 4419 * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
Chris@0 4420 Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
Chris@0 4421
Chris@0 4422 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4423
Chris@0 4424 * src/avr.c
Chris@0 4425 New file to handle Audio Visual Resaerch files.
Chris@0 4426
Chris@0 4427 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
Chris@0 4428 Hook AVR into everything else.
Chris@0 4429
Chris@0 4430 * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
Chris@0 4431 Add testing for AVR files.
Chris@0 4432
Chris@0 4433 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4434
Chris@0 4435 * src/file_io.c
Chris@0 4436 Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
Chris@0 4437 Technologie) for coming up with the solution.
Chris@0 4438
Chris@0 4439 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4440
Chris@0 4441 * tests/write_read_test.tpl
Chris@0 4442 Fixed a bug that was causing valgrind to report a memory leak. The bug was
Chris@0 4443 in the test code itself, not the library.
Chris@0 4444
Chris@0 4445 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4446
Chris@0 4447 * examples/generate.cs
Chris@0 4448 An example showing how to use libsndfile from C#. Thanks to James Robson
Chris@0 4449 for providing this.
Chris@0 4450
Chris@0 4451 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4452
Chris@0 4453 * src/common.c
Chris@0 4454 Fix problems with WAV files containing large chunks after the 'data'
Chris@0 4455 chunk. Thanks to Koen Tanghe for providing a sample file.
Chris@0 4456
Chris@0 4457 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4458
Chris@0 4459 * configure.ac
Chris@0 4460 Detect presense of ALSA (Advanced Linux Sound Architecture).
Chris@0 4461
Chris@0 4462 * examples/sndfile-play.c
Chris@0 4463 Add ALSA output support.
Chris@0 4464
Chris@0 4465 * examples/Makefile.am
Chris@0 4466 Add ALSA_LIBS to link line of sndfile-play.c.
Chris@0 4467
Chris@0 4468 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4469
Chris@0 4470 * acinclude.m4
Chris@0 4471 Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
Chris@0 4472 the use of the what is known as the struct hack introduced by the 1999 ISO
Chris@0 4473 C Standard.
Chris@0 4474
Chris@0 4475 * configure.ac
Chris@0 4476 The last release would not compile with gcc-2.95 due to the use of features
Chris@0 4477 (ie struct hack) introduced by the 1999 ISO C Standard.
Chris@0 4478 Add check to make sure compiler handles this and bomb out if it doesn't.
Chris@0 4479
Chris@0 4480 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4481
Chris@0 4482 * tests/write_read_test.tpl
Chris@0 4483 Fix compiler warning on Win32.
Chris@0 4484
Chris@0 4485 * src/file_io.c
Chris@0 4486 Fix use of an un-initialised variable in Win32 stuff.
Chris@0 4487
Chris@0 4488 * Win32/config.h examples/sndfile-play.c
Chris@0 4489 Win32 fixes.
Chris@0 4490
Chris@0 4491 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4492
Chris@0 4493 * configure.ac
Chris@0 4494 Fix bug which occurres when configuring for MinGW.
Chris@0 4495 If compiler is gcc and cross compiling use -nostdinc.
Chris@0 4496
Chris@0 4497 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4498
Chris@0 4499 * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
Chris@0 4500 src/sndfile.c
Chris@0 4501 Fix a bug with PEAK chunk handling for files with more than 16 channels.
Chris@0 4502 Thanks to Remy Bruno for finding this.
Chris@0 4503
Chris@0 4504 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4505
Chris@0 4506 * src/common.c
Chris@0 4507 Fix a bug which was preventing WAV files being openned correctly if the
Chris@0 4508 file had a very large header. Thanks to Eldad Zack for finding this.
Chris@0 4509
Chris@0 4510 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4511
Chris@0 4512 * configure.ac src/file_io.c
Chris@0 4513 Fix cross-compiling from Linux to Win32 using the MinGW tools.
Chris@0 4514
Chris@0 4515 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4516
Chris@0 4517 * src/create_symbols_file.sh
Chris@0 4518 Christian Weisgerber pointed out that the shell script did not run on a
Chris@0 4519 real Bourne shell although it did run under Bash in Bourne shell mode.
Chris@0 4520
Chris@0 4521 * src/create_symbols_file.py
Chris@0 4522 Rewrite of above in Python. Also add support for writing Win32 .def files.
Chris@0 4523 The Python script generates Symbols.linux, Symbols.darwin and
Chris@0 4524 libsndfile.def (Win32 version). These files get shipped with the tarball
Chris@0 4525 so there should not be necessary to run the Python script when building
Chris@0 4526 the code from the tarball.
Chris@0 4527
Chris@0 4528 * configure.ac src/Makefile.am Win32/Makefile.am
Chris@0 4529 Hook new Python script into the build system.
Chris@0 4530
Chris@0 4531 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4532
Chris@0 4533 * src/configure.ac
Chris@0 4534 Add --enable-gcc-werror option and move GCC specific stuff down.
Chris@0 4535
Chris@0 4536 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4537
Chris@0 4538 * acinclude.m4 configure.ac
Chris@0 4539 Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
Chris@0 4540
Chris@0 4541 * src/file_io.c
Chris@0 4542 Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
Chris@0 4543 of missing large file support on Linux and Solaris.
Chris@0 4544
Chris@0 4545 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4546
Chris@0 4547 * examples/sndfile-play.c
Chris@0 4548 Fix a MacOSX specific bug which was caused by a space being inserted in
Chris@0 4549 the middle of a file name.
Chris@0 4550
Chris@0 4551 * configure.ac src/Makefile.am examples/Makefile.am
Chris@0 4552 Fix a couple of MacOSX build issues.
Chris@0 4553
Chris@0 4554 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4555
Chris@0 4556 * doc/command.html
Chris@0 4557 Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
Chris@0 4558
Chris@0 4559 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4560
Chris@0 4561 * doc/*.html
Chris@0 4562 Applied patch from Frank Neumann (author of lakai) which fixes many minor
Chris@0 4563 typos in documentation. Thanks Frank.
Chris@0 4564
Chris@0 4565 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4566
Chris@0 4567 * ChangeLog
Chris@0 4568 Changed my email address throughout source and docs.
Chris@0 4569
Chris@0 4570 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4571
Chris@0 4572 * src/file_io.c
Chris@0 4573 Make sure config.h is included before stdio.h to make sure large file
Chris@0 4574 support is enabled on Linux (and Solaris).
Chris@0 4575
Chris@0 4576 * tests/misc_test.c
Chris@0 4577 Disable update_header test on Win32. This should work but doesn't and
Chris@0 4578 I'm not sure why.
Chris@0 4579
Chris@0 4580 * Make.bat Win32/Makefile.msvc
Chris@0 4581 Updates.
Chris@0 4582
Chris@0 4583 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4584
Chris@0 4585 * src/common.h
Chris@0 4586 Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
Chris@0 4587 int to int to prevent weird arithmetic bugs.
Chris@0 4588
Chris@0 4589 * src/common.c src/aiff.c src/wav.c src/w64.c
Chris@0 4590 Fixed compiler warnings resulting from above change.
Chris@0 4591
Chris@0 4592 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4593
Chris@0 4594 * src/common.c
Chris@0 4595 Fixed a bug in header reader for some files with data after the sample data.
Chris@0 4596
Chris@0 4597 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4598
Chris@0 4599 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 4600 Add tests for AIFF/IMA files.
Chris@0 4601
Chris@0 4602 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4603
Chris@0 4604 * src/macbinary3.c src/macos.c
Chris@0 4605 Two new files required for handling SD2 files.
Chris@0 4606
Chris@0 4607 * src/common.h
Chris@0 4608 Add prototypes for functions in above two files.
Chris@0 4609
Chris@0 4610 * src/Makefile.am
Chris@0 4611 Hook new files into build system.
Chris@0 4612
Chris@0 4613 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4614
Chris@0 4615 * configure.ac
Chris@0 4616 Add checks for mmap() and getpagesize() which might be used at some time
Chris@0 4617 for faster file reads.
Chris@0 4618 Add detection of MacOSX.
Chris@0 4619
Chris@0 4620 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4621
Chris@0 4622 * doc/FAQ.html
Chris@0 4623 Minor mods to pkg-config section.
Chris@0 4624
Chris@0 4625 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4626
Chris@0 4627 * src/create_symbols_file.sh
Chris@0 4628 Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
Chris@0 4629 static symbols are exported causing troubles when trying to link
Chris@0 4630 libsndfile with another library which has any of the same symbols.
Chris@0 4631 He fixed this by supplying the MacOSX linker with a file containing
Chris@0 4632 all the public symbols so that only they would be exported and then
Chris@0 4633 supplied a patch for libsndfile.
Chris@0 4634 This wasn't quite ideal, because I would have to maintain two (3 if
Chris@0 4635 you include Win32) separate files containing the exported symbols.
Chris@0 4636 A better solution was to create this script which can generate a
Chris@0 4637 Symbols file for Linux, MacoSX and any other OS that supports
Chris@0 4638 minimising the number of exported symbols.
Chris@0 4639
Chris@0 4640 * configure.ac src/Makefile.am
Chris@0 4641 Hook the new script into the build process.
Chris@0 4642
Chris@0 4643 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4644
Chris@0 4645 * doc/index.html
Chris@0 4646 Added comments about Steve Dekorte's SoundConverter scam.
Chris@0 4647
Chris@0 4648 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4649
Chris@0 4650 * src/file_io.c
Chris@0 4651 Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
Chris@0 4652 (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
Chris@0 4653 true). The test has therefore been changed to is S_ISREG and anything
Chris@0 4654 which which does not return true for S_ISREG is considered a pipe.
Chris@0 4655
Chris@0 4656 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4657
Chris@0 4658 * tests/misc_test.c
Chris@0 4659 Fix update_header_test to pass SDS.
Chris@0 4660
Chris@0 4661 * src/sds.c
Chris@0 4662 More minor fixes.
Chris@0 4663
Chris@0 4664 * tests/floating_point_test.c
Chris@0 4665 Add test for SDS files.
Chris@0 4666
Chris@0 4667 * src/command.c
Chris@0 4668 Add SDS to major_formats array.
Chris@0 4669
Chris@0 4670 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4671
Chris@0 4672 * tests/write_read_test.tpl tests/misc_test.c
Chris@0 4673 Add tests for SDS files.
Chris@0 4674
Chris@0 4675 * src/sds.c
Chris@0 4676 Fix a bug in header update code.
Chris@0 4677
Chris@0 4678 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4679
Chris@0 4680 * src/sds.c
Chris@0 4681 Get file write working.
Chris@0 4682
Chris@0 4683 * src/paf.c
Chris@0 4684 Fix a potential bug in paf24_seek().
Chris@0 4685
Chris@0 4686 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4687
Chris@0 4688 * doc/FAQ.html
Chris@0 4689 Add Q/A about u-law encoded WAV files.
Chris@0 4690
Chris@0 4691 * Win32/*.h
Chris@0 4692 Updated so it compiles on Win32.
Chris@0 4693
Chris@0 4694 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4695
Chris@0 4696 * examples/sndfile-convert.c
Chris@0 4697 Add -alaw and -ulaw command line arguments.
Chris@0 4698
Chris@0 4699 * configure.ac
Chris@0 4700 Add library versioning comments.
Chris@0 4701 Add arguments to AC_INIT.
Chris@0 4702
Chris@0 4703 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4704
Chris@0 4705 * src/file_io.c
Chris@0 4706 Ross Bencina has contributed code to replace all of the (mostly broken)
Chris@0 4707 Win32 POSIX emulation calls with calls the native Win32 file I/O API.
Chris@0 4708 This code still needs testing but is likely to be a huge improvemnt
Chris@0 4709 of support for Win32. Thanks Ross.
Chris@0 4710
Chris@0 4711 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4712
Chris@0 4713 * src/dwvw.c
Chris@0 4714 Removed filedes field from the DWVW_PRIVATE struct.
Chris@0 4715
Chris@0 4716 * src/file_io.c
Chris@0 4717 Change psf_fopen() so it returns psf->error instead of the file descriptor.
Chris@0 4718 Add new functions psf_set_stdio() and psf_set_file().
Chris@0 4719
Chris@0 4720 * src/sndfile.c
Chris@0 4721 Change these to work with changed psf_fopen() return value.
Chris@0 4722 Remove all uses of psf->filedes from sndfile, making it easier to slot native
Chris@0 4723 Win32 API file handling functions.
Chris@0 4724
Chris@0 4725 * src/test_file_io.c
Chris@0 4726 Minor changes to make it compile with new file_io.c stuff.
Chris@0 4727
Chris@0 4728 2003-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4729
Chris@0 4730 * src/gsm610.h
Chris@0 4731 Rename a variable from true to true_flag. As Ross Bencina points out,
Chris@0 4732 true is defined in the C99 header <stdbool.h>.
Chris@0 4733
Chris@0 4734 * src/file_io.c
Chris@0 4735 If fstat() fails, return SF_TRUE instead of -1 (Ross Bencina).
Chris@0 4736
Chris@0 4737 2003-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4738
Chris@0 4739 * src/common.h
Chris@0 4740 Increase the size of SF_BUFFER_LEN and SF_HEADER_LEN.
Chris@0 4741
Chris@0 4742 * src/sndfile.c
Chris@0 4743 Fix sf_read/write_raw which were dividing by psf->bytwidth and
Chris@0 4744 psf->blockwidth which can both be zero.
Chris@0 4745
Chris@0 4746 * examples/sndfile-info.c
Chris@0 4747 Increase size of BUFFER_LEN.
Chris@0 4748
Chris@0 4749 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4750
Chris@0 4751 * configure.ac
Chris@0 4752 Add checks for <sys/wait.h> and ssize_t.
Chris@0 4753 Other Win32/MinGW checks.
Chris@0 4754
Chris@0 4755 * src/aiff.c src/au_g72x.c src/file_io.c src/gsm610.c src/interleave.c
Chris@0 4756 src/paf.c src/sds.c src/svx.c src/voc.c src/w64.c src/wav.c src/xi.c
Chris@0 4757 Fix compiler warnings.
Chris@0 4758
Chris@0 4759 2003-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4760
Chris@0 4761 * tests/scale_clip_test.tpl
Chris@0 4762 Add definition of M_PI if needed.
Chris@0 4763
Chris@0 4764 2003-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4765
Chris@0 4766 * configure.ac
Chris@0 4767 Detect if S_IRGRP is declared in <unistd.h>.
Chris@0 4768
Chris@0 4769 * src/file_io.c tests/*.tpl tests/*.c
Chris@0 4770 More fixes for Win32/MSVC++ and MinGW. MinGW does have <unistd.h> but that
Chris@0 4771 file doesn't declare S_IRGRP.
Chris@0 4772
Chris@0 4773 2003-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4774
Chris@0 4775 * src/config.h.in
Chris@0 4776 Add comment stating that the sf_count_t typedef is determined when
Chris@0 4777 libsndfile is being compiled.
Chris@0 4778
Chris@0 4779 * tests/utils.tpl
Chris@0 4780 Modified so that utils.c gets one copy of the GPL and not two.
Chris@0 4781
Chris@0 4782
Chris@0 4783 2003-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4784
Chris@0 4785 * Win32/unistd.h src/sf_unistd.h
Chris@0 4786 Move first file to the second. This will help for Win32/MSVC++ and MinGW.
Chris@0 4787
Chris@0 4788 * Win32/Makefile.am src/Makefile.am
Chris@0 4789 Changed in line with above.
Chris@0 4790
Chris@0 4791 * Win32/Makefile.msvc
Chris@0 4792 Removed "/I Win32" which is no longer required.
Chris@0 4793
Chris@0 4794 * src/file_io.c src/test_file_io.c tests/*.tpl tests/*.c
Chris@0 4795 If HAVE_UNISTD_H include <unistd.h> else include <sf_unistd.h>. This should
Chris@0 4796 work for Win32, MinGW and other fakes Unix-like OSes.
Chris@0 4797
Chris@0 4798 * src/*.c
Chris@0 4799 Removed #include <unistd.h> from files which didn't need it.
Chris@0 4800
Chris@0 4801 2003-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4802
Chris@0 4803 * libsndfile.spec.in
Chris@0 4804 Apply fix from Andrew Schultz.
Chris@0 4805
Chris@0 4806 2003-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4807
Chris@0 4808 * src/vox_adpcm.c
Chris@0 4809 Only set psf->sf.samplerate if the existing value is invalid.
Chris@0 4810
Chris@0 4811 2003-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4812
Chris@0 4813 * examples/sndfile-play.c
Chris@0 4814 Started adding support for ALSA output.
Chris@0 4815
Chris@0 4816 2003-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4817
Chris@0 4818 * src/sndfile.h.in
Chris@0 4819 Removed <stdlib.h> from sndfile.h.
Chris@0 4820
Chris@0 4821 * src/*.c examples/*.c tests/*.c tests/*.tpl
Chris@0 4822 Added <stdlib.h> where needed.
Chris@0 4823
Chris@0 4824 2003-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4825
Chris@0 4826 * src/common.h
Chris@0 4827 Added ARRAY_LEN, SF_MAX and SF_MIN macros.
Chris@0 4828
Chris@0 4829 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4830
Chris@0 4831 * doc/index.html
Chris@0 4832 Remove statements about alternative licensing arrangements.
Chris@0 4833
Chris@0 4834 2003-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4835
Chris@0 4836 * MacOS MacOS9 Makefile.am configure.ac
Chris@0 4837 Change directory name from MacOS to MacOS9
Chris@0 4838
Chris@0 4839 * MacOS9/MacOS9-readme.txt
Chris@0 4840 Change name to make it really obvious, add text to top of file to make it
Chris@0 4841 still more obvious again.
Chris@0 4842
Chris@0 4843 2003-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4844
Chris@0 4845 * src/test_log_printf.c
Chris@0 4846 Add tests for %u conversions.
Chris@0 4847
Chris@0 4848 * src/common.c
Chris@0 4849 Fix psf_log_printf() %u conversions.
Chris@0 4850
Chris@0 4851 2003-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4852
Chris@0 4853 * src/aiff.c
Chris@0 4854 Fixed a bug where opening a file with a non-trival header in SFM_RDWR mode
Chris@0 4855 would over-write part of the header. Thanks to Axel Röbel for pointing
Chris@0 4856 this out. Axel also provided a patch to fix this but I came up with a
Chris@0 4857 neater and more general solution.
Chris@0 4858 Return error when openning an AIFF file with data after the SSND chunk
Chris@0 4859 (Thanks Axel Röbel).
Chris@0 4860
Chris@0 4861 * tests/aiff_rw_test.c
Chris@0 4862 Improvements to test program which will later allow it to be generalised to
Chris@0 4863 test WAV, SVX and others as required.
Chris@0 4864
Chris@0 4865 2003-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4866
Chris@0 4867 * tests/pipe_test.c
Chris@0 4868 Add useek_pipe_rw_test() submitted by Russell Francis.
Chris@0 4869
Chris@0 4870 * src/sndfile.c
Chris@0 4871 In sf_open_fd(), check if input file descriptor is a pipe.
Chris@0 4872
Chris@0 4873 * src/sndfile.[ch]
Chris@0 4874 Fix typo in variable name do_not_close_descriptor.
Chris@0 4875
Chris@0 4876 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4877
Chris@0 4878 * src/test_log_printf.c
Chris@0 4879 Improve the tests for %d and %s conversions.
Chris@0 4880
Chris@0 4881 * src/common.c
Chris@0 4882 Fixed a few problems in psf_log_printf() found using new tests.
Chris@0 4883
Chris@0 4884 2003-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4885
Chris@0 4886 * configure.ac
Chris@0 4887 Add -Wwrite-strings warning to CFLAGS if the compiler is GCC. Thanks to
Chris@0 4888 Peter Miller (Aegis author) for suggesting this and supplying a patch.
Chris@0 4889
Chris@0 4890 * src/*.c examples/*.c tests/*.c
Chris@0 4891 Fix all compiler warnings arising from the above.
Chris@0 4892
Chris@0 4893 2003-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4894
Chris@0 4895 * tests/aiff_rw_test.c tests/Makefile.am
Chris@0 4896 New test program to check for errors re-writing the headers of AIFC files
Chris@0 4897 opened in mode SFM_RDWR.
Chris@0 4898
Chris@0 4899 2003-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4900
Chris@0 4901 * examples/sndfile-play.c
Chris@0 4902 Applied a patch from Tero Pelander to allow this program to run on systems
Chris@0 4903 using devfs which used /dev/sound/dsp instead of /dev/dsp.
Chris@0 4904
Chris@0 4905 2003-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4906
Chris@0 4907 * doc/new_file_type.HOWTO
Chris@0 4908 Updated document. Still incomplete.
Chris@0 4909
Chris@0 4910 2003-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4911
Chris@0 4912 * src/sndfile.c
Chris@0 4913 Fix VALIDATE_SNDFILE_AND_ASSIGN_PSF which was returning an error rather
Chris@0 4914 than saving it and returning zero.
Chris@0 4915
Chris@0 4916 2003-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4917
Chris@0 4918 * src/file_io.c
Chris@0 4919 Two fixes for Mac OS9.
Chris@0 4920 Fix all casts from sf_count_t to ssize_t (not size_t).
Chris@0 4921
Chris@0 4922 2003-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4923
Chris@0 4924 * src/wav.c
Chris@0 4925 Fix for reading files with RIFF length of 8 and data length of 0.
Chris@0 4926
Chris@0 4927 2003-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4928
Chris@0 4929 * src/*.c tests/*.c tests/*.tpl
Chris@0 4930 Added comments to mark code for removal when make Lite version of
Chris@0 4931 libsndfile.
Chris@0 4932
Chris@0 4933 2003-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4934
Chris@0 4935 * examples/sndfile-convert.c
Chris@0 4936 Add extra error checking for unrecognised arguments.
Chris@0 4937
Chris@0 4938 2003-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4939
Chris@0 4940 * src/ima_adpcm.c
Chris@0 4941 Started adding code to write IMA ADPCM encoded AIFF files.
Chris@0 4942
Chris@0 4943 * src/test_log_printf.c src/Makefile.am
Chris@0 4944 New file to test psf_log_printf() function and add hooks into build system.
Chris@0 4945
Chris@0 4946 * src/common.c
Chris@0 4947 Move psf_log_printf() function to top of the file and only compile the rest
Chris@0 4948 of the file if if PSF_LOG_PRINTF_ONLY is not defined.
Chris@0 4949
Chris@0 4950 2003-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4951
Chris@0 4952 * Win32/config.h Win32/sndfile.h
Chris@0 4953 Updated with new config variables.
Chris@0 4954
Chris@0 4955 * Win32/unistd.h src/file_io.c
Chris@0 4956 Added implementation of S_ISFIFO macro which Win32 seems to lack and is
Chris@0 4957 used in src/file_io.c.
Chris@0 4958
Chris@0 4959 * tests/utils.tpl
Chris@0 4960 Added #include <unitstd.h> to pull in Win32/unistd.h so it compiles for
Chris@0 4961 Win32.
Chris@0 4962
Chris@0 4963 * src/Makefile.msvc
Chris@0 4964 Added src\test_file_io.exe build target and run this as the very first
Chris@0 4965 test.
Chris@0 4966
Chris@0 4967 * tests/win32_test.c
Chris@0 4968 Add support for testing Cygwin32.
Chris@0 4969
Chris@0 4970 * configure.ac
Chris@0 4971 Detect POSIX fsync() and fdatasync() functions.
Chris@0 4972
Chris@0 4973 * src/file_io.c
Chris@0 4974 If compiling for Cygwin, call fsync() before calling fstat() to retrieve
Chris@0 4975 file length.
Chris@0 4976
Chris@0 4977 * tests/pcm_test.tpl
Chris@0 4978 Add a test for lrintf() function. This was required to detect a really
Chris@0 4979 broken lrint() and lrintf() on Cygwin.
Chris@0 4980
Chris@0 4981 * tests/misc_test.c
Chris@0 4982 Don't run permission test when compiling under Cygwin.
Chris@0 4983
Chris@0 4984 * src/float_cast.h
Chris@0 4985 Fix fallback macro for lrint() and lrintf() to cast to long instead of int
Chris@0 4986 to match official function prototypes.
Chris@0 4987
Chris@0 4988 2003-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4989
Chris@0 4990 * examples/sndfile-convert.c
Chris@0 4991 Modifications to improve accuracy of conversions; use double data for
Chris@0 4992 floating point and int for everything else.
Chris@0 4993
Chris@0 4994 * src/ima_apdcm.c
Chris@0 4995 Completed work on decoding IMA ADPCM encoded AIFF files. Still need to
Chris@0 4996 get encoding working.
Chris@0 4997
Chris@0 4998 2003-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 4999
Chris@0 5000 * src/aiff.c src/ima_adpcm.c
Chris@0 5001 Start working on getting IMA ADPCM encoded AIFF files working.
Chris@0 5002
Chris@0 5003 2003-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5004
Chris@0 5005 * configure.ac
Chris@0 5006 Fixed the touch command for when the autogen program is not found (Matt
Chris@0 5007 Flax).
Chris@0 5008
Chris@0 5009 * src/ulaw.c src/alaw.c
Chris@0 5010 Made these pipe-able.
Chris@0 5011
Chris@0 5012 2003-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5013
Chris@0 5014 * src/paf.c src/ircam.c
Chris@0 5015 Fixed writing to pipe.
Chris@0 5016
Chris@0 5017 * src/wav.c src/aiff.c src/nist.c src/mat*.c src/svx.c src/w64.c
Chris@0 5018 Return SFE_NO_PIPE_WRITE if an attempt is made to write to a pipe.
Chris@0 5019
Chris@0 5020 2003-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5021
Chris@0 5022 * examples/sndfile-info.c
Chris@0 5023 Modified to detect unknown file lengths.
Chris@0 5024
Chris@0 5025 * src/mat4.c
Chris@0 5026 Fix reading from a pipe.
Chris@0 5027
Chris@0 5028 2003-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5029
Chris@0 5030 * tests/pipe_test.c
Chris@0 5031 Add more file types to tests.
Chris@0 5032
Chris@0 5033 * src/mat4.c
Chris@0 5034 Removed explicit setting of psf->sf.seekable to SF_TRUE.
Chris@0 5035
Chris@0 5036 * tests/utils.tpl
Chris@0 5037 Add macro for generating and check data in the stdio and pipe tests.
Chris@0 5038
Chris@0 5039 * tests/stdout_test.c tests/stdin_test.c
Chris@0 5040 Use the above macro to generate known data on output and check data on
Chris@0 5041 input.
Chris@0 5042
Chris@0 5043 * src/voc.c src/htk.c common.h sndfile.c
Chris@0 5044 Disallow reading/writing VOC and HTK files from/to pipes be returning new
Chris@0 5045 error values.
Chris@0 5046
Chris@0 5047 * src/w64.c
Chris@0 5048 Fixes to allow reading from a pipe.
Chris@0 5049
Chris@0 5050 2003-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5051
Chris@0 5052 * configure.ac src/sndfile.h.in
Chris@0 5053 When the configure script determines the sizeof (sf_count_t), also set the
Chris@0 5054 value of SF_COUNT_MAX in sndfile.h.
Chris@0 5055
Chris@0 5056 * configure.ac
Chris@0 5057 Remove -pedantic flag from default GCC compiler flags.
Chris@0 5058
Chris@0 5059 * tests/pipe_test.c
Chris@0 5060 Add a pipe_read_test() before doing pipe_write_test().
Chris@0 5061
Chris@0 5062 * tests/scale_clip_test.c
Chris@0 5063 Add test to make sure non-normalized values also clip in the right way.
Chris@0 5064
Chris@0 5065 2003-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5066
Chris@0 5067 * configure.ac
Chris@0 5068 Add test to detect processor clipping capabilities.
Chris@0 5069
Chris@0 5070 * tests/stdin_test.c tests/stdout_test.c
Chris@0 5071 Fix a pair of compiler warnings.
Chris@0 5072
Chris@0 5073 * src/common.h
Chris@0 5074 Add new pipeoffset field to SF_PRIVATE. This will contain the current file
Chris@0 5075 offset when operating on a pipe.
Chris@0 5076
Chris@0 5077 * src/common.c
Chris@0 5078 Removed direct calls to psf_fread()/psf_fseek()/psf_fgets() etc from
Chris@0 5079 psf_binheader_readf and redirect them to new buffered versions
Chris@0 5080 header_read(), header_seek() and header_gets().
Chris@0 5081 Add "G" format specifier to emulate fgets() functionality with buffering.
Chris@0 5082 This will allow reading some file types from pipes.
Chris@0 5083
Chris@0 5084 * src/file_io.c
Chris@0 5085 When the file descriptor is a pipe, manintain psf->pipeoffset.
Chris@0 5086
Chris@0 5087 * src/pvf.c
Chris@0 5088 Change use of psf_fgets() to psf_binheader_readf() as required but changes to header re
Chris@0 5089
Chris@0 5090 * src/au.c
Chris@0 5091 Fix reading from a pipe.
Chris@0 5092
Chris@0 5093 2003-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5094
Chris@0 5095 * src/pcm.c
Chris@0 5096 Add clipping versions of the f2XXX_array() functions to allow option of
Chris@0 5097 clipping data that would otherwise overflow.
Chris@0 5098
Chris@0 5099 * tests/scale_clip_test.tpl tests/scale_clip_test.def
Chris@0 5100 New files test that clipping option does actually work.
Chris@0 5101
Chris@0 5102 2003-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5103
Chris@0 5104 * doc/index.html
Chris@0 5105 Fixed a typo ("OS(" instead of "OS9").
Chris@0 5106
Chris@0 5107 2003-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5108
Chris@0 5109 * tests/open_fail_test.c
Chris@0 5110 Include <string.h> to prevent warning message of missing declaration of
Chris@0 5111 memset().
Chris@0 5112
Chris@0 5113 2003-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5114
Chris@0 5115 * src/common.h
Chris@0 5116 Add new "add_clipping" field to SF_PRIVATE.
Chris@0 5117
Chris@0 5118 * src/sndfile.h.in src/sndfile.c
Chris@0 5119 Add command SFC_SET_CLIPPING which sets/resets add_clipping field.
Chris@0 5120
Chris@0 5121 2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5122
Chris@0 5123 * doc/api.html
Chris@0 5124 Add docs for sf_set_string() and sf_get_string().
Chris@0 5125
Chris@0 5126 * src/common.h src/sndfile.c
Chris@0 5127 Add new SFE_STR_BAD_STRING error.
Chris@0 5128
Chris@0 5129 * tests/stdin_test.c tests/stdout_test.c
Chris@0 5130 Removed all non-error print statements.
Chris@0 5131
Chris@0 5132 * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am
Chris@0 5133 Add print statements removed from two files above.
Chris@0 5134
Chris@0 5135 2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5136
Chris@0 5137 * libsndfile.spec.in
Chris@0 5138 Fixed a coulpe of minor errors discovered by someone calling themselves
Chris@0 5139 Agent Smith.
Chris@0 5140
Chris@0 5141 * src/common.c src/common.h src/file_io.h
Chris@0 5142 Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe()
Chris@0 5143 function. (Axel Röbel)
Chris@0 5144
Chris@0 5145 * src/sndfile.c
Chris@0 5146 Fixed determination of whether the file is a pipe. (Axel Röbel)
Chris@0 5147
Chris@0 5148 * src/paf.c
Chris@0 5149 Force paf24 to start with undefined mode. (Axel Röbel)
Chris@0 5150
Chris@0 5151 * tests/pipe_test.c
Chris@0 5152 Mods to make this test work and actually do the test on RAW files. (Axel
Chris@0 5153 Röbel).
Chris@0 5154
Chris@0 5155 2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5156
Chris@0 5157 * src/sndfile.c
Chris@0 5158 Fixed a potential bug where psf->sf.seekable was being set to FALSE when
Chris@0 5159 operating on stdin or stdout but then the default initialiser was reseting
Chris@0 5160 it to TRUE. Thanks to Axel Röbel.
Chris@0 5161
Chris@0 5162 * src/aiff.c
Chris@0 5163 Fixed a bug in the header parser where it was not handling an odd length
Chris@0 5164 COMM chunk correctly. Thanks to Axel Röbel.
Chris@0 5165
Chris@0 5166 * src/test_file_io.c
Chris@0 5167 Add more tests.
Chris@0 5168
Chris@0 5169 * tests/win32_test.c
Chris@0 5170 New file for showing the bugs in the Win32 implementation of the POSIX API.
Chris@0 5171 It also runs on Linux for sanity checking.
Chris@0 5172
Chris@0 5173 * tests/Makefile.am Win32/Makefile.msvc
Chris@0 5174 Hook the new test program into the build system.
Chris@0 5175
Chris@0 5176 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5177
Chris@0 5178 * src/test_file_io.c
Chris@0 5179 New test program to test operation of functions defined in file_io.c. This
Chris@0 5180 should make supporting win32 significantly easier.
Chris@0 5181
Chris@0 5182 * src/Makefile.am
Chris@0 5183 Hook new test program into the build system.
Chris@0 5184
Chris@0 5185 * src/file_io.c
Chris@0 5186 Add compile/run time check that sizeof statbuf.st_size and sf_count_t are
Chris@0 5187 the same.
Chris@0 5188
Chris@0 5189 * src/common.h src/sndfile.c
Chris@0 5190 Added new error code and error message for new check.
Chris@0 5191
Chris@0 5192 * tests/benchmark.tpl
Chris@0 5193 Fix to use frames instead of samples in SF_INFO.
Chris@0 5194
Chris@0 5195 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5196
Chris@0 5197 * src/file_io.c
Chris@0 5198 More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32.
Chris@0 5199
Chris@0 5200 * examples/sndfile-info.c
Chris@0 5201 Applied patch from Conrad Parker to add "--help" and "-h" options as
Chris@0 5202 well as an improved usage message.
Chris@0 5203
Chris@0 5204 2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5205
Chris@0 5206 * src/au.c
Chris@0 5207 Added embedded file support.
Chris@0 5208
Chris@0 5209 * tests/multi_file_test.c
Chris@0 5210 Added tests for embedded AU files.
Chris@0 5211 Added verbose testing mode.
Chris@0 5212
Chris@0 5213 * src/common.h src/sndfile.c
Chris@0 5214 Added an embedded AU specific error code and message.
Chris@0 5215
Chris@0 5216 * src/wav.c
Chris@0 5217 Added patch from Conrad Parker which filled in a little more information
Chris@0 5218 about ACIDized WAV files.
Chris@0 5219
Chris@0 5220 2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5221
Chris@0 5222 * src/file_io.c
Chris@0 5223 Fixed Win32 version of psf_fseek() which was calling psf_get_filelen()
Chris@0 5224 which was in turn calling psf_fseek() which in the end blew the stack.
Chris@0 5225 Now of course this would have been easy to find on Linux, but this blow
Chris@0 5226 up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't
Chris@0 5227 figure out what call caused this (it couldn't even tell me the stack had
Chris@0 5228 overflowed) and was absolutley useless for this debugging exercise.
Chris@0 5229 On top of that, the reason I got into this mess was that windoze doesn't
Chris@0 5230 have a working fstat() function which can return file lengths > 2 Gig. It
Chris@0 5231 HAS a fscking _fstati64() but the file length value is only updated AFTER
Chris@0 5232 the bloody file is closed. That makes it completely useless.
Chris@0 5233 How the hell do people stand working on this crap excuse of an OS?
Chris@0 5234
Chris@0 5235 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5236
Chris@0 5237 * Win32/unistd.h src/file_io.c
Chris@0 5238 Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these
Chris@0 5239 can be used in the test programs.
Chris@0 5240
Chris@0 5241 * Win32/libsndfile.def
Chris@0 5242 Added sf_open_fd.
Chris@0 5243
Chris@0 5244 * Win32/sndfile.h
Chris@0 5245 Updated to match src/sndfile.h.in.
Chris@0 5246
Chris@0 5247 * Win32/Makefile.msvc
Chris@0 5248 Added dither.c and htk.c to libsndfile.dll target.
Chris@0 5249
Chris@0 5250 2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5251
Chris@0 5252 * src/file_io.c
Chris@0 5253 First attempt at getting the Win32 versions of the these functions working.
Chris@0 5254 They still need to be tested.
Chris@0 5255
Chris@0 5256 2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5257
Chris@0 5258 * src/strings.c
Chris@0 5259 Found and fixed a bug which was causing psf_store_string() to fail on
Chris@0 5260 Motorola 68k processors. Many thanks fo Joshua Haberman (Debian maintainer
Chris@0 5261 of libsndfile) for compiling and running debug code to help me debug the
Chris@0 5262 problem.
Chris@0 5263
Chris@0 5264 2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5265
Chris@0 5266 * src/sndfile.c src/file_io.c src/wav.c src/aiff.c
Chris@0 5267 Much hacking to get reading and writing of embedded files working (ie sound
Chris@0 5268 files at a non-zero files offset).
Chris@0 5269
Chris@0 5270 * doc/embedded_files.html
Chris@0 5271 First pass atempt at documenting reading/writing embedded files.
Chris@0 5272
Chris@0 5273 2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5274
Chris@0 5275 * doc/FAQ.html
Chris@0 5276 Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"
Chris@0 5277
Chris@0 5278 2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5279
Chris@0 5280 * src/wav.c src/aiff.c
Chris@0 5281 Fix retrieving and storing of string data from files. Need to be careful
Chris@0 5282 about using psf->buffer for strings.
Chris@0 5283
Chris@0 5284 2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5285
Chris@0 5286 * src/file_io.c
Chris@0 5287 Fix psf_fseek() for seeks withing embedded files.
Chris@0 5288
Chris@0 5289 2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5290
Chris@0 5291 * src/sndfile.h.in
Chris@0 5292 Changed the definition of SNDFILE slightly to produce warnings when it isn't
Chris@0 5293 used correctly. This should have zero affect in code which uses the SNDFILE
Chris@0 5294 type correctly.
Chris@0 5295
Chris@0 5296 * src/sndfile.c
Chris@0 5297 Fixed a few compiler warnings cause by the changes to the SNDFILE type.
Chris@0 5298
Chris@0 5299 2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5300
Chris@0 5301 * doc/FAQ.html
Chris@0 5302 Added question and answer to the question "How about adding the ability
Chris@0 5303 to write/read sound files to/from memory buffers?".
Chris@0 5304
Chris@0 5305 2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5306
Chris@0 5307 * tests/write_read_test.tpl
Chris@0 5308 Removed un-needed enums declaring TRUE and FALSE and replaced usage of
Chris@0 5309 these with SF_TRUE and SF_FALSE.
Chris@0 5310
Chris@0 5311 * tests/multi_file_test.c
Chris@0 5312 New test program to test sf_open_fd() on files containing data other than
Chris@0 5313 a single sound file.
Chris@0 5314
Chris@0 5315 2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5316
Chris@0 5317 * src/file_io.c
Chris@0 5318 When creating files, set the readable by others flag. This still allows
Chris@0 5319 further restrictions to be enforced by use of the user's umask. Fix
Chris@0 5320 suggested by Eric Lyon.
Chris@0 5321
Chris@0 5322 2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5323
Chris@0 5324 * src/sndfile.h.in src/sndfile.c
Chris@0 5325 Changed sf_open_fd(). Dropped offset parameter and added a close_desc
Chris@0 5326 parameter. If close desc is TRUE, the file descritpor passed into the
Chris@0 5327 library will be closed when sf_close() is called.
Chris@0 5328
Chris@0 5329 * tests/utils.tpl
Chris@0 5330 Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.
Chris@0 5331
Chris@0 5332 2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5333
Chris@0 5334 * tests/write_read_test.tpl
Chris@0 5335 Add a string (using sf_set_string() function) before and after data section
Chris@0 5336 of all files. This will make sure that if string data can be added, it
Chris@0 5337 doesn't overwrite real audio data.
Chris@0 5338
Chris@0 5339 2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5340
Chris@0 5341 * src/sndfile.c
Chris@0 5342 Started work on supporting a non-zero offset parameter for sf_open_fd ().
Chris@0 5343
Chris@0 5344 * src/<file header parsers>.c
Chris@0 5345 Removed many uses of psf_fseek (SEEK_END) which to allow for future use of
Chris@0 5346 sf_open_fd() with non-zero offset.
Chris@0 5347 Associated refactoring.
Chris@0 5348
Chris@0 5349 * src/aiff.c
Chris@0 5350 Implemented functionality required to get sf_get_string() and
Chris@0 5351 sf_set_string() working for AIFF files.
Chris@0 5352
Chris@0 5353 2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5354
Chris@0 5355 * tests/utils.tpl
Chris@0 5356 Modified test_open_file_or_die() to alternately use sf_open() and
Chris@0 5357 sf_open_fd().
Chris@0 5358
Chris@0 5359 * src/svx.c
Chris@0 5360 Fixed a bug which occurred when openning an existing file for read/write
Chris@0 5361 using sf_open_fd(). In this case, the existing NAME chunk needs to be
Chris@0 5362 read into psf->filename.
Chris@0 5363 Fixed printing of sf_count_t types to logbuffer.
Chris@0 5364
Chris@0 5365 2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5366
Chris@0 5367 * src/sndfile.h.in
Chris@0 5368 Added prototype for new function sf_open_fd().
Chris@0 5369
Chris@0 5370 * src/sndfile.c
Chris@0 5371 Moved most of the code in sf_open() to a new function psf_open_file().
Chris@0 5372 Created new function sf_open_fd() which also uses psf_open_file() but
Chris@0 5373 does not currently support the offset parameter.
Chris@0 5374
Chris@0 5375 * doc/api.html
Chris@0 5376 Document sf_open_fd().
Chris@0 5377
Chris@0 5378 2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5379
Chris@0 5380 * src/sndfile.c
Chris@0 5381 Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred
Chris@0 5382 when an attempt was made to read and the open() call fails.
Chris@0 5383
Chris@0 5384 2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5385
Chris@0 5386 * tests/open_fail_test.c
Chris@0 5387 New test program to check for memory leaks when sf_open fails on a valid
Chris@0 5388 file. Currently this must be run manually under valgrid.
Chris@0 5389
Chris@0 5390 * tests/Makefile.am
Chris@0 5391 Hook new test program into build.
Chris@0 5392
Chris@0 5393 2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5394
Chris@0 5395 * Octave/sndfile_save.m Octave/sndfile_play.m
Chris@0 5396 Added a -mat-binary option to the octave save command to force the output
Chris@0 5397 to binary mode even if the user has set ascii data as the default. Found
Chris@0 5398 by Christopher Moore.
Chris@0 5399
Chris@0 5400 2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5401
Chris@0 5402 * doc/dither.html
Chris@0 5403 New file which will document the interface which allows the addition of
Chris@0 5404 audio dither when sample word sizes are being reduced.
Chris@0 5405
Chris@0 5406 * src/dither.c
Chris@0 5407 More work.
Chris@0 5408
Chris@0 5409 2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5410
Chris@0 5411 * tests/misc_test.c
Chris@0 5412 In update_header_test(), make HTK files a special case.
Chris@0 5413
Chris@0 5414 * doc/index.html
Chris@0 5415 Added HTK to the feature matrix.
Chris@0 5416
Chris@0 5417 2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5418
Chris@0 5419 * src/htk.c
Chris@0 5420 New file for reading/writing HMM Tool Kit files.
Chris@0 5421
Chris@0 5422 * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am
Chris@0 5423 Hook in htk.c
Chris@0 5424
Chris@0 5425 * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am
Chris@0 5426 Add tests for HTK files.
Chris@0 5427
Chris@0 5428 2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5429
Chris@0 5430 * src/wav.c
Chris@0 5431 Fixed a bug where the LIST chunk length was being written incorrectly.
Chris@0 5432
Chris@0 5433 * tests/string_test.c
Chris@0 5434 Added call to check_log_buffer().
Chris@0 5435 Minor cleanups.
Chris@0 5436
Chris@0 5437 2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5438
Chris@0 5439 * src/wav_w64.h
Chris@0 5440 Applied patch from Antoine Mathys to add extra WAV format definitions and
Chris@0 5441 a G72x_ADPCM_WAV_FMT struct definition.
Chris@0 5442
Chris@0 5443 * src/wav_w64.c
Chris@0 5444 Applied patch from Antoine Mathys which converts wav_w64_format_str() from
Chris@0 5445 one huge inefficient switch statement to a binary search.
Chris@0 5446
Chris@0 5447 * tests/string_test.c
Chris@0 5448 Dump log buffer if tests fail.
Chris@0 5449
Chris@0 5450 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5451
Chris@0 5452 * tests/string_test.c
Chris@0 5453 David Viens supplied some modifications to this file which showed up a bug
Chris@0 5454 when using sf_set_string() and the sf_writef_float() functions.
Chris@0 5455
Chris@0 5456 * src/sndfile.c
Chris@0 5457 Fixed the above bug.
Chris@0 5458
Chris@0 5459 2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5460
Chris@0 5461 * doc/FAQ.html
Chris@0 5462 Added Q and A on how to detect libsndfile in configure.in (at the suggestion
Chris@0 5463 of Davy Durham).
Chris@0 5464
Chris@0 5465 2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5466
Chris@0 5467 * src/sndfile.h.in
Chris@0 5468 Add enums and typedefs for dither.
Chris@0 5469 Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be
Chris@0 5470 replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will
Chris@0 5471 allow different dither algorithms to be enabled.
Chris@0 5472 Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO.
Chris@0 5473
Chris@0 5474 * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def.
Chris@0 5475 Added public sf_dither_*() functions.
Chris@0 5476
Chris@0 5477 * src/sndfile.c
Chris@0 5478 Implement commands above.
Chris@0 5479
Chris@0 5480 * src/dither.c
Chris@0 5481 More work. Framework and external hooks into dither algorithms complete.
Chris@0 5482
Chris@0 5483 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5484
Chris@0 5485 * doc/version-1.html libsndfile_version_convert.py
Chris@0 5486 Remove redundant files.
Chris@0 5487
Chris@0 5488 * doc/index.html doc/api.html
Chris@0 5489 Remove links to version-1.html.
Chris@0 5490
Chris@0 5491 * src/dither.c
Chris@0 5492 New file to allow the addition of audio dither on input and output.
Chris@0 5493
Chris@0 5494 * src/common.h
Chris@0 5495 Add prototype for dither_init() function.
Chris@0 5496
Chris@0 5497 * Makefile.am doc/Makefile.am
Chris@0 5498 Changes for added and removed files.
Chris@0 5499
Chris@0 5500 2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5501
Chris@0 5502 * Win32/Makefile.msvc
Chris@0 5503 Changes to force example binaries to be placed in the top level directory
Chris@0 5504 instead of the examples/ directory.
Chris@0 5505 Add src/strings.c and src/xi.c to the build.
Chris@0 5506 Add string_test to build and to tests on WAV files.
Chris@0 5507
Chris@0 5508 * doc/index.html
Chris@0 5509 Added XI to support matrix.
Chris@0 5510
Chris@0 5511 2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5512
Chris@0 5513 * src/sndfile.h.in
Chris@0 5514 Added prototypes for sf_get_string() and sf_set_string() and SF_STR_*
Chris@0 5515 enum values.
Chris@0 5516
Chris@0 5517 * src/sndfile.c
Chris@0 5518 Added public interface to sf_get_string() and sf_set_string().
Chris@0 5519
Chris@0 5520 * src/wav.c
Chris@0 5521 Added code for setting and getting strings in WAV files.
Chris@0 5522
Chris@0 5523 * tests/string_test.c
Chris@0 5524 New test program for sf_get_string() and sf_set_string() functionality.
Chris@0 5525
Chris@0 5526 * tests/Makefile.am
Chris@0 5527 Hook new test program into build and test framework.
Chris@0 5528
Chris@0 5529 2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5530
Chris@0 5531 * src/common.h
Chris@0 5532 Added fields to SF_PRIVATE for string data needed to implement
Chris@0 5533 sf_get_string() and sf_set_string().
Chris@0 5534
Chris@0 5535 * src/strings.c
Chris@0 5536 New file for storing and retrieving strings to/from files.
Chris@0 5537
Chris@0 5538 * src/Makefile.am
Chris@0 5539 Added strings.c to build.
Chris@0 5540
Chris@0 5541 2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5542
Chris@0 5543 * src/xi.c
Chris@0 5544 Read seems to be working so looking at write.
Chris@0 5545
Chris@0 5546 * src/sndfile.h.in
Chris@0 5547 Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values.
Chris@0 5548
Chris@0 5549 * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am
Chris@0 5550 Added test for 8 and 16 bit XI format files.
Chris@0 5551
Chris@0 5552 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5553
Chris@0 5554 * doc/index.html
Chris@0 5555 Added a non-lawyer readable summary of the licensing provisions as
Chris@0 5556 suggested by Steve Dekorte.
Chris@0 5557
Chris@0 5558 2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5559
Chris@0 5560 * src/wav.c
Chris@0 5561 Fixed a compiler warning found by Alexander Lerch.
Chris@0 5562
Chris@0 5563 2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5564
Chris@0 5565 * configure.ac
Chris@0 5566 Fixed the multiple linking of libm.
Chris@0 5567
Chris@0 5568 2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5569
Chris@0 5570 * Win32/Makefile.mcvs
Chris@0 5571 Added comments on the correct way to set up the MSVCDir environment
Chris@0 5572 variable.
Chris@0 5573
Chris@0 5574 * doc/win32.html
Chris@0 5575 Add on how to set up the MSVCDir environment variable.
Chris@0 5576
Chris@0 5577 2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5578
Chris@0 5579 * examples/sndfile-play.c examples/sndfile-info.c
Chris@0 5580 When run on Win32 without any command line parameters print a message and
Chris@0 5581 then sleep for 5 seconds. This means the when somebody double clicks on
Chris@0 5582 these programs in explorer the user will actually see the message.
Chris@0 5583
Chris@0 5584 2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5585
Chris@0 5586 * tests/misc_test.c
Chris@0 5587 Bypass permission test if running as root because root is allowed to open
Chris@0 5588 a readonly file for write.
Chris@0 5589
Chris@0 5590 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5591
Chris@0 5592 * Win32/Makefile.msvc
Chris@0 5593 Added pvf.c and xi.c source files to project.
Chris@0 5594
Chris@0 5595 * src/sndfile.h
Chris@0 5596 Updated for PVF files.
Chris@0 5597
Chris@0 5598 2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5599
Chris@0 5600 * src/sndfile.c
Chris@0 5601 Modified validate_sfinfo() to force samplerate, channels and sections
Chris@0 5602 to be >= 1.
Chris@0 5603 In format_from_extension() replaced calls to does_extension_match()
Chris@0 5604 with strcmp().
Chris@0 5605
Chris@0 5606 * src/xi.c
Chris@0 5607 More work.
Chris@0 5608
Chris@0 5609 2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5610
Chris@0 5611 * doc/Makefile.am
Chris@0 5612 Added octave.html which had been left out. Found by Jan Weil.
Chris@0 5613
Chris@0 5614 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5615
Chris@0 5616 * src/pvf.c src/common.h src/sndfile.c
Chris@0 5617 Fixed error handling for PVF files.
Chris@0 5618
Chris@0 5619 * src/xi.c
Chris@0 5620 New file for handling Fasttracker 2 Extended Instrument files. Not working
Chris@0 5621 yet and included when configured with --enable-experimental.
Chris@0 5622
Chris@0 5623 * src/sndfile.c src/common.h
Chris@0 5624 Hooked in new file xi.c.
Chris@0 5625
Chris@0 5626 2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5627
Chris@0 5628 * src/rx2.c
Chris@0 5629 Added a patch from Marek Peteraj which sheds a little more light on the
Chris@0 5630 slices within an RX2 file. Still need to find out data encoding.
Chris@0 5631
Chris@0 5632 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5633
Chris@0 5634 * src/wav.c
Chris@0 5635 Started work on decoding 'acid' and 'strc' chunks.
Chris@0 5636
Chris@0 5637 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5638
Chris@0 5639 * tests/peak_check_test.c
Chris@0 5640 Minor cleanup.
Chris@0 5641
Chris@0 5642 2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5643
Chris@0 5644 * tests/write_read_test.tpl
Chris@0 5645 Added check to make sure no error was generated when an attempt was made to
Chris@0 5646 read past the end of the file.
Chris@0 5647
Chris@0 5648 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5649
Chris@0 5650 * doc/lists.html
Chris@0 5651 Added "mailto" links for all three lists.
Chris@0 5652
Chris@0 5653 * src/pvf.c
Chris@0 5654 New file for Portable Voice Format files.
Chris@0 5655
Chris@0 5656 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
Chris@0 5657 Added hooks for SF_FORMAT_PVF format files.
Chris@0 5658
Chris@0 5659 * tests/write_read_test.tpl tests/std*.c
Chris@0 5660 Add tests for SF_FORMAT_PVF.
Chris@0 5661
Chris@0 5662 * doc/index.html
Chris@0 5663 Add PVF to the compatibility matrix.
Chris@0 5664
Chris@0 5665 * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c
Chris@0 5666 Previously, attempts to read beyond the end of a file would set psf->error
Chris@0 5667 to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX
Chris@0 5668 read() call but has now been fixed.
Chris@0 5669 Attempts to read beyond the end of the file will return a short read count
Chris@0 5670 but will not longer set any error.
Chris@0 5671
Chris@0 5672 2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5673
Chris@0 5674 * src/sndfile.c
Chris@0 5675 Add more sanity checking when opening a RAW file for read. When format is
Chris@0 5676 not RAW, zero out all members of the SF_INFO struct.
Chris@0 5677
Chris@0 5678 * tests/raw_test.c
Chris@0 5679 Add bad_raw_test() to check for above problem.
Chris@0 5680
Chris@0 5681 * tests/stdin_test.c examples/sndfile-info.c
Chris@0 5682 Set the format field of the SF_INFO struct to zero before calling
Chris@0 5683 sf_open().
Chris@0 5684
Chris@0 5685 * doc/api.html
Chris@0 5686 Add information about the need to set the format field of the SF_INFO struct
Chris@0 5687 to zero when opening non-RAW files for read.
Chris@0 5688
Chris@0 5689 * configure.ac
Chris@0 5690 Removed use of conversion script on Solaris. Not all Solaris versions
Chris@0 5691 support it.
Chris@0 5692
Chris@0 5693 * doc/lists.html
Chris@0 5694 New file containg details of the mailing lists.
Chris@0 5695
Chris@0 5696 * doc/index.html
Chris@0 5697 Add a link to the above new file.
Chris@0 5698
Chris@0 5699 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5700
Chris@0 5701 * tests/dft_cmp.c
Chris@0 5702 Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman
Chris@0 5703 for providing the gdb traceback.
Chris@0 5704
Chris@0 5705 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5706
Chris@0 5707 * src/wav.c
Chris@0 5708 Added more capabilities to 'smpl' chunk parser.
Chris@0 5709
Chris@0 5710 * src/sndfile.c
Chris@0 5711 Fixed some (not all) possible problems found with Flawfinder.
Chris@0 5712
Chris@0 5713 2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5714
Chris@0 5715 * src/sndfile.c
Chris@0 5716 Fixed a bug in sf_seek(). This bug could only occur when an attempt was
Chris@0 5717 made to read beyond the end and then sf_seek() was called with a whence
Chris@0 5718 parameter of SEEK_CUR.
Chris@0 5719
Chris@0 5720 * src/file_io.c
Chris@0 5721 Win32's _fstati64() does not work, it returns BS. Re-implemented
Chris@0 5722 psf_get_filelen() in terms of psf_fseek().
Chris@0 5723
Chris@0 5724 * tests/write_read_test.tpl
Chris@0 5725 Add a test to detect above bug.
Chris@0 5726
Chris@0 5727 * src/float_cast.h
Chris@0 5728 Modification to prevent compiler warnings on Mac OS X.
Chris@0 5729
Chris@0 5730 * src/file_io.c
Chris@0 5731 Fixes for windows (what a f**ked OS).
Chris@0 5732
Chris@0 5733 2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5734
Chris@0 5735 * configure.ac
Chris@0 5736 Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on
Chris@0 5737 Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in
Chris@0 5738 src/float_cast.h means that a library compiled on 10.2 will still work on
Chris@0 5739 10.1.
Chris@0 5740
Chris@0 5741 2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5742
Chris@0 5743 * configure.in configure.ac
Chris@0 5744 Renamed configure.in to configure.ac as expected by later versions of
Chris@0 5745 autoconf.
Chris@0 5746 Slight hacking of configure.ac to work with version 2.54 of autoconf.
Chris@0 5747 Changed to using -dumpversion instead of --version for determining GCC
Chris@0 5748 version numer as suggested by Anand Kumria.
Chris@0 5749
Chris@0 5750 * src/G72x/Makefile.am
Chris@0 5751 Slight hacking required for operation with automake 1.6.3.
Chris@0 5752
Chris@0 5753 2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5754
Chris@0 5755 * src/common.c
Chris@0 5756 In psf_binheader_readf() changed type parameter type "b" type from size_t
Chris@0 5757 to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int).
Chris@0 5758 Thanks to Enrique Robledo Arnuncio for debugging this.
Chris@0 5759
Chris@0 5760 2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5761
Chris@0 5762 * test/command_test.tpl
Chris@0 5763 Changed test value so test would pass on Solaris.
Chris@0 5764
Chris@0 5765 * src/Version_script.in
Chris@0 5766 Modified version numbering so that later versions of 1.0.X can replace
Chris@0 5767 earlier versions without recompilation.
Chris@0 5768
Chris@0 5769 * src/vox_adpcm.c
Chris@0 5770 Fixed bug causing short reads.
Chris@0 5771
Chris@0 5772 2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5773
Chris@0 5774 * test/floating_point_test.c
Chris@0 5775 Code cleanup using functions from util.c.
Chris@0 5776 Add test for IEEE replacement floats and doubles.
Chris@0 5777
Chris@0 5778 2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5779
Chris@0 5780 * src/wav.c
Chris@0 5781 Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to
Chris@0 5782 Serg Repalov for the example file.
Chris@0 5783
Chris@0 5784 * tests/pcm_test.tpl
Chris@0 5785 Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code.
Chris@0 5786 Clean up pcm_double_test().
Chris@0 5787
Chris@0 5788 * src/float32.c src/double64.c
Chris@0 5789 Force use of IEEE replacement code using psf->ieee_replace is TRUE,
Chris@0 5790 Print message to log_buffer as well.
Chris@0 5791 Rename all broken_read_* and broken_write* functions to replace_read_* and
Chris@0 5792 replace_write_*.
Chris@0 5793
Chris@0 5794 * tests/util.tpl
Chris@0 5795 Added string_in_log_buffer().
Chris@0 5796
Chris@0 5797 * tests/pcm_test.tpl
Chris@0 5798 Use string_in_log_buffer() to ensure that IEEE replacement code has been
Chris@0 5799 used.
Chris@0 5800
Chris@0 5801 * configure.in
Chris@0 5802 Removed --enable-force-broken-float option. IEEE replacement code is now
Chris@0 5803 always tested.
Chris@0 5804
Chris@0 5805 2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5806
Chris@0 5807 * src/double64.c
Chris@0 5808 Implement code for read/writing IEEE doubles on platforms where the native
Chris@0 5809 double format is not IEEE.
Chris@0 5810
Chris@0 5811 * src/float32.c src/common.h
Chris@0 5812 Remove float32_read() and float32_write(). Replace with float32_le_read(),
Chris@0 5813 float32_be_read(), float32_le_write() and float32_be_write() to match stuff
Chris@0 5814 in src/double64.c.
Chris@0 5815
Chris@0 5816 * src/common.c
Chris@0 5817 Fix all usage of float32_write().
Chris@0 5818
Chris@0 5819 * src/sndfile.h.in
Chris@0 5820 Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only).
Chris@0 5821
Chris@0 5822 * src/common.h
Chris@0 5823 Added SF_PRIVATE field ieee_replace.
Chris@0 5824
Chris@0 5825 * src/sndfile.c
Chris@0 5826 In sf_command() set/reset psf->ieee_replace.
Chris@0 5827
Chris@0 5828 2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5829
Chris@0 5830 * tests/pcm_test.tpl
Chris@0 5831 Fixed a problem when testing with --enable-force-broken-float. The test was
Chris@0 5832 generating a value of negative zero and the broken float code is not able
Chris@0 5833 to write negative zero. Removing the negative zero fixed the test.
Chris@0 5834
Chris@0 5835 2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5836
Chris@0 5837 * src/file_io.c
Chris@0 5838 Added fix for Cygwin (suggested by Maros Michalik).
Chris@0 5839
Chris@0 5840 2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5841
Chris@0 5842 * src/file_io.c
Chris@0 5843 Improved error detection and handling.
Chris@0 5844
Chris@0 5845 * src/file_io.c src/common.h
Chris@0 5846 Removed functions psf_ferror() and psf_clearerr() which were redundant
Chris@0 5847 after above improvements.
Chris@0 5848
Chris@0 5849 * src/aiff.c src/svx.c src/w64.c src/wav.c
Chris@0 5850 Removed all use of psf_ferror() and psf_clearerr().
Chris@0 5851
Chris@0 5852 * src/sndfile.c
Chris@0 5853 Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which
Chris@0 5854 are no longer needed.
Chris@0 5855
Chris@0 5856 * tests/misc_test.c
Chris@0 5857 Added test to make sure the correct error message is returned with an
Chris@0 5858 existing read-only file is openned for write.
Chris@0 5859
Chris@0 5860 2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5861
Chris@0 5862 * doc/index.html doc/api.html
Chris@0 5863 Updated for OKI Dialogic ADPCM files.
Chris@0 5864
Chris@0 5865 * src/command.c
Chris@0 5866 Added VOX ADPCM to sub_fomats.
Chris@0 5867
Chris@0 5868 2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5869
Chris@0 5870 * src/vox_adpcm.c src/Makefile.am
Chris@0 5871 New file for handling OKI Dialogic ADPCM files.
Chris@0 5872
Chris@0 5873 * src/sndfile.h
Chris@0 5874 Add new subtype SF_FORMAT_VOX_ADPCM.
Chris@0 5875
Chris@0 5876 * src/sndfile.c
Chris@0 5877 Renamed function is_au_snd_file () to format_from_extenstion () and expanded
Chris@0 5878 its functionality to detect headerless VOX files.
Chris@0 5879
Chris@0 5880 * src/raw.c
Chris@0 5881 Added hooks for SF_FORMAT_VOX_ADPCM.
Chris@0 5882
Chris@0 5883 * examples/sndfile-info.c
Chris@0 5884 Print out file duration (suggested by Conrad Parker).
Chris@0 5885
Chris@0 5886 * libsndfile.spec.in
Chris@0 5887 Force installation of sndfile.pc file (found by John Thompson).
Chris@0 5888
Chris@0 5889 * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c
Chris@0 5890 Add tests for SF_FORMAT_VOX_ADPCM.
Chris@0 5891
Chris@0 5892 2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5893
Chris@0 5894 * tests/misc_test.c
Chris@0 5895 Add test which attempts to write to /dev/full (on Linux anyway) to check
Chris@0 5896 for correct handling of writing to a full filesystem.
Chris@0 5897
Chris@0 5898 * src/sndfile.c
Chris@0 5899 Return correct error message if the header cannot be written because the
Chris@0 5900 filesystem is full.
Chris@0 5901
Chris@0 5902 * tests/util.tpl
Chris@0 5903 Corrected printing of file mode in error reporting.
Chris@0 5904
Chris@0 5905 * src/mat5.c
Chris@0 5906 Fixed a bug where a MAT5 file written by libsndfile could not be opened by
Chris@0 5907 Octave 2.1.36.
Chris@0 5908
Chris@0 5909 2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5910
Chris@0 5911 * src/common.h src/file_io.c
Chris@0 5912 All low level file I/O have been modified to be better able to report
Chris@0 5913 system errors resulting from calling system level open/read/write etc.
Chris@0 5914
Chris@0 5915 * src/*.c
Chris@0 5916 Updated for compatibility with above changes.
Chris@0 5917
Chris@0 5918 * examples/cooledit-fixer.c
Chris@0 5919 New example program which fixes badly broken file created by Syntrillium's
Chris@0 5920 Cooledit which are marked as containing PCM samples but actually contain
Chris@0 5921 floating point data.
Chris@0 5922
Chris@0 5923 * examples/Makefile.am
Chris@0 5924 Hooked cooledit-fixer into the build system.
Chris@0 5925
Chris@0 5926 2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5927
Chris@0 5928 * doc/command.html
Chris@0 5929 Document SFC_GET_FORMAT_INFO.
Chris@0 5930
Chris@0 5931 2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5932
Chris@0 5933 * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c
Chris@0 5934 examples/sfdump.c
Chris@0 5935 Removed these files because they weren't interesting.
Chris@0 5936
Chris@0 5937 * examples/sfconvert.c examples/sndfile-convert.c
Chris@0 5938 Renamed the first to the latter.
Chris@0 5939
Chris@0 5940 * examples/Makefile.am
Chris@0 5941 Added sndfile-convert to the bin_PROGRAMS, so it is installed when the lib
Chris@0 5942 is installed.
Chris@0 5943 Removed old programs wav32_aiff24 and sndfile2oct.
Chris@0 5944
Chris@0 5945 * man/sndfile-convert.1
Chris@0 5946 New man page.
Chris@0 5947
Chris@0 5948 * examples/sndfile-convert.c
Chris@0 5949 Added some gloss now that sndfile-convert.c is an installed program.
Chris@0 5950
Chris@0 5951 * src/sndfile.h.in src/sndfile.c src/common.h src/command.h
Chris@0 5952 Added command SFC_GET_FORMAT_INFO.
Chris@0 5953
Chris@0 5954 * tests/command_test.c
Chris@0 5955 Added tests form SFC_GET_FORMAT_INFO.
Chris@0 5956
Chris@0 5957 2002-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5958
Chris@0 5959 * src/sndfile.c
Chris@0 5960 In sf_format_check() return error if samplerate < 0.
Chris@0 5961
Chris@0 5962 2002-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5963
Chris@0 5964 * src/aiff.c
Chris@0 5965 Fixed bug in handling of COMM chunks with a 4 byte encoding byte but no
Chris@0 5966 encoding string.
Chris@0 5967
Chris@0 5968 2002-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5969
Chris@0 5970 * src/sndfile.c
Chris@0 5971 Fixed repeated word in an error message.
Chris@0 5972
Chris@0 5973 2002-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5974
Chris@0 5975 * doc/index.html
Chris@0 5976 Improved advertising in Features section.
Chris@0 5977
Chris@0 5978 2002-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 5979
Chris@0 5980 * src/wav.c
Chris@0 5981 Added decoding of 'labl' chunks within 'LIST' chunks.
Chris@0 5982
Chris@0 5983 * src/common.h
Chris@0 5984 Added (experimental only) SF_FORMAT_OGG and SF_FORMAT_VORBIS and definition
Chris@0 5985 of ogg_open(). This is nowhere near working yet.
Chris@0 5986
Chris@0 5987 * src/sndfile.c
Chris@0 5988 Added detection of 'OggS' file marker and added call to ogg_open() to
Chris@0 5989 switch statement.
Chris@0 5990
Chris@0 5991 * src/ogg.c
Chris@0 5992 New file. Very early start of Ogg Vorbis support.
Chris@0 5993
Chris@0 5994 * src/wav.c
Chris@0 5995 Added handling of brain-damaged and broken Cooledit "32 bit 24.0 float
Chris@0 5996 type 1" files. These files are marked as being 24 bit WAVE_FORMAT_PCM with
Chris@0 5997 a block alignment of 4 times the numbers of channels but are in fact 32 bit
Chris@0 5998 floating point.
Chris@0 5999
Chris@0 6000 2002-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6001
Chris@0 6002 * configure.in
Chris@0 6003 Modified option --enable-experimental to set ENABLE_EXPERIMENTAL_CODE in
Chris@0 6004 config.h to either 0 or 1.
Chris@0 6005
Chris@0 6006 * src/sndfile.c
Chris@0 6007 Modify sf_command (SFC_GET_LIB_VERSION) to append "-exp" to the version
Chris@0 6008 string if experimental code has been enabled.
Chris@0 6009
Chris@0 6010 2002-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6011
Chris@0 6012 * src/Makefile.am
Chris@0 6013 Added -lm to libsndfile_la_LIBADD. This means that -lm is not longer needed
Chris@0 6014 in the link line when linking something to libsndfile.
Chris@0 6015
Chris@0 6016 * tests/Makefile.am examples/Makefile.am
Chris@0 6017 Removed -lm from all link lines.
Chris@0 6018
Chris@0 6019 * sndfile.pc.in
Chris@0 6020 Removed -lm from Libs line.
Chris@0 6021
Chris@0 6022 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6023
Chris@0 6024 * src/file_io.c
Chris@0 6025 Removed all perror() calls.
Chris@0 6026
Chris@0 6027 * src/nist.c
Chris@0 6028 Removed calls to exit() function.
Chris@0 6029 Added check to detect NIST files dammaged from Unix CR -> Win32 CRLF
Chris@0 6030 conversion process.
Chris@0 6031
Chris@0 6032 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6033
Chris@0 6034 * src/sndfile.h.in src/sndfile.c
Chris@0 6035 New function sf_strerror() which will eventually replace functions
Chris@0 6036 sf_perror() and sf_error_str().
Chris@0 6037 Function sf_error_number() has also been changed, but this was documented
Chris@0 6038 as being for testing only.
Chris@0 6039
Chris@0 6040 * doc/api.html
Chris@0 6041 Documented above changes.
Chris@0 6042
Chris@0 6043 * tests/*.c examples/*.c
Chris@0 6044 Changed to new error functions.
Chris@0 6045
Chris@0 6046 2002-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6047
Chris@0 6048 * configure.in
Chris@0 6049 Detect GCC version, and print a warning message about writeable strings
Chris@0 6050 it GCC major version number is less than 3.
Chris@0 6051
Chris@0 6052 2002-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6053
Chris@0 6054 * src/sndfile.h.in doc/api.html
Chris@0 6055 Documentation fixes.
Chris@0 6056
Chris@0 6057 2002-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6058
Chris@0 6059 * src/Version_script.in src/Makefile.am configure.in
Chris@0 6060 Use the version script to prevent the exporting of all non public symbols.
Chris@0 6061 This currently only works with Linux. Will test on Solaris as well.
Chris@0 6062
Chris@0 6063 * src/float_cast.h
Chris@0 6064 Added #ifndef to prevent the #warning directives killing the SGI MIPSpro
Chris@0 6065 compiler.
Chris@0 6066
Chris@0 6067 * src/au_g72x.c src/double64.c src/float32.c src/gsm610.c src/ima_adpcm.c
Chris@0 6068 src/ms_adpcm.c
Chris@0 6069 Fix benign compiler warnings arising from previously added compiler
Chris@0 6070 flags.
Chris@0 6071
Chris@0 6072 2002-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6073
Chris@0 6074 * src/sndfile.c
Chris@0 6075 Fixed a bug in sf_error_str() where errnum was used as the index instead
Chris@0 6076 of k. Found by Tim Hockin.
Chris@0 6077
Chris@0 6078 * examples/sndfile-play.c
Chris@0 6079 Fixed a compiler warning resulting from a variable shadowing a previously
Chris@0 6080 defined local.
Chris@0 6081
Chris@0 6082 2002-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6083
Chris@0 6084 * src/sndfile.h.in src/sndfile.c
Chris@0 6085 Added command SFC_SET_RAW_START_OFFSET.
Chris@0 6086
Chris@0 6087 * doc/command.html
Chris@0 6088 Document SFC_SET_RAW_START_OFFSET.
Chris@0 6089
Chris@0 6090 * tests/raw_test.c tests/Makefile.am
Chris@0 6091 Add new file for for testing SF_FORMAT_RAW specific functionality.
Chris@0 6092
Chris@0 6093 * tests/dwvw_test.c
Chris@0 6094 Updates.
Chris@0 6095
Chris@0 6096 2002-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6097
Chris@0 6098 * src/wav.c
Chris@0 6099 Modified reading of 'smpl' chunk to take account of the sampler data field.
Chris@0 6100
Chris@0 6101 * tests/utils.tpl tests/utils.h
Chris@0 6102 Added function print_test_name().
Chris@0 6103
Chris@0 6104 * tests/misc_test.c tests/write_read_test.tpl tests/lossy_comp_test.c
Chris@0 6105 tests/pcm_test.tpl tests/command_test.tpl tests/floating_point_test.c
Chris@0 6106 Convert to use function print_test_name().
Chris@0 6107
Chris@0 6108 2002-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6109
Chris@0 6110 * doc/octave.html
Chris@0 6111 Added a link to some other Octave scripts for reading and writing sound
Chris@0 6112 files.
Chris@0 6113
Chris@0 6114 * src/paf.c
Chris@0 6115 Change type of dummy data field to int. This should fix a benign compiler
Chris@0 6116 warning on some CPUs.
Chris@0 6117 Removed superfluous casts resulting from the above change.
Chris@0 6118
Chris@0 6119 * src/rx2.c
Chris@0 6120 More hacking.
Chris@0 6121
Chris@0 6122 2002-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6123
Chris@0 6124 * src/mat5.c src/common.c
Chris@0 6125 Changed usage of snprintf() to LSF_SNPRINTF().
Chris@0 6126
Chris@0 6127 * Win32/Makefile.msvc
Chris@0 6128 Updated to include new files and add new tests.
Chris@0 6129
Chris@0 6130 * Win32/config.h Win32/sndfile.h
Chris@0 6131 Updated.
Chris@0 6132
Chris@0 6133 * doc/api.html
Chris@0 6134 Added note about the possibility of "missing" features actually being
Chris@0 6135 implemented as an sf_command().
Chris@0 6136
Chris@0 6137 2002-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6138
Chris@0 6139 * tests/misc_test.c
Chris@0 6140 Added previously missing update_header_test and zero_data_tests for PAF,
Chris@0 6141 MAT4 and MAT5 formats.
Chris@0 6142
Chris@0 6143 * src/paf.c src/mat4.c src/mat5.c
Chris@0 6144 Fixed bugs uncovered by new tests above.
Chris@0 6145
Chris@0 6146 * src/mat5.c
Chris@0 6147 Generalised parsing of name fields of MAT5 files.
Chris@0 6148
Chris@0 6149 * src/mat5.c src/sndfile.c
Chris@0 6150 Added support for unsigned 8 bit PCM MAT5 files.
Chris@0 6151
Chris@0 6152 * tests/write_read_test.tpl
Chris@0 6153 Added test for unsigned 8 bit PCM MAT5 files.
Chris@0 6154
Chris@0 6155 * doc/index.html
Chris@0 6156 Added unsigned 8 bit PCM MAT5 to capabilities matrix.
Chris@0 6157
Chris@0 6158 2002-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6159
Chris@0 6160 * test/update_header_test.c tests/misc_test.c
Chris@0 6161 Renamed update_header_test.c to misc_test.c.
Chris@0 6162 Added zero_data_test() to check for case where file is opened for write and
Chris@0 6163 closed immediately. The resulting file can be left in a state where
Chris@0 6164 libsndfile cannot open it. Problem reported by Werner Schweer, the author
Chris@0 6165 of Muse.
Chris@0 6166
Chris@0 6167 * src/aiff.c
Chris@0 6168 Removed superfluous cast.
Chris@0 6169
Chris@0 6170 * src/wav.c src/svx.c
Chris@0 6171 Fixed case of file generated with no data.
Chris@0 6172 Removed superfluous cast.
Chris@0 6173
Chris@0 6174 * src/sndfile.c
Chris@0 6175 Fixed error on IA64 platform caused by incorrect termination of
Chris@0 6176 SndfileErrors struct array. This problem was found in the Debian buildd
Chris@0 6177 logs (http://buildd.debian.org/).
Chris@0 6178
Chris@0 6179 * configure.in
Chris@0 6180 Added Octave directory.
Chris@0 6181
Chris@0 6182 * Octave/Makefile.ma
Chris@0 6183 New Makfile.am for Octave directory.
Chris@0 6184
Chris@0 6185 * Octave/sndfile_load.m Octave/sndfile_save.m Octave/sndfile_play.m
Chris@0 6186 New files for working with Octave.
Chris@0 6187
Chris@0 6188 * doc/octave.html
Chris@0 6189 Document explaining the use of the above three Octave scripts.
Chris@0 6190
Chris@0 6191 2002-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6192
Chris@0 6193 * src/sndfile.c
Chris@0 6194 Fixed bug in RDWR mode.
Chris@0 6195
Chris@0 6196 2002-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6197
Chris@0 6198 * src/common.c
Chris@0 6199 Fixed psf_get_date_str() for systems which don't have gmtime_r() or
Chris@0 6200 gmtime().
Chris@0 6201
Chris@0 6202 * src/file_io.c
Chris@0 6203 Added #include <io.h> for Win32. Reported by Koen Tanghe.
Chris@0 6204
Chris@0 6205 2002-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6206
Chris@0 6207 * src/common.c
Chris@0 6208 Added 'S' format specifier for psf_binheader_writef() which writes a C
Chris@0 6209 string, including single null terminator to the header.
Chris@0 6210 Added 'j' format specifier to allow jumping forwards or backwards in the
Chris@0 6211 header.
Chris@0 6212 Added function psf_get_date_str().
Chris@0 6213
Chris@0 6214 * src/mat5.c
Chris@0 6215 Complete read and write support.
Chris@0 6216
Chris@0 6217 * doc/index.html
Chris@0 6218 Added entries for MAT4 and MAT5 in capabilities matrix.
Chris@0 6219
Chris@0 6220 2002-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6221
Chris@0 6222 * src/mat4.c
Chris@0 6223 Completed read and write support.
Chris@0 6224
Chris@0 6225 * src/common.h src/sndfile.c
Chris@0 6226 Added MAT4 and MAT5 specific error messages.
Chris@0 6227
Chris@0 6228 * tests/write_read_test.tpl tests/Makefile.am
Chris@0 6229 Added tests for MAT4 and MAT5 files.
Chris@0 6230
Chris@0 6231 * tests/stdio_test.c tests/stdout_test.c tests/stdin_test.c
Chris@0 6232 Added tests for MAT4 and MAT5 files.
Chris@0 6233
Chris@0 6234 2002-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6235
Chris@0 6236 * src/command.c
Chris@0 6237 Added elements for SF_FORMAT_MAT4 and SF_FORMAT_MAT5 to major_formats
Chris@0 6238 array.
Chris@0 6239
Chris@0 6240 * examples/sfconvert.c
Chris@0 6241 Added mat4 and mat5 output targets.
Chris@0 6242
Chris@0 6243 2002-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6244
Chris@0 6245 * src/sndfile.c
Chris@0 6246 Added check to prevent errors openning read only formats for read/write.
Chris@0 6247
Chris@0 6248 * src/interleave.c
Chris@0 6249 New file for interleaving non-interleaved data. Non-interleaved data is
Chris@0 6250 only supported on read.
Chris@0 6251
Chris@0 6252 * src/Makefile.am
Chris@0 6253 Added src/interleave.c to build.
Chris@0 6254
Chris@0 6255 2002-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6256
Chris@0 6257 * src/double64.c src/common.h
Chris@0 6258 Added double64_be_read(), double64_le_read(), double64_be_write() and
Chris@0 6259 double64_le_write() which replace double64_read() and double64_write().
Chris@0 6260
Chris@0 6261 * src/common.c
Chris@0 6262 Cleanup of psf_binheader_readf() and add ability to read big and little
Chris@0 6263 endian doubles (required by mat4.c and mat5.c).
Chris@0 6264 Add ability for psf_binheader_writef() to write doubles to sound file
Chris@0 6265 headers.
Chris@0 6266
Chris@0 6267 2002-09-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6268
Chris@0 6269 * src/mat5.c
Chris@0 6270 New file for reading Matlab (tm) version 5 data files. This is also the
Chris@0 6271 native binary file format for version 2.1.X of GNU Octave which will be
Chris@0 6272 used for testing.
Chris@0 6273 Not complete yet.
Chris@0 6274
Chris@0 6275 * src/mat4.c
Chris@0 6276 New file for reading Matlab (tm) version 4.2 data files. This is also the
Chris@0 6277 native binary file format for version 2.0.X of GNU Octave which will be
Chris@0 6278 used for testing.
Chris@0 6279 Not complete yet.
Chris@0 6280
Chris@0 6281 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
Chris@0 6282 Mods to add Matlab files.
Chris@0 6283
Chris@0 6284 * src/common.[ch]
Chris@0 6285 Added readf_endian field to SF_PRIVATE struct allowing endianness to
Chris@0 6286 remembered across calls to sf_binheader_readf().
Chris@0 6287 Fixed bug in width_specifier behaviour for printing hex values.
Chris@0 6288
Chris@0 6289 2002-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6290
Chris@0 6291 * src/file_io.c
Chris@0 6292 Check return value of close() call in psf_fclose().
Chris@0 6293
Chris@0 6294 2002-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6295
Chris@0 6296 * src/ms_adpcm.c
Chris@0 6297 Commented out some code where 0x10000 was being subtracted from a short
Chris@0 6298 and the result assigned to a short again. Andrew Zaja found this.
Chris@0 6299
Chris@0 6300 2002-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6301
Chris@0 6302 * doc/command.html
Chris@0 6303 Fixed typo found by Tommi Ilmonen.
Chris@0 6304
Chris@0 6305 * src/ima_adpcm.c
Chris@0 6306 Changed type of diff from short to int to prevent errors which can occur
Chris@0 6307 during very rare circumstances. Thanks to FUWAFUWA.
Chris@0 6308
Chris@0 6309 2002-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6310
Chris@0 6311 * tests/floating_point_test.c
Chris@0 6312 Disable testing on machines without lrintf().
Chris@0 6313
Chris@0 6314 * Win32/Makefile.msvc
Chris@0 6315 Added dwd.c and wve.c to build.
Chris@0 6316
Chris@0 6317 * configure.in
Chris@0 6318 Bumped version to 1.0.0.
Chris@0 6319
Chris@0 6320 2002-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6321
Chris@0 6322 * src/file_io.c
Chris@0 6323 Add a #include for Mac OS 9. Thanks to Stephane Letz.
Chris@0 6324
Chris@0 6325 * src/wav.c
Chris@0 6326 Changed an snprintf to LSF_SNPRINTF.
Chris@0 6327
Chris@0 6328 * doc/Makefile.am
Chris@0 6329 Added version-1.html.
Chris@0 6330
Chris@0 6331 2002-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6332
Chris@0 6333 * configure.in
Chris@0 6334 Bumped version to 1.0.rc6.
Chris@0 6335
Chris@0 6336 * src/*.c
Chris@0 6337 Modified scaling of normalised floats and doubles to integers. Until now
Chris@0 6338 this has been done by multiplying by 0x8000 for short output, 0x80000000
Chris@0 6339 for 32 bit ints and so on. Unfortunately this can cause an overflow and
Chris@0 6340 wrap around in the target value. All thes values have therefore been
Chris@0 6341 reduced to 0x7FFF, 0x7FFFFFFF and so on. The conversion from ints to
Chris@0 6342 normalised floats and doubles remains unchanged. This does mean that for
Chris@0 6343 repeated conversions normalised float -> pcm16 -> normalised float would
Chris@0 6344 result in a decrease in amplitude of 0x7FFF/0x8000 on every round trip.
Chris@0 6345 This is undesirable but less undesireable than the wrap around I am trying
Chris@0 6346 to avoid.
Chris@0 6347
Chris@0 6348 * tests/floating_point_test.c
Chris@0 6349 Removed file hash checking because new float scaling procedure introduced
Chris@0 6350 above prevented the ability to crate a has on both x86 and PowerPC systems.
Chris@0 6351
Chris@0 6352 2002-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6353
Chris@0 6354 * src/txw.c
Chris@0 6355 Completed reading of TXW files. Seek doesn't work yet.
Chris@0 6356
Chris@0 6357 * src/file_io.c
Chris@0 6358 Added a MacOS 9 replacement for ftruncate().
Chris@0 6359
Chris@0 6360 * MacOS/sndfile.h
Chris@0 6361 Added MacOS 9 header file. This should be copied into src/ to compile
Chris@0 6362 libsndfile for MacOS9.
Chris@0 6363
Chris@0 6364 2002-08-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6365
Chris@0 6366 * src/sndfile.c
Chris@0 6367 Fixed commands SF_SET_NORM_DOUBLE and SFC_SET_NORM_FLOAT to return their
Chris@0 6368 values after being set. Reported by Jussi Laako.
Chris@0 6369
Chris@0 6370 * configure.in
Chris@0 6371 If autogen is not found, touch all .c and .h files in tests/.
Chris@0 6372
Chris@0 6373 * src/common.c
Chris@0 6374 Added format width specifier to psf_log_printf() for %u, %d, %D and %X.
Chris@0 6375
Chris@0 6376 * src/dwd.c
Chris@0 6377 Completed implementation of read only access to these files.
Chris@0 6378
Chris@0 6379 * src/common.h src/*.c src/pcm.c
Chris@0 6380 Removed redundant field chars from SF_PRIVATE struct and modified
Chris@0 6381 pcm_init() to do without it.
Chris@0 6382
Chris@0 6383 2002-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6384
Chris@0 6385 * src/wve.c
Chris@0 6386 New file implementing read of Psion Alaw files. This will be a read only
Chris@0 6387 format. Implementation complete.
Chris@0 6388
Chris@0 6389 * src/dwd/c
Chris@0 6390 Started implementation of DiamondWare Digitized files. Also read only, not
Chris@0 6391 complete.
Chris@0 6392
Chris@0 6393 * src/wav.c
Chris@0 6394 Add parsing of 'smpl' chunk.
Chris@0 6395
Chris@0 6396 * src/paf.c
Chris@0 6397 Fixed reading on un-normalized doubles and floats from 24 bit PAF files.
Chris@0 6398 This brings it into line with the reading of 8 bit files into
Chris@0 6399 un-normalized doubles which returns values in the range [-128, 127].
Chris@0 6400
Chris@0 6401 * src/common.c
Chris@0 6402 Modified psf_log_printf() to accept the %% conversion specifier to allow
Chris@0 6403 printing of a single '%'.
Chris@0 6404
Chris@0 6405 * src/sds.c
Chris@0 6406 Read only of 16 bit samples is working. Need to build a test harness for
Chris@0 6407 this and other read only formats.
Chris@0 6408
Chris@0 6409 2002-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6410
Chris@0 6411 * configure.in
Chris@0 6412 Added --enable-experimental configure option.
Chris@0 6413 Removed pkg-config message at the end of the configure process.
Chris@0 6414
Chris@0 6415 * src/sds.c src/txw.c src/rx2.c src/sd2.c
Chris@0 6416 Moved all the code in these files inside #if ENABLE_EXPERIMENTAL_CODE
Chris@0 6417 blocks and added new *_open() function for the case where experimental is
Chris@0 6418 not enabled. These new functions just return SFE_UNIMPLMENTED.
Chris@0 6419
Chris@0 6420 * Win32/sndfile.h src/sndfile.h.in src/common.h
Chris@0 6421 Removed un-necessary #pragma pack commands.
Chris@0 6422
Chris@0 6423 * src/file_io.c
Chris@0 6424 Implemented psf_ftruncate() and much other hacking for Win32.
Chris@0 6425
Chris@0 6426 * Win32/Makefile.msvc
Chris@0 6427 Updated.
Chris@0 6428
Chris@0 6429 * doc/win32.html
Chris@0 6430 Updated to include the copying of the sndfile.h file from the Win32/
Chris@0 6431 directory to the src/ directory.
Chris@0 6432
Chris@0 6433 * Make.bat
Chris@0 6434 Batch file to make compiling on Wi32 a little easier. Implements "make" and
Chris@0 6435 "make check".
Chris@0 6436
Chris@0 6437 2002-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6438
Chris@0 6439 * src/file_io.c
Chris@0 6440 Add place holder for ftruncate() on Win32 which doesn't have ftruncate().
Chris@0 6441 This will need to be fixed later.
Chris@0 6442
Chris@0 6443 * src/sndfile.h.in
Chris@0 6444 New file (copy of sndfile.h) with sets up @TYPEOF_SF_COUNT_T@ which will be
Chris@0 6445 replaced by the correct type during configure.
Chris@0 6446
Chris@0 6447 * configure.in
Chris@0 6448 Modified to find a good type for TYPEOF_SF_COUNT_T.
Chris@0 6449
Chris@0 6450 * src/aiff.c
Chris@0 6451 Fixed a bug when reading malformed headers.
Chris@0 6452
Chris@0 6453 * src/common.c
Chris@0 6454 Set read values to zero before performing read.
Chris@0 6455
Chris@0 6456 2002-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6457
Chris@0 6458 * doc/command.html
Chris@0 6459 Fixed some HTML tags which were not allowing jumps to links within the
Chris@0 6460 page.
Chris@0 6461
Chris@0 6462 * src/sds.c
Chris@0 6463 Massive hacking on this.
Chris@0 6464
Chris@0 6465 * src/wav.c
Chris@0 6466 Added recognition of 'clm ' tag.
Chris@0 6467
Chris@0 6468 2002-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6469
Chris@0 6470 * doc/index.html
Chris@0 6471 Added beginning of a capabilities list beyond simple file formats which
Chris@0 6472 can be read/written.
Chris@0 6473
Chris@0 6474 * src/aiff.c
Chris@0 6475 Added parsing of INST and MARK chunks of AIFF files. At the moment this
Chris@0 6476 data is simply recorded in the log buffer. Later it will be possible to
Chris@0 6477 read this data from an application using sf_command().
Chris@0 6478
Chris@0 6479 * src/wav.c
Chris@0 6480 Added parsing of 'cue ' chunk which contains loop information in WAV files.
Chris@0 6481
Chris@0 6482 * exampes/sndfile-info.c
Chris@0 6483 Changed reporting of Samples to Frames.
Chris@0 6484
Chris@0 6485 * src/wav.c src/w64.c src/aiff.c src/wav_w64.h
Chris@0 6486 Moved from a samples to a frames nomenclature to avoid confusion.
Chris@0 6487
Chris@0 6488 * doc/FAQ.html
Chris@0 6489 What's the best format for storing temporary files?
Chris@0 6490
Chris@0 6491 * src/sds.c
Chris@0 6492 New file for reading/writing Midi Sample Dump Standard files.
Chris@0 6493
Chris@0 6494 * src/Makefile.am src/sndfile.c src/common.[ch]
Chris@0 6495 Added hooks for sds.c.
Chris@0 6496
Chris@0 6497 * examples/sndfile-info.c
Chris@0 6498 Changed from using sf_perror() to using sf_error_str().
Chris@0 6499
Chris@0 6500 2002-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6501
Chris@0 6502 * doc/api.html
Chris@0 6503 Added explanation of mode parameter for sf_open().
Chris@0 6504 Added explanation of usage of SFM_* values in sf_seek().
Chris@0 6505
Chris@0 6506 * src/sndfile.[ch] src/command.c src/file_io.c src/common.h
Chris@0 6507 Implemented SFC_FILE_TRUNCATE to allow a file to be truncated. File
Chris@0 6508 truncation was suggested by James McCartney.
Chris@0 6509
Chris@0 6510 * src/command.html
Chris@0 6511 Documented SFC_FILE_TRUNCATE.
Chris@0 6512
Chris@0 6513 * tests/command_test.c
Chris@0 6514 Add tests for SFC_FILE_TRUNCATE.
Chris@0 6515
Chris@0 6516 * src/sndfile.c
Chris@0 6517 Added a thrid parameter to the VALIDATE_SNDFILE_AND_ASSIGN_PSF macro to
Chris@0 6518 make resetting the error number optional. All uses of the macro other than
Chris@0 6519 in error reporting functions were changed to reset the error number.
Chris@0 6520
Chris@0 6521 * src/pcm.c
Chris@0 6522 Fixed a bug were sf_read_* was logging an SFE_SHORT_READ even when no error
Chris@0 6523 occurred.
Chris@0 6524
Chris@0 6525 * tests/write_read_test.tpl
Chris@0 6526 Added tests of internal error state.
Chris@0 6527
Chris@0 6528 2002-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6529
Chris@0 6530 * src/GSM610/private.h src/GSM610/*.c src/GSM610/Makefile.am
Chris@0 6531 Renamed private.h to gsm610_priv.h to prevent clash with other headers
Chris@0 6532 named private.h in other directories. (Probably only a problem on MacOS 9).
Chris@0 6533
Chris@0 6534 * src/G72x/private.h src/G72x/*.c src/G72x/Makefile.am
Chris@0 6535 Renamed private.h to g72x_priv.h to prevent clash with other headers
Chris@0 6536 named private.h in other directories. (Probably only a problem on MacOS 9).
Chris@0 6537
Chris@0 6538 * MacOS/config.h
Chris@0 6539 Changed values of HAVE_LRINT and HAVE_LRINTF to force use of code in
Chris@0 6540 float_cash.h.
Chris@0 6541
Chris@0 6542 * src/sndfile.h
Chris@0 6543 Changes the name of samples field of the SF_INFO to frames. The old name
Chris@0 6544 had caused too much confusion and it simply had to be changed. There will
Chris@0 6545 be at least one more pre-release.
Chris@0 6546
Chris@0 6547 2002-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6548
Chris@0 6549 * doc/index.html
Chris@0 6550 Updated formats matrix to include RAW (header-less) GSM 6.10.
Chris@0 6551 Fix specificaltion of table and spelling mistakes.
Chris@0 6552
Chris@0 6553 * src/sndfile.c src/command.c
Chris@0 6554 Fixed bug in SFC_CALC_MAX_SIGNAL family and psf_calc_signal_max ().
Chris@0 6555
Chris@0 6556 * tests/command.c
Chris@0 6557 Removed cruft.
Chris@0 6558 Added test for SFC_CALC_MAX_SIGNAL and SFC_CALC_NORM_MAX_SIGNAL.
Chris@0 6559
Chris@0 6560 * configure.in
Chris@0 6561 Update version to 1.0.0rc5.
Chris@0 6562
Chris@0 6563 * sfendian.h
Chris@0 6564 Removed inclusion of un-necessary header.
Chris@0 6565
Chris@0 6566 2002-08-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6567
Chris@0 6568 * src/aiff.c
Chris@0 6569 Minor fixes of info written to log buffer.
Chris@0 6570
Chris@0 6571 * src/float_cast.h
Chris@0 6572 Add definition of HAVE_LRINT_REPLACEMENT.
Chris@0 6573
Chris@0 6574 * tests/floating_point_test.c
Chris@0 6575 Fix file hash check on systems without lrint/lrintf.
Chris@0 6576
Chris@0 6577 * tests/dft_cmp.c
Chris@0 6578 Limit SNR to less than -500.0dB.
Chris@0 6579
Chris@0 6580 * examples/sndfile2oct.c
Chris@0 6581 Fixed compiler warnings.
Chris@0 6582
Chris@0 6583 * doc/api.html
Chris@0 6584 Fixed error where last parameter of sf_error_str() was sf_count_t instead
Chris@0 6585 of size_t.
Chris@0 6586
Chris@0 6587 2002-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6588
Chris@0 6589 * doc/FAQ.html
Chris@0 6590 Why doesn't libsndfile do interleaving/de-interleaving.
Chris@0 6591
Chris@0 6592 * tests/pcm_test.tpl
Chris@0 6593 On Win32 do not perform hash check on files containing doubles.
Chris@0 6594
Chris@0 6595 2002-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6596
Chris@0 6597 * src/common.h
Chris@0 6598 Defined SF_COUNT_MAX_POSITIVE() macro, a portable way of setting variables
Chris@0 6599 of type sf_count_t to their maximum positive value.
Chris@0 6600
Chris@0 6601 * src/dwvw.c src/w64.c
Chris@0 6602 Used SF_COUNT_MAX_POSITIVE().
Chris@0 6603
Chris@0 6604 2002-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6605
Chris@0 6606 * src/paf.c
Chris@0 6607 Fixed bug in reading/writing of 24 bit PCM PAF files on big endian systems.
Chris@0 6608
Chris@0 6609 * tests/floating_point_tests.c
Chris@0 6610 Fixed hash values for 24 bit PCM PAF files.
Chris@0 6611 Disabled file has check if lrintf() function is not available and added
Chris@0 6612 warning.
Chris@0 6613 Decreased level of signal from a peak of 1.0 to a value of 0.95 to prevent
Chris@0 6614 problems on platforms without lrintf() ie Solaris.
Chris@0 6615
Chris@0 6616 2002-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6617
Chris@0 6618 * src/wav.c
Chris@0 6619 Fixed a problem with two different kinds of mal-formed WAV file header. The
Chris@0 6620 first had the 'fact' chunk before the 'fmt ' chunk, the other had an
Chris@0 6621 incomplete 'INFO' chunk at the end of the file.
Chris@0 6622
Chris@0 6623 * src/w64.c
Chris@0 6624 Added fix to allow differentiation between W64 files and ACID files.
Chris@0 6625
Chris@0 6626 * src/au_g72x.c src/common.h src/sndfile.c
Chris@0 6627 Added error for G72x encoded files with more than one channel.
Chris@0 6628
Chris@0 6629 * tests/pcm_test.tpl tests/utils.tpl
Chris@0 6630 Moved function check_file_hash_or_die() to utils.tpl. Function was then
Chris@0 6631 modified to calculate the has of the whole file.
Chris@0 6632
Chris@0 6633 * src/wav.c
Chris@0 6634 Fixed problem writing the 'fact' chunk on big endian systems.
Chris@0 6635
Chris@0 6636 * tests/sfconvert.c
Chris@0 6637 Fixed bug where .paf files were being written as Sphere NIST.
Chris@0 6638
Chris@0 6639 2002-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6640
Chris@0 6641 * src/voc.c
Chris@0 6642 Fix for reading headers generated using SFC_UPDATE_HEADER_NOW.
Chris@0 6643
Chris@0 6644 * doc/command.html
Chris@0 6645 Add docs for SFC_UPDATE_HEADER_NOW and SFC_SET_UPDATE_HEADER_AUTO.
Chris@0 6646
Chris@0 6647 2002-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6648
Chris@0 6649 * man/sndfile-info.1 man/sndfile-play.1
Chris@0 6650 Added manpages supplied by Joshua Haberman the Debian maintainer for
Chris@0 6651 libsndfile. Additional tweaks by me.
Chris@0 6652
Chris@0 6653 * configure.in man/Makefile.am
Chris@0 6654 Hooked manpages into autoconf/automake system.
Chris@0 6655
Chris@0 6656 * src/sndfile.c
Chris@0 6657 Added hooks for SFC_SET_UPDATE_HEADER_AUTO.
Chris@0 6658
Chris@0 6659 * tests/update_header_test.c
Chris@0 6660 Improved rigor of testing.
Chris@0 6661
Chris@0 6662 * src/*.c
Chris@0 6663 Fixed problem with *_write_header() functions.
Chris@0 6664
Chris@0 6665 2002-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6666
Chris@0 6667 * doc/*.html
Chris@0 6668 Updates to documentation to fix problems found by wdg-html-validator.
Chris@0 6669
Chris@0 6670 * src/common.h src/command.c
Chris@0 6671 Added normalize parameter to calls to psf_calc_signal_max() and
Chris@0 6672 psf_calc_max_all_channels().
Chris@0 6673
Chris@0 6674 * src/sndfile.c
Chris@0 6675 Added handling for commands SFC_CALC_NORM_SIGNAL_MAX and
Chris@0 6676 SFC_CALC_NORM_MAX_ALL_CHANNELS.
Chris@0 6677
Chris@0 6678 * doc/command.html
Chris@0 6679 Added entry for SFC_CALC_NORM_SIGNAL_MAX and SFC_CALC_NORM_MAX_ALL_CHANNELS.
Chris@0 6680
Chris@0 6681 2002-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6682
Chris@0 6683 * examples/sndfile-play.c Win32/Makefile.msvc
Chris@0 6684 Get sndfile-play program working on Win32. The Win32 PCM sample I/O API
Chris@0 6685 sucks. The sndfile-play program now works on Linux, MacOSX, Solaris and
Chris@0 6686 Win32.
Chris@0 6687
Chris@0 6688 2002-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6689
Chris@0 6690 * doc/FAQ.html
Chris@0 6691 New file for frequently asked questsions.
Chris@0 6692
Chris@0 6693 2002-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6694
Chris@0 6695 * doc/api.html
Chris@0 6696 Documentation fixes.
Chris@0 6697
Chris@0 6698 * src/au.[ch] src/au_g72x.c src/G72x/g72x.h
Chris@0 6699 Add support of 40kbps G723 ADPCM encoding.
Chris@0 6700
Chris@0 6701 * tests/lossy_comp_test.c tests/floating_point_test.c
Chris@0 6702 Add tests for 40kbps G723 ADPCM encoding.
Chris@0 6703
Chris@0 6704 * doc/index.html
Chris@0 6705 Update support matrix.
Chris@0 6706
Chris@0 6707 2002-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6708
Chris@0 6709 * doc/command.html
Chris@0 6710 Documented SFC_GET_SIMPLE_FORMAT_COUNT, SFC_GET_SIMPLE_FORMAT,
Chris@0 6711 SFC_GET_FORMAT_* and SFC_SET_ADD_PEAK_CHUNK.
Chris@0 6712
Chris@0 6713 * src/sndfile.c src/pcm.c
Chris@0 6714 Add ability to turn on and off the addition of a PEAK chunk for floating
Chris@0 6715 point WAV and AIFF files.
Chris@0 6716
Chris@0 6717 * src/sndfile.[ch] src/common.h src/command.c
Chris@0 6718 Added sf_command SFC_CALC_MAX_ALL_CHANNELS. Implemented by Maurizio Umberto
Chris@0 6719 Puxeddu.
Chris@0 6720
Chris@0 6721 * doc/command.html
Chris@0 6722 Docs for SFC_CALC_MAX_ALL_CHANNELS (assisted by Maurizio Umberto Puxeddu).
Chris@0 6723
Chris@0 6724 2002-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6725
Chris@0 6726 * src/sndfile.c src/gsm610.c
Chris@0 6727 Finalised support for GSM 6.10 AIFF files and added support for GSM 6.10
Chris@0 6728 encoded RAW (header-less) files.
Chris@0 6729
Chris@0 6730 * src/wav.c
Chris@0 6731 Add support for IBM_FORMAT_MULAW and IBM_FORMAT_ALAW encodings.
Chris@0 6732
Chris@0 6733 * src/api.html
Chris@0 6734 Fixed more documentation bugs.
Chris@0 6735
Chris@0 6736 2002-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6737
Chris@0 6738 * src/sndfile.h src/common.h
Chris@0 6739 Moved some yet-to-be-implelmented values for SF_FORMAT_* from the public
Chris@0 6740 header file sndfile.h to the private header file common.h to avoid
Chris@0 6741 confusion about the actual capabilities of libsndfile.
Chris@0 6742
Chris@0 6743 2002-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6744
Chris@0 6745 * src/aiff.c src/wav.c
Chris@0 6746 Fixed file parsing for WAV and AIFF files containing non-audio data after
Chris@0 6747 the data chunk.
Chris@0 6748
Chris@0 6749 * src/aiff.c src/sndfile.c
Chris@0 6750 Add support for GSM 6.10 encoded AIFF files.
Chris@0 6751
Chris@0 6752 * tests/lossy_comp_test.c tests/Makefile.am
Chris@0 6753 Add tests for GSM 6.10 encoded AIFF files.
Chris@0 6754
Chris@0 6755 * src/*.c
Chris@0 6756 Fix compiler warnings.
Chris@0 6757
Chris@0 6758 2002-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6759
Chris@0 6760 * tests/command_test.c
Chris@0 6761 For SFC_SET_NORM_* tests, change the file format from SF_FORMAT_WAV to
Chris@0 6762 SF_FORMAT_RAW.
Chris@0 6763
Chris@0 6764 * src/sndfile.c
Chris@0 6765 Added sf_command(SFC_TEST_ADD_TRAILING_DATA) to allow testing of reading
Chris@0 6766 from AIFF and WAV files with non-audio data after the audio chunk.
Chris@0 6767
Chris@0 6768 * src/common.h
Chris@0 6769 Add test commands SFC_TEST_WAV_ADD_INFO_CHUNK and
Chris@0 6770 SFC_TEST_AIFF_ADD_INST_CHUNK. When these commands are working, they will be
Chris@0 6771 moved to src/sndfile.h
Chris@0 6772
Chris@0 6773 * src/aiff.c src/wav.c
Chris@0 6774 Begin implementation of XXXX_command() hook for sf_command().
Chris@0 6775
Chris@0 6776 * tests/write_read_test.tpl
Chris@0 6777 Added sf_command (SFC_TEST_ADD_TRAILING_DATA) to ensure above new code was
Chris@0 6778 working.
Chris@0 6779
Chris@0 6780 2002-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6781
Chris@0 6782 * tests/update_header_test.c
Chris@0 6783 Allow read sample count == write sample count - 1 to fix problems with VOC
Chris@0 6784 files.
Chris@0 6785
Chris@0 6786 * tests/write_read_test.tpl tests/pcm_test.tpl
Chris@0 6787 Fixed some problems in the test suite discovered by using Valgrind.
Chris@0 6788
Chris@0 6789 2002-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6790
Chris@0 6791 * tests/utils.[ch] tests/*.c
Chris@0 6792 Renamed check_log_buffer() to check_log_buffer_or_die().
Chris@0 6793
Chris@0 6794 * src/sndfile.c
Chris@0 6795 SFC_UPDATE_HEADER_NOW and SFC_SETUPDATE_HEADER_AUTO almost finished. Works
Chris@0 6796 for all file formats other than VOC.
Chris@0 6797
Chris@0 6798 2002-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6799
Chris@0 6800 * src/sndfile.[ch] src/common.h
Chris@0 6801 Started adding functionality to allow the file header to be updated before
Chris@0 6802 the file is closed on files open for SFM_WRITE. This was requested by
Chris@0 6803 Maurizio Umberto Puxeddu who is using libsndfile for file I/O in iCSound.
Chris@0 6804
Chris@0 6805 * tests/update_header_test.c
Chris@0 6806 New test program to test that the above functionality is working correctly.
Chris@0 6807
Chris@0 6808 * tests/peak_chunk_test.c tests/floating_point_test.c
Chris@0 6809 Cleanups.
Chris@0 6810
Chris@0 6811 2002-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6812
Chris@0 6813 * src/sfendian.[ch]
Chris@0 6814 Changed length count parameters for all endswap_XXX() functions from
Chris@0 6815 sf_count_t (which can be 64 bit even on 32 bit architectures) to int. These
Chris@0 6816 functions are only called frin inside the library, are always called with
Chris@0 6817 integer parameters and doing the actual calculation on 64 bit values is
Chris@0 6818 slow in comparision to doing it on ints.
Chris@0 6819
Chris@0 6820 * examples/sndfile-play.c
Chris@0 6821 More playback hacking for Win32.
Chris@0 6822
Chris@0 6823 2002-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6824
Chris@0 6825 * src/common.c
Chris@0 6826 In psf_log_printf(), changed %D format conversion specifier to %M (marker) and
Chris@0 6827 added %D specifier for printing the sf_count_t type.
Chris@0 6828
Chris@0 6829 * src/*.c
Chris@0 6830 Changed all usage of psf_log_printf() with %D format conversion specifiers
Chris@0 6831 to use %M conversion instead.
Chris@0 6832
Chris@0 6833 * tests/pcm_test.tpl tests/pcm_test.def
Chris@0 6834 New files to autogen pcm_test.c.
Chris@0 6835
Chris@0 6836 * src/pcm.c
Chris@0 6837 Fixed bug in scaling floats and doubles to 24 bit PCM and vice versa.
Chris@0 6838
Chris@0 6839 2002-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6840
Chris@0 6841 * configure.in
Chris@0 6842 Fix setup of $ac_cv_sys_largefile_CFLAGS so that sndfile.pc gets valid
Chris@0 6843 values for CFLAGS.
Chris@0 6844
Chris@0 6845 * examples/sndfile-play.c
Chris@0 6846 Start adding playback support for Win32.
Chris@0 6847
Chris@0 6848 2002-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6849
Chris@0 6850 * src/*.c
Chris@0 6851 Worked to removed compiler warnings.
Chris@0 6852 Extensive refactoring.
Chris@0 6853
Chris@0 6854 * src/common.[ch]
Chris@0 6855 Added function psf_memset() which works like the standard C function memset
Chris@0 6856 but takes and sf_count_t as the length parameter.
Chris@0 6857
Chris@0 6858 * src/sndfile.c
Chris@0 6859 Replaced calls to memset(0 with calls to psf_memset() as required.
Chris@0 6860
Chris@0 6861 2002-07-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6862
Chris@0 6863 * src/sndfile.c
Chris@0 6864 Added "libsndfile : " to the start of all error messages. This was suggested
Chris@0 6865 by Conrad Parker author of Sweep ( http://sweep.sourceforge.net/ ).
Chris@0 6866
Chris@0 6867 * src/sfendian.[ch]
Chris@0 6868 Added endswap_XXXX_copy() functions.
Chris@0 6869
Chris@0 6870 * src/pcm.c src/float32.c src/double64.c
Chris@0 6871 Use endswap_XXXX_copy() functions and removed dead code.
Chris@0 6872 Cleanups and optimisations.
Chris@0 6873
Chris@0 6874 2002-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6875
Chris@0 6876 * src/sndfile.c src/sndfile.h
Chris@0 6877 Gave values to all the SFC_* enum values to allow better control of the
Chris@0 6878 interface as commands are added and removed.
Chris@0 6879 Added new command SFC_SET_ADD_PEAK_CHUNK.
Chris@0 6880
Chris@0 6881 * src/wav.c src/aiff.c
Chris@0 6882 Modified wav_write_header and aiff_write_header to make addition of a PEAK
Chris@0 6883 chunk optional, even on floating point files.
Chris@0 6884
Chris@0 6885 * tests/benchmark.tpl
Chris@0 6886 Added call to sf_command(SFC_SET_ADD_PEAK_CHUNK) to turn off addition of a
Chris@0 6887 PEAK chunk for the benchmark where we are trying to miximize speed.
Chris@0 6888
Chris@0 6889 * src.pcm.c
Chris@0 6890 Changed tribyte typedef to something more sensible.
Chris@0 6891 Further conversion speed ups.
Chris@0 6892
Chris@0 6893 2002-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6894
Chris@0 6895 * src/command.c
Chris@0 6896 In major_formats rename "Sphere NIST" to "NIST Sphere".
Chris@0 6897
Chris@0 6898 * src/common.c src/sfendian.c
Chris@0 6899 Moved all endswap_XXX_array() functions to sfendian.c. These functions will
Chris@0 6900 be tweaked to provide maximum performance. Since maximum performance on one
Chris@0 6901 platform does not guarantee maximum performance on another, a small set of
Chris@0 6902 functions will be written and the optimal one chosen at compile time.
Chris@0 6903
Chris@0 6904 * src/common.h src/sfendian.h
Chris@0 6905 Declarations of all endswap_XXX_array() functions moved to sfendian.h.
Chris@0 6906
Chris@0 6907 * src/Makefile.am
Chris@0 6908 Add sfendian.c to build targets.
Chris@0 6909
Chris@0 6910 2002-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6911
Chris@0 6912 * src/pcm.c src/sfendian.h
Chris@0 6913 Re-coded PCM encoders and decoders to match or better the speed of
Chris@0 6914 libsndfile version 0.0.28.
Chris@0 6915
Chris@0 6916 2002-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6917
Chris@0 6918 * src/wav.c
Chris@0 6919 Add checking for WAVPACK data in standard PCM WAV file. Return error if
Chris@0 6920 found. This WAVPACK is *WAY* broken. It uses the same PCM WAV file header
Chris@0 6921 and then stores non-PCM data.
Chris@0 6922
Chris@0 6923 * tests/benchmark.tpl
Chris@0 6924 Added more tests.
Chris@0 6925
Chris@0 6926 2002-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6927
Chris@0 6928 * tests/benchmark.tpl
Chris@0 6929 Added conditional definition of M_PI.
Chris@0 6930 For Win32, set WRITE_PERMS to 0777.
Chris@0 6931
Chris@0 6932 * Win32/Makefile.msvc
Chris@0 6933 Added target to make generate program on Win32.
Chris@0 6934
Chris@0 6935 * src/samplitude.c
Chris@0 6936 Removed handler for Samplitude RAP file format. This file type seems rarer
Chris@0 6937 than hens teeth and is completely undocumented.
Chris@0 6938
Chris@0 6939 * src/common.h src/sndfile.c src/Makefile.am Win32/Makefile.msvc
Chris@0 6940 Removed references to sampltiude RAP format.
Chris@0 6941
Chris@0 6942 * tests/benchmark.tpl
Chris@0 6943 Benchmark program now prints the libsndfile version number when run. This
Chris@0 6944 program was also backported to version 0 to compare results. Version
Chris@0 6945 1.0.0rc2 is faster than version 0.0.28 on most conversions but slower on
Chris@0 6946 some. The slow ones need to be fixed before final release.
Chris@0 6947
Chris@0 6948 2002-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6949
Chris@0 6950 * tests/benchmark.def tests/benchmark.tpl
Chris@0 6951 New files which generate tests/benchmark.c using Autogen. Added int ->
Chris@0 6952 SF_FORMAT_PCM_24 test.
Chris@0 6953
Chris@0 6954 * tests/benchmark.c
Chris@0 6955 Now and Autogen output file.
Chris@0 6956
Chris@0 6957 * tests/Makefile.am
Chris@0 6958 Updated for above changes.
Chris@0 6959
Chris@0 6960 2002-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6961
Chris@0 6962 * tests/benchmark.c
Chris@0 6963 Basic benchmark program complete. Need to convert it to Autogen.
Chris@0 6964
Chris@0 6965 * Win32/Makefile.msvc
Chris@0 6966 Added benchmark.exe target.
Chris@0 6967
Chris@0 6968 2002-06-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6969
Chris@0 6970 * examples/generate.c
Chris@0 6971 New program to generate a number of different output file formats from a
Chris@0 6972 single input file. This allows testing of the created files.
Chris@0 6973
Chris@0 6974 * tests/benchmark.c
Chris@0 6975 New test program to benchmark libsndfile. Nowhere near complete yet.
Chris@0 6976
Chris@0 6977 * examples/Makefile.am tests/Makefile.am
Chris@0 6978 New make rules for the two new programs.
Chris@0 6979
Chris@0 6980 2002-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 6981
Chris@0 6982 * Win32/libsndfile.def
Chris@0 6983 Removed definition for sf_signal_max().
Chris@0 6984
Chris@0 6985 * src/sndfile.c
Chris@0 6986 Removed cruft.
Chris@0 6987
Chris@0 6988 * doc/index.html
Chris@0 6989 A number of documentation bugs were fixed. Thanks to Anand Kumria.
Chris@0 6990
Chris@0 6991 * doc/version-1.html
Chris@0 6992 Minor doc updates.
Chris@0 6993
Chris@0 6994 * configure.in
Chris@0 6995 Bumped version to 1.0.0rc2.
Chris@0 6996
Chris@0 6997 * src/sf_command.h src/Makefile.am
Chris@0 6998 Removed the header file as it was no longer being used. Thanks to Anand
Chris@0 6999 Kunria for spotting this.
Chris@0 7000
Chris@0 7001 * doc/index.html
Chris@0 7002 A number of documentation bugs were fixed. Thanks to Anand Kumria.
Chris@0 7003
Chris@0 7004 2002-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7005
Chris@0 7006 * src/common.h
Chris@0 7007 Test for Win32 before testing SIZEOF_OFF_T so that it works correctly
Chris@0 7008 on Win32..
Chris@0 7009
Chris@0 7010 * src/file_io.c
Chris@0 7011 Win32 fixes to ensure O_BINARY is used for file open.
Chris@0 7012
Chris@0 7013 * doc/win32.html
Chris@0 7014 New file documenting the building libsndfile on Win32.
Chris@0 7015
Chris@0 7016 * doc/*.html
Chris@0 7017 Updating of documentation.
Chris@0 7018
Chris@0 7019 2002-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7020
Chris@0 7021 * tests/pcm_test.c
Chris@0 7022 Minor changes to allow easier determination of test file name.
Chris@0 7023
Chris@0 7024 * src/sndfile.[ch]
Chris@0 7025 Removed function sf_signal_max().
Chris@0 7026
Chris@0 7027 * examples/sndfile-play.c
Chris@0 7028 Changed call to sf_signal_max() to a call to sf_command().
Chris@0 7029
Chris@0 7030 2002-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7031
Chris@0 7032 * src/format.c src/command.c
Chris@0 7033 Renamed format.c to command.c which will now include code for sf_command()
Chris@0 7034 calls to perform operations other than format commands.
Chris@0 7035
Chris@0 7036 * src/sndfile.c src/sndfile.h
Chris@0 7037 Removed function sf_get_signal_max() which is replaced by commands passed
Chris@0 7038 to sf_command().
Chris@0 7039
Chris@0 7040 * src/command.c
Chris@0 7041 Implement commands SFC_CALC_SIGNAL_MAX.
Chris@0 7042
Chris@0 7043 * doc/command.html
Chris@0 7044 Documented SFC_CALC_SIGNAL_MAX.
Chris@0 7045
Chris@0 7046 2002-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7047
Chris@0 7048 * examples/sndfile-play.c
Chris@0 7049 Mods to make sndfile-play work on Solaris. The program sndfile-play now
Chris@0 7050 runs on Linux, MaxOSX and Solaris. Win32 to come.
Chris@0 7051
Chris@0 7052 * src/format.c
Chris@0 7053 Added SF_FORMAT_DWVW_* to subtype_formats array.
Chris@0 7054
Chris@0 7055 * src/nist.c
Chris@0 7056 Added support for 8 bit NIST Sphere files. Example file supplied by Anand
Chris@0 7057 Kumria.
Chris@0 7058
Chris@0 7059 2002-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7060
Chris@0 7061 * examples/sndfile-info.c
Chris@0 7062 Tidy up of output format.
Chris@0 7063
Chris@0 7064 * examnples/sndfile-play.c
Chris@0 7065 Mods to make sndfile-play work on MacOSX using Apple's CoreAudio API.
Chris@0 7066
Chris@0 7067 * configure.in
Chris@0 7068 Add new variables OS_SPECIFIC_INCLUDES and OS_SPECIFIC_LINKS which were
Chris@0 7069 required to supply extra include paths and link parameters to get
Chris@0 7070 sndfile-play working on MacOSX.
Chris@0 7071
Chris@0 7072 * examples/Makefile.am
Chris@0 7073 Use OS_SPOECIFIC_INCLUDES and OS_SPECIFIC_LINKS to build commands for
Chris@0 7074 sndfile-play.
Chris@0 7075
Chris@0 7076 2002-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7077
Chris@0 7078 * src/nist.c
Chris@0 7079 Added ability to read/write new NIST Sphere file types (A-law, u-law).
Chris@0 7080 Header parser was re-written from scratch. Example files supplied by Anand
Chris@0 7081 Kumria.
Chris@0 7082
Chris@0 7083 * src/sndfile.c
Chris@0 7084 Support for A-law and u-law NIST files.
Chris@0 7085
Chris@0 7086 * tests/Makefile.am tests/lossy_comp_test.c
Chris@0 7087 Tests for A-law and u-law NIST files.
Chris@0 7088
Chris@0 7089 2002-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7090
Chris@0 7091 * tests/utils.c
Chris@0 7092 Fixed an error in error string.
Chris@0 7093
Chris@0 7094 2002-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7095
Chris@0 7096 * acinclude.m4
Chris@0 7097 Removed exit command to allow cross-compiling.
Chris@0 7098
Chris@0 7099 * Win32/unistd.h src/file_io.c
Chris@0 7100 Moved contents of first file into the second file (enclosed in #ifdef).
Chris@0 7101 Win32/unistd.h is now an empty file but still must be there for libsndfile
Chris@0 7102 to compile on Win32.
Chris@0 7103
Chris@0 7104 * src/sd2.c, src/sndfile.c:
Chris@0 7105 Fixes for Sound Designer II files on big endian systems.
Chris@0 7106
Chris@0 7107 2002-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7108
Chris@0 7109 * configure.in
Chris@0 7110 Modified to work around problems with crappy MacOSX version of sed.
Chris@0 7111 Added sanity check for proper values for CFLAGS.
Chris@0 7112
Chris@0 7113 2002-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7114
Chris@0 7115 * src/sndfile.c
Chris@0 7116 Code clean up in sf_open ().
Chris@0 7117
Chris@0 7118 * Win32/Makefile.msvc
Chris@0 7119 Michael Fink's contributed MSVC++ makefile was hacked to bits and put back
Chris@0 7120 together in a new improved form.
Chris@0 7121
Chris@0 7122 * src/file_io.c
Chris@0 7123 Fixes for Win32; _lseeki64() returns an invalid argument for calls like
Chris@0 7124 _lseeki64(fd, 0, SEEK_CUR) so need to use _telli64 (fd) instead.
Chris@0 7125
Chris@0 7126 * src/common.h src/sndfile.c src/wav.c src/aiff.c
Chris@0 7127 Added SFE_LOG_OVERRUN error.
Chris@0 7128 Added termination for potential infinite loop when parsing file headers.
Chris@0 7129
Chris@0 7130 * src/wav.c src/w64.c
Chris@0 7131 Fixed bug casuing incorrect header generation when opening file read/write.
Chris@0 7132
Chris@0 7133 2002-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7134
Chris@0 7135 * doc/api.html
Chris@0 7136 Improved the documentation to make it clearer that the file read method
Chris@0 7137 and the underlying file format are completely disconnected. Suggested
Chris@0 7138 by Josh Green.
Chris@0 7139
Chris@0 7140 * doc/command.html
Chris@0 7141 Started correcting docs to take into account changes made to the
Chris@0 7142 operations of the sf_command () function. Not complete yet.
Chris@0 7143
Chris@0 7144 * src/sndfile.c
Chris@0 7145 Reverted some changes which had broken the partially working SDII header
Chris@0 7146 parsing. Now have access to an iBook with OS X so reading and writing SDII
Chris@0 7147 files on all platforms should be a reality in the near future. On Mac this
Chris@0 7148 will involve reading the resource fork via the standard MacOS API. To move
Chris@0 7149 a file from Mac to another OS, the resource and data forks will need to be
Chris@0 7150 combined before transfer. The combined file will be read on both Mac and
Chris@0 7151 other OSes like any other file.
Chris@0 7152
Chris@0 7153 2002-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7154
Chris@0 7155 * ltmain.sh
Chris@0 7156 Applied a patch from http://fink.sourceforge.net/doc/porting/libtool.php
Chris@0 7157 which allows libsndfile to compile on MacOSX 10.1. This patch should not
Chris@0 7158 interfere with compiling on other OSes.
Chris@0 7159
Chris@0 7160 * src/GSM610/private.h
Chris@0 7161 Changes to fix compile problems on MacOSX (see src/GSM610/ChangeLog).
Chris@0 7162
Chris@0 7163 * src/float_cast.h
Chris@0 7164 Added MacOSX replacements for lrint() and lrintf().
Chris@0 7165
Chris@0 7166 2002-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7167
Chris@0 7168 * src/sndfile.c
Chris@0 7169 Replaced the code to print the filename to the log buffer when a file is
Chris@0 7170 opened. This code seems to have been left out during the merge of
Chris@0 7171 sf_open_read() and sf_open_write() to make a single functions sf_open().
Chris@0 7172
Chris@0 7173 2002-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7174
Chris@0 7175 * src/wav.c
Chris@0 7176 Fixed a bug where the WAV header parser was going into an infinite loop
Chris@0 7177 on a badly formed LIST chunk. File supplied by David Viens.
Chris@0 7178
Chris@0 7179 2002-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7180
Chris@0 7181 * configure.in
Chris@0 7182 Added a message at the end of the configuration process to warn about the
Chris@0 7183 need for the use of pkg-config when linking programs against version 1 of
Chris@0 7184 libsndfile.
Chris@0 7185
Chris@0 7186 * doc/pkg-config.html
Chris@0 7187 New documentation file containing details of how to use pkg-config to
Chris@0 7188 retrieve settings for CFLAGS and library locations for linking files
Chris@0 7189 against version 1 of libsndfile.
Chris@0 7190
Chris@0 7191 2002-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7192
Chris@0 7193 * src/wav.c
Chris@0 7194 Fixed minor bug in handling of so-called ACIDized WAV files.
Chris@0 7195
Chris@0 7196 2002-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7197
Chris@0 7198 * Win32/libsndfile.def Win32/Makefile.msvc
Chris@0 7199 Two new files contributed by Michael Fink (from the winLAME project)
Chris@0 7200 which allows libsndfile to be built on windows in a MSDOS box by doing
Chris@0 7201 "nmake -f Makefile.msvc". Way cool!
Chris@0 7202
Chris@0 7203 2002-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7204
Chris@0 7205 * configure.in
Chris@0 7206 MacOSX is SSSOOOOOOO screwed up!!! I can't believe how hard it is to
Chris@0 7207 generate a tarball which will configure and compile on that platform.
Chris@0 7208 Joined the libtool mailing list to try and get some answers.
Chris@0 7209
Chris@0 7210 2002-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7211
Chris@0 7212 * configure.in
Chris@0 7213 Changed to autoconf version 2.50. MacOSX uses autoconf version 2.53 which
Chris@0 7214 is incompatible with with version 2.13 which had been using until now.
Chris@0 7215 The AC_SYS_LARGE_FILE macro distributed withe autoconf 2.50 is missing a
Chris@0 7216 few features so AC_SYS_EXTRA_LARGE file was defined to replace it.
Chris@0 7217
Chris@0 7218 * configure.in
Chris@0 7219 Changed to automake version 1.5 to try and make a tarball which will
Chris@0 7220 work on MacOSX.
Chris@0 7221
Chris@0 7222 2002-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7223
Chris@0 7224 * src/wav_gsm610.c
Chris@0 7225 Changed name to gsm610.c. Added reading/writing of headerless files.
Chris@0 7226
Chris@0 7227 * src/sndfile.c src/raw.c
Chris@0 7228 Added ability to read/write headerless (SF_FORMAT_RAW) GSM 6.10 files.
Chris@0 7229
Chris@0 7230 2002-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7231
Chris@0 7232 * tests/lossy_comp_test.c
Chris@0 7233 Clean up in preparation for Autogen-ing this file.
Chris@0 7234
Chris@0 7235 * src/GSM610/*.[ch]
Chris@0 7236 Code cleanup and prepartion forgetting file seek working. Details in
Chris@0 7237 src/GSM610/ChangeLog.
Chris@0 7238
Chris@0 7239 * sndfile.pc.in
Chris@0 7240 Testing complete. Is sndfile.m4 still needed?
Chris@0 7241
Chris@0 7242 2002-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7243
Chris@0 7244 * tests/write_read_test.tpl tests/rdwr_test.tpl
Chris@0 7245 Merged tests from these two programs into write_read_test.tpl and deleted
Chris@0 7246 rdwr_test.tpl.
Chris@0 7247
Chris@0 7248 2002-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7249
Chris@0 7250 * src/w64.c src/svx.c src/paf.c
Chris@0 7251 Fixed bugs in read/write mode.
Chris@0 7252
Chris@0 7253 2002-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7254
Chris@0 7255 * examples/Makefile.am
Chris@0 7256 Renamed sfplay.c to sndfile-play.c and sndfile_info.c to sndfile-info.c for
Chris@0 7257 consistency when these programs become part of the Debian package
Chris@0 7258 sndfile-programs.
Chris@0 7259
Chris@0 7260 * sndfile.pc.in
Chris@0 7261 New file to replace sndfile-config.in. Libsndfile now uses the pkg-config
Chris@0 7262 model for providing installation parameters to dependant programs.
Chris@0 7263
Chris@0 7264 * src/sndfile.c
Chris@0 7265 Cleanup of code in sf_open().
Chris@0 7266
Chris@0 7267 2002-05-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7268
Chris@0 7269 * tests/utils.tpl tests/write_read_test.tpl
Chris@0 7270 More conversion to Autogen fixes and enchancements.
Chris@0 7271
Chris@0 7272 * src/*.c
Chris@0 7273 Read/write mode is now working for 16, 24 and 32 bit PCM as well as 32
Chris@0 7274 bit float and 64 bit double data. More tests still required.
Chris@0 7275
Chris@0 7276 * src/Makefile.am
Chris@0 7277 Added DISTCLEANFILES target to remove config.status and config.last.
Chris@0 7278
Chris@0 7279 * Win32/Makefile.am MacOS/Makefile.am
Chris@0 7280 Added DISTCLEANFILES target to remove Makefile.
Chris@0 7281
Chris@0 7282 2002-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7283
Chris@0 7284 * src/*.[ch] tests/rdwr_test.c
Chris@0 7285 More verifying workings of read/write mode. Fixing bugs found.
Chris@0 7286
Chris@0 7287 * tests/utils.[ch]
Chris@0 7288 Made these files Autogen generated files.
Chris@0 7289
Chris@0 7290 * tests/util.tpl tests/util.def
Chris@0 7291 New Autogen files to generate utils.[ch]. Moved some generic test functions
Chris@0 7292 into this file. Autogen is such a great tool!
Chris@0 7293
Chris@0 7294 2002-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7295
Chris@0 7296 * src/pcm.c src/float_cast.h Win32/config.h
Chris@0 7297 Fixed a couple of Win32 specific bugs pointed out by Michael Fink
Chris@0 7298 (maintainer of WinLAME) and David Viens.
Chris@0 7299
Chris@0 7300 * tests/check_log_buffer.[ch] tests/utils.[ch]
Chris@0 7301 Moved check_log_buffer() to utils.[ch] and deleted old file.
Chris@0 7302
Chris@0 7303 2002-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7304
Chris@0 7305 * src/common.[ch] src/sndfile.c
Chris@0 7306 New function psf_default_seek() which will be the default seek function
Chris@0 7307 for things like PCM and floating point data. This default is set for
Chris@0 7308 both read and write in sf_open() but can be over-ridden by any codec
Chris@0 7309 during it's initialisation.
Chris@0 7310
Chris@0 7311 2002-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7312
Chris@0 7313 * src/au.c
Chris@0 7314 AU files use a data size value of -1 to mean unknown. Fixed au_open_read()
Chris@0 7315 to allow opening files like this.
Chris@0 7316
Chris@0 7317 * tests/rdwr_test .c
Chris@0 7318 Added more tests.
Chris@0 7319
Chris@0 7320 * src/sndfile.c
Chris@0 7321 Fixed bugs in read/write mode found due to improvements in the test
Chris@0 7322 program.
Chris@0 7323
Chris@0 7324 2002-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7325
Chris@0 7326 * tests/rdwr_test .c
Chris@0 7327 New file for testing read/write mode.
Chris@0 7328
Chris@0 7329 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7330
Chris@0 7331 * m4/*
Chris@0 7332 Removed all m4 macros from this directory as they get concatenated to form
Chris@0 7333 the file aclocal.m4 anyway.
Chris@0 7334
Chris@0 7335 * sndfile.m4
Chris@0 7336 Moved this from the m4 directory to the root directory asn this is part of
Chris@0 7337 the distribution and is installed during "make install".
Chris@0 7338
Chris@0 7339 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7340
Chris@0 7341 * src/float32.c
Chris@0 7342 Removed logging of peaks for all file formats other than AIFF and WAV.
Chris@0 7343
Chris@0 7344 * tests/write_read_test.tpl tests/write_read_test.def
Chris@0 7345 New files which autogen uses to generate write_read_test.c. Doing it this
Chris@0 7346 way makes write_read_test.c far easier to maintain. Other test programs
Chris@0 7347 will be converted to autogen in the near future.
Chris@0 7348
Chris@0 7349 * src/*.c
Chris@0 7350 Fixed a few bugs found when testing on Sparc (bug endian) Solaris.
Chris@0 7351
Chris@0 7352 2002-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7353
Chris@0 7354 * doc/*.html
Chris@0 7355 Fixed documention versioning.
Chris@0 7356
Chris@0 7357 * configure.in
Chris@0 7358 Fixed a bug in the routines which search for Large File Support on systems
Chris@0 7359 which have large file support by defualt.
Chris@0 7360
Chris@0 7361 2002-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7362
Chris@0 7363 * src/*.[ch]
Chris@0 7364 Found and fixed an issue which can cause a bug in other software (I was
Chris@0 7365 porting Conrad Parker's Sweep program from version 0 of the library to
Chris@0 7366 version 1). When opening a file for write, the libsndfile code would
Chris@0 7367 set the sfinfo.samples field to a maximum value.
Chris@0 7368
Chris@0 7369 * tests/write_read_test.c
Chris@0 7370 Added tests to detect the above problem.
Chris@0 7371
Chris@0 7372 2002-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7373
Chris@0 7374 * src/*.[ch]
Chris@0 7375 Finished base implementation of read/write mode. Much more testing still
Chris@0 7376 needed.
Chris@0 7377
Chris@0 7378 * m4/largefile.m4
Chris@0 7379 Macro for detecting Large File Standard capabilities. This macro was ripped
Chris@0 7380 out of the aclocal.m4 file of GNU tar-1.13.
Chris@0 7381
Chris@0 7382 * configure.in
Chris@0 7383 Added detection of large file support. Files larger than 2 Gigabytes should
Chris@0 7384 now be supported on 64 bit platforms and many 32 bit platforms including
Chris@0 7385 Linux (2.4 kernel, glibc-2.2), *BSD, MacOS, Win32.
Chris@0 7386
Chris@0 7387 * libsndfile_convert_version.py
Chris@0 7388 A Python script which attempts to autoconvert code written to use version 0
Chris@0 7389 to version 1.
Chris@0 7390
Chris@0 7391 2002-04-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7392
Chris@0 7393 * src/*.[ch]
Chris@0 7394 Finished base implementation of read/write mode. Much more testing still
Chris@0 7395 needed.
Chris@0 7396
Chris@0 7397 * tests/write_read_test.c
Chris@0 7398 Preliminary tests for read/write mode added. More needed.
Chris@0 7399
Chris@0 7400 2002-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7401
Chris@0 7402 * src/sndfile.[ch]
Chris@0 7403 Removed sf_open_read() and sf_open_write() functions,replacting them with
Chris@0 7404 sf_open() which takes an extra mode parameter (SF_OPEN_READ, SF_OPEN_WRITE,
Chris@0 7405 or SF_OPEN_RDWR). This new function sf_open can now be modified to allow
Chris@0 7406 opening a file formodification (RDWR).
Chris@0 7407
Chris@0 7408 2002-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7409
Chris@0 7410 * src/*.c
Chris@0 7411 Completed merging of separate xxx_open_read() and xxx_open_write()
Chris@0 7412 functions. All tests pass.
Chris@0 7413
Chris@0 7414 2002-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7415
Chris@0 7416 * src/au.c
Chris@0 7417 Massive refactoring required to merge au_open_read() with au_open_write()
Chris@0 7418 to create au_open().
Chris@0 7419
Chris@0 7420 2002-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7421
Chris@0 7422 * src/*.c
Chris@0 7423 Started changes required to allow a sound file to be opened in read/write
Chris@0 7424 mode, with separate file pointers for read and write. This involves merging
Chris@0 7425 of encoder/decoder functions like pcm_read_init() and pcm_write_init()
Chris@0 7426 int a new function pcm_init() as well as doing something similar for all
Chris@0 7427 the file type specific functions ie aiff_open_read() and aiff_open_write()
Chris@0 7428 were merged to make the function aiff_open().
Chris@0 7429
Chris@0 7430 2002-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7431
Chris@0 7432 * src/file_io.c
Chris@0 7433 New file containing psf_fopen(), psf_fread(), psf_fwrite(), psf_fseek() and
Chris@0 7434 psf_ftell() functions. These function will replace use of fopen/fread/fwrite
Chris@0 7435 etc and allow access to files larger than 2 gigabytes on a number of 32 bit
Chris@0 7436 OSes (Linux on x86, 32 bit Solaris user space apps, Win32 and MacOS).
Chris@0 7437
Chris@0 7438 * src/*.c
Chris@0 7439 Replaced all instances of fopen with psf_open, fread with psd_read, fwrite
Chris@0 7440 with psf_write and so on.
Chris@0 7441
Chris@0 7442 2002-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7443
Chris@0 7444 * src/dwvw.c
Chris@0 7445 Finally fixed all known problems with 12, 16 and 24 bit DWVW encoding.
Chris@0 7446
Chris@0 7447 * tests/floating_point_test.c
Chris@0 7448 Added tests for 12, 16 and 24 bit DWVW encoding.
Chris@0 7449
Chris@0 7450 2002-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7451
Chris@0 7452 * m4/endian.m4
Chris@0 7453 Defines a new m4 macro AC_C_FIND_ENDIAN, for determining the endian-ness of
Chris@0 7454 the target CPU. It first checks for the definition of BYTE_ORDER in
Chris@0 7455 <endian.h>, then in <sys/types.h> and <sys/param.h>. If none of these work
Chris@0 7456 and the C compiler is not a cross compiler it compiles and runs a program
Chris@0 7457 to test for endian-ness. If the compiler is a cross compiler it makes a
Chris@0 7458 guess based on $target_cpu.
Chris@0 7459
Chris@0 7460 * configure.in
Chris@0 7461 Modified to use AC_C_FIND_ENDIAN.
Chris@0 7462
Chris@0 7463 * src/sfendian.h
Chris@0 7464 Simplified.
Chris@0 7465
Chris@0 7466 2002-02-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7467
Chris@0 7468 * tests/floating_point_test.c
Chris@0 7469 Tests completely rewritten using the dft_cmp function. Now able to
Chris@0 7470 calculate a quick guesstimate of the Signal to Noise Ratio of the encoder.
Chris@0 7471
Chris@0 7472 2002-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7473
Chris@0 7474 * tests/dft_cmp.[ch]
Chris@0 7475 New files containing functions for comparing pre and post lossily
Chris@0 7476 compressed data using a quickly hacked DFT.
Chris@0 7477
Chris@0 7478 * tests/utils.[ch]
Chris@0 7479 New files containing functions for saving pre and post encoded data in a
Chris@0 7480 file readable by the GNU Octave package.
Chris@0 7481
Chris@0 7482 2002-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7483
Chris@0 7484 * m4/lrint.m4 m4/lrintf.m4
Chris@0 7485 Fixed m4 macros to define HAVE_LRINT and HAVE_LRINTF even when the test
Chris@0 7486 is cached.
Chris@0 7487
Chris@0 7488 2002-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7489
Chris@0 7490 * tests/floating_point_test.c
Chris@0 7491 Fixed improper use of strncat ().
Chris@0 7492
Chris@0 7493 2002-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7494
Chris@0 7495 * tests/headerless_test.c
Chris@0 7496 New test program to test the ability to open and read a known file type as a
Chris@0 7497 RAW header-less file.
Chris@0 7498
Chris@0 7499 2002-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7500
Chris@0 7501 * tests/losy_comp_test.c
Chris@0 7502 Added a test to ensure that the data read from a file is not all zeros.
Chris@0 7503
Chris@0 7504 * examples/sfconvert.c
Chris@0 7505 Added "-gsm610" encoding types.
Chris@0 7506
Chris@0 7507 2002-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7508
Chris@0 7509 * examples/sfconvert.c
Chris@0 7510 Added "-dwvw12", "-dwvw16" and "-dwvw24" encoding types.
Chris@0 7511
Chris@0 7512 * tests/dwvw_test.c
Chris@0 7513 New file for testing DWVW encoder/decoder.
Chris@0 7514
Chris@0 7515 2002-01-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7516
Chris@0 7517 * src/dwvw.c
Chris@0 7518 Implemented writing of DWVW. 12 bit seems to work, 16 and 24 bit still broken.
Chris@0 7519
Chris@0 7520 * src/aiff.c
Chris@0 7521 Improved reporting of encoding types.
Chris@0 7522
Chris@0 7523 * src/voc.c
Chris@0 7524 Clean up.
Chris@0 7525
Chris@0 7526 2002-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7527
Chris@0 7528 * src/dwvw.c
Chris@0 7529 New file implementing lossless Delta Word Variable Width (DWVW) encoding.
Chris@0 7530 Reading 12 bit DWVW is now working.
Chris@0 7531
Chris@0 7532 * src/aiff.c common.h sndfile.c
Chris@0 7533 Added hooks for DWVW encoded AIFF and RAW files.
Chris@0 7534
Chris@0 7535 2002-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7536
Chris@0 7537 * src/w64.c
Chris@0 7538 Robustify header parsing.
Chris@0 7539
Chris@0 7540 * src/wav_w64.h
Chris@0 7541 Header file wav.h was renamed to wav_w64.h to signify sharing of
Chris@0 7542 definitions across the two file types.
Chris@0 7543
Chris@0 7544 * src/wav.c src/w64.c src/wav_w64.c
Chris@0 7545 Refactoring.
Chris@0 7546 Modified and moved functions with a high degree of similarity between
Chris@0 7547 wav.c and w64.c to wav_w64.c.
Chris@0 7548
Chris@0 7549 2002-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7550
Chris@0 7551 * src/w64.c
Chris@0 7552 Completed work on getting read and write working.
Chris@0 7553
Chris@0 7554 * examples/sfplay.c
Chris@0 7555 Added code to scale floating point data so it plays at a reasonable volume.
Chris@0 7556
Chris@0 7557 * tests/Makefile.am tests/write_read_test.c
Chris@0 7558 Added tests for W64 files.
Chris@0 7559
Chris@0 7560 2002-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7561
Chris@0 7562 * src/*.c
Chris@0 7563 Modded all code in file header writing routines to use
Chris@0 7564 psf_new_binheader_writef().
Chris@0 7565 Removed psf_binheader_writef() from src/common.c.
Chris@0 7566 Globally replaced psf_new_binheader_writef with psf_binheader_writef.
Chris@0 7567
Chris@0 7568 2002-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7569
Chris@0 7570 * src/*.c
Chris@0 7571 Modded all code in file parsing routines to use psf_new_binheader_readf().
Chris@0 7572 Removed psf_binheader_readf() from src/common.c.
Chris@0 7573 Globally replaced psf_new_binheader_readf with psf_binheader_readf.
Chris@0 7574
Chris@0 7575 * src/common.[ch]
Chris@0 7576 Added new function psf_new_binheader_writef () which will soon replace
Chris@0 7577 psf_binheader_writef (). The new function has basically the same function
Chris@0 7578 as the original but has a more flexible and capable interface. It also
Chris@0 7579 allows the writing of 64 bit integer values for files contains 64 bit file
Chris@0 7580 offsets.
Chris@0 7581
Chris@0 7582 2002-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7583
Chris@0 7584 * src/formats.c src/sndfile.c src/sndfile.h
Chris@0 7585 Added code allowing full enumeration of supported file formats via the
Chris@0 7586 sf_command () interface.
Chris@0 7587 This feature will allow applications to avoid needing recompilation when
Chris@0 7588 support for new file formats are added to libsndfile.
Chris@0 7589
Chris@0 7590 * tests/command_test.c
Chris@0 7591 Added test code for the above feature.
Chris@0 7592
Chris@0 7593 * examples/list_formats.c
Chris@0 7594 New file. An example of the use of the supported file enumeration
Chris@0 7595 interface. This program lists all the major formats and for each major
Chris@0 7596 format the supported subformats.
Chris@0 7597
Chris@0 7598 2002-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7599
Chris@0 7600 * src/*.[ch] tests/*.c
Chris@0 7601 Changed command parameter of sf_command () function from a test string to
Chris@0 7602 an int. The valid values for the command parameter begin with SFC_ and are
Chris@0 7603 listed in src/sndfile.h.
Chris@0 7604
Chris@0 7605 2001-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7606
Chris@0 7607 * src/formats.c src/sndfile.c
Chris@0 7608 Added an way of enumerating a set of common file formats using the
Chris@0 7609 sf_command () interface. This interface was suggested by Dominic Mazzoni,
Chris@0 7610 one of the main authors of Audacity (http://audacity.sourceforge.net/).
Chris@0 7611
Chris@0 7612 2001-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7613
Chris@0 7614 * src/sndfile.c
Chris@0 7615 Added checking of filename parameter in sf_open_read (). Previousy, if a
Chris@0 7616 NULL pointer was passed the library would segfault.
Chris@0 7617
Chris@0 7618 2001-12-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7619
Chris@0 7620 * src/common.c src/common.h
Chris@0 7621 Changed the len parameter of the endswap_*_array () functions from type
Chris@0 7622 int to type long.
Chris@0 7623
Chris@0 7624 * src/pcm.c
Chris@0 7625 Fixed a problem which
Chris@0 7626
Chris@0 7627 2001-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7628
Chris@0 7629 * src/sndfile.c
Chris@0 7630 Added conditional #include <sys/types.h> for EMX/gcc on OS/2. Thanks to
Chris@0 7631 Paul Hartman for pointing this out.
Chris@0 7632
Chris@0 7633 * tests/lossy_comp_test.c tests/floating_point_test.c
Chris@0 7634 Added definitions for M_PI for when it isn't defined in <math.h>.
Chris@0 7635
Chris@0 7636 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7637
Chris@0 7638 * src/ircam.c
Chris@0 7639 Re-implemented the header reader. Old version was making incorrect
Chris@0 7640 assumptions about the endian-ness of the file from the magic number at the
Chris@0 7641 start of the file. The new code looks at the integer which holds the
Chris@0 7642 number of channels and determines the endian-ness from that.
Chris@0 7643
Chris@0 7644 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7645
Chris@0 7646 * src/aiff.c
Chris@0 7647 Added support for other AIFC types ('raw ', 'in32', '23ni').
Chris@0 7648 Further work on IMA ADPCM encoding.
Chris@0 7649
Chris@0 7650 2001-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7651
Chris@0 7652 * src/ima_adpcm.c
Chris@0 7653 Renamed from wav_ima_adpcm.c. This file will soon handle IMA ADPCM
Chris@0 7654 encodings for both WAV and AIFF files.
Chris@0 7655
Chris@0 7656 * src/aiff.c
Chris@0 7657 Started adding IMA ADPCM support.
Chris@0 7658
Chris@0 7659 2001-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7660
Chris@0 7661 * src/double.c
Chris@0 7662 New file for handling double precision floating point (SF_FORMAT_DOUBLE)
Chris@0 7663 data.
Chris@0 7664
Chris@0 7665 * src/wav.c src/aiff.c src/au.c src/raw.c
Chris@0 7666 Added support for SF_FORMAT_DOUBLE data.
Chris@0 7667
Chris@0 7668 * src/common.[ch]
Chris@0 7669 Addition of endswap_long_array () for endian swapping 64 bit integers. This
Chris@0 7670 function will work correctly on processors with 32 bit and 64 bit longs.
Chris@0 7671 Optimised endswap_short_array () and endswap_int_array ().
Chris@0 7672
Chris@0 7673 * tests/pcm_test.c
Chris@0 7674 Added and extra check. After the first file of each type is written to disk
Chris@0 7675 a checksum is performed of the first 64 bytes and checked against a pre-
Chris@0 7676 calculated value. This will work whatever the endian-ness of the host
Chris@0 7677 machine.
Chris@0 7678
Chris@0 7679 2001-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7680
Chris@0 7681 * src/aiff.c
Chris@0 7682 Added handling of u-law, A-law encoded AIFF files. Thanks to Tom Erbe for
Chris@0 7683 supplying example files.
Chris@0 7684
Chris@0 7685 * tests/lossy_comp_test.c
Chris@0 7686 Added tests for above.
Chris@0 7687
Chris@0 7688 * src/common.h src/*.c
Chris@0 7689 Removed function typedefs from common.h and function pointer casting in all
Chris@0 7690 the other files. This allows the compiler to perform proper type checking.
Chris@0 7691 Hopefully this will prevernt problems like the sf_seek bug for OpenBSD,
Chris@0 7692 BeOS etc.
Chris@0 7693
Chris@0 7694 * src/common.[ch]
Chris@0 7695 Added new function psf_new_binheader_readf () which will eventually replace
Chris@0 7696 psf_binheader_readf (). The new function has basically the same function as
Chris@0 7697 the original but has a more flexible and capable interface. It also allows
Chris@0 7698 the reading of 64 bit integer values for files contains 64 bit file
Chris@0 7699 offsets.
Chris@0 7700
Chris@0 7701 2001-11-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7702
Chris@0 7703 * src/voc.c
Chris@0 7704 Completed implementation of VOC file handling. Can now handle 8 and 16 bit
Chris@0 7705 PCM, u-law and A-law files with one or two channels.
Chris@0 7706
Chris@0 7707 * src/write_read_test.c tests/lossy_comp_test.c
Chris@0 7708 Added tests for VOC files.
Chris@0 7709
Chris@0 7710 2001-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7711
Chris@0 7712 * src/float_cast.h
Chris@0 7713 Added inline asm version of lrint/lrintf for MacOS. Solution provided by
Chris@0 7714 Stephane Letz.
Chris@0 7715
Chris@0 7716 * src/voc.c
Chris@0 7717 More work on this braindamaged format. The VOC files produced by SoX also
Chris@0 7718 have a number of inconsistencies.
Chris@0 7719
Chris@0 7720 2001-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7721
Chris@0 7722 * src/paf.c
Chris@0 7723 Added support for 8 bit PCM PAF files.
Chris@0 7724
Chris@0 7725 * tests/write_read_test.c
Chris@0 7726 Added tests for 8 bit PAF files.
Chris@0 7727
Chris@0 7728 2001-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7729
Chris@0 7730 * tests/pcm_test.c
Chris@0 7731 New test program to test for correct scaling of integer values between
Chris@0 7732 different sized integer containers (ie short -> int).
Chris@0 7733 The new specs for libsndfile state that when the source and destination
Chris@0 7734 containers are of a different size, the most significant bit of the source
Chris@0 7735 value becomes the most significant bit of the destination container.
Chris@0 7736
Chris@0 7737 * src/pcm.c src/paf.c
Chris@0 7738 Modified to pass the above test program.
Chris@0 7739
Chris@0 7740 * tests/write_read_test.c tests/lossy_comp_test.c
Chris@0 7741 Modified to work with the new scaling rules.
Chris@0 7742
Chris@0 7743 2001-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7744
Chris@0 7745 * src/raw.c tests/write_read_test.c tests/write_read_test.c
Chris@0 7746 Added ability to do raw reads/writes of float, u-law and A-law files.
Chris@0 7747
Chris@0 7748 * src/*.[ch] examples/*.[ch] tests/*.[ch]
Chris@0 7749 Removed dependance on pcmbitwidth field of SF_INFO struct and moved to new
Chris@0 7750 SF_FORMAT_* types and use of SF_ENDIAN_BIG/LITTLE/CPU.
Chris@0 7751
Chris@0 7752 2001-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7753
Chris@0 7754 * src/*.[ch]
Chris@0 7755 Started implmentation of major changes documented in doc/version1.html.
Chris@0 7756
Chris@0 7757 Removed all usage of off_t which is not part of the ISO C standard. All
Chris@0 7758 places which were using it are now using type long which is the type of
Chris@0 7759 the offset parameter for the fseek function.
Chris@0 7760 This should fix problems on BeOS, MacOS and *BSD like systems which were
Chris@0 7761 failing "make check" because sizeof (long) != sizeof (off_t).
Chris@0 7762
Chris@0 7763 --------------------------------------------------------------------------------
Chris@0 7764 This is the boundary between version 1 of the library above and version 0 below.
Chris@0 7765 --------------------------------------------------------------------------------
Chris@0 7766
Chris@0 7767 2001-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7768
Chris@0 7769 * examples/sfplay_beos.cpp
Chris@0 7770 Added BeOS version of sfplay.c. This needs to be compiled using a C++
Chris@0 7771 compiler so is therefore not built by default. Thanks to Marcus Overhagen
Chris@0 7772 for providing this.
Chris@0 7773
Chris@0 7774 2001-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7775
Chris@0 7776 * examples/sfplay.c
Chris@0 7777 New example file showing how libsndfile can be used to read and play a
Chris@0 7778 sound file.
Chris@0 7779 At the moment on Linux is supported. Others will follow in the near future.
Chris@0 7780
Chris@0 7781 2001-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7782
Chris@0 7783 * src/pcm.c
Chris@0 7784 Fixed problem with normalisation code where a value of 1.0 could map to
Chris@0 7785 a value greater than MAX_SHORT or MAX_INT. Thanks to Roger Dannenberg for
Chris@0 7786 pointing this out.
Chris@0 7787
Chris@0 7788 2001-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7789
Chris@0 7790 * src/pcm.c
Chris@0 7791 Fixed scaling issue when reading/writing 8 bit files using
Chris@0 7792 sf_read/sf_write_short ().
Chris@0 7793 On read, values are scaled so that the most significant bit in the char
Chris@0 7794 ends up in the most significant bit of the short. On write, values are
Chris@0 7795 scaled so that most significant bit in the short ends up as the most
Chris@0 7796 significant bit in the char.
Chris@0 7797
Chris@0 7798 2001-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7799
Chris@0 7800 * src/au.c src/sndfile.c
Chris@0 7801 Added support for 32 bit float data in big and little endian AU files.
Chris@0 7802
Chris@0 7803 * tests/write_read_test.c
Chris@0 7804 Added tests for 32 bit float data in AU files.
Chris@0 7805
Chris@0 7806 2001-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7807
Chris@0 7808 * tests/lossy_comp_test.c
Chris@0 7809 Finalised testing of stereo files where possible.
Chris@0 7810
Chris@0 7811 2001-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7812
Chris@0 7813 * src/wav_ms_adpcm.c
Chris@0 7814 Fixed bug in writing stereo MS ADPCM WAV files. Thanks to Xu Xin for
Chris@0 7815 pointing out this problem.
Chris@0 7816
Chris@0 7817 2001-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7818
Chris@0 7819 * src/wav_ms_adpcm.c
Chris@0 7820 Modified function srate2blocksize () to handle 44k1Hz stereo files.
Chris@0 7821
Chris@0 7822 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7823
Chris@0 7824 * src/w64.c
Chris@0 7825 Added support for Sonic Foundry 64 bit WAV format. As Linux (my main
Chris@0 7826 development platform) does not yet support 64 bit file offsets by default,
Chris@0 7827 current handling of this file format treats everything as 32 bit and fails
Chris@0 7828 openning the file, if it finds anything that goes beyond 32 bit values.
Chris@0 7829
Chris@0 7830 * src/sndfile.[hc] src/common.h src/Makefile.am
Chris@0 7831 Added hooks for W64 support.
Chris@0 7832
Chris@0 7833 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7834
Chris@0 7835 * configure.in
Chris@0 7836 Added more warnings options to CFLAGS when the gcc compiler is detected.
Chris@0 7837
Chris@0 7838 * src/*.[ch] tests/*.c examples/*.c
Chris@0 7839 Started fixing the warning messages due to the new CFLASG.
Chris@0 7840
Chris@0 7841 * src/voc.c
Chris@0 7842 More work on VOC file read/writing.
Chris@0 7843
Chris@0 7844 * src/paf.c
Chris@0 7845 Found that PAF files were not checking the normalisation flag when reading
Chris@0 7846 or writing floats and doubles. Fixed it.
Chris@0 7847
Chris@0 7848 * tests/floating_point_test.c
Chris@0 7849 Added specific test for the above problem.
Chris@0 7850
Chris@0 7851 * src/float_cast.h src/pcm.c
Chris@0 7852 Added a section for Win32 to define lrint () and lrintf () in the header
Chris@0 7853 and implement it in the pcm.c
Chris@0 7854
Chris@0 7855 2001-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7856
Chris@0 7857 * sndfile-config.in m4/sndfile.m4
Chris@0 7858 These files were donated by Conrad Parker who also provided instructions
Chris@0 7859 on how to install them using autoconf/automake.
Chris@0 7860
Chris@0 7861 * src/float_cast.h
Chris@0 7862 Fiddled around with this file some more. On Linux and other gcc supported
Chris@0 7863 OSes use the C99 functions lrintf() and lrint() for casting from floating
Chris@0 7864 point to int without incurring the huge perfromance penalty (particularly
Chris@0 7865 on the i386 family) caused by the regular C cast from float to int.
Chris@0 7866 These new C99 functions replace the FLOAT_TO_* and DOUBLE_TO_* macros which
Chris@0 7867 I had been playing with.
Chris@0 7868
Chris@0 7869 * configure.in m4/lrint.m4 m4/lrintf.m4
Chris@0 7870 Add detection of these functions.
Chris@0 7871
Chris@0 7872 2001-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7873
Chris@0 7874 * src/voc.c
Chris@0 7875 Completed code for reading VOC files containing a single audio data
Chris@0 7876 segment.
Chris@0 7877 Started implementing code to handle files with multiple VOC_SOUND_DATA
Chris@0 7878 segments but couldn't be bothered finishing it. Multiple segment files can
Chris@0 7879 have different sample rates for different sections and other nasties like
Chris@0 7880 silence and repeat segments.
Chris@0 7881
Chris@0 7882 2001-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7883
Chris@0 7884 * src/common.h src/*.c
Chris@0 7885 Removed SF_PRIVATE struct field fdata and replaced it with extra_data.
Chris@0 7886
Chris@0 7887 * src/voc.c
Chris@0 7888 Further development of the read part of this woefult file format.
Chris@0 7889
Chris@0 7890 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7891
Chris@0 7892 * src/float_cast.h
Chris@0 7893 Implemented gcc and i386 floating point to int cast macros. Standard cast
Chris@0 7894 will be used when not on gcc for i385.
Chris@0 7895
Chris@0 7896 * src/pcm.c
Chris@0 7897 Modified all uses of FLOAT/DOUBLE_TO_INT and FLOAT/DOUBLE_TO_SHORT casts to
Chris@0 7898 comply with macros in float_cast.h.
Chris@0 7899
Chris@0 7900 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7901
Chris@0 7902 * src/voc.c
Chris@0 7903 Changed the TYPE_xxx enum names to VOC_TYPE_xxx to prevent name clashes
Chris@0 7904 on MacOS with CodeWarrior 6.0.
Chris@0 7905
Chris@0 7906 * MacOS/MacOS-readme.txt
Chris@0 7907 Updated the compile instructions. Probably still need work as I don't have
Chris@0 7908 access to a Mac.
Chris@0 7909
Chris@0 7910 2001-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7911
Chris@0 7912 * src/wav.c src/aiff.c common.c
Chris@0 7913 Changed all references to snprintf to LSF_SNPRINTF and all vsnprintf to
Chris@0 7914 LSF_VSNPRINTF. LSF_VSNPRINTF and LSF_VSNPRINTF are defined in common.h.
Chris@0 7915
Chris@0 7916 * src/common.h
Chris@0 7917 Added checking of HAVE_SNPRINTF and HAVE_VSNPRINTF and defining
Chris@0 7918 LSF_VSNPRINTF and LSF_VSNPRINTF to appropriate values.
Chris@0 7919
Chris@0 7920 * src/missing.c
Chris@0 7921 New file containing a minimal implementation of snprintf and vsnprintf
Chris@0 7922 functions named missing_snprintf and missing_vsnprintf respectively. These
Chris@0 7923 are only compliled into the binary if snprintf and/or vsnprintf are not
Chris@0 7924 available.
Chris@0 7925
Chris@0 7926 2001-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7927
Chris@0 7928 * src/ircam.c
Chris@0 7929 New file to handle Berkeley/IRCAM/CARL files.
Chris@0 7930
Chris@0 7931 * src/sndfile.c src/common.h
Chris@0 7932 Modified for IRCAM handling.
Chris@0 7933
Chris@0 7934 * tests/*.c
Chris@0 7935 Added tests for IRCAM files.
Chris@0 7936
Chris@0 7937 2001-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7938
Chris@0 7939 * src/wav.c
Chris@0 7940 Apparently microsoft windows (tm) doesn't like ulaw and Alaw WAV files with
Chris@0 7941 20 byte format chunks (contrary to ms's own documentation). Fixed the WAV
Chris@0 7942 header writing code to generate smaller ms compliant ulaw and Alaw WAV
Chris@0 7943 files.
Chris@0 7944
Chris@0 7945 2001-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7946
Chris@0 7947 * tests/stdio_test.sh tests/stdio_test.c
Chris@0 7948 Shell script was rewritten as a C program due to incompatibilities of the
Chris@0 7949 sh shell on Linux and Solaris.
Chris@0 7950
Chris@0 7951 2001-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7952
Chris@0 7953 * tests/stdio_test.sh tests/stdout_test.c tests/stdin_test.c
Chris@0 7954 New test programs to verify the correct operation of reading from stdin and
Chris@0 7955 writing to stdout.
Chris@0 7956
Chris@0 7957 * src/sndfile.c wav.c au.c nist.c paf.c
Chris@0 7958 Fixed a bugs uncovered by the new test programs above.
Chris@0 7959
Chris@0 7960 2001-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7961
Chris@0 7962 * src/sndfile.c wav.c
Chris@0 7963 Fixed a bug preventing reading a file from stdin. Found by T. Narita.
Chris@0 7964
Chris@0 7965 2001-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7966
Chris@0 7967 * src/common.h
Chris@0 7968 Fixed a problem on OpenBSD 2.9 which was causing sf_seek() to fail on IMA
Chris@0 7969 WAV files. Root cause was the declaration of the func_seek typedef not
Chris@0 7970 matching the functions it was actually being used to point to. In OpenBSD
Chris@0 7971 sizeof (off_t) != sizeof (int). Thanks to Heikki Korpela for allowing me
Chris@0 7972 to log into his OpenBSD machine to debug this problem.
Chris@0 7973
Chris@0 7974 2001-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 7975
Chris@0 7976 * src/sndfile.c
Chris@0 7977 Implemented sf_command ("norm float").
Chris@0 7978
Chris@0 7979 * src/*.c
Chris@0 7980 Implemented handling of sf_command ("set-norm-float"). Float normalization
Chris@0 7981 can now be turned on and off.
Chris@0 7982
Chris@0 7983 * tests/double_test.c
Chris@0 7984 Renamed to floating_point_test.c. Modified to include tests for all scaled
Chris@0 7985 reads and writes of floats and doubles.
Chris@0 7986
Chris@0 7987 * src/au_g72x.c
Chris@0 7988 Fixed bug in normalization code found with improved floating_point_test
Chris@0 7989 program.
Chris@0 7990
Chris@0 7991 * src/wav.c
Chris@0 7992 Added code for parsing 'INFO' and 'LIST' chunks. Will be used for extract
Chris@0 7993 text annotations from WAV files.
Chris@0 7994
Chris@0 7995 * src/aiff.c
Chris@0 7996 Added code for parsing '(c) ' and 'ANNO' chunks. Will be used for extract
Chris@0 7997 text annotations from WAV files.
Chris@0 7998
Chris@0 7999 2001-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8000
Chris@0 8001 * examples/sf_info.c example/Makefile.am
Chris@0 8002 Renamed to sndfile_info.c. The program sndfile_info will now be installed
Chris@0 8003 when the library is installed.
Chris@0 8004
Chris@0 8005 * src/float_cast.h
Chris@0 8006 New file defining floating point to short and int casts. These casts will
Chris@0 8007 eventually replace all flot and double casts to short and int. See comments
Chris@0 8008 at the top of the file for the reasoning.
Chris@0 8009
Chris@0 8010 * src/*.c
Chris@0 8011 Changed all default float and double casts to short or int with macros
Chris@0 8012 defined in floatcast.h. At the moment these casts do nothing. They will be
Chris@0 8013 replaced with faster float to int cast operations in the near future.
Chris@0 8014
Chris@0 8015 2001-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8016
Chris@0 8017 * tests/command_test.c
Chris@0 8018 New file for testing sf_command () functionality.
Chris@0 8019
Chris@0 8020 * src/sndfile.c
Chris@0 8021 Revisiting of error return values of some functions.
Chris@0 8022 Started implementing sf_command () a new function will allow on-the-fly
Chris@0 8023 modification of library behaviour, or instance, sample value scaling.
Chris@0 8024
Chris@0 8025 * src/common.h
Chris@0 8026 Added hook for format specific sf_command () calls to SNDFILE struct.
Chris@0 8027
Chris@0 8028 * doc/api.html
Chris@0 8029 Updated and errors corrected.
Chris@0 8030
Chris@0 8031 * doc/command.html
Chris@0 8032 New documentation file explaining new sf_command () function.
Chris@0 8033
Chris@0 8034 2001-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8035
Chris@0 8036 * src/sndfile.c
Chris@0 8037 Fixed error return values from sf_read*() and sf_write*(). There were
Chris@0 8038 numerous instances of -1 being returned through size_t. These now all set
Chris@0 8039 error int the SF_PRIVATE struct and return 0. Thanks to David Viens for
Chris@0 8040 spotting this.
Chris@0 8041
Chris@0 8042 2001-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8043
Chris@0 8044 * src/common.c
Chris@0 8045 Fixed use of va_arg() calls that were causing warning messages with the
Chris@0 8046 latest version of gcc (thanks Maurizio Umberto Puxeddu).
Chris@0 8047
Chris@0 8048 2001-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8049
Chris@0 8050 * src/*.c src/sfendian.h
Chris@0 8051 Moved definition of MAKE_MARKER macro to sfendian.h
Chris@0 8052
Chris@0 8053 2001-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8054
Chris@0 8055 * src/sndfile.c
Chris@0 8056 Modified sf_get_lib_version () so that version string will be visible using
Chris@0 8057 the Unix strings command.
Chris@0 8058
Chris@0 8059 * examples/Makefile.am examples/sfinfo.c
Chris@0 8060 Renamed sfinfo program and source code to sf_info. This prevents a name
Chris@0 8061 clash with the program included with libaudiofile.
Chris@0 8062
Chris@0 8063 2001-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8064
Chris@0 8065 * tests/read_seek_test.c tests/lossy_comp_test.c
Chris@0 8066 Added tests for sf_read_float () and sf_readf_float ().
Chris@0 8067
Chris@0 8068 * src/voc.c
Chris@0 8069 New files for handling Creative Voice files (not complete).
Chris@0 8070
Chris@0 8071 * src/samplitude.c
Chris@0 8072 New files for handling Samplitude files (not complete).
Chris@0 8073
Chris@0 8074 2001-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8075
Chris@0 8076 * src/aiff.c src/au.c src/paf.c src/svx.c src/wav.c
Chris@0 8077 Converted these files to using psf_binheader_readf() function. Will soon be
Chris@0 8078 ready to attempt to make reading writing from pipes work reliably.
Chris@0 8079
Chris@0 8080 * src/*.[ch]
Chris@0 8081 Added code for sf_read_float () and sf_readf_float () methods of accessing
Chris@0 8082 file data.
Chris@0 8083
Chris@0 8084 2001-07-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8085
Chris@0 8086 * src/paf.c src/wav_gsm610.c
Chris@0 8087 Removed two printf()s which had escaped notice for some time (thanks
Chris@0 8088 Sigbjørn Skjæret).
Chris@0 8089
Chris@0 8090 2001-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8091
Chris@0 8092 * src/wav_gsm610.c
Chris@0 8093 Fixed a bug which prevented GSM 6.10 encoded WAV files generated by
Chris@0 8094 libsndfile from being played in Windoze (thanks klay).
Chris@0 8095
Chris@0 8096 2001-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8097
Chris@0 8098 * src/common.[ch]
Chris@0 8099 Implemented psf_binheader_readf() which will do for file header reading what
Chris@0 8100 psf_binheader_writef() did for writing headers. Will eventually allow
Chris@0 8101 libsndfile to read and write from pipes, including named pipes.
Chris@0 8102
Chris@0 8103 2001-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8104
Chris@0 8105 * MacOS/config.h Win32/config.h
Chris@0 8106 Attempted to bring these two files uptodate with src/config.h. As I don't
Chris@0 8107 have access to either of these systems support for them may be completely
Chris@0 8108 broken.
Chris@0 8109
Chris@0 8110 2001-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8111
Chris@0 8112 * src/float32.c
Chris@0 8113 Fixed bug for big endian processors that can't read 32 bit IEEE floats. Now
Chris@0 8114 tested on Intel x86 and UltraSparc processors.
Chris@0 8115
Chris@0 8116 2001-06-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8117
Chris@0 8118 * src/aiff.c
Chris@0 8119 Modified to allow REX files (from Propellorhead's Recycle and Reason
Chris@0 8120 programs) to be read.
Chris@0 8121 REX files are basically an AIFF file with slightly unusual sequence of
Chris@0 8122 chunks (AIFF files are supposed to allow any sequence) and some extra
Chris@0 8123 application specific information.
Chris@0 8124 Not yet able to write a REX file as the details of the application specific
Chris@0 8125 data is unknown.
Chris@0 8126
Chris@0 8127 2001-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8128
Chris@0 8129 * src/wav.c
Chris@0 8130 Fixed endian bug when reading PEAK chunk on big endian machines.
Chris@0 8131
Chris@0 8132 * src/common.c
Chris@0 8133 Fixed endian bug when reading PEAK chunk on big endian machines with
Chris@0 8134 --enable-force-broken-float configure option.
Chris@0 8135 Fix psf_binheader_writef for (FORCE_BROKEN_FLOAT ||______)
Chris@0 8136
Chris@0 8137 2001-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8138
Chris@0 8139 * configure.in src/config.h.in
Chris@0 8140 Removed old CAN_READ_WRITE_x86_IEEE configure variable now that float
Chris@0 8141 capabilities are detected at run time.
Chris@0 8142 Added FORCE_BROKEN_FLOAT to allow testing of broken float code on machines
Chris@0 8143 where the processor can in fact handle floats correctly.
Chris@0 8144
Chris@0 8145 * src/float32.c
Chris@0 8146 Rejigged code reading and writing of floats on broken processors.
Chris@0 8147
Chris@0 8148 * m4/
Chris@0 8149 Removed this directory and all its files as they are no longer needed.
Chris@0 8150
Chris@0 8151 2001-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8152
Chris@0 8153 * tests/peak_chunk_test.c
Chris@0 8154 New test to validate reading and writing of peak chunk.
Chris@0 8155
Chris@0 8156 * examples/sfconvert
Chris@0 8157 Added -float32 option.
Chris@0 8158
Chris@0 8159 * src/*.c
Chris@0 8160 Changed all error return values to negative values (ie the negative of what
Chris@0 8161 they were).
Chris@0 8162
Chris@0 8163 * src/sndfile.c tests/error_test.c
Chris@0 8164 Modified to take account of the previous change.
Chris@0 8165
Chris@0 8166 2001-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8167
Chris@0 8168 * src/float32.c
Chris@0 8169 File renamed from wav_float.c and renamed function to something more
Chris@0 8170 general.
Chris@0 8171 Added runtime detection of floating point capabilities.
Chris@0 8172 Added recording of peaks during write for generation of PEAK chunk.
Chris@0 8173
Chris@0 8174 * src/wav.c src/aiff.c
Chris@0 8175 Added handing for PEAK chunk for floating point files. PEAK is read when the
Chris@0 8176 file headers are read and generated when the file is closed. Logic is in
Chris@0 8177 place for adding PEAK chunk to end of file when writing to a pipe (reading
Chris@0 8178 and writing from/to pipe to be implemented soon).
Chris@0 8179
Chris@0 8180 * src/sndfile.c
Chris@0 8181 Modified sf_signal_max () to use PEAK values if present.
Chris@0 8182
Chris@0 8183 2001-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8184
Chris@0 8185 * src/*.c
Chris@0 8186 Added pcm_read_init () and pcm_write_init () to src/pcm.c and removed all
Chris@0 8187 other calls to functions in this file from the filetype specific files.
Chris@0 8188
Chris@0 8189 * src/*.c
Chris@0 8190 Added alaw_read_init (), alaw_write_int (), ulaw_read_init () and
Chris@0 8191 ulaw_write_init () and removed all other calls to functions in alaw.c and
Chris@0 8192 ulaw.c from the filetype specific files.
Chris@0 8193
Chris@0 8194 * tests/write_read_test.c
Chris@0 8195 Added tests to validate sf_seek () on all file types.
Chris@0 8196
Chris@0 8197 * src/raw.c
Chris@0 8198 Implemented raw_seek () function to fix a bug where
Chris@0 8199 sf_seek (file, 0, SEEK_SET) on a RAW file failed.
Chris@0 8200
Chris@0 8201 * src/paf.c
Chris@0 8202 Fixed a bug in paf24_seek () found due to added seeks tests in
Chris@0 8203 tests/write_read_test.c
Chris@0 8204
Chris@0 8205 2001-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8206
Chris@0 8207 * tests/read_seek_test.c
Chris@0 8208 Fixed a couple of broken binary files.
Chris@0 8209
Chris@0 8210 * src/aiff.c src/wav.c
Chris@0 8211 Added handling of PEAK chunks on file read.
Chris@0 8212
Chris@0 8213 2001-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8214
Chris@0 8215 * check_libsndfile.py
Chris@0 8216 New file for the regression testing of libsndfile.
Chris@0 8217 check_libsndfile.py is a Python script which reads in a file containing
Chris@0 8218 filenames of audio files. Each file is checked by running the examples/sfinfo
Chris@0 8219 program on them and checking for error or warning messages in the libsndfile
Chris@0 8220 log buffer.
Chris@0 8221
Chris@0 8222 * check_libsndfile.list
Chris@0 8223 This is an example list of audio files for use with check_libsndfile.py
Chris@0 8224
Chris@0 8225 * tests/lossy_comp_test.c
Chris@0 8226 Changed the defined value of M_PI for math header files which don't have it.
Chris@0 8227 This fixed validation test failures on MetroWerks compilers. Thanks to Lord
Chris@0 8228 Praetor Satanus of Acheron for bringing this to my attention.
Chris@0 8229
Chris@0 8230 2001-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8231
Chris@0 8232 * src/common.[ch]
Chris@0 8233 Removed psf_header_setf () which was no longer required after refactoring
Chris@0 8234 and simplification of header writing.
Chris@0 8235 Added 'z' format specifier to psf_binheader_writef () for zero filling header
Chris@0 8236 with N bytes. Used by paf.c and nist.c
Chris@0 8237
Chris@0 8238 * tests/check_log_buffer.c
Chris@0 8239 New file implementing check_log_buffer () which reads the log buffer of a
Chris@0 8240 SNDFILE* object and searches for error and warning messages. Calls exit ()
Chris@0 8241 if any are found.
Chris@0 8242
Chris@0 8243 * tests/*.c
Chris@0 8244 Added calls to check_log_buffer () after each call to sf_open_XXX ().
Chris@0 8245
Chris@0 8246 2001-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8247
Chris@0 8248 * src/wav.c src/wav_ms_adpcm.c src/wav_gsm610.c
Chris@0 8249 Major rehack of header writing using psf_binheader_writef ().
Chris@0 8250
Chris@0 8251 2001-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8252
Chris@0 8253 * src/wav.c src/wav_ima_adpcm.c
Chris@0 8254 Major rehack of header writing using psf_binheader_writef ().
Chris@0 8255
Chris@0 8256 2001-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8257
Chris@0 8258 * src/wav.c
Chris@0 8259 Changed return type of get_encoding_str () to prevent compiler warnings on
Chris@0 8260 Mac OSX.
Chris@0 8261
Chris@0 8262 * src/aiff.c src/au.c
Chris@0 8263 Major rehack of header writing using psf_binheader_writef ().
Chris@0 8264
Chris@0 8265 2001-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8266
Chris@0 8267 * src/common.h src/common.c
Chris@0 8268 Added comments.
Chris@0 8269 Name of log buffer changed from strbuffer to logbuffer.
Chris@0 8270 Name of log buffer index variable changed from strindex to logindex.
Chris@0 8271
Chris@0 8272 * src/*.[ch]
Chris@0 8273 Changed name of internal logging function from psf_sprintf () to
Chris@0 8274 psf_log_printf ().
Chris@0 8275 Changed name of internal header generation functions from
Chris@0 8276 psf_[ab]h_printf () to psf_asciiheader_printf () and
Chris@0 8277 psf_binheader_writef ().
Chris@0 8278 Changed name of internal header manipulation function psf_hsetf () to
Chris@0 8279 psf_header_setf ().
Chris@0 8280
Chris@0 8281 2001-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8282
Chris@0 8283 * src/nist.c
Chris@0 8284 Fixed reading and writing of sample_byte_format header. "01" means little
Chris@0 8285 endian and "10" means big endian regardless of bit width.
Chris@0 8286
Chris@0 8287 * configure.in
Chris@0 8288 Detect Mac OSX and disable -Wall and -pedantic gcc options. Mac OSX is
Chris@0 8289 way screwed up and spews out buckets of warning messages from the system
Chris@0 8290 headers.
Chris@0 8291 Added --disable-gcc-opt configure option (sets gcc optimisation to -O0 ) for
Chris@0 8292 easier debugging.
Chris@0 8293 Made decision to harmonise source code version number and .so library
Chris@0 8294 version number. Future releases will stick to this rule.
Chris@0 8295
Chris@0 8296 * doc/new_file_type.HOWTO
Chris@0 8297 New file to document the addition of new file types to libsndfile.
Chris@0 8298
Chris@0 8299 2001-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8300
Chris@0 8301 * src/nist.c
Chris@0 8302 New file for reading/writing Sphere NIST audio file format.
Chris@0 8303 Originally requested by Elis Pomales in 1999.
Chris@0 8304 Retrieved from unstable (and untouched for 18 months) branch of libsndfile.
Chris@0 8305 Some vital information gleaned from the source code to Bill Schottstaedt's
Chris@0 8306 sndlib library : ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
Chris@0 8307 Currently reading and writing 16, 24 and 32 bit, big-endian and little
Chris@0 8308 endian, stereo and mono files.
Chris@0 8309
Chris@0 8310 * src/common.h src/common.c
Chris@0 8311 Added psf_ah_printf () function to help construction of ASCII headers (ie NIST).
Chris@0 8312
Chris@0 8313 * configure.in
Chris@0 8314 Added test for vsnprintf () required by psf_ah_printf ().
Chris@0 8315
Chris@0 8316 * tests/write_read_test.c
Chris@0 8317 Added tests for supported NIST files.
Chris@0 8318
Chris@0 8319 2001-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8320
Chris@0 8321 * tests/write_read_test.c
Chris@0 8322 Added tests for little endian AIFC files.
Chris@0 8323
Chris@0 8324 * src/aiff.c
Chris@0 8325 Minor re-working of aiff_open_write ().
Chris@0 8326 Added write support for little endian PCM encoded AIFC files.
Chris@0 8327
Chris@0 8328 2001-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8329
Chris@0 8330 * src/aiff.c
Chris@0 8331 Minor re-working of aiff_open_read ().
Chris@0 8332 Added read support for little endian PCM encoded AIFC files from the Mac
Chris@0 8333 OSX CD ripper program. Guillaume Lessard provided a couple of sample files
Chris@0 8334 and a working patch.
Chris@0 8335 The patch was not used as is but gave a good guide as to what to do.
Chris@0 8336
Chris@0 8337 2001-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8338
Chris@0 8339 * src/sndfile.h
Chris@0 8340 Fixed comments about endian-ness of WAV and AIFF files. Guillaume Lessard
Chris@0 8341 pointed out the error.
Chris@0 8342
Chris@0 8343 2001-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8344
Chris@0 8345 * examples/make_sine.c
Chris@0 8346 Re-write of this example using sample rate and required frequency in Hz.
Chris@0 8347
Chris@0 8348 2001-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8349
Chris@0 8350 * src/sndfile.c
Chris@0 8351 Fixed bug that prevented known file types from being read as RAW PCM data.
Chris@0 8352
Chris@0 8353 2000-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8354
Chris@0 8355 * src/aiff.c
Chris@0 8356 Added handing of COMT chunk.
Chris@0 8357
Chris@0 8358 2000-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8359
Chris@0 8360 * examples/sfconvert.c
Chris@0 8361 Fixed bug in normalisatio code. Pointed out by Johnny Wu.
Chris@0 8362
Chris@0 8363 2000-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8364
Chris@0 8365 * Win32/config.h
Chris@0 8366 Fixed the incorrect setting of HAVE_ENDIAN_H parameter. Win32 only issue.
Chris@0 8367
Chris@0 8368 2000-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8369
Chris@0 8370 * tests/Makefile.am
Chris@0 8371 Added -lm for write_read_test_LDADD.
Chris@0 8372
Chris@0 8373 2000-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8374
Chris@0 8375 * src/sndfile.c src/au.c
Chris@0 8376 Fixed bug which prevented writing of G723 24kbps AU files.
Chris@0 8377
Chris@0 8378 * tests/lossy_comp_test.c
Chris@0 8379 Corrrection to options for G723 tests.
Chris@0 8380
Chris@0 8381 * configure.in
Chris@0 8382 Added --disable-gcc-pipe option for DJGPP compiler (gcc on MS-DOS) which
Chris@0 8383 doesn't allow gcc -pipe option.
Chris@0 8384
Chris@0 8385 2000-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8386
Chris@0 8387 * src/ulaw.c src/alaw.c src/wav_imaadpcm.c src/msadpcm.c src/wav_gsm610.c
Chris@0 8388 Fixed normailsation bugs shown up by new double_test program.
Chris@0 8389
Chris@0 8390 2000-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8391
Chris@0 8392 * src/pcm.c
Chris@0 8393 Fixed bug in normalisation code (spotted by Steve Lhomme).
Chris@0 8394
Chris@0 8395 * tests/double_test.c
Chris@0 8396 New file to test scaled and unscaled sf_read_double() and sf_write_double()
Chris@0 8397 functions.
Chris@0 8398
Chris@0 8399 2000-08-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8400
Chris@0 8401 * COPYING
Chris@0 8402 Changed to the LGPL COPYING file (spotted by H. S. Teoh).
Chris@0 8403
Chris@0 8404 2000-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8405
Chris@0 8406 * src/sndfile.h
Chris@0 8407 Removed prototype of unimplemented function sf_get_info(). Added prototype
Chris@0 8408 for sf_error_number() Thanks to Sigbjørn Skjæret for spotting these.
Chris@0 8409
Chris@0 8410 2000-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8411
Chris@0 8412 * src/newpcm.h
Chris@0 8413 New file to contain a complete rewrite of the PCM data handling.
Chris@0 8414
Chris@0 8415 2000-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8416
Chris@0 8417 * src/sndfile.c
Chris@0 8418 Fixed a leak of FILE* pointers in sf_open_write(). Thanks to Sigbjørn
Chris@0 8419 Skjæret for spotting this one.
Chris@0 8420
Chris@0 8421 2000-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8422
Chris@0 8423 * src/au_g72x.c src/G72x/g72x.c
Chris@0 8424 Added G723 encoded AU file support.
Chris@0 8425
Chris@0 8426 * tests/lossy_comp_test.c
Chris@0 8427 Added tests for G721 and G723 encoded AU files.
Chris@0 8428
Chris@0 8429 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8430
Chris@0 8431 * all files
Chris@0 8432 Changed the license to LGPL. Albert Faber who had copyright on
Chris@0 8433 Win32/unistd.h gave his permission to change the license on that file. All
Chris@0 8434 other files were either copyright erikd AT mega-nerd DOT com or copyright
Chris@0 8435 under a GPL/LGPL compatible license.
Chris@0 8436
Chris@0 8437 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8438
Chris@0 8439 * tests/lossy_comp_test.c
Chris@0 8440 Fixed incorrect error message.
Chris@0 8441
Chris@0 8442 * src/au_g72x.c src/G72x/*
Chris@0 8443 G721 encoded AU files now working.
Chris@0 8444
Chris@0 8445 * Win32/README-Win32.txt
Chris@0 8446 Replaced this file with a new one which gives a full explanation
Chris@0 8447 of how to build libsndfile under Win32. Thanks to Mike Ricos.
Chris@0 8448
Chris@0 8449 2000-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8450
Chris@0 8451 * src/*.[ch]
Chris@0 8452 Removed double leading underscores from the start of all variable and
Chris@0 8453 function names. Identifiers with a leading underscores are reserved
Chris@0 8454 for use by the compiler.
Chris@0 8455
Chris@0 8456 * src/au_g72x.c src/G72x/*
Chris@0 8457 Continued work on G721 encoded AU files.
Chris@0 8458
Chris@0 8459 2000-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8460
Chris@0 8461 * src/G72x/*
Chris@0 8462 New files for reading/writing G721 and G723 ADPCM audio. These files
Chris@0 8463 are from a Sun Microsystems reference implementation released under a
Chris@0 8464 free software licence.
Chris@0 8465 Extensive changes to this code to make it fit in with libsndfile.
Chris@0 8466 See the ChangeLog in this directory for details.
Chris@0 8467
Chris@0 8468 * src/au_g72x.c
Chris@0 8469 New file for G721 encoded AU files.
Chris@0 8470
Chris@0 8471 2000-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8472
Chris@0 8473 * libsndfile.spec.in
Chris@0 8474 Added a spec file for making RPMs. Thanks to Josh Green for supplying this.
Chris@0 8475
Chris@0 8476 2000-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8477
Chris@0 8478 * src/sndfile.c src/sndfile.h
Chris@0 8479 Add checking for and handling of header-less u-law encoded AU/SND files.
Chris@0 8480 Any file with a ".au" or ".snd" file extension and without the normal
Chris@0 8481 AU file header is treated as an 8kHz, u-law encoded file.
Chris@0 8482
Chris@0 8483 * src/au.h
Chris@0 8484 New function for opening a headerless u-law encoded file for read.
Chris@0 8485
Chris@0 8486 2000-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8487
Chris@0 8488 * src/paf.c
Chris@0 8489 Add checking for files shorter than minimal PAF file header length.
Chris@0 8490
Chris@0 8491 2000-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8492
Chris@0 8493 * tests/write_read_test.c
Chris@0 8494 Added extra sf_perror() calls when sf_write_XXXX fails.
Chris@0 8495
Chris@0 8496 2000-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8497
Chris@0 8498 * src/common.c
Chris@0 8499 Modified usage of va_arg() macro to work correctly on PowerPC
Chris@0 8500 Linux. Thanks to Kyle Wheeler for giving me ssh access to his
Chris@0 8501 machine while I was trying to track this down.
Chris@0 8502
Chris@0 8503 * configure.in src/*.[ch]
Chris@0 8504 Sorted out some endian-ness issues brought up by PowerPC Linux.
Chris@0 8505
Chris@0 8506 * tests/read_seek_test.c
Chris@0 8507 Added extra debugging for when tests fail.
Chris@0 8508
Chris@0 8509 2000-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8510
Chris@0 8511 * src/wav.c
Chris@0 8512 Fixed bug in GSM 6.10 handling for big-endian machines. Thanks
Chris@0 8513 to Sigbjørn Skjæret for reporting this.
Chris@0 8514
Chris@0 8515 2000-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8516
Chris@0 8517 * src/sndfile.c src/wav.c src/wav_gsm610.c
Chris@0 8518 Finallised writing of GSM 6.10 WAV files.
Chris@0 8519
Chris@0 8520 * tests/lossy_comp_test.c
Chris@0 8521 Wrote new test code for GSM 6.10 files.
Chris@0 8522
Chris@0 8523 * examples/sfinfo.c
Chris@0 8524 Fixed incorrect format in printf() statement.
Chris@0 8525
Chris@0 8526 2000-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8527
Chris@0 8528 * src/sndfile.h.in
Chris@0 8529 Fixed comments about sf_perror () and sf_error_str ().
Chris@0 8530
Chris@0 8531 2000-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8532
Chris@0 8533 * configure.in
Chris@0 8534 Fixed --enable-justsrc option.
Chris@0 8535
Chris@0 8536 2000-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8537
Chris@0 8538 * wav.c
Chris@0 8539 Fixed checking of bytespersec field of header. Still some weirdness
Chris@0 8540 with some files.
Chris@0 8541
Chris@0 8542 2000-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8543
Chris@0 8544 * tests/lossy_comp_test.c
Chris@0 8545 Added option to test PCM WAV files (sanity check).
Chris@0 8546 Fixed bug in sf_seek() tests.
Chris@0 8547
Chris@0 8548 2000-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8549
Chris@0 8550 * src/sndfile.c src/wav.c
Chris@0 8551 Minor changes to allow writing of GSM 6.10 WAV files.
Chris@0 8552
Chris@0 8553 2000-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8554
Chris@0 8555 * configure.in Makefile.am src/Makefile.am
Chris@0 8556 Finally got around to figuring out how to build a single library from
Chris@0 8557 multiple source directories.
Chris@0 8558 Reading GSM 6.10 files now seems to work.
Chris@0 8559
Chris@0 8560 2000-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8561
Chris@0 8562 * src/wav.c
Chris@0 8563 Added more error reporting in read_fmt_chunk().
Chris@0 8564
Chris@0 8565 1999-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8566
Chris@0 8567 * examples/sfinfo.c
Chris@0 8568 Modified program to accept multiple filenames from the command line.
Chris@0 8569
Chris@0 8570 1999-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8571
Chris@0 8572 * src/wav_ima_adpcm.c
Chris@0 8573 Moved code around in preparation to adding ability to read/write IMA ADPCM
Chris@0 8574 encoded AIFF files.
Chris@0 8575
Chris@0 8576 1999-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8577
Chris@0 8578 * src/common.c
Chris@0 8579 Fixed put_int() and put_short() macros used by _psf_hprintf() which were
Chris@0 8580 causing seg. faults on Sparc Solaris.
Chris@0 8581
Chris@0 8582 1999-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8583
Chris@0 8584 * src/common.c
Chris@0 8585 Added string.h to includes. Thanks to Sigbjxrn Skjfret.
Chris@0 8586
Chris@0 8587 * src/svx.c
Chris@0 8588 Fixed __svx_close() function to ensure FORM and BODY chunks are correctly
Chris@0 8589 set.
Chris@0 8590
Chris@0 8591 1999-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8592
Chris@0 8593 * src/au.c
Chris@0 8594 Fixed handling of incorrect size field in AU header on read. Thanks to
Chris@0 8595 Christoph Lauer for finding this problem.
Chris@0 8596
Chris@0 8597 1999-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8598
Chris@0 8599 * src/aiff.c
Chris@0 8600 Fixed a bug with incorrect SSND chunk length being written. This also lead
Chris@0 8601 to finding an minor error in AIFF header parsing. Thanks to Dan Timis for
Chris@0 8602 pointing this out.
Chris@0 8603
Chris@0 8604 1999-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8605
Chris@0 8606 * src/paf.c
Chris@0 8607 Fixed a bug with reading and writing 24 bit stereo PAF files. This problem
Chris@0 8608 came to light when implementing tests for the new functions which operate
Chris@0 8609 in terms of frames rather than items.
Chris@0 8610
Chris@0 8611 1999-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8612
Chris@0 8613 * src/sndfile.c
Chris@0 8614 Modified file type detection to use first 12 bytes of file rather than
Chris@0 8615 file name extension. Required this because NIST files use the same
Chris@0 8616 filename extension as Microsoft WAV files.
Chris@0 8617
Chris@0 8618 * src/sndfile.c src/sndfile.h
Chris@0 8619 Added short, int and double read/write functions which work in frames
Chris@0 8620 rather than items. This was originally suggested by Maurizio Umberto
Chris@0 8621 Puxeddu.
Chris@0 8622
Chris@0 8623 1999-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8624
Chris@0 8625 * src/svx.c
Chris@0 8626 Finished off implementation of write using __psf_hprintf().
Chris@0 8627
Chris@0 8628 1999-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8629
Chris@0 8630 * src/common.h
Chris@0 8631 Added a buffer to SF_PRIVATE for writing the header. This is required
Chris@0 8632 to make generating headers for IFF/SVX files easier as well as making
Chris@0 8633 it easier to do re-write the headers which will be required when
Chris@0 8634 sf_rewrite_header() is implemented.
Chris@0 8635
Chris@0 8636 * src/common.c
Chris@0 8637 Implemented __psf_hprintf() function. This is an internal function
Chris@0 8638 which is documented briefly just above the code.
Chris@0 8639
Chris@0 8640 1999-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8641
Chris@0 8642 * src/sndfile.c
Chris@0 8643 Fixed a bug in sf_write_raw() where it was returning incorrect values
Chris@0 8644 (thanks to Richard Dobson for finding this one). Must put in a test
Chris@0 8645 routine for sf_read_raw and sf_write_raw.
Chris@0 8646
Chris@0 8647 * src/aiff.c
Chris@0 8648 Fixed default FORMsize in __aiff_open_write ().
Chris@0 8649
Chris@0 8650 * src/sndfile.c
Chris@0 8651 Added copy of filename to internal data structure. IFF/SVX files
Chris@0 8652 contain a NAME header chunk. Both sf_open_read() and sf_open_write()
Chris@0 8653 copy the file name (less the leading path information) to the
Chris@0 8654 filename field.
Chris@0 8655
Chris@0 8656 * src/svx.c
Chris@0 8657 Started implementing writing of files.
Chris@0 8658
Chris@0 8659 1999-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8660
Chris@0 8661 * src/svx.c
Chris@0 8662 New file for reading/writing 8SVX and 16SVX files.
Chris@0 8663
Chris@0 8664 * src/sndfile.[ch] src/common.h
Chris@0 8665 Changes for SVX files.
Chris@0 8666
Chris@0 8667 * src/aiff.c
Chris@0 8668 Fixed header parsing when unknown chunk is found.
Chris@0 8669
Chris@0 8670 1999-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8671
Chris@0 8672 * src/paf.c
Chris@0 8673 New file for reading/writing Ensoniq PARIS audio file format.
Chris@0 8674
Chris@0 8675 * src/sndfile.[ch] src/common.h
Chris@0 8676 Changes for PAF files.
Chris@0 8677
Chris@0 8678 * src/sndfile.[ch]
Chris@0 8679 Added stuff for sf_get_lib_version() function.
Chris@0 8680
Chris@0 8681
Chris@0 8682 1999-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8683
Chris@0 8684 * src/sndfile.h MacOS/config.h
Chris@0 8685 Fixed minor MacOS configuration issues.
Chris@0 8686
Chris@0 8687 1999-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8688
Chris@0 8689 * MacOS/
Chris@0 8690 Added a new directory for the MacOS config.h file and the
Chris@0 8691 readme file.
Chris@0 8692
Chris@0 8693 * src/aiff.c
Chris@0 8694 Fixed calculation of datalength when reading SSND chunk. Thanks to
Chris@0 8695 Sigbjørn Skjæret for pointing out this error.
Chris@0 8696
Chris@0 8697 1999-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8698
Chris@0 8699 * src/sndfile.c src/sndfile.h src/raw.c
Chris@0 8700 Further fixing of #includes for MacOS.
Chris@0 8701
Chris@0 8702 1999-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8703
Chris@0 8704 * src/wav.c src/aiff.c
Chris@0 8705 Added call to ferror () in main header parsing loop of __XXX_open_read
Chris@0 8706 functions. This should fix problems on platforms (MacOS, AmigaOS) where
Chris@0 8707 fseek()ing or fread()ing beyond the end of the file puts the FILE*
Chris@0 8708 stream in an error state until clearerr() is called.
Chris@0 8709
Chris@0 8710 * tests/write_read_test.c
Chris@0 8711 Added tests for RAW header-less PCM files.
Chris@0 8712
Chris@0 8713 * src/common.h
Chris@0 8714 Moved definition of struct tribyte to pcm.c which is the only place
Chris@0 8715 which needs it.
Chris@0 8716
Chris@0 8717 * src/pcm.c
Chris@0 8718 Modified all code which assumed sizeof (struct tribyte) == 3. This code
Chris@0 8719 did not work on MacOS. Thanks to Ben "Jacobs" for pointing this out.
Chris@0 8720
Chris@0 8721 * src/au.c
Chris@0 8722 Removed <sys/stat.h> from list of #includes (not being used).
Chris@0 8723
Chris@0 8724 * src/sndfile.c
Chris@0 8725 Added MacOS specific #ifdef to replace <sys/stat.h>.
Chris@0 8726
Chris@0 8727 * src/sndfile.h
Chris@0 8728 Added MacOS specific #ifdef to replace <sys/stat.h>.
Chris@0 8729
Chris@0 8730 * src/sndfile.h
Chris@0 8731 Added MacOS specific typedef for off_t.
Chris@0 8732
Chris@0 8733 * MacOS-readme.txt
Chris@0 8734 New file with instructions for building libsndfile under MacOS. Thanks
Chris@0 8735 to Ben "Jacobs" for supplying these instructions.
Chris@0 8736
Chris@0 8737 1999-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8738
Chris@0 8739 * configure.in
Chris@0 8740 Removed sndfile.h from generated file list as there were no longer
Chris@0 8741 any autoconf substitutions being made.
Chris@0 8742
Chris@0 8743 * src/raw.c
Chris@0 8744 New file for handling raw header-less PCM files. In order to open these
Chris@0 8745 for read, the user must specify format, pcmbitwidth and channels in the
Chris@0 8746 SF_INFO struct when calling sf_open_read ().
Chris@0 8747
Chris@0 8748 * src/sndfile.c
Chris@0 8749 Added support for raw header-less PCM files.
Chris@0 8750
Chris@0 8751 1999-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8752
Chris@0 8753 * examples/sfinfo.c
Chris@0 8754 Removed options so the sfinfo program always prints out all the information.
Chris@0 8755
Chris@0 8756 1999-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8757
Chris@0 8758 * src/alaw.c
Chris@0 8759 New file for A-law encoding (similar to u-law).
Chris@0 8760
Chris@0 8761 * tests/alaw_test.c
Chris@0 8762 New test program to test the A-law encode/decode lookup tables.
Chris@0 8763
Chris@0 8764 * tests/lossy_comp_test.c
Chris@0 8765 Added tests for a-law encoded WAV, AU and AULE files.
Chris@0 8766
Chris@0 8767 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8768
Chris@0 8769 * src/sndfile.c src/au.c
Chris@0 8770 Removed second "#include <unistd.h>". Thanks to Ben "Jacobs" for pointing
Chris@0 8771 this out.
Chris@0 8772
Chris@0 8773 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8774
Chris@0 8775 * tests/ulaw_test.c
Chris@0 8776 New test program to test the u-law encode/decode lookup tables.
Chris@0 8777
Chris@0 8778 1999-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8779
Chris@0 8780 * src/sndfile.h
Chris@0 8781 Made corrections to comments on the return values from sf_seek ().
Chris@0 8782
Chris@0 8783 * src/sndfile.c
Chris@0 8784 Fixed boundary condition checking bug and accounting bug in sf_read_raw ().
Chris@0 8785
Chris@0 8786 1999-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8787
Chris@0 8788 * src/au.c src/ulaw.c
Chris@0 8789 Finished implementation of u-law encoded AU files.
Chris@0 8790
Chris@0 8791 * src/wav.c
Chris@0 8792 Implemented reading and writing of u-law encoded WAV files.
Chris@0 8793
Chris@0 8794 * tests/
Chris@0 8795 Changed name of adpcm_test.c to lossy_comp_test.c. This test program
Chris@0 8796 will now be used to test Ulaw and Alaw encoding as well as APDCM.
Chris@0 8797 Added tests for Ulaw encoded WAV files.
Chris@0 8798
Chris@0 8799 1999-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8800
Chris@0 8801 * tests/adpcm_test.c
Chris@0 8802 Initialised amp variable in gen_signal() to remove compiler warning.
Chris@0 8803
Chris@0 8804 1999-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8805
Chris@0 8806 * src/aiff.c
Chris@0 8807 In __aiff_open_read () prevented fseek()ing beyond end of file which
Chris@0 8808 was causing trouble on MacOS with the MetroWerks compiler. Thanks to
Chris@0 8809 Ben "Jacobs" for pointing this out.
Chris@0 8810
Chris@0 8811 *src/wav.c
Chris@0 8812 Fixed as above in __wav_open_read ().
Chris@0 8813
Chris@0 8814 1999-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8815
Chris@0 8816 * src/wav_ms_adpcm.c
Chris@0 8817 Implemented MS ADPCM encoding. Code cleanup of decoder.
Chris@0 8818
Chris@0 8819 * tests/adpcm_test.c
Chris@0 8820 Added tests for MS ADPCM WAV files.
Chris@0 8821
Chris@0 8822 * src/wav_ima_adpcm.c
Chris@0 8823 Fixed incorrect parameter in call to srate2blocksize () from
Chris@0 8824 __ima_writer_init ().
Chris@0 8825
Chris@0 8826 1999-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8827
Chris@0 8828 * tests/read_seek_test.c
Chris@0 8829 Added test for 8 bit AIFF files.
Chris@0 8830
Chris@0 8831 1999-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8832
Chris@0 8833 * tests/write_read_test.c
Chris@0 8834 Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c
Chris@0 8835
Chris@0 8836 * configure.in
Chris@0 8837 Added -Wconversion to CFLAGS.
Chris@0 8838
Chris@0 8839 * src/*.c tests/*.c examples/*.c
Chris@0 8840 Fixed all warnings resulting from use of -Wconversion.
Chris@0 8841
Chris@0 8842 1999-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8843
Chris@0 8844 * src/wav.c
Chris@0 8845 Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
Chris@0 8846 WAV files.
Chris@0 8847
Chris@0 8848 * src/wav_ima.c
Chris@0 8849 Changed block alignment to be dependant on sample rate. This should make
Chris@0 8850 WAV files created with libsndfile compatible with the MS Windows media
Chris@0 8851 players.
Chris@0 8852
Chris@0 8853 * tests/adpcm_test.c
Chris@0 8854 Reimplemented adpcm_test_short and implemented adpcm_test_int and
Chris@0 8855 adpcm_test_double.
Chris@0 8856 Now have full testing of IMA ADPCM WAV file read, write and seek.
Chris@0 8857
Chris@0 8858 1999-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8859
Chris@0 8860 * src/wav_float.c
Chris@0 8861 Fixed function prototype for x86f2d_array () which was causing ocassional
Chris@0 8862 seg. faults on Sparc Solaris machines.
Chris@0 8863
Chris@0 8864 1999-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8865
Chris@0 8866 * src/aiff.c
Chris@0 8867 Fixed bug in __aiff_close where the length fields in the header were
Chris@0 8868 not being correctly calculated before writing.
Chris@0 8869
Chris@0 8870 * tests/write_read_test.c
Chris@0 8871 Modified to detect the above bug in WAV, AIFF and AU files.
Chris@0 8872
Chris@0 8873 1999-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8874
Chris@0 8875 * Win32/*
Chris@0 8876 Added a contribution from Albert Faber to allow libsndfile to compile
Chris@0 8877 under Win32 systems. libsndfile will now be used as part of LAME the
Chris@0 8878 the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).
Chris@0 8879
Chris@0 8880 1999-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8881
Chris@0 8882 * configure.in
Chris@0 8883 Changed to reflect previous changes.
Chris@0 8884
Chris@0 8885 * src/wav_ima_adpcm.c
Chris@0 8886 Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
Chris@0 8887
Chris@0 8888 Fixed bug when writing from int or double data to IMA ADPCM file. Will need
Chris@0 8889 to write test code for this.
Chris@0 8890
Chris@0 8891 Fixed bug in __ima_write () whereby the length of the current block was
Chris@0 8892 calculated incorrectly. Thanks to Jongcheon Park for pointing this out.
Chris@0 8893
Chris@0 8894 1999-03-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8895
Chris@0 8896 * src/*.c
Chris@0 8897 Changed all read/write/lseek function calls to fread/fwrite/
Chris@0 8898 fseek/ftell and added error checking of return values from
Chris@0 8899 fread and fwrite in critical areas of the code.
Chris@0 8900
Chris@0 8901 * src/au.c
Chris@0 8902 Fixed incorrect datasize element in AU header on write.
Chris@0 8903
Chris@0 8904 * tests/error_test.c
Chris@0 8905 Add new test to check all error values have an associated error
Chris@0 8906 string. This will avoid embarrassing real world core dumps.
Chris@0 8907
Chris@0 8908 1999-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8909
Chris@0 8910 * src/wav.c src/aiff.c
Chris@0 8911 Added handling for unknown chunk markers in the file.
Chris@0 8912
Chris@0 8913 1999-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8914
Chris@0 8915 * src/sndfile.c
Chris@0 8916 Filled in missing error strings in SndfileErrors array. Missing entries
Chris@0 8917 can cause core dumps when calling sf_error-str (). Thanks to Sam
Chris@0 8918 <mrsam at-sign geocities.com> for finding this problem.
Chris@0 8919
Chris@0 8920 1999-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8921
Chris@0 8922 * src/wav_ima_adpcm.c
Chris@0 8923 Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading
Chris@0 8924 stereo files. Caused by not adjusting offset into buffer of decoded
Chris@0 8925 samples for 2 channels. A similar bug existed in __ima_write ().
Chris@0 8926 Need a test for stereo ADPCM files.
Chris@0 8927
Chris@0 8928 * src/wav_ms_adpcm.c
Chris@0 8929 Decoder working correctly.
Chris@0 8930
Chris@0 8931 1999-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8932
Chris@0 8933 * configure.in Makefile.am
Chris@0 8934 Added --enable-justsrc configuration variable sent by Sam
Chris@0 8935 <mrsam at-sign geocities.com>.
Chris@0 8936
Chris@0 8937 * src/wav_ima_adpcm.c
Chris@0 8938 Fixed bug when reading beyond end of data section due to not
Chris@0 8939 checking pima->blockcount.
Chris@0 8940 This uncovered __ima_seek () bug due to pima->blockcount being set
Chris@0 8941 before calling __ima_init_block ().
Chris@0 8942
Chris@0 8943 1999-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8944
Chris@0 8945 * src/wav.c
Chris@0 8946 Started implementing MS ADPCM decoder.
Chris@0 8947 If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
Chris@0 8948 encoder seems to add an extra byte. Why not just give an even data
Chris@0 8949 length?
Chris@0 8950
Chris@0 8951 1999-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8952
Chris@0 8953 * src/wav.c
Chris@0 8954 Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
Chris@0 8955 This will make it easier to add and debug other kinds of WAV files
Chris@0 8956 in future.
Chris@0 8957
Chris@0 8958 1999-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8959
Chris@0 8960 * tests/
Chris@0 8961 Added adpcm_test.c which implements test functions for
Chris@0 8962 IMA ADPCM reading/writing/seeking etc.
Chris@0 8963
Chris@0 8964 * src/wav.c
Chris@0 8965 Fixed many bugs in IMA ADPCM encoder and decoder.
Chris@0 8966
Chris@0 8967 1999-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8968
Chris@0 8969 * src/wav.c
Chris@0 8970 Finished implementing IMA ADPCM encoder and decoder (what a bitch!).
Chris@0 8971
Chris@0 8972 1999-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8973
Chris@0 8974 * src/wav.c
Chris@0 8975 Started implementing IMA ADPCM decoder.
Chris@0 8976
Chris@0 8977 1999-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8978
Chris@0 8979 * src/sndfile.c
Chris@0 8980 Fixed bug where the sf_read_XXX functions were returning a
Chris@0 8981 incorrect read count when reading past end of file.
Chris@0 8982 Fixed bug in sf_seek () when seeking backwards from end of file.
Chris@0 8983
Chris@0 8984 * tests/read_seek_test.c
Chris@0 8985 Added multiple read test to short_test(), int_test () and
Chris@0 8986 double_test ().
Chris@0 8987 Added extra chunk to all test WAV files to test that reading
Chris@0 8988 stops at end of 'data' chunk.
Chris@0 8989
Chris@0 8990 1999-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8991
Chris@0 8992 * tests/write_read_test.c
Chris@0 8993 Added tests for little DEC endian AU files.
Chris@0 8994
Chris@0 8995 * src/au.c
Chris@0 8996 Add handling for DEC format little endian AU files.
Chris@0 8997
Chris@0 8998 1999-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 8999
Chris@0 9000 * src/aiff.c src/au.c src/wav.c
Chris@0 9001 Add __psf_sprintf calls during header parsing.
Chris@0 9002
Chris@0 9003 * src/sndfile.c src/common.c
Chris@0 9004 Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).
Chris@0 9005
Chris@0 9006 * tests/write_read_test.c
Chris@0 9007 Added tests for 8 bit PCM files (WAV, AIFF and AU).
Chris@0 9008
Chris@0 9009 * src/au.c src/aiff.c
Chris@0 9010 Add handling of 8 bit PCM data format.
Chris@0 9011
Chris@0 9012 * src/aiff.c
Chris@0 9013 On write, set blocksize in SSND chunk to zero like everybody else.
Chris@0 9014
Chris@0 9015 1999-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9016
Chris@0 9017 * src/pcm.c:
Chris@0 9018 Fixed bug in let2s_array (cptr was not being initialised).
Chris@0 9019
Chris@0 9020 * src/sndfile.c:
Chris@0 9021 Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
Chris@0 9022 now work when using these functions.
Chris@0 9023
Chris@0 9024 1999-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9025
Chris@0 9026 * tests/write_read_test.c:
Chris@0 9027 Force test_buffer array to be double aligned. Sparc Solaris
Chris@0 9028 requires this.
Chris@0 9029
Chris@0 9030 1999-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9031
Chris@0 9032 * src/pcm.c:
Chris@0 9033 Fixed a bug which was causing errors in the reading
Chris@0 9034 and writing of 24 bit PCM files.
Chris@0 9035
Chris@0 9036 * doc/api.html
Chris@0 9037 Finished of preliminary documentaion.
Chris@0 9038
Chris@0 9039 1999-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
Chris@0 9040
Chris@0 9041 * src/aiff.c:
Chris@0 9042 Changed reading of 'COMM' chunk to avoid reading an int
Chris@0 9043 which overlaps an int (4 byte) boundary.
Chris@0 9044