annotate src/libsndfile-1.0.25/doc/ChangeLog @ 169:223a55898ab9 tip default

Add null config files
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 02 Mar 2020 14:03:47 +0000
parents 545efbb81310
children
rev   line source
cannam@85 1 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2
cannam@85 3 * NEWS README configure.ac doc/*.html
cannam@85 4 Updates for 1.0.25.
cannam@85 5
cannam@85 6 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7
cannam@85 8 * src/sfconfig.h
cannam@85 9 Add handling for HAVE_SYS_WAIT_H.
cannam@85 10
cannam@85 11 * Makefile.am src/Makefile.am tests/Makefile.am
cannam@85 12 Add 'checkprograms' target.
cannam@85 13
cannam@85 14 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 15
cannam@85 16 * src/common.h src/sndfile.c
cannam@85 17 Purge SF_ASSERT macro. Use standard C assert instead.
cannam@85 18
cannam@85 19 * src/paf.c src/common.h src/sndfile.c
cannam@85 20 Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
cannam@85 21 byte value of 0) due to integer overflow if PAF file handler.
cannam@85 22
cannam@85 23 * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
cannam@85 24 Use calloc instead of malloc followed by memset.
cannam@85 25
cannam@85 26 * tests/utils.tpl
cannam@85 27 Clean up use of memset.
cannam@85 28
cannam@85 29 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 30
cannam@85 31 * src/ogg.c
cannam@85 32 Fix log message.
cannam@85 33
cannam@85 34 * tests/format_check_test.c
cannam@85 35 Fix compiler warnings.
cannam@85 36
cannam@85 37 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 38
cannam@85 39 * src/sndfile.c
cannam@85 40 Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
cannam@85 41
cannam@85 42 * tests/format_check_test.c
cannam@85 43 Add a test to for SF_FINFO format field validation.
cannam@85 44
cannam@85 45 * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
cannam@85 46 src/common.h src/Makefile.am
cannam@85 47 Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
cannam@85 48 and Speex codecs in an Ogg container. The later two are only enabled with
cannam@85 49 ENABLE_EXPERIMENTAL_CODE config variable.
cannam@85 50
cannam@85 51 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 52
cannam@85 53 * src/strings.c
cannam@85 54 Clean up and refactor storage of SF_STR_SOFTWARE.
cannam@85 55
cannam@85 56 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 57
cannam@85 58 * src/sndfile.h.in doc/api.html
cannam@85 59 Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
cannam@85 60 Tim van der Molen for the patch.
cannam@85 61
cannam@85 62 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 63
cannam@85 64 * programs/sndfile-interleave.c
cannam@85 65 Fix handling of argc. Thanks to Marius Hennecke.
cannam@85 66
cannam@85 67 * src/wav_w64.c
cannam@85 68 Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
cannam@85 69 providing example files.
cannam@85 70
cannam@85 71 * src/wav.c
cannam@85 72 Jump over 'FLLR' chunks.
cannam@85 73
cannam@85 74 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 75
cannam@85 76 * src/sndfile.h.in
cannam@85 77 Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
cannam@85 78
cannam@85 79 * configure.ac
cannam@85 80 Add -Wundef to CFLAGS.
cannam@85 81
cannam@85 82 * src/ogg.c
cannam@85 83 Fix -Wunder warning.
cannam@85 84
cannam@85 85 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 86
cannam@85 87 * configure.ac
cannam@85 88 Use int64_t instead of off_t when they are the same size.
cannam@85 89
cannam@85 90 * src/Makefile.am tests/Makefile.am
cannam@85 91 Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
cannam@85 92
cannam@85 93 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 94
cannam@85 95 * src/wav.c
cannam@85 96 Don't allow unknown and/or un-editable chunks to prevent the file from being
cannam@85 97 opened in SFM_RDWR mode.
cannam@85 98
cannam@85 99 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 100
cannam@85 101 * tests/format_check_test.c
cannam@85 102 Fix segfault in test program.
cannam@85 103
cannam@85 104 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 105
cannam@85 106 * tests/format_check_test.c
cannam@85 107 New test program to check to make sure that sf_open() and sf_check_format()
cannam@85 108 agree as to what is a valid program.
cannam@85 109
cannam@85 110 * tests/Makefile.am tests/test_wrapper.sh.in
cannam@85 111 Hook into build and test runner.
cannam@85 112
cannam@85 113 * src/sndfile.c
cannam@85 114 Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
cannam@85 115 notification.
cannam@85 116
cannam@85 117 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 118
cannam@85 119 * src/caf.c
cannam@85 120 Add validation to size of 'data' chunk and fix size of written 'data'
cannam@85 121 chunk. Thanks to Michael Pruett for reporting this.
cannam@85 122
cannam@85 123 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 124
cannam@85 125 * src/* tests/* programs/*
cannam@85 126 Fix a bunch of compiler warnings with gcc-4.6.
cannam@85 127
cannam@85 128 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 129
cannam@85 130 * tests/util.tpl
cannam@85 131 Add NOT macro to util.h.
cannam@85 132
cannam@85 133 * src/strings.c
cannam@85 134 Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
cannam@85 135 strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
cannam@85 136 this problem.
cannam@85 137
cannam@85 138 * tests/string_test.c
cannam@85 139 Add test for SF_STR_SOFTWARE segfault bug.
cannam@85 140
cannam@85 141 * configure.ac
cannam@85 142 Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
cannam@85 143 '-I${includedir}/FLAC'. However FLAC also provides an include file
cannam@85 144 <assert.h> which clashes with the Standard C header of the same name. The
cannam@85 145 solution is strip the 'FLAC' part off the end and include all FLAC headers
cannam@85 146 as <FLAC/header.h>.
cannam@85 147
cannam@85 148 * configure.ac src/Makefile.am
cannam@85 149 Use non-recursive make in src/ directory.
cannam@85 150
cannam@85 151 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 152
cannam@85 153 * NEWS README docs/*.html
cannam@85 154 Updates for 1.0.24 release.
cannam@85 155
cannam@85 156 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 157
cannam@85 158 * configure.ac
cannam@85 159 Fix up usage of sed (should not assume GNU sed).
cannam@85 160
cannam@85 161 * M4/add_(c|cxx)flags.m4
cannam@85 162 Test flags in isolation.
cannam@85 163
cannam@85 164 * tests/cpp_test.cc
cannam@85 165 Fix a broken test (test segfaults). Report by Dave Flogeras.
cannam@85 166
cannam@85 167 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 168
cannam@85 169 * programs/common.[ch]
cannam@85 170 Add function program_name() which returns the program name minus the path
cannam@85 171 from argv [0].
cannam@85 172
cannam@85 173 * programs/*.c programs/Makefile.am
cannam@85 174 Use program_name() where appropriate. Fix build.
cannam@85 175
cannam@85 176 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 177
cannam@85 178 * src/wav.c
cannam@85 179 For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
cannam@85 180 byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
cannam@85 181 version accept 18 byte but not 16 byte.
cannam@85 182
cannam@85 183 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 184
cannam@85 185 * doc/FAQ.html
cannam@85 186 Add examples for question 12.
cannam@85 187
cannam@85 188 * doc/libsndfile.css.in
cannam@85 189 Add tweaks for h4 element.
cannam@85 190
cannam@85 191 * doc/api.html
cannam@85 192 Add documentation for virtual I/O functionality. Thanks to Uli Franke.
cannam@85 193
cannam@85 194 * tests/util.tpl
cannam@85 195 Add static inline functions sf_info_clear() and sf_info_setup().
cannam@85 196
cannam@85 197 * tests/(alaw|dwvw|ulaw)_test.c
cannam@85 198 Use functions sf_info_clear() and sf_info_setup().
cannam@85 199
cannam@85 200 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 201
cannam@85 202 * configure.ac
cannam@85 203 Fail more gracefully if pkg-config is missing. Suggestion from Brian
cannam@85 204 Willoughby.
cannam@85 205
cannam@85 206 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 207
cannam@85 208 * src/common.c
cannam@85 209 Use size_t instead of int for size params with varargs.
cannam@85 210
cannam@85 211 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 212
cannam@85 213 * doc/index.html
cannam@85 214 Update supported platforms with more Debian platforms and Android.
cannam@85 215
cannam@85 216 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 217
cannam@85 218 * src/sndfile.hh
cannam@85 219 Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
cannam@85 220 class definition. Thanks to Eric Eizenman for pointing out this was missing.
cannam@85 221
cannam@85 222 * tests/cpp_test.cc
cannam@85 223 Add test for LPCWSTR version of the SndfileHandle constructor.
cannam@85 224
cannam@85 225 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 226
cannam@85 227 * programs/sndfile-play.c
cannam@85 228 Remove cruft.
cannam@85 229
cannam@85 230 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 231
cannam@85 232 * src/sndfile.hh
cannam@85 233 Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
cannam@85 234 the patch.
cannam@85 235
cannam@85 236 * tests/cpp_test.cc
cannam@85 237 Add tests for above two methods. Also supplied by Tim Blechmann.
cannam@85 238
cannam@85 239 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 240
cannam@85 241 * doc/api.html
cannam@85 242 Add mention of use of sf_strerror() when sf_open() fails.
cannam@85 243
cannam@85 244 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 245
cannam@85 246 * configure.ac
cannam@85 247 Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
cannam@85 248 people are compiling on a 64 bit system with the GCC -m32 flag.
cannam@85 249
cannam@85 250 * src/sndfile.h.in
cannam@85 251 Fix comments on sf_count_t.
cannam@85 252
cannam@85 253 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 254
cannam@85 255 * src/aiff.c
cannam@85 256 Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
cannam@85 257
cannam@85 258 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 259
cannam@85 260 * configure.ac
cannam@85 261 Sed fix for FreeBSD. Thanks Tony Theodore.
cannam@85 262
cannam@85 263 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 264
cannam@85 265 * shave.in M4/shave.m4
cannam@85 266 Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
cannam@85 267 shave author).
cannam@85 268
cannam@85 269 * configure.ac M4/shave.m4 shave-libtool.in shave.in
cannam@85 270 Switch from shave to automake-1.11's AM_SILENT_RULES.
cannam@85 271
cannam@85 272 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 273
cannam@85 274 * shave-libtool.in shave.in
cannam@85 275 Sync to upstream version.
cannam@85 276
cannam@85 277 * src/rf64.c
cannam@85 278 More work to make the parser more robust and accepting of mal-formed files.
cannam@85 279
cannam@85 280 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 281
cannam@85 282 * src/common.h
cannam@85 283 Add functions psf_strlcpy() and psf_strlcat().
cannam@85 284
cannam@85 285 * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
cannam@85 286 src/test_main.h src/test_strncpy_crlf.c
cannam@85 287 Use functions psf_strlcpy() and psf_strlcat() as appropriate.
cannam@85 288
cannam@85 289 * tests/string_test.c
cannam@85 290 Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
cannam@85 291
cannam@85 292 * src/rf64.c
cannam@85 293 Fix size of 'ds64' chunk when writing RF64.
cannam@85 294
cannam@85 295 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 296
cannam@85 297 * programs/*.c
cannam@85 298 Add the libsndfile version to the usage message of all programs.
cannam@85 299
cannam@85 300 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 301
cannam@85 302 * configure.ac src/version-metadata.rc.in src/Makefile.am
cannam@85 303 Add version string resources to the windows DLL.
cannam@85 304
cannam@85 305 * doc/api.html
cannam@85 306 Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
cannam@85 307
cannam@85 308 * NEWS README configure.ac doc/*.html
cannam@85 309 Updates for 1.0.23 release.
cannam@85 310
cannam@85 311 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 312
cannam@85 313 * tests/pedantic-header-test.sh.in
cannam@85 314 Handle unusual values of CC environment variable.
cannam@85 315
cannam@85 316 * src/rf64.c
cannam@85 317 Minor tweaks and additional sanity checking.
cannam@85 318
cannam@85 319 * src/Makefile.am src/binheader_writef_check.py
cannam@85 320 Use python 2.6.
cannam@85 321
cannam@85 322 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 323
cannam@85 324 * src/sndfile.hh
cannam@85 325 Add a missing 'inline' before a constructor defintion.
cannam@85 326
cannam@85 327 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 328
cannam@85 329 * src/common.h
cannam@85 330 Add macro NOT.
cannam@85 331
cannam@85 332 * src/rf64.c
cannam@85 333 Minor tweaks.
cannam@85 334
cannam@85 335 * Makefile.am */Makefile.am
cannam@85 336 Add *~ to CLEANFILES.
cannam@85 337
cannam@85 338 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 339
cannam@85 340 * src/sndfile.c
cannam@85 341 Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
cannam@85 342 Van Winkle for the report.
cannam@85 343
cannam@85 344 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 345
cannam@85 346 * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
cannam@85 347 Add ability to read/write tracknumber and genre to flac/ogg/wav files.
cannam@85 348 Thanks to Matti Nykyri for the patch.
cannam@85 349
cannam@85 350 * src/common.h src/broadcast.c src/strings.c
cannam@85 351 Add function psf_safe_strncpy() and use where appropriate.
cannam@85 352
cannam@85 353 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 354
cannam@85 355 * NEWS README configure.ac doc/*.html
cannam@85 356 Updates for 1.0.22 release.
cannam@85 357
cannam@85 358 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 359
cannam@85 360 * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
cannam@85 361 Rewrite of SF_BROADCAST_INFO handling.
cannam@85 362
cannam@85 363 * src/test_broadcast_var.c tests/command_test.c
cannam@85 364 Tweak SF_BROADCAST_INFO tests.
cannam@85 365
cannam@85 366 * src/test_broadcast_var.c
cannam@85 367 Fix OSX stack check error.
cannam@85 368
cannam@85 369 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 370
cannam@85 371 * src/sds.c
cannam@85 372 Set sustain_loop_end to 0 as suggested by Brian Lewis.
cannam@85 373
cannam@85 374 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 375
cannam@85 376 * src/sds.c
cannam@85 377 Make sure the correct frame count gets written into the header.
cannam@85 378
cannam@85 379 * tests/write_read_test.tpl
cannam@85 380 Don't allow SDS files to have a long frame count.
cannam@85 381
cannam@85 382 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 383
cannam@85 384 * src/sds.c
cannam@85 385 Apply a pair of patches from Brian Lewis to fix the packet number location
cannam@85 386 and the checksum.
cannam@85 387
cannam@85 388 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 389
cannam@85 390 * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
cannam@85 391 src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
cannam@85 392 src/wav.c tests/pcm_test.tpl
cannam@85 393 Fix a bunch of minor issues found using static analysis.
cannam@85 394
cannam@85 395 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 396
cannam@85 397 * src/test_broadcast_var.c
cannam@85 398 New file containing tests for broadcast_set_var().
cannam@85 399
cannam@85 400 * src/Makefile.am src/test_main.[ch]
cannam@85 401 Hook test_broadcast_var.c into tests.
cannam@85 402
cannam@85 403 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 404
cannam@85 405 * src/broadcast.c src/common.(c|h)
cannam@85 406 Move function strncpy_crlf() to src/common.c so the function can be tested
cannam@85 407 in isolation.
cannam@85 408
cannam@85 409 * src/test_strncpy_crlf.c
cannam@85 410 New file.
cannam@85 411
cannam@85 412 * src/Makefile.am src/test_main.[ch]
cannam@85 413 Hook test_strncpy_crlf.c into tests.
cannam@85 414
cannam@85 415 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 416
cannam@85 417 * src/common.h
cannam@85 418 Move code around to make comments make sense.
cannam@85 419
cannam@85 420 * src/broadcast.c
cannam@85 421 Add debugging code that is disabled by default.
cannam@85 422
cannam@85 423 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 424
cannam@85 425 * src/flac.c
cannam@85 426 When the file meta data says the file has zero frames set psf->sf.frames
cannam@85 427 to SF_COUNT_MAX. Fixes Debian bug #590752.
cannam@85 428
cannam@85 429 * programs/sndfile-info.c
cannam@85 430 Print 'unknown' if frame count == SF_COUNT_MAX.
cannam@85 431
cannam@85 432 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 433
cannam@85 434 * src/sndfile.c
cannam@85 435 Only support writing mono SVX files. Multichannel SVX files are not
cannam@85 436 interleaved and there is no support infrastructure to cache and write
cannam@85 437 multiple channels to create a non-interleaved file.
cannam@85 438
cannam@85 439 * src/file_io.c
cannam@85 440 Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
cannam@85 441 for the bug report.
cannam@85 442
cannam@85 443 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 444
cannam@85 445 * src/common.h
cannam@85 446 Add macro SF_ASSERT.
cannam@85 447
cannam@85 448 * src/sndfile.c
cannam@85 449 Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
cannam@85 450
cannam@85 451 * src/svx.c
cannam@85 452 Add support for reading and writing stereo SVX files.
cannam@85 453
cannam@85 454 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 455
cannam@85 456 * configure.ac
cannam@85 457 When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
cannam@85 458
cannam@85 459 * programs/common.c programs/sndfile-metadata-set.c
cannam@85 460 Update metadata after the audio data is copied. Other minor fixes. Patch
cannam@85 461 from Marius Hennecke.
cannam@85 462
cannam@85 463 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 464
cannam@85 465 * src/nist.c
cannam@85 466 Fix a regression reported by Hugh Secker-Walker.
cannam@85 467
cannam@85 468 * src/api.html
cannam@85 469 Add comment about sf_open_fd() not working on Windows if the application
cannam@85 470 and the libsndfile DLL are linked to different versions of the Microsoft
cannam@85 471 C runtime DLL.
cannam@85 472
cannam@85 473 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 474
cannam@85 475 * tests/pedantic-header-test.sh.in
cannam@85 476 Fix 'make distcheck'.
cannam@85 477
cannam@85 478 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 479
cannam@85 480 * tests/pedantic-header-test.sh.in
cannam@85 481 New file to test whether sndfile.h can be compiled with gcc's -pedantic
cannam@85 482 flag.
cannam@85 483
cannam@85 484 * configure.ac tests/test_wrapper.sh.in
cannam@85 485 Hook pedantic-header-test into test suite.
cannam@85 486
cannam@85 487 * src/sndfile.h.in
cannam@85 488 Fix -pedantic warning.
cannam@85 489
cannam@85 490 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 491
cannam@85 492 * programs/sndfile-salvage.c programs/Makefile.am
cannam@85 493 New program to salvage the audio data from WAV/WAVEX/AIFF files which are
cannam@85 494 greater than 4Gig in size.
cannam@85 495
cannam@85 496 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 497
cannam@85 498 * programs/sndfile-convert.c
cannam@85 499 Fix valgrind warning.
cannam@85 500
cannam@85 501 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 502
cannam@85 503 * programs/sndfile-cmp.c
cannam@85 504 When files differ in the PCM data, also print the difference offset.
cannam@85 505 Minor cleanup.
cannam@85 506
cannam@85 507 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 508
cannam@85 509 * src/aiff.c
cannam@85 510 Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
cannam@85 511 instead. Thanks to Paul Davis (Ardour) for this suggestion.
cannam@85 512
cannam@85 513 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 514
cannam@85 515 * configure.ac
cannam@85 516 Clean up configure report.
cannam@85 517
cannam@85 518 * tests/utils.tpl
cannam@85 519 Add functions test_read_raw_or_die and test_write_raw_or_die.
cannam@85 520
cannam@85 521 * tests/rdwr_test.(def|tpl) tests/Makefile.am
cannam@85 522 Add new test program and hook into build.
cannam@85 523
cannam@85 524 * src/sndfile.c
cannam@85 525 Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
cannam@85 526
cannam@85 527 * tests/test_wrapper.sh.in
cannam@85 528 Add rdwr_test to the test wrapper script.
cannam@85 529
cannam@85 530 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 531
cannam@85 532 * configure.ac
cannam@85 533 Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
cannam@85 534
cannam@85 535 * programs/common.[ch] programs/sndfile-metadata-set.c
cannam@85 536 Apply a patch from Robin Gareus allowing the setting of the time reference
cannam@85 537 field of the BEXT chunk.
cannam@85 538
cannam@85 539 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 540
cannam@85 541 * src/ima_adpcm.c
cannam@85 542 Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
cannam@85 543 IMA4.
cannam@85 544
cannam@85 545 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 546
cannam@85 547 * src/sndfile.hh
cannam@85 548 Add a constructor which takes an existing file descriptor and then calls
cannam@85 549 sf_open_fd(). Patch from Sakari Bergen.
cannam@85 550
cannam@85 551 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 552
cannam@85 553 * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
cannam@85 554 Improve usage messages.
cannam@85 555
cannam@85 556 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 557
cannam@85 558 * src/id3.c src/Makefile.am
cannam@85 559 Add new file src/id3.c and hook into build.
cannam@85 560
cannam@85 561 * src/sndfile.c src/common.h
cannam@85 562 Detect and skip and ID3 header at the start of the file.
cannam@85 563
cannam@85 564 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 565
cannam@85 566 * programs/common.c
cannam@85 567 Fix update_strings() copyright, comment, album and license are correctly
cannam@85 568 written. Thanks to Todd Allen for reporting this.
cannam@85 569
cannam@85 570 * man/Makefile.am
cannam@85 571 Change GNU makeism to something more widely supported. Thanks to Christian
cannam@85 572 Weisgerber for reporting this.
cannam@85 573
cannam@85 574 * configure.ac programs/Makefile.am programs/sndfile-play.c
cannam@85 575 Apply patch from Christian Weisgerber and Jacob Meuserto add support for
cannam@85 576 OpenBSD's sndio.
cannam@85 577
cannam@85 578 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 579
cannam@85 580 * doc/api.html
cannam@85 581 Discourage the use of sf_read/write_raw().
cannam@85 582
cannam@85 583 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 584
cannam@85 585 * configure.ac
cannam@85 586 Test for Unix pipe() and waitpid() functions.
cannam@85 587
cannam@85 588 * src/sfconfig.h tests/pipe_test.tpl
cannam@85 589 Disable pipe_test if pipe() and waitpid() aren't available.
cannam@85 590
cannam@85 591 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 592
cannam@85 593 * configure.ac src/Makefile.am src/create_symbols_file.py
cannam@85 594 src/make-static-lib-hidden-privates.sh
cannam@85 595 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
cannam@85 596 and use the same symbols file for other systems which use GNU binutils like
cannam@85 597 Debian's kfreebsd.
cannam@85 598
cannam@85 599 * M4/shave.m4 shave.in
cannam@85 600 Update shave files from upstream.
cannam@85 601
cannam@85 602 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 603
cannam@85 604 * man/sndfile-metadata-get.1
cannam@85 605 Fix typo.
cannam@85 606
cannam@85 607 * man/sndfile-interleave.1 man/Makefile.am
cannam@85 608 New man page.
cannam@85 609
cannam@85 610 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 611
cannam@85 612 * src/ogg.c
cannam@85 613 When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
cannam@85 614 its too hot. Thanks to Dmitry Baikov for suggesting this.
cannam@85 615
cannam@85 616 * NEWS README doc/*.html
cannam@85 617 Updates for 1.0.21.
cannam@85 618
cannam@85 619 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 620
cannam@85 621 * programs/sndfile-jackplay.c man/sndfile-jackplay.1
cannam@85 622 Remove these which will now be in found in the sndfile-tools package.
cannam@85 623
cannam@85 624 * programs/Makefile.am man/Makefile.am
cannam@85 625 Remove build rules for sndfile-jackplay.
cannam@85 626
cannam@85 627 * configure.ac
cannam@85 628 Remove detection of JACK Audio Connect Kit.
cannam@85 629
cannam@85 630 * programs/sndfile-concat.c man/sndfile-concat.1
cannam@85 631 Add new program with man page.
cannam@85 632
cannam@85 633 * man/Makefile.am programs/Makefile.am
cannam@85 634 Hook sndfile-concat into build system.
cannam@85 635
cannam@85 636 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 637
cannam@85 638 * tests/error_test.c
cannam@85 639 Don't terminate when sf_close() returns zero in error_close_test().
cannam@85 640 It seems that Windows 7 behaves differently from earlier versions of
cannam@85 641 Windows.
cannam@85 642
cannam@85 643 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 644
cannam@85 645 * configure.ac M4/*.m4
cannam@85 646 Rename all custom macros from AC_* to MN_*.
cannam@85 647
cannam@85 648 * programs/sndfile-interleave.c
cannam@85 649 Make it actually work.
cannam@85 650
cannam@85 651 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 652
cannam@85 653 * doc/*.html configure.ac
cannam@85 654 Corrections and clarifications courtesy of Robin Forder.
cannam@85 655
cannam@85 656 * programs/sndfile-convert.c programs/common.[ch]
cannam@85 657 Move some code from convert to common for reuse.
cannam@85 658
cannam@85 659 * programs/sndfile-interleave.c programs/sndfile-interleave.c
cannam@85 660 Add new programs sndfile-interleave and sndfile-deinterleave.
cannam@85 661
cannam@85 662 * programs/Makefile.am
cannam@85 663 Hook new programs into build.
cannam@85 664
cannam@85 665 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 666
cannam@85 667 * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
cannam@85 668 Minor OS/2 tweaks as suggested by David Yeo.
cannam@85 669
cannam@85 670 * tests/multi_file_test.c
cannam@85 671 Fix file creation flags on windows. Thanks to Bruce Sharpe.
cannam@85 672
cannam@85 673 * src/sf_unistd.h
cannam@85 674 Set all group and other file create permssions to zero.
cannam@85 675
cannam@85 676 * tests/win32_test.c
cannam@85 677 Add a new test.
cannam@85 678
cannam@85 679 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 680
cannam@85 681 * doc/print.css doc/*.html
cannam@85 682 Add a print stylesheet and update all HTML documents to reference it.
cannam@85 683 Thanks to Aditya Bhargava for suggesting this.
cannam@85 684
cannam@85 685 * doc/index.html
cannam@85 686 Minor corrections.
cannam@85 687
cannam@85 688 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 689
cannam@85 690 * sndfile.pc.in
cannam@85 691 Add a Libs.private entry to assist with static linking.
cannam@85 692
cannam@85 693 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 694
cannam@85 695 * src/make-static-lib-hidden-privates.sh src/Makefile.am
cannam@85 696 Add a script to hide all non-public symbols in the libsndfile.a static
cannam@85 697 library.
cannam@85 698
cannam@85 699 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 700
cannam@85 701 * tests/locale_test.c
cannam@85 702 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
cannam@85 703
cannam@85 704 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 705
cannam@85 706 * src/windows.c
cannam@85 707 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
cannam@85 708
cannam@85 709 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 710
cannam@85 711 * programs/sndfile-convert.c
cannam@85 712 Allow the program to read from stdin by specifying '-' on the command line
cannam@85 713 as the input file.
cannam@85 714
cannam@85 715 * src/sndfile.h.in
cannam@85 716 Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
cannam@85 717
cannam@85 718 * tests/virtual_io_test.c
cannam@85 719 Add a PAF/PCM_24 test and verify the file length is not negative
cannam@85 720 immediately after openning the file for write.
cannam@85 721
cannam@85 722 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 723
cannam@85 724 * src/wav.c
cannam@85 725 When writing loop lengths, adjust the end position by one to make up for
cannam@85 726 Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
cannam@85 727
cannam@85 728 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 729
cannam@85 730 * src/flac.c
cannam@85 731 Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
cannam@85 732 rate.
cannam@85 733
cannam@85 734 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 735
cannam@85 736 * src/nist.c
cannam@85 737 Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
cannam@85 738
cannam@85 739 * configure.ac
cannam@85 740 Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
cannam@85 741 libsndfile test suite to fail on MIPS, PowerPC and others.
cannam@85 742 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
cannam@85 743
cannam@85 744 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 745
cannam@85 746 * man/sndfile-convert.1
cannam@85 747 Fix warning from Debian's lintian checks.
cannam@85 748
cannam@85 749 * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
cannam@85 750 man/Makefile.am
cannam@85 751 Add three new minimal manpages and hook into build.
cannam@85 752
cannam@85 753 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 754
cannam@85 755 * tests/test_wrapper.sh.in
cannam@85 756 Don't run cpp_test on x86_64-w64-mingw32.
cannam@85 757
cannam@85 758 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 759
cannam@85 760 * tests/utils.tpl
cannam@85 761 On windows, make sure the open() function doesn't get called with a third
cannam@85 762 parameter of 0 which fails for no good reason. Also make sure this third
cannam@85 763 parameter doesn't get called with S_IRGRP when compiling for windows because
cannam@85 764 Wine complains.
cannam@85 765
cannam@85 766 * src/sndfile.hh
cannam@85 767 Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
cannam@85 768 string.
cannam@85 769
cannam@85 770 * doc/FAQ.html
cannam@85 771 Add Q/A : I'm cross compiling libsndfile for another platform. How can I
cannam@85 772 run the test suite?
cannam@85 773
cannam@85 774 * src/create_symbols_file.py src/Makefile.am
cannam@85 775 Add Symbols.static target, a list of symbols, one per line.
cannam@85 776
cannam@85 777 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 778
cannam@85 779 * tests/test_wrapper.sh.in
cannam@85 780 Update to allow all tests to be gathered up into a testsuite tarball and
cannam@85 781 then be run using this script.
cannam@85 782
cannam@85 783 * build-test-tarball.mk.in
cannam@85 784 Add a Make script to build a tarball of all the test binaries and the test
cannam@85 785 wrapper script. This is useful for cross compiling; you can build the
cannam@85 786 binaries, build test test tarball and transfer the test tarball to the
cannam@85 787 target machine for testing.
cannam@85 788
cannam@85 789 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 790
cannam@85 791 * src/common.h src/*.c
cannam@85 792 Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
cannam@85 793 for the file path, directory and name. Fixes for this change throughout.
cannam@85 794
cannam@85 795 * src/windows.c src/Makefile.am
cannam@85 796 New file defining new windows only public function sf_wchar_open() which
cannam@85 797 takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
cannam@85 798
cannam@85 799 * src/sndfile.h.in
cannam@85 800 Add SF_CHANNEL_MAP_ABISONIC_* entries.
cannam@85 801 Add windows only defintion for sf_wchar_open().
cannam@85 802
cannam@85 803 * src/create_symbols_file.py
cannam@85 804 Add sf_wchar_open() to the list of public symbols (windows only).
cannam@85 805
cannam@85 806 * tests/locale_test.c
cannam@85 807 Add a wchar_test() to test sf_wchar_open().
cannam@85 808
cannam@85 809 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 810
cannam@85 811 * src/common.h src/*.c
cannam@85 812 Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
cannam@85 813
cannam@85 814 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 815
cannam@85 816 * src/aiff.c src/voc.c
cannam@85 817 When a byte is needed, use unsigned char.
cannam@85 818
cannam@85 819 * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
cannam@85 820 Include sfconfig.h to prevent compile errors with MinGW compilers.
cannam@85 821
cannam@85 822 * configure.ac
cannam@85 823 Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
cannam@85 824
cannam@85 825 * tests/locale_test.c
cannam@85 826 Update to work with xx_XX.UTF-8 style locales. Refactoring.
cannam@85 827
cannam@85 828 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 829
cannam@85 830 * configure.ac
cannam@85 831 Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
cannam@85 832 Remove unneeded AC_SUBST.
cannam@85 833 Report Host CPU/OS/vendor.
cannam@85 834
cannam@85 835 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 836
cannam@85 837 * src/sndfile.c
cannam@85 838 Fix error message string.
cannam@85 839
cannam@85 840 * src/flac.c
cannam@85 841 Add 88200 to the list of supported sample rates.
cannam@85 842
cannam@85 843 * src/ogg.c
cannam@85 844 Fix compiler warning when using gcc-4.5.0.
cannam@85 845
cannam@85 846 * programs/sndfile-info.c tests/utils.tpl
cannam@85 847 Remove WIN32 snprintf #define.
cannam@85 848
cannam@85 849 * src/ima_adpcm.c
cannam@85 850 Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
cannam@85 851 this.
cannam@85 852
cannam@85 853 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 854
cannam@85 855 * src/caf.c
cannam@85 856 Use the correct C99 format specifier for int64_t.
cannam@85 857
cannam@85 858 * M4/endian.m4
cannam@85 859 Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
cannam@85 860 Ossman for the bug report.
cannam@85 861
cannam@85 862 * src/caf.c src/sndfile.c
cannam@85 863 Fix reading and writing of PEAK chunks in CAF files.
cannam@85 864
cannam@85 865 * tests/peak_chunk_test.c tests/test_wrapper.sh.in
cannam@85 866 Run peak_chunk_test on CAF files.
cannam@85 867
cannam@85 868 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 869
cannam@85 870 * src/aiff.c src/wav.c
cannam@85 871 Use the correct C99 format specifier for int64_t.
cannam@85 872
cannam@85 873 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 874
cannam@85 875 * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
cannam@85 876 Apply a patch (massaged slightly) from Uli Franke adding handling of the
cannam@85 877 BEXT chunk in RF64 files.
cannam@85 878
cannam@85 879 * tests/command_test.c
cannam@85 880 Update channel_map_test() function so WAV test passes.
cannam@85 881
cannam@85 882 * src/rf64.c
cannam@85 883 Add channel mapping and ambisonic support.
cannam@85 884
cannam@85 885 * src/sndfile.h
cannam@85 886 Add comments showing correspondance between libsndfile channel map
cannam@85 887 defintiions and those used by Apple and MS.
cannam@85 888
cannam@85 889 Add handling of reading/writing channel map info.
cannam@85 890
cannam@85 891 * tests/command_test.c tests/test_wrapper.sh.in
cannam@85 892 Update channel map tests.
cannam@85 893
cannam@85 894 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 895
cannam@85 896 * src/common.h
cannam@85 897 Add function psf_isprint() a replacement for the standard C isprint()
cannam@85 898 function which ignores any locale settings and treats all input as ASCII.
cannam@85 899
cannam@85 900 * src/(aiff|common|rf64|sd2|strings|svx|wav).c
cannam@85 901 Use psf_isprint() instead of isprint().
cannam@85 902
cannam@85 903 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 904
cannam@85 905 * src/command.c
cannam@85 906 Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
cannam@85 907
cannam@85 908 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 909
cannam@85 910 * programs/sndfile-play.c
cannam@85 911 Allow use of Open Sound System audio output under FreeBSD.
cannam@85 912
cannam@85 913 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 914
cannam@85 915 * configure.ac
cannam@85 916 Add patch from Conrad Parker to add --disable-jack.
cannam@85 917
cannam@85 918 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 919
cannam@85 920 * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
cannam@85 921 Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
cannam@85 922 Thanks to Sami Liedes for reporting this a Debian bug #530831.
cannam@85 923
cannam@85 924 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 925
cannam@85 926 * src/chanmap.[ch]
cannam@85 927 New files for channel map decoding/encoding.
cannam@85 928
cannam@85 929 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 930
cannam@85 931 * configure.ac src/sndfile.h.in
cannam@85 932 Fix MSVC definition of sf_count_t.
cannam@85 933
cannam@85 934 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 935
cannam@85 936 * src/wav_w64.[ch]
cannam@85 937 Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
cannam@85 938 an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
cannam@85 939
cannam@85 940 * src/wav.c
cannam@85 941 Add ability to write the channel mask.
cannam@85 942
cannam@85 943 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 944
cannam@85 945 * programs/sndfile-info.c
cannam@85 946 Add -c command line option to dump the channel map information.
cannam@85 947
cannam@85 948 * src/wav_w64.c
cannam@85 949 Don't bail from parser if channel map bitmask is faulty.
cannam@85 950
cannam@85 951 * src/common.h src/sndfile.c
cannam@85 952 Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
cannam@85 953
cannam@85 954 * src/sndfile.c
cannam@85 955 On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
cannam@85 956 command handler.
cannam@85 957
cannam@85 958 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 959
cannam@85 960 * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
cannam@85 961 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
cannam@85 962 channel data in WAV and W64 files.
cannam@85 963 Add a test for the above.
cannam@85 964
cannam@85 965 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 966
cannam@85 967 * src/FAQ.html
cannam@85 968 Update the section about pre-compiled binaries for Win64.
cannam@85 969
cannam@85 970 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 971
cannam@85 972 * src/common.h src/test_conversions.c
cannam@85 973 Be more careful when including <stdint.h> so compiling on pre-C99 platforms
cannam@85 974 (hello Slowlaris) might actually work.
cannam@85 975
cannam@85 976 * NEWS README doc/*.html
cannam@85 977 Updates for 1.0.20.
cannam@85 978
cannam@85 979 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 980
cannam@85 981 * src/voc.c
cannam@85 982 Fix a bug whereby opening a specially crafted VOC file could result in a
cannam@85 983 heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
cannam@85 984 this issue.
cannam@85 985
cannam@85 986 * src/aiff.c
cannam@85 987 Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
cannam@85 988
cannam@85 989 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 990
cannam@85 991 * tests/stdin_test.c
cannam@85 992 Check psf->error after opening file.
cannam@85 993
cannam@85 994 * src/file_io.c
cannam@85 995 Fix obscure seeking bug reported by Hugh Secker-Walker.
cannam@85 996
cannam@85 997 * tests/utils.tpl
cannam@85 998 Add check of sf_error to test_open_file_or_die().
cannam@85 999
cannam@85 1000 * src/sndfile.c
cannam@85 1001 Clear error if opening resource fork fails.
cannam@85 1002
cannam@85 1003 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1004
cannam@85 1005 * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
cannam@85 1006 Cleanup output.
cannam@85 1007
cannam@85 1008 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1009
cannam@85 1010 * src/float32.c
cannam@85 1011 Fix f2s_clip_array.
cannam@85 1012
cannam@85 1013 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1014
cannam@85 1015 * src/float32.c
cannam@85 1016 In host_read_f2s call convert instead of f2s_array.
cannam@85 1017
cannam@85 1018 * src/ima_adpcm.c
cannam@85 1019 Remove dead code.
cannam@85 1020
cannam@85 1021 * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
cannam@85 1022 tests/dwvw_test.c tests/fix_this.c tests/generate.c
cannam@85 1023 tests/multi_file_test.c
cannam@85 1024 Minor fixes.
cannam@85 1025
cannam@85 1026 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1027
cannam@85 1028 * M4/shave.m4 shave.in
cannam@85 1029 Pulled update from upstream.
cannam@85 1030
cannam@85 1031 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1032
cannam@85 1033 * doc/api.html
cannam@85 1034 Add pointers to example programs in source code tarball.
cannam@85 1035
cannam@85 1036 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1037
cannam@85 1038 * src/common.h
cannam@85 1039 Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
cannam@85 1040
cannam@85 1041 * configure.ac
cannam@85 1042 Add documentation for --disable-external-libs and improve error handling
cannam@85 1043 for that option.
cannam@85 1044
cannam@85 1045 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
cannam@85 1046 Add public function sf_version_string.
cannam@85 1047
cannam@85 1048 * tests/sfversion.c
cannam@85 1049 Test function sf_version_string.
cannam@85 1050
cannam@85 1051 * M4/shave.m4 shave-libtool.in shave.in
cannam@85 1052 Add new files from 'git clone git://git.lespiau.name/shave'.
cannam@85 1053
cannam@85 1054 * configure.ac
cannam@85 1055 Enable shave.
cannam@85 1056
cannam@85 1057 * src/Makefile.am src/binheader_writef_check.py Octave/*
cannam@85 1058 Shave related tweaks.
cannam@85 1059
cannam@85 1060 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1061
cannam@85 1062 * src/common.h src/caf.c src/sndfile.c
cannam@85 1063 Add SF_MAX_CHANNELS (set to 256) and use it.
cannam@85 1064
cannam@85 1065 * src/sndfile.h.in
cannam@85 1066 Check for either _MSCVER or _MSC_VER being defined.
cannam@85 1067
cannam@85 1068 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1069
cannam@85 1070 * tests/vorbis_test.c
cannam@85 1071 Relax test slighly to allow test to pass on more CPUs etc.
cannam@85 1072
cannam@85 1073 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1074
cannam@85 1075 * configure.ac
cannam@85 1076 Detect vorbis_version_string() correctly.
cannam@85 1077
cannam@85 1078 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1079
cannam@85 1080 * doc/index.html
cannam@85 1081 Add a 'See Also' section with a link to sndfile-tools.
cannam@85 1082
cannam@85 1083 * NEWS README doc/*.html
cannam@85 1084 Updates for 1.0.19 release.
cannam@85 1085
cannam@85 1086 * configure.ac
cannam@85 1087 Fix --enable-external-libs logic.
cannam@85 1088
cannam@85 1089 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1090
cannam@85 1091 * src/aiff.c
cannam@85 1092 Fix resource leak and potential read beyond end of buffer.
cannam@85 1093
cannam@85 1094 * src/nist.c
cannam@85 1095 Fix reading of header value sample_n_bytes.
cannam@85 1096
cannam@85 1097 * src/sd2.c src/wav.c
cannam@85 1098 Fix potential read beyond end of buffer.
cannam@85 1099
cannam@85 1100 * src/sndfile.c src/svx.c
cannam@85 1101 Check return values of file_io functions.
cannam@85 1102
cannam@85 1103 * tests/win32_test.c
cannam@85 1104 Fix resource leak.
cannam@85 1105
cannam@85 1106 * configure.ac
cannam@85 1107 Detect the presence/absence of vorbis_version_string() in libvorbis.
cannam@85 1108
cannam@85 1109 * src/ogg.c
cannam@85 1110 Only call vorbis_version_string() from libvorbis if present.
cannam@85 1111
cannam@85 1112 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1113
cannam@85 1114 * tests/win32_test.c
cannam@85 1115 Don't use sprintf, even on windows.
cannam@85 1116
cannam@85 1117 * src/aiff.c src/rf64.c src/wav.c
cannam@85 1118 Eliminate dead code, more validation of data read from file.
cannam@85 1119
cannam@85 1120 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1121
cannam@85 1122 * src/ima_adpcm.c
cannam@85 1123 Clamp values to a valid range before indexing ima_step_size array.
cannam@85 1124
cannam@85 1125 * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
cannam@85 1126 Don't include un-needed headers.
cannam@85 1127
cannam@85 1128 * programs/sndfile-info.c
cannam@85 1129 Remove dead code.
cannam@85 1130
cannam@85 1131 * tests/test_wrapper.sh.in
cannam@85 1132 Add 'set -e' so the script exits on error.
cannam@85 1133
cannam@85 1134 * src/test_ima_oki_adpcm.c
cannam@85 1135 Fix read beyond end of array.
cannam@85 1136
cannam@85 1137 * tests/win32_test.c
cannam@85 1138 Add missing close on file descriptor.
cannam@85 1139
cannam@85 1140 * src/nist.c programs/sndfile-metadata-set.c
cannam@85 1141 Fix 'unused variable' warnings.
cannam@85 1142
cannam@85 1143 * src/aiff.c
cannam@85 1144 Fix potential memory leak in handling of 'MARK' chunk.
cannam@85 1145 Remove un-needed test (unsigned > 0).
cannam@85 1146
cannam@85 1147 * src/sd2.c
cannam@85 1148 Improve handling of heap allocated buffer.
cannam@85 1149
cannam@85 1150 * src/sndfile.c
cannam@85 1151 Remove un-needed test (always true).
cannam@85 1152
cannam@85 1153 * src/wav.c src/rf64.c
cannam@85 1154 Ifdef out dead code that will be resurected some time in the future.
cannam@85 1155
cannam@85 1156 * src/wav.c src/w64.c src/xi.c
cannam@85 1157 Handle error return values from psf_ftell.
cannam@85 1158
cannam@85 1159 * src/wav_w64.c
cannam@85 1160 Fix handling and error checking of MSADPCM coefficient arrays.
cannam@85 1161
cannam@85 1162 * regtest/*.c
cannam@85 1163 Bunch of fixes.
cannam@85 1164
cannam@85 1165 * src/test_file_io.c
cannam@85 1166 Use snprintf instead of strncpy in test program.
cannam@85 1167
cannam@85 1168 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1169
cannam@85 1170 * src/sd2.c
cannam@85 1171 Validate data before using.
cannam@85 1172
cannam@85 1173 * src/caf.c
cannam@85 1174 Validate channels per frame value before using, fixing a possible integer
cannam@85 1175 overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
cannam@85 1176 Secunia Research (CVE-2009-0186).
cannam@85 1177
cannam@85 1178 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1179
cannam@85 1180 * Octave/octave_test.sh
cannam@85 1181 Unset TERM environment variable and export LD_LIBRARY_PATH.
cannam@85 1182
cannam@85 1183 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1184
cannam@85 1185 * src/file_io.c
cannam@85 1186 In windows code, cast LPVOID to 'char*' in printf.
cannam@85 1187
cannam@85 1188 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1189
cannam@85 1190 * M4/octave.m4
cannam@85 1191 Clear the TERM environment before evaluating anything in Octave. This works
cannam@85 1192 around problems that might occur if a users TERM settings are incorrect.
cannam@85 1193 Thanks to Rob Til Freedmen for helping to debug this.
cannam@85 1194
cannam@85 1195 * src/wav.c
cannam@85 1196 Handle four zero bytes as a marker within a LIST or INFO chunk.
cannam@85 1197 Thanks to Rogério Brito for supplying an example file.
cannam@85 1198
cannam@85 1199 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1200
cannam@85 1201 * src/common.h src/*.c
cannam@85 1202 Use C99 snprintf everywhere.
cannam@85 1203
cannam@85 1204 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1205
cannam@85 1206 * tests/test_wrapper.sh.in
cannam@85 1207 New file to act as the template for the test wrapper script.
cannam@85 1208
cannam@85 1209 * configure.ac
cannam@85 1210 Generate tests/test_wrapper.sh from the template.
cannam@85 1211
cannam@85 1212 * tests/Makefile.am
cannam@85 1213 Replace all tests with a single invocation of the test wrapper script.
cannam@85 1214
cannam@85 1215 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1216
cannam@85 1217 * src/ogg.c
cannam@85 1218 Record vorbis library version string.
cannam@85 1219
cannam@85 1220 * configure.ac
cannam@85 1221 Require libvorbis >= 1.2.2.
cannam@85 1222
cannam@85 1223 * M4/endian.m4
cannam@85 1224 Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
cannam@85 1225
cannam@85 1226 * M4/octave.m4 M4/mkoctfile_version.m4
cannam@85 1227 Clean up AC_WITH_ARG usage using AC_HELP_STRING.
cannam@85 1228
cannam@85 1229 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1230
cannam@85 1231 * Octave/Makefile.am
cannam@85 1232 Use $(top_buildir) instead of $(builddir) which may not be defined.
cannam@85 1233
cannam@85 1234 * M4/octave.m4
cannam@85 1235 Improve logic and status reporting.
cannam@85 1236
cannam@85 1237 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1238
cannam@85 1239 * configure.ac AUTHORS NEWS README doc/*.html
cannam@85 1240 Final tweaks for 1.0.18 release.
cannam@85 1241
cannam@85 1242 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1243
cannam@85 1244 * programs/sndfile-convert.c
cannam@85 1245 Add 'htk' to the list of convert formats.
cannam@85 1246
cannam@85 1247 * programs/sndfile-info.c
cannam@85 1248 Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
cannam@85 1249 Increase size of files for which signal max will be calculated.
cannam@85 1250
cannam@85 1251 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1252
cannam@85 1253 * doc/index.html
cannam@85 1254 Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
cannam@85 1255
cannam@85 1256 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1257
cannam@85 1258 * programs/sndfile-metadata-get.c
cannam@85 1259 Make valgrind clean.
cannam@85 1260 Clean up temp string array usage.
cannam@85 1261 Error out if trying to update coding history in RDWR mode.
cannam@85 1262
cannam@85 1263 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1264
cannam@85 1265 * doc/index.html
cannam@85 1266 Fix links to versions of the LGPL.
cannam@85 1267
cannam@85 1268 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1269
cannam@85 1270 * tests/string_test.c
cannam@85 1271 Add test for RDWR mode where the file ends up shorter than when it was
cannam@85 1272 opened.
cannam@85 1273
cannam@85 1274 * src/wav.c
cannam@85 1275 Truncate the file on close for RDWR mode where the file ends up shorter
cannam@85 1276 than when it was opened.
cannam@85 1277
cannam@85 1278 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1279
cannam@85 1280 * M4/add_cflags.m4
cannam@85 1281 Fix problem with quoting of '#include'.
cannam@85 1282
cannam@85 1283 * M4/add_cxxflags.m4 configure.ac
cannam@85 1284 Add new file M4/add_cxxflags.m4 and use it in configure.ac.
cannam@85 1285
cannam@85 1286 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1287
cannam@85 1288 * programs/sndfile-info.c
cannam@85 1289 Apply patch from Conrad Parker to calculate and display total duration when
cannam@85 1290 more than one file is dumped.
cannam@85 1291
cannam@85 1292 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1293
cannam@85 1294 * configure.ac src/Makefile.am
cannam@85 1295 Tweaks to generation of Symbols files.
cannam@85 1296
cannam@85 1297 * tests/win32_ordinal_test.c
cannam@85 1298 Update tests for above changes.
cannam@85 1299
cannam@85 1300 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1301
cannam@85 1302 * programs/common.c
cannam@85 1303 When merging broadcast info, make sure to clear the destination field
cannam@85 1304 before copying in the new data.
cannam@85 1305
cannam@85 1306 * programs/test-sndfile-metadata-set.py
cannam@85 1307 Add test for the above.
cannam@85 1308
cannam@85 1309 * src/broadcast.c
cannam@85 1310 Fix checking of required coding_history_size.
cannam@85 1311
cannam@85 1312 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1313
cannam@85 1314 * tests/command_test.c
cannam@85 1315 Add test to detect if coding history is truncated.
cannam@85 1316
cannam@85 1317 * src/broadcast.c
cannam@85 1318 Fix truncation of coding history.
cannam@85 1319
cannam@85 1320 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1321
cannam@85 1322 * tests/command_test.c
cannam@85 1323 Add broadcast_coding_history_size test.
cannam@85 1324
cannam@85 1325 * programs/*.[ch]
cannam@85 1326 Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
cannam@85 1327
cannam@85 1328 * src/rf64.c
cannam@85 1329 Add code to prevent infinite loop on malformed file.
cannam@85 1330
cannam@85 1331 * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
cannam@85 1332 Rationalize and improve error handling when parsing 'fmt ' chunk.
cannam@85 1333
cannam@85 1334 * M4/octave.m4
cannam@85 1335 Simplify and remove cruft.
cannam@85 1336 Check for correct Octave version.
cannam@85 1337
cannam@85 1338 * Octave/*
cannam@85 1339 Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
cannam@85 1340
cannam@85 1341 * Octave/sndfile.cc Octave/PKG_ADD
cannam@85 1342 Add Octave function sfversion which returns the libsndfile version that the
cannam@85 1343 module is linked against.
cannam@85 1344
cannam@85 1345 * Octave/Makefile.am
cannam@85 1346 Bunch of build and 'make distcheck' fixes.
cannam@85 1347
cannam@85 1348 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1349
cannam@85 1350 * programs/common.c
cannam@85 1351 Return 1 if SFC_SET_BROADCAST_INFO fails.
cannam@85 1352
cannam@85 1353 * programs/test-sndfile-metadata-set.py
cannam@85 1354 Update for new programs directory, exit on any error.
cannam@85 1355
cannam@85 1356 * tests/error_test.c
cannam@85 1357 Fix failure behaviour in error_number_test.
cannam@85 1358
cannam@85 1359 * src/common.h src/sndfile.c
cannam@85 1360 Add error number SFE_BAD_BROADCAST_INFO_SIZE.
cannam@85 1361
cannam@85 1362 * src/*
cannam@85 1363 Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
cannam@85 1364
cannam@85 1365 * src/broadcast.c
cannam@85 1366 Fix generation of added coding history.
cannam@85 1367
cannam@85 1368 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1369
cannam@85 1370 * programs/sndfile-metadata-get.c programs/sndfile-info.c
cannam@85 1371 Exit with non-zero on errors.
cannam@85 1372
cannam@85 1373 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1374
cannam@85 1375 * examples/sndfile-to-text.c examples/Makefile.am
cannam@85 1376 Add a new example program and hook it into the build.
cannam@85 1377
cannam@85 1378 * examples/ programs/
cannam@85 1379 Add a new directory programs and move sndfile-info, sndfile-play and other
cannam@85 1380 real programs to the new directory, leaving example programs where they
cannam@85 1381 were.
cannam@85 1382
cannam@85 1383 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1384
cannam@85 1385 * tests/Makefile.am
cannam@85 1386 Automake 1.10 MinGW cross compiling fixes.
cannam@85 1387
cannam@85 1388 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1389
cannam@85 1390 * examples/sndfile-play.c
cannam@85 1391 Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
cannam@85 1392 Fix gcc-4.3 compiler warnings.
cannam@85 1393
cannam@85 1394 * tests/command_test.c
cannam@85 1395 Fix a valgrind warning.
cannam@85 1396
cannam@85 1397 * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
cannam@85 1398 tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
cannam@85 1399 Fix gcc-4.3 compiler warnings.
cannam@85 1400
cannam@85 1401 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1402
cannam@85 1403 * src/broadcast.c
cannam@85 1404 Fix termination of desitination string in strncpy_crlf.
cannam@85 1405 When copying BROADCAST_INFO chunk, make sure destination gets correct line
cannam@85 1406 endings.
cannam@85 1407
cannam@85 1408 * examples/common.c
cannam@85 1409 Fix copying of BROADCAST_INFO coding_history field.
cannam@85 1410
cannam@85 1411 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1412
cannam@85 1413 * tests/command_test.c
cannam@85 1414 Add test function instrument_rw_test, but don't hook it into the testing
cannam@85 1415 yet.
cannam@85 1416
cannam@85 1417 * src/common.h src/command.c src/sndfile.c src/flac.c
cannam@85 1418 Error code rationalization.
cannam@85 1419
cannam@85 1420 * src/common.h src/sndfile.c
cannam@85 1421 Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
cannam@85 1422 fails due to psf->have_written being true.
cannam@85 1423
cannam@85 1424 * doc/command.html
cannam@85 1425 Document the SFC_GET/SET_BROADCAST_INFO comamnds.
cannam@85 1426
cannam@85 1427 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1428
cannam@85 1429 * tests/command_test.c
cannam@85 1430 Improve error reporting when '\0' is found in coding history.
cannam@85 1431 Fix false failure.
cannam@85 1432
cannam@85 1433 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1434
cannam@85 1435 * src/broadcast.c
cannam@85 1436 Convert all coding history line endings to \r\n.
cannam@85 1437
cannam@85 1438 * tests/command_test.c
cannam@85 1439 Add test to make sure all line endings are converted to \r\n.
cannam@85 1440
cannam@85 1441 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1442
cannam@85 1443 * src/broadcast.c
cannam@85 1444 Changed the order of coding history fields.
cannam@85 1445
cannam@85 1446 * tests/command_test.c
cannam@85 1447 Update bextch test to cope with previous change.
cannam@85 1448
cannam@85 1449 * examples/common.c
cannam@85 1450 Add extra length check when copying broadcast info data.
cannam@85 1451
cannam@85 1452 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1453
cannam@85 1454 * tests/utils.tpl tests/pcm_test.tpl
cannam@85 1455 Update check_file_hash_or_die to use 64 bit hash.
cannam@85 1456
cannam@85 1457 * tests/checksum_test.c tests/Makefile.am
cannam@85 1458 Add new checksum_test specifically for lossy compression of headerless
cannam@85 1459 files.
cannam@85 1460
cannam@85 1461 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1462
cannam@85 1463 * src/gsm610.c
cannam@85 1464 Seek to psf->dataoffset before decoding first block.
cannam@85 1465
cannam@85 1466 * src/sndfile.c
cannam@85 1467 Fix detection of mpc2k files on big endian systems.
cannam@85 1468
cannam@85 1469 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1470
cannam@85 1471 * src/broadcast.c
cannam@85 1472 Use '\r\n' newlines in Coding History as required by spec.
cannam@85 1473
cannam@85 1474 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1475
cannam@85 1476 * src/test_conversions.c
cannam@85 1477 Use int64_t instead of 'long long'.
cannam@85 1478
cannam@85 1479 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1480
cannam@85 1481 * examples/sndfile-metadata-set.c
cannam@85 1482 Remove --bext-coding-history-append command line option because it didn't
cannam@85 1483 really make sense.
cannam@85 1484
cannam@85 1485 * examples/sndfile-metadata-(get|set).c
cannam@85 1486 Add usage messages.
cannam@85 1487
cannam@85 1488 * examples/test-sndfile-metadata-set.py
cannam@85 1489 Start work on test coding history.
cannam@85 1490
cannam@85 1491 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1492
cannam@85 1493 * README doc/win32.html
cannam@85 1494 Bring these up to date.
cannam@85 1495
cannam@85 1496 * src/aiff.c
cannam@85 1497 Fix parsing of REX files.
cannam@85 1498
cannam@85 1499 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1500
cannam@85 1501 * src/file_io.c
cannam@85 1502 Use intptr_t instead of long for return value of _get_osfhandle.
cannam@85 1503
cannam@85 1504 * src/test_conversions.c src/test_endswap.tpl
cannam@85 1505 Fix printing of int64_t values.
cannam@85 1506
cannam@85 1507 * examples/sndfile-play.c
cannam@85 1508 Fix win64 issues.
cannam@85 1509
cannam@85 1510 * tests/win32_ordinal_test.c
cannam@85 1511 Fix calling of GetProcAddress with ordinal under win64.
cannam@85 1512
cannam@85 1513 * tests/utils.tpl
cannam@85 1514 Fix win64 issues.
cannam@85 1515
cannam@85 1516 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1517
cannam@85 1518 * examples/*
cannam@85 1519 Rename copy_data.[ch] to common.[ch]. Fix build.
cannam@85 1520 Move code from sndfile-metadata-set.c to common.c.
cannam@85 1521
cannam@85 1522 * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
cannam@85 1523 Clean paths.
cannam@85 1524
cannam@85 1525 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1526
cannam@85 1527 * doc/tutorial.html doc/Makefile.am
cannam@85 1528 Add file doc/tutorial.html and hook into build/dist system.
cannam@85 1529
cannam@85 1530 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1531
cannam@85 1532 * examples/sndfile-metadata-set.c
cannam@85 1533 Clean up handling of bext command line params.
cannam@85 1534
cannam@85 1535 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1536
cannam@85 1537 * src/w64.c
cannam@85 1538 Add handling/skipping of a couple of new chunk types.
cannam@85 1539
cannam@85 1540 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1541
cannam@85 1542 * configure.ac
cannam@85 1543 Add -funsigned-char to CFLAGS if the compiler supports it.
cannam@85 1544
cannam@85 1545 * examples/sndfile-metadata-(get|set).c
cannam@85 1546 Add handling for more metadata types.
cannam@85 1547
cannam@85 1548 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1549
cannam@85 1550 * src/common.h
cannam@85 1551 Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
cannam@85 1552 field of SF_INFO into component parts.
cannam@85 1553
cannam@85 1554 * src/*.c
cannam@85 1555 Use new macros everywhere it is appropriate.
cannam@85 1556
cannam@85 1557 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1558
cannam@85 1559 * examples/sndfile-bwf-set.c
cannam@85 1560 Massive reworking.
cannam@85 1561
cannam@85 1562 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1563
cannam@85 1564 * examples/sndfile-bwf-set.c
cannam@85 1565 Add --info-auto-create-date command line option.
cannam@85 1566
cannam@85 1567 * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
cannam@85 1568 examples/Makefile.am examples/test-sndfile-bwf-set.py
cannam@85 1569 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
cannam@85 1570 Change command line args.
cannam@85 1571
cannam@85 1572 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1573
cannam@85 1574 * src/wav.c
cannam@85 1575 Allow 'PAD ' chunk to be modified in RDWR mode.
cannam@85 1576
cannam@85 1577 * src/sndfile.h.in src/sndfile.c
cannam@85 1578 Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
cannam@85 1579
cannam@85 1580 * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
cannam@85 1581 tests/misc_test.c
cannam@85 1582 Add tests for RF64.
cannam@85 1583
cannam@85 1584 * src/rf64.c
cannam@85 1585 Fixes to make sure all tests pass.
cannam@85 1586
cannam@85 1587 * tests/Makefile.am tests/string_test.c
cannam@85 1588 Add string tests (not yet passing).
cannam@85 1589
cannam@85 1590 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1591
cannam@85 1592 * src/rf64.c
cannam@85 1593 First pass at writing RF64 now working.
cannam@85 1594
cannam@85 1595 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1596
cannam@85 1597 * examples/sndfile-convert.c
cannam@85 1598 Add SF_FORMAT_RF64 to format_map.
cannam@85 1599
cannam@85 1600 * src/common.h src/sndfile.c
cannam@85 1601 More RF64 support code.
cannam@85 1602
cannam@85 1603 * examples/sndfile-bwf-set.c
cannam@85 1604 Fix the month number in autogenerated date string and use hypen in date
cannam@85 1605 instead of slash.
cannam@85 1606
cannam@85 1607 * examples/test-sndfile-bwf-set.py
cannam@85 1608 Update tests.
cannam@85 1609
cannam@85 1610 * examples/sndfile-info.c
cannam@85 1611 When called with -i or -b option, operate on all files on command line, not
cannam@85 1612 just the first.
cannam@85 1613
cannam@85 1614 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1615
cannam@85 1616 * src/rf64.c
cannam@85 1617 New file to handle RF64 (WAV like format supportting > 4Gig files).
cannam@85 1618
cannam@85 1619 * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
cannam@85 1620 Hook the above into build so hacking can begin.
cannam@85 1621
cannam@85 1622 * src/pcm.c
cannam@85 1623 Improve log message when pcm_init fails.
cannam@85 1624
cannam@85 1625 * src/sndfile-info.c
cannam@85 1626 Only calculate and print 'Signal Max' if file is less than 10 megabytes in
cannam@85 1627 length.
cannam@85 1628
cannam@85 1629 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1630
cannam@85 1631 * tests/string_test.c
cannam@85 1632 Polish string_multi_set_test.
cannam@85 1633
cannam@85 1634 * src/wav.c
cannam@85 1635 In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
cannam@85 1636 length has changed).
cannam@85 1637 Minor fixes in wav_write_strings.
cannam@85 1638 Write PAD chunk with default endian-ness, not a specific endian-ness.
cannam@85 1639
cannam@85 1640 * examples/test-sndfile-bwf-set.py
cannam@85 1641 Add Python script to test sndfile-bwf-set/get.
cannam@85 1642
cannam@85 1643 * examples/sndfile-bwf-set.c
cannam@85 1644 Clean up and fixes.
cannam@85 1645
cannam@85 1646 * src/wav.c
cannam@85 1647 Merge function wavex_write_header into wav_write_header, deleting about 70
cannam@85 1648 lines of code.
cannam@85 1649
cannam@85 1650 * src/common.h
cannam@85 1651 Double value of SF_MAX_STRINGS.
cannam@85 1652
cannam@85 1653 * tests/string_test.c
cannam@85 1654 Add string tests for WAVEX and RIFX files.
cannam@85 1655
cannam@85 1656 * tests/command_test.c
cannam@85 1657 Add broadcast test for WAVEX files.
cannam@85 1658
cannam@85 1659 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1660
cannam@85 1661 * tests/string_test.c
cannam@85 1662 Add a new string_rdwr_test (currently failing for WAV).
cannam@85 1663 Add a new string_multi_set_test (currently failing).
cannam@85 1664
cannam@85 1665 * tests/command_test.c
cannam@85 1666 Add new broadcast_rdwr_test (currently failing).
cannam@85 1667
cannam@85 1668 * src/wav.c
cannam@85 1669 Fix to WAV parser to allow 'bext' chunk to be updated in place.
cannam@85 1670 In wav_write_tailer, seek to psf->dataend if its greater than zero.
cannam@85 1671
cannam@85 1672 * src/sndfile.c
cannam@85 1673 Make sure psf->have_written gets set correctly in mode SFM_RDWR.
cannam@85 1674
cannam@85 1675 * configure.ac
cannam@85 1676 Test for <sys/time.h> and gettimeofday.
cannam@85 1677
cannam@85 1678 * src/common.c
cannam@85 1679 Use gettimeofday() to initialize psf_rand_int32.
cannam@85 1680
cannam@85 1681 * src/common.h src/sndfile.c
cannam@85 1682 Add unique_id field to SF_PRIVATE struct.
cannam@85 1683
cannam@85 1684 * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
cannam@85 1685 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
cannam@85 1686
cannam@85 1687 * src/common.h src/strings.c
cannam@85 1688 Add function psf_location_string_count.
cannam@85 1689
cannam@85 1690 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1691
cannam@85 1692 * configure.ac
cannam@85 1693 Test for localtime and localtime_r.
cannam@85 1694
cannam@85 1695 * examples/sndfile-convert.c
cannam@85 1696 In function copy_metadata(), copy broadcast info if present.
cannam@85 1697
cannam@85 1698 * examples/copy_data.[ch] examples/Makefile.am
cannam@85 1699 Break some functionality out of sndfile-convert.c so it can be used in
cannam@85 1700 examples/sndfile-bwf-set.c.
cannam@85 1701
cannam@85 1702 * tests/utils.tpl
cannam@85 1703 Add new function create_short_sndfile().
cannam@85 1704
cannam@85 1705 * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
cannam@85 1706 examples/Makefile.am
cannam@85 1707 Add new files and hook into build.
cannam@85 1708
cannam@85 1709 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1710
cannam@85 1711 * src/sndfile.h.in
cannam@85 1712 Fix comments. Patch from Mark Glines.
cannam@85 1713
cannam@85 1714 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1715
cannam@85 1716 * tests/misc_test.c
cannam@85 1717 Use zero_data_test on Ogg/Vorbis files.
cannam@85 1718
cannam@85 1719 * src/ogg.c
cannam@85 1720 Fix segfault when closing an Ogg/Vorbis file that has been opened for write
cannam@85 1721 but had no actual data written to it. Bug reported by Chinoy Gupta.
cannam@85 1722
cannam@85 1723 * tests/Makefile.am
cannam@85 1724 Make sure to run mist_test on Ogg/Vorbis files.
cannam@85 1725
cannam@85 1726 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1727
cannam@85 1728 * regtest/Makefile.am
cannam@85 1729 Use SQLITE3_CFLAGS to locate sqlite headers.
cannam@85 1730
cannam@85 1731 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1732
cannam@85 1733 * doc/index.html doc/FAQ.html
cannam@85 1734 Add notes about which versions of windows libsndfile works on.
cannam@85 1735
cannam@85 1736 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1737
cannam@85 1738 * tests/misc_test.c
cannam@85 1739 Add a test for correct handling of Ambisonic files. Thanks to Fons
cannam@85 1740 Adriaensen for the test.
cannam@85 1741
cannam@85 1742 * src/wav.c src/wav_w64.c
cannam@85 1743 Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
cannam@85 1744
cannam@85 1745 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1746
cannam@85 1747 * configure.ac
cannam@85 1748 Fix detection/enabling of external libs.
cannam@85 1749
cannam@85 1750 * M4/extra_pkg.m4 M4/Makefile.am
cannam@85 1751 Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
cannam@85 1752 PKG_CHECK_MODULES. The new macro prints the version number of the package
cannam@85 1753 it is searching for.
cannam@85 1754
cannam@85 1755 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1756
cannam@85 1757 * src/aiff.c
cannam@85 1758 Apply a fix from Axel Röbel where if the second loop in the instrument
cannam@85 1759 chunk is none, the loop mode is written into the first loop.
cannam@85 1760
cannam@85 1761 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1762
cannam@85 1763 * src/test_float.c src/test_main.(c|h) src/Makefile.am
cannam@85 1764 Add new file to test functions float32_(le|be)_(read|write) and
cannam@85 1765 double64_(le|be)_(read|write). Hook into build and testsuite.
cannam@85 1766
cannam@85 1767 * src/double64.c src/float32.c
cannam@85 1768 Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
cannam@85 1769 for reporting this bug.
cannam@85 1770
cannam@85 1771 * src/sndfile.h.in
cannam@85 1772 Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
cannam@85 1773 unsigned.
cannam@85 1774
cannam@85 1775 * examples/sndfile-info.c
cannam@85 1776 Print out the BEXT time reference in a sensible format.
cannam@85 1777
cannam@85 1778 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1779
cannam@85 1780 * src/*.c
cannam@85 1781 Fuzz fixes.
cannam@85 1782
cannam@85 1783 * src/ogg.c
cannam@85 1784 Add call to ogg_stream_clear to fix valgrind warning.
cannam@85 1785
cannam@85 1786 * src/aiff.c
cannam@85 1787 Fix x86_64 compile issue.
cannam@85 1788
cannam@85 1789 * configure.ac src/Makefile.am src/flac.c src/ogg.c
cannam@85 1790 Link to external versions of FLAC, Ogg and Vorbis.
cannam@85 1791
cannam@85 1792 * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
cannam@85 1793 tests/vorbis_test.c tests/write_read_test.tpl
cannam@85 1794 Fix tests when configured with --disable-external-libs.
cannam@85 1795
cannam@85 1796 * tests/external_libs_test.c tests/Makefile.am
cannam@85 1797 Add new test and hook into build and test suite.
cannam@85 1798
cannam@85 1799 * src/command.c
cannam@85 1800 Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
cannam@85 1801 the right data when external libs are disabled.
cannam@85 1802
cannam@85 1803 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1804
cannam@85 1805 * tests/write_read_test.tpl
cannam@85 1806 Add a test for extending a file during write by seeking past the current
cannam@85 1807 end of file.
cannam@85 1808
cannam@85 1809 * src/sndfile.c
cannam@85 1810 Allow seeking past end of file during write.
cannam@85 1811
cannam@85 1812 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1813
cannam@85 1814 * doc/api.html doc/command.html
cannam@85 1815 Move all information about the sf_command function to command.html and add
cannam@85 1816 a link from documentation of the sf_read/write_raw function to the
cannam@85 1817 SFC_RAW_NEEDS_ENDSWAP command.
cannam@85 1818
cannam@85 1819 * doc/index.html doc/FAQ.html doc/libsndfile.css
cannam@85 1820 Minor documentation tweaks.
cannam@85 1821
cannam@85 1822 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1823
cannam@85 1824 * configure.ac
cannam@85 1825 Add AM_PROG_CC_C_O.
cannam@85 1826
cannam@85 1827 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1828
cannam@85 1829 * tests/error_test.c
cannam@85 1830 Add a test to make sure if file opened with sf_open_fd, and then the file
cannam@85 1831 descriptor is closed, then sf_close will return an error code. Thanks to
cannam@85 1832 Dave Flogeras for the bug report.
cannam@85 1833
cannam@85 1834 * src/sndfile.c
cannam@85 1835 Make sf_close return an error is the file descriptor is already closed.
cannam@85 1836
cannam@85 1837 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1838
cannam@85 1839 * configure.ac
cannam@85 1840 Set object format to aout for OS/2. Thanks to David Yeo.
cannam@85 1841
cannam@85 1842 * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
cannam@85 1843 Add ability to read MPC 2000 file.
cannam@85 1844
cannam@85 1845 * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
cannam@85 1846 tests/Makefile.am
cannam@85 1847 Add tests for MPC 2000 file format.
cannam@85 1848
cannam@85 1849 * examples/sndfile-convert.c
cannam@85 1850 Allow conversion to MPC 2000 file format.
cannam@85 1851
cannam@85 1852 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1853
cannam@85 1854 * src/VORBIS/lib/codebook.c
cannam@85 1855 Sync from upstream SVN.
cannam@85 1856
cannam@85 1857 * autogen.sh configure.ac
cannam@85 1858 Minor tweaks.
cannam@85 1859
cannam@85 1860 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1861
cannam@85 1862 * src/ogg.c
cannam@85 1863 Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
cannam@85 1864 The patch as supplied segfaulted and required many hours of debugging.
cannam@85 1865
cannam@85 1866 * src/OGG/bitwise.c
cannam@85 1867 Sync from upstream SVN.
cannam@85 1868
cannam@85 1869 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1870
cannam@85 1871 * src/aiff.c
cannam@85 1872 Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
cannam@85 1873 this issue.
cannam@85 1874
cannam@85 1875 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1876
cannam@85 1877 * tests/*.c
cannam@85 1878 Add calls to sf_close() where needed.
cannam@85 1879
cannam@85 1880 * tests/utils.tpl tests/multi_file_test.c
cannam@85 1881 Always pass 0 as the third argument to open when OS_IS_WIN32.
cannam@85 1882
cannam@85 1883 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1884
cannam@85 1885 * src/test_*
cannam@85 1886 Add files test_main.[ch].
cannam@85 1887 Collapse all tests into a single executable.
cannam@85 1888
cannam@85 1889 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1890
cannam@85 1891 * src/FLAC
cannam@85 1892 Sync to upstream CVS.
cannam@85 1893
cannam@85 1894 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1895
cannam@85 1896 * src/common.h
cannam@85 1897 Make SF_MIN and SF_MAX macros MinGW friendly.
cannam@85 1898
cannam@85 1899 * examples/sndfile-(info|play).c
cannam@85 1900 Use Sleep function from <windows.h> instead of _sleep.
cannam@85 1901
cannam@85 1902 * tests/locale_test.c
cannam@85 1903 Disable some tests when OS_IS_WIN32.
cannam@85 1904
cannam@85 1905 * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
cannam@85 1906 src/FLAC/src/share/utf8/utf8.c
cannam@85 1907 MinGW fixes.
cannam@85 1908
cannam@85 1909 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1910
cannam@85 1911 * doc/FAQ.html
cannam@85 1912 Tweaks to pcm16 <-> float conversion answer.
cannam@85 1913
cannam@85 1914 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1915
cannam@85 1916 * src/OGG
cannam@85 1917 Sync to SVN upstream.
cannam@85 1918
cannam@85 1919 * Makefile.am
cannam@85 1920 Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
cannam@85 1921
cannam@85 1922 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1923
cannam@85 1924 * examples/sndfile-jackplay.c
cannam@85 1925 Minor tweaks to warning message printed when compiled without libjack.
cannam@85 1926
cannam@85 1927 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1928
cannam@85 1929 * tests/peak_chunk_test.c
cannam@85 1930 Improve read_write_peak_test to find more errors. Inspired by example
cannam@85 1931 provided by Nicolas Castagne.
cannam@85 1932
cannam@85 1933 * src/aiff.c
cannam@85 1934 Another SFM_RDWR fix shown up by above test.
cannam@85 1935
cannam@85 1936 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1937
cannam@85 1938 * src/aiff.c
cannam@85 1939 Fix reading of COMM encoding string.
cannam@85 1940
cannam@85 1941 * src/chunk.c src/common.h src/Makefile.am
cannam@85 1942 New file for storing and retrieving info about header chunks. Hook into
cannam@85 1943 build.
cannam@85 1944
cannam@85 1945 * src/aiff.c
cannam@85 1946 Use new chunk logging to fix problem with AIFF in RDWR mode.
cannam@85 1947
cannam@85 1948 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1949
cannam@85 1950 * src/command.c
cannam@85 1951 Add WVE to the list of major formats.
cannam@85 1952
cannam@85 1953 * tests/aiff_rw_test.c
cannam@85 1954 Fix error reporting.
cannam@85 1955
cannam@85 1956 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1957
cannam@85 1958 * src/common.[ch]
cannam@85 1959 Add internal functions str_of_major_format, str_of_minor_format,
cannam@85 1960 str_of_open_mode and str_of_endianness.
cannam@85 1961
cannam@85 1962 * tests/write_read_test.tpl
cannam@85 1963 Fix reporting of errors in new_rdwr_XXXX_test.
cannam@85 1964
cannam@85 1965 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1966
cannam@85 1967 * examples/sndfile-play.c
cannam@85 1968 Apply patch from Yair K. to fix compiles with OSS v4.
cannam@85 1969
cannam@85 1970 * src/common.h src/float32.c src/double64.c
cannam@85 1971 Rename psf->float_enswap to psf->data_endswap.
cannam@85 1972
cannam@85 1973 * src/sndfile.h.in src/sndfile.c src/pcm.c
cannam@85 1974 Add command SFC_RAW_NEEDS_ENDSWAP.
cannam@85 1975
cannam@85 1976 * tests/command.c
cannam@85 1977 Add test for SFC_RAW_NEEDS_ENDSWAP.
cannam@85 1978
cannam@85 1979 * doc/command.html
cannam@85 1980 Document SFC_RAW_NEEDS_ENDSWAP.
cannam@85 1981
cannam@85 1982 * tests/peak_chunk_test.c
cannam@85 1983 Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
cannam@85 1984 bug report.
cannam@85 1985
cannam@85 1986 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1987
cannam@85 1988 * examples/sndfile-cmp.c
cannam@85 1989 Add new example program contributed by Conrad Parker.
cannam@85 1990
cannam@85 1991 * examples/Makefile.am
cannam@85 1992 Hook into build.
cannam@85 1993
cannam@85 1994 * doc/development.html
cannam@85 1995 Change use or reconfigure.mk to autogen.sh.
cannam@85 1996
cannam@85 1997 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 1998
cannam@85 1999 * tests/win32_test.c
cannam@85 2000 Add another win32 test.
cannam@85 2001
cannam@85 2002 * tests/util.tpl
cannam@85 2003 Add function file_length_fd which wraps fstat.
cannam@85 2004
cannam@85 2005 * tests/Makefile.am
cannam@85 2006 Run the multi_file_test on AU files.
cannam@85 2007
cannam@85 2008 * tests/multi_file_test.c
cannam@85 2009 Use function file_length_fd() instead of file_length() to overcome stupid
cannam@85 2010 win32 bug. Fscking hell Microsoft sucks so much.
cannam@85 2011
cannam@85 2012 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2013
cannam@85 2014 * src/sd2.c
cannam@85 2015 Fix a rsrc parsing bug. Example file supplied by Uli Franke.
cannam@85 2016
cannam@85 2017 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2018
cannam@85 2019 * doc/index.html
cannam@85 2020 Allow use of either LGPL v2.1 or LGPL v3.
cannam@85 2021
cannam@85 2022 * tests/header_test.tpl
cannam@85 2023 Add header_shrink_test from Axel Röbel.
cannam@85 2024
cannam@85 2025 * src/wav.c
cannam@85 2026 Add fix from Axel Röbel for writing files with float data but no peak
cannam@85 2027 chunk (ie peak chunk gets removed after the file is opened).
cannam@85 2028
cannam@85 2029 * src/aiff.c tests/header_test.tpl
cannam@85 2030 Apply similar fix to above for AIFF files.
cannam@85 2031
cannam@85 2032 * src/wav.c tests/header_test.tpl
cannam@85 2033 Apply similar fix to above for WAVEX files.
cannam@85 2034
cannam@85 2035 * src/command.c
cannam@85 2036 Add Ogg/Vorbis to 'get format' commands.
cannam@85 2037
cannam@85 2038 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2039
cannam@85 2040 * src/ogg.c
cannam@85 2041 Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
cannam@85 2042 Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
cannam@85 2043
cannam@85 2044 * tests/ogg_test.c
cannam@85 2045 Add stereo seek tests.
cannam@85 2046
cannam@85 2047 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2048
cannam@85 2049 * tests/ogg_test.c
cannam@85 2050 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
cannam@85 2051 case supplied by Bodo.
cannam@85 2052
cannam@85 2053 * tests/utils.(def|tpl)
cannam@85 2054 Add compare_XXX_or_die functions.
cannam@85 2055
cannam@85 2056 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2057
cannam@85 2058 * src/aiff.c
cannam@85 2059 Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
cannam@85 2060 misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
cannam@85 2061
cannam@85 2062 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2063
cannam@85 2064 * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
cannam@85 2065 Merge in code from the vox-patch branch. Thanks to Robs for the patch
cannam@85 2066 which fixes a long standing bug in the VOX codec.
cannam@85 2067
cannam@85 2068 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2069
cannam@85 2070 * examples/sndfile-convert.c
cannam@85 2071 Fix handling of -override-sample-rate=X option.
cannam@85 2072
cannam@85 2073 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2074
cannam@85 2075 * src/ogg.c src/VORBIS
cannam@85 2076 Merge in Ogg Vorbis support from John ffitch of the Csound project.
cannam@85 2077
cannam@85 2078 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2079
cannam@85 2080 * src/sndfile.c
cannam@85 2081 Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
cannam@85 2082 recognise 'vox8' as and 'vox' as 8kHz files.
cannam@85 2083
cannam@85 2084 * configure.ac
cannam@85 2085 Detect libjack (JACK Audio Connect Kit).
cannam@85 2086
cannam@85 2087 * examples/sndfile-jackplay.c examples/Makefile.am
cannam@85 2088 Add new example program to play sound files using the JACK audio server.
cannam@85 2089 Thanks to Jonatan Liljedahl for allowing this to be included.
cannam@85 2090
cannam@85 2091 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2092
cannam@85 2093 * doc/index.html
cannam@85 2094 Update support table with SD2 and FLAC.
cannam@85 2095
cannam@85 2096 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2097
cannam@85 2098 * src/sndfile.c
cannam@85 2099 Fix calculation of internal value psf->read_current when attempting to read
cannam@85 2100 past end of audio data.
cannam@85 2101 Remove redundant code.
cannam@85 2102
cannam@85 2103 * tests/lossy_comp_test.c
cannam@85 2104 Add read_raw_test to check that raw reads do not go past the end of the
cannam@85 2105 audio data section.
cannam@85 2106 Clean up error output messages.
cannam@85 2107
cannam@85 2108 * src/sndfile.c
cannam@85 2109 Add code to prevent sf_read_raw from reading past the end of the audio data.
cannam@85 2110
cannam@85 2111 * tests/Makefile.am
cannam@85 2112 Add the wav_pcm lossy_comp_test.
cannam@85 2113
cannam@85 2114 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2115
cannam@85 2116 * configure.ac src/Makefile.am src/create_symbols_file.py
cannam@85 2117 More OS/2 fixes from David Yeo.
cannam@85 2118
cannam@85 2119 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2120
cannam@85 2121 * src/file_io.c tests/utils.tpl tests/benchmark.tpl
cannam@85 2122 Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
cannam@85 2123
cannam@85 2124 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2125
cannam@85 2126 * src/common.h
cannam@85 2127 Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
cannam@85 2128
cannam@85 2129 * src/create_symbols_file.py
cannam@85 2130 Add support for OS/2 contributed by David Yeo.
cannam@85 2131
cannam@85 2132 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2133
cannam@85 2134 * M4/gcc_version.m4
cannam@85 2135 Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
cannam@85 2136
cannam@85 2137 * configure.ac
cannam@85 2138 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
cannam@85 2139 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
cannam@85 2140 Use -fgnu-inline to prevent stupid warnings.
cannam@85 2141
cannam@85 2142 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2143
cannam@85 2144 * tests/util.tpl
cannam@85 2145 Increase the printing width for print_test_name().
cannam@85 2146
cannam@85 2147 * tests/command_test.c tests/Makefile.am
cannam@85 2148 Add tests for correct updating of broadcast WAV coding history.
cannam@85 2149
cannam@85 2150 * examples/sndfilehandle.cc examples/Makefile.am
cannam@85 2151 Add example program using the C++ SndfileHandle class.
cannam@85 2152
cannam@85 2153 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2154
cannam@85 2155 * src/common.h src/sndfile.c
cannam@85 2156 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
cannam@85 2157
cannam@85 2158 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2159
cannam@85 2160 * src/sd2.c
cannam@85 2161 Identify sample-rate/sample-size/channels by resource id.
cannam@85 2162
cannam@85 2163 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2164
cannam@85 2165 * src/broadcast.c src/common.h src/sndfile.c
cannam@85 2166 Improvements to handling of broadcast info in WAV files. Thanks to Frederic
cannam@85 2167 Cornu and other for their input.
cannam@85 2168
cannam@85 2169 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2170
cannam@85 2171 * src/FLAC/include/share/alloc.h
cannam@85 2172 Mingw fix for SIZE_T_MAX from Uli Franke.
cannam@85 2173
cannam@85 2174 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2175
cannam@85 2176 * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
cannam@85 2177 Move tests from open_fail_test.c to error_test.c and remove the former.
cannam@85 2178
cannam@85 2179 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2180
cannam@85 2181 * tests/scale_clip_test.(def|tpl)
cannam@85 2182 Add tests for SFC_SET_INT_FLOAT_WRITE command.
cannam@85 2183
cannam@85 2184 * doc/command.html
cannam@85 2185 Add docs for SFC_SET_INT_FLOAT_WRITE command.
cannam@85 2186
cannam@85 2187 * examples/sndfile-play.c tests/dft_cmp.c
cannam@85 2188 Fix gcc-4.2 warning messages.
cannam@85 2189
cannam@85 2190 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2191
cannam@85 2192 * src/sndfile.h.in src/sndfile.c
cannam@85 2193 Add command SFC_GET_CURRENT_SF_INFO.
cannam@85 2194
cannam@85 2195 * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
cannam@85 2196 Remove function sf_get_info (only ever in pre-release code).
cannam@85 2197
cannam@85 2198 * tests/command_test.c
cannam@85 2199 Add test for SFC_GET_CURRENT_SF_INFO.
cannam@85 2200
cannam@85 2201 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2202
cannam@85 2203 * src/wav.c
cannam@85 2204 Add parsing of 'exif' chunks. Originally coded by Trent Apted.
cannam@85 2205
cannam@85 2206 * configure.ac
cannam@85 2207 Put config stuff in Cfg directory.
cannam@85 2208 Remove check for inttypes.h.
cannam@85 2209
cannam@85 2210 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2211
cannam@85 2212 * src/w64.c
cannam@85 2213 Fix writing of 'riff' chunk length and check for correct value in parser.
cannam@85 2214
cannam@85 2215 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2216
cannam@85 2217 * doc/index.html
cannam@85 2218 Link to MP3 FAQ entry.
cannam@85 2219
cannam@85 2220 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2221
cannam@85 2222 * src/flac.c
cannam@85 2223 Move the blocksize check to an earlier stage of flac_buffer_copy.
cannam@85 2224
cannam@85 2225 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2226
cannam@85 2227 * src/FLAC
cannam@85 2228 Huge merge from FLAC upstream.
cannam@85 2229
cannam@85 2230 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2231
cannam@85 2232 * examples/*.c
cannam@85 2233 Change license to all example programs to BSD.
cannam@85 2234
cannam@85 2235 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2236
cannam@85 2237 * src/FLAC/include/FLAC/metadata.h
cannam@85 2238 Include <sys/types.h> to prevent compile error on OSX.
cannam@85 2239
cannam@85 2240 * Octave/octave_test.sh
cannam@85 2241 Disable test on OSX. Can't get it to work.
cannam@85 2242
cannam@85 2243 * src/flac.c
cannam@85 2244 Check the blocksize returned from the FLAC decoder to prevent buffer
cannam@85 2245 overruns. Reported by Jeremy Friesner. Thanks.
cannam@85 2246
cannam@85 2247 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2248
cannam@85 2249 * Makefile.am M4/octave.m4
cannam@85 2250 Fix build when Octave headers are not present.
cannam@85 2251
cannam@85 2252 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2253
cannam@85 2254 * doc/development.html
cannam@85 2255 Add note about bzr repository directory looking empty.
cannam@85 2256
cannam@85 2257 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2258
cannam@85 2259 * configure.ac Octave/* M4/octave_*
cannam@85 2260 Bunch of changes to add ability to build GNU Octave modules to read/write
cannam@85 2261 sound files using libsndfile from Octave.
cannam@85 2262
cannam@85 2263 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2264
cannam@85 2265 * acinclude.m4 configure.ac ...
cannam@85 2266 Get rid of acinclude.m4 and replace it with an M4 directory.
cannam@85 2267
cannam@85 2268 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2269
cannam@85 2270 * src/sndfile.h.in
cannam@85 2271 Remove crufty Metrowerks compiler support. Allow header file to be compiled
cannam@85 2272 on windows with both GCC and microsoft compiler.
cannam@85 2273
cannam@85 2274 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2275
cannam@85 2276 * tests/dft_cmp.[ch] tests/floating_point_test.tpl
cannam@85 2277 Clean up floating point tests.
cannam@85 2278
cannam@85 2279 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2280
cannam@85 2281 * src/aiff.c
cannam@85 2282 Fix segfault when COMM chunk length is byte swapped.
cannam@85 2283
cannam@85 2284 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2285
cannam@85 2286 * src/common.h src/mat4.c src/mat5.c src/sndfile.c
cannam@85 2287 Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
cannam@85 2288
cannam@85 2289 * src/au.c
cannam@85 2290 Fix crash on AU files with zero channel count. Reported by Ben Alison.
cannam@85 2291
cannam@85 2292 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2293
cannam@85 2294 * src/voc.c
cannam@85 2295 Fix bug in handling file supplied by Matt Olenik.
cannam@85 2296
cannam@85 2297 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2298
cannam@85 2299 * src/OGG
cannam@85 2300 Merge from OGG upstream sources.
cannam@85 2301
cannam@85 2302 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2303
cannam@85 2304 * src/FLAC
cannam@85 2305 Merge from FLAC upstream sources.
cannam@85 2306
cannam@85 2307 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2308
cannam@85 2309 * src/flac.c
cannam@85 2310 Fix memory leak; set copy parameter to FALSE in call to
cannam@85 2311 FLAC__metadata_object_vorbiscomment_append_comment.
cannam@85 2312
cannam@85 2313 * src/common.[ch]
cannam@85 2314 Add function psf_rand_int32().
cannam@85 2315
cannam@85 2316 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2317
cannam@85 2318 * src/FLAC
cannam@85 2319 Merge from FLAC upstream sources.
cannam@85 2320
cannam@85 2321 * src/strings.c tests/string_test.c tests/Makefile.am
cannam@85 2322 Make sure string tests for SF_STR_LICENSE actually works.
cannam@85 2323
cannam@85 2324 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2325
cannam@85 2326 * tests/string_test.c
cannam@85 2327 Add ability to test strings stored in metadata secion of FLAC files.
cannam@85 2328
cannam@85 2329 * src/string.c
cannam@85 2330 Fix logic for testing if audio data has been written and string is added.
cannam@85 2331 Make sure SF_STR_ALBUM actually works.
cannam@85 2332
cannam@85 2333 * src/flac.c
cannam@85 2334 Finalize reading/writing string metadata. Tests pass.
cannam@85 2335
cannam@85 2336 * src/sndfile.h.in tests/string_test.c src/flac.c
cannam@85 2337 Add string type SF_STR_LICENSE, update test and use for FLAC files.
cannam@85 2338
cannam@85 2339 * src/sndfile.h.in
cannam@85 2340 Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
cannam@85 2341
cannam@85 2342 * src/common.h src/double64.c src/float32.c src/sndfile.c
cannam@85 2343 Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
cannam@85 2344
cannam@85 2345 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2346
cannam@85 2347 * src/flac.c
cannam@85 2348 Apply patch from Ed Schouten to read artist and title metadata from FLAC
cannam@85 2349 files.
cannam@85 2350 Improve reporting of FLAC metadata.
cannam@85 2351
cannam@85 2352 * src/sndfile.h.in tests/string_test.c src/flac.c
cannam@85 2353 Add string type SF_STR_ALBUM, update test and use for FLAC files.
cannam@85 2354
cannam@85 2355 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2356
cannam@85 2357 * src/FLAC/*
cannam@85 2358 Merge from upstream CVS.
cannam@85 2359
cannam@85 2360 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2361
cannam@85 2362 * src/FLAC/*
cannam@85 2363 Update from upstream CVS.
cannam@85 2364
cannam@85 2365 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2366
cannam@85 2367 * tests/cpp_test.cc
cannam@85 2368 Add extra tests for when the SndfileHandle constructor fails.
cannam@85 2369
cannam@85 2370 * src/sndfile.hh
cannam@85 2371 Make sure failure to open the file in the constructor does not allow later
cannam@85 2372 calls to other methods to fail.
cannam@85 2373
cannam@85 2374 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2375
cannam@85 2376 * tests/util.tpl
cannam@85 2377 Add function write_mono_file.
cannam@85 2378
cannam@85 2379 * tests/generate.[ch] tests/Makefile.am
cannam@85 2380 Add files generate.[ch] and hook into build.
cannam@85 2381
cannam@85 2382 * tests/write_read_test.tpl
cannam@85 2383 Add multi_seek_test.
cannam@85 2384
cannam@85 2385 * src/flac.c
cannam@85 2386 Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
cannam@85 2387 by David Viens.
cannam@85 2388
cannam@85 2389 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2390
cannam@85 2391 * doc/FAQ.html
cannam@85 2392 Minor update.
cannam@85 2393
cannam@85 2394 * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
cannam@85 2395 Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
cannam@85 2396
cannam@85 2397 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2398
cannam@85 2399 * src/wav.c
cannam@85 2400 Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
cannam@85 2401
cannam@85 2402 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2403
cannam@85 2404 * src/wav.c
cannam@85 2405 Fix array indexing bug raised by Bruce Sharpe.
cannam@85 2406
cannam@85 2407 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2408
cannam@85 2409 * src/FLAC/src/share/getopt/getopt.c
cannam@85 2410 Fix Mac OSX / PowerPC compile warnings.
cannam@85 2411
cannam@85 2412 * configure.ac
cannam@85 2413 Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
cannam@85 2414
cannam@85 2415 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2416
cannam@85 2417 * doc/FAQ.html
cannam@85 2418 Add Q/A about MP3 support.
cannam@85 2419
cannam@85 2420 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2421
cannam@85 2422 * doc/new_file_type.HOWTO
cannam@85 2423 Minor updates.
cannam@85 2424
cannam@85 2425 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2426
cannam@85 2427 * src/wve.c
cannam@85 2428 Fix a couple bad parameters with psf_log_printf.
cannam@85 2429
cannam@85 2430 * src/pcm.c
cannam@85 2431 Improve error reporting.
cannam@85 2432
cannam@85 2433 * src/common.h src/common.c
cannam@85 2434 Constify psf_hexdump.
cannam@85 2435
cannam@85 2436 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2437
cannam@85 2438 * src/FLAC
cannam@85 2439 Ditch and re-import required FLAC code.
cannam@85 2440
cannam@85 2441 * configure.ac
cannam@85 2442 Force FLAC__HAS_OGG variable to 1.
cannam@85 2443
cannam@85 2444 * src/FLAC/src/libFLAC/stream_encoder.c
cannam@85 2445 Fix compiler warnings.
cannam@85 2446
cannam@85 2447 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2448
cannam@85 2449 * configure.ac tests/win32_ordinal_test.c
cannam@85 2450 Detect if win32 DLL is beging generated and only run win32_ordinal_test if
cannam@85 2451 true.
cannam@85 2452
cannam@85 2453 * src/G72x/Makefile.am src/Makefile.am
cannam@85 2454 Use $(EXEEXT) where possible.
cannam@85 2455
cannam@85 2456 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2457
cannam@85 2458 * src/wve.c src/common.h src/sndfile.c
cannam@85 2459 Complete definition of SfE_WVE_NO_WVE error message.
cannam@85 2460
cannam@85 2461 * src/wve.c
cannam@85 2462 Fix error in files generated on big endian systems. Robustify parsing.
cannam@85 2463
cannam@85 2464 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2465
cannam@85 2466 * src/double64.c
cannam@85 2467 Fix clipping of double to short conversions on 64 bit systems.
cannam@85 2468
cannam@85 2469 * src/flac.c regtest/database.c tests/cpp_test.cc
cannam@85 2470 Fix compile warnings for 64 bit systems.
cannam@85 2471
cannam@85 2472 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2473
cannam@85 2474 * src/wav.c src/wav_w64.c
cannam@85 2475 Use audio detect function when 'fmt ' chunk data is suspicious.
cannam@85 2476
cannam@85 2477 * configure.ac
cannam@85 2478 Add ugly hack to remove -Werror from some Makefiles.
cannam@85 2479
cannam@85 2480 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2481
cannam@85 2482 * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
cannam@85 2483 Add patch from André Pang to clean up compiles on OSX.
cannam@85 2484
cannam@85 2485 * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
cannam@85 2486 examples/sndfile-convert.c
cannam@85 2487 Merge changes from Reuben Thomas to improve WVE support.
cannam@85 2488
cannam@85 2489 * tests/lossy_comp_test.c tests/Makefile.am
cannam@85 2490 Add tests for WVE files.
cannam@85 2491
cannam@85 2492 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2493
cannam@85 2494 * src/sndfile.hh
cannam@85 2495 Add a static SndfileHandle::formatCheck method as suggested by Jorge
cannam@85 2496 Jiménez.
cannam@85 2497
cannam@85 2498 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2499
cannam@85 2500 * src/sndfile.c
cannam@85 2501 Fixed a bug in sf_error() where the function itself was being compared
cannam@85 2502 against zero. Add a check for a NULL return from peak_info_calloc. Fix a
cannam@85 2503 possible NULL dereference.
cannam@85 2504
cannam@85 2505 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2506
cannam@85 2507 * src/flac.c
cannam@85 2508 Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
cannam@85 2509 opening file for RDWR.
cannam@85 2510
cannam@85 2511 * src/sndfile.c
cannam@85 2512 Improve error message for SFE_BAD_RDWR_FORMAT.
cannam@85 2513
cannam@85 2514 * src/mat4.c
cannam@85 2515 Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
cannam@85 2516
cannam@85 2517 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2518
cannam@85 2519 * doc/FAQ.html
cannam@85 2520 Add Q/A 19 on project files.
cannam@85 2521
cannam@85 2522 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2523
cannam@85 2524 * src/sndfile.c
cannam@85 2525 Guard agains MacOSX universal binary compiles.
cannam@85 2526
cannam@85 2527 * doc/FAQ.html
cannam@85 2528 Add Q/A 18 and clean up Q3.
cannam@85 2529
cannam@85 2530 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2531
cannam@85 2532 * src/aiff.c
cannam@85 2533 Add support for 'in24' files.
cannam@85 2534
cannam@85 2535 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2536
cannam@85 2537 * src/wav.c src/wav_w64.c src/wav_w64.h
cannam@85 2538 Start work towards detecting ausio codec type from the actual audio data.
cannam@85 2539
cannam@85 2540 * src/audio_detect.c src/test_audio_detect.c
cannam@85 2541 Add new file and its unit test.
cannam@85 2542
cannam@85 2543 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2544
cannam@85 2545 * examples/cooledit-fixer.c examples/Makefile.am
cannam@85 2546 Remove old broken example program.
cannam@85 2547
cannam@85 2548 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2549
cannam@85 2550 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
cannam@85 2551 Add function sf_get_info.
cannam@85 2552
cannam@85 2553 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2554
cannam@85 2555 * examples/sndfile-play.c
cannam@85 2556 For ALSA, use the 'default' device instead of 'plughw:0'.
cannam@85 2557
cannam@85 2558 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2559
cannam@85 2560 * src/sndfile.c
cannam@85 2561 Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
cannam@85 2562
cannam@85 2563 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2564
cannam@85 2565 * doc/development.html doc/embedded_files.html man/sndfile-play.1
cannam@85 2566 Minor documentation fixes. Thanks Reuben Thomas.
cannam@85 2567
cannam@85 2568 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2569
cannam@85 2570 * examples/sndfile-convert.c
cannam@85 2571 Add -override-sample-rate command line option.
cannam@85 2572
cannam@85 2573 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2574
cannam@85 2575 * tests/misc_test.c
cannam@85 2576 Force errno to zero at start of some tests.
cannam@85 2577
cannam@85 2578 * src/sndfile.c
cannam@85 2579 Minor clean up of error handling.
cannam@85 2580
cannam@85 2581 * configure.ac
cannam@85 2582 Remove an assembler test which was failing on OSX.
cannam@85 2583
cannam@85 2584 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2585
cannam@85 2586 * src/common.h
cannam@85 2587 Fix the definition of SF_PLATFORM_S64 for MinGW.
cannam@85 2588
cannam@85 2589 * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
cannam@85 2590 Fix path problems for MinGW.
cannam@85 2591
cannam@85 2592 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2593
cannam@85 2594 * src/sfendian.h
cannam@85 2595 Add include guard.
cannam@85 2596
cannam@85 2597 * src/Makefile.am src/flac.c
cannam@85 2598 Clean up include paths.
cannam@85 2599
cannam@85 2600 * src/test_conversions.c
cannam@85 2601 New file to test psf_binheader_readf/writef functions.
cannam@85 2602
cannam@85 2603 * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
cannam@85 2604 Clean up unit testing.
cannam@85 2605
cannam@85 2606 * src/common.c
cannam@85 2607 Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
cannam@85 2608 for reporting this.
cannam@85 2609
cannam@85 2610 * src/test_conversions.c
cannam@85 2611 Complete unit test for above fix.
cannam@85 2612
cannam@85 2613 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2614
cannam@85 2615 * src/sndfile.c
cannam@85 2616 More refactoring to clean up psf_open_file() and vairous sf_open()
cannam@85 2617 functions.
cannam@85 2618
cannam@85 2619 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2620
cannam@85 2621 * src/wav.c
cannam@85 2622 Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
cannam@85 2623 files of over 4 gigabytes.
cannam@85 2624
cannam@85 2625 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2626
cannam@85 2627 * src/sndfile.c
cannam@85 2628 Refactor function psf_open_file() to provide a single return point.
cannam@85 2629
cannam@85 2630 * tests/misc_test.c
cannam@85 2631 Fix permission_test to ensure that read only file can be created.
cannam@85 2632
cannam@85 2633 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2634
cannam@85 2635 * src/common.h
cannam@85 2636 Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
cannam@85 2637 bit integers.
cannam@85 2638
cannam@85 2639 * src/aiff.c src/svx.c src/wav.c
cannam@85 2640 Add warning in log if files are larger than 4 gigabytes in size.
cannam@85 2641
cannam@85 2642 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2643
cannam@85 2644 * src/FLAC src/OGG confgure.ac src/Makefile.am
cannam@85 2645 Pull in all required FLAC and OGG code so external libraries are not
cannam@85 2646 needed. This makes compiling on stupid fscking Windoze easier.
cannam@85 2647
cannam@85 2648 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2649
cannam@85 2650 * src/sd2.c
cannam@85 2651 Add workaround for switched sample rate and sample size.
cannam@85 2652
cannam@85 2653 * src/wav.c
cannam@85 2654 Add workaround for excessively long coding history in the 'bext' chunk.
cannam@85 2655
cannam@85 2656 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2657
cannam@85 2658 * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
cannam@85 2659 Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
cannam@85 2660
cannam@85 2661 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2662
cannam@85 2663 * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
cannam@85 2664 Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
cannam@85 2665 files. Still needs a little tweaking before its ready for release.
cannam@85 2666
cannam@85 2667 * src/*.c
cannam@85 2668 Use the UNUSED macro to prevent compiler warnings.
cannam@85 2669
cannam@85 2670 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2671
cannam@85 2672 * src/aiff.c
cannam@85 2673 Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
cannam@85 2674 to David Viens for providing two example files.
cannam@85 2675
cannam@85 2676 * src/common.(c|h) src/aiff.c
cannam@85 2677 Add a function psf_sanitize_string and use it in aiff.c.
cannam@85 2678
cannam@85 2679 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2680
cannam@85 2681 * src/wav_w64.c
cannam@85 2682 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
cannam@85 2683
cannam@85 2684 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2685
cannam@85 2686 * src/Makefile.am
cannam@85 2687 Fix problem related to recent test coverage changes.
cannam@85 2688
cannam@85 2689 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2690
cannam@85 2691 * configure.ac tests/Makefile.am
cannam@85 2692 Add --enable-test-coverage configure option.
cannam@85 2693
cannam@85 2694 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2695
cannam@85 2696 * src/sndfile.hh
cannam@85 2697 Add an std::string SndfileHandle constructor.
cannam@85 2698
cannam@85 2699 * tests/scale_clip_test.tpl
cannam@85 2700 Fix the 'make distcheck' target.
cannam@85 2701
cannam@85 2702 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2703
cannam@85 2704 * src/double64.c src/float32.c
cannam@85 2705 Add optional clipping on float file data to int read data conversions.
cannam@85 2706
cannam@85 2707 * tests/tests/scale_clip_test.(def|tpl)
cannam@85 2708 Add test for above new code.
cannam@85 2709
cannam@85 2710 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2711
cannam@85 2712 * tests/aiff_rw_test.c
cannam@85 2713 Add 'MARK' chunks to make sure they are parsed correctly.
cannam@85 2714
cannam@85 2715 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2716
cannam@85 2717 * src/aiff.c
cannam@85 2718 Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
cannam@85 2719 help debug the problem.
cannam@85 2720
cannam@85 2721 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2722
cannam@85 2723 * src/common.h
cannam@85 2724 Make the SF_MIN and SF_MAX macros at least partially type safe.
cannam@85 2725
cannam@85 2726 * tests/lossy_comp_test.c
cannam@85 2727 Fix overflow problems when ensuring that signalis not zero.
cannam@85 2728
cannam@85 2729 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2730
cannam@85 2731 * configure.ac docs/*.html
cannam@85 2732 Changes for release 1.0.17.
cannam@85 2733
cannam@85 2734 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2735
cannam@85 2736 * src/flac.c
cannam@85 2737 Remove inline from functions called by pointer. Thanks to Sampo Savolainen
cannam@85 2738 for notifying me of this.
cannam@85 2739
cannam@85 2740 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2741
cannam@85 2742 * src/sndfile.hh
cannam@85 2743 Add writeSync method.
cannam@85 2744 Add copy constructor and assignment operator (thanks Daniel Schmitt).
cannam@85 2745 Add methods readRaw and writeRaw.
cannam@85 2746 Make read/write/readf/writef simple overlaods instead of templates (thanks
cannam@85 2747 to Trent Apted for suggesting this).
cannam@85 2748
cannam@85 2749 * tests/cpp_test.cc
cannam@85 2750 Cleanup. Add tests.
cannam@85 2751
cannam@85 2752 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2753
cannam@85 2754 * src/sndfile.hh
cannam@85 2755 Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
cannam@85 2756 Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
cannam@85 2757 openReadWrite methods.
cannam@85 2758 Add const to SF_INFO pointer in Sndfile constructor.
cannam@85 2759 Make the destrictor call the close() method.
cannam@85 2760
cannam@85 2761 * tests/cpp_test.cc
cannam@85 2762 Add more tests.
cannam@85 2763
cannam@85 2764 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2765
cannam@85 2766 * tests/cpp_test.cc
cannam@85 2767 Remove the generated file so "make distcheck" passes.
cannam@85 2768
cannam@85 2769 * src/Makefile.am
cannam@85 2770 Add sndfile.hh to distributed header files.
cannam@85 2771
cannam@85 2772 * src/sndfile.hh
cannam@85 2773 Change the license for the C++ wrapper to modified BSD.
cannam@85 2774
cannam@85 2775 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2776
cannam@85 2777 * src/sndfile.hh
cannam@85 2778 Complete it.
cannam@85 2779
cannam@85 2780 * tests/cpp_test.cc
cannam@85 2781 Add more tests.
cannam@85 2782
cannam@85 2783 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2784
cannam@85 2785 * tests/utils.tpl
cannam@85 2786 Add extern C to generated header file.
cannam@85 2787
cannam@85 2788 * src/sndfile.hh
cannam@85 2789 Work towards completing this.
cannam@85 2790
cannam@85 2791 * tests/cpp_test.cc tests/Makefile.am
cannam@85 2792 Add a C++ test and hook into build.
cannam@85 2793
cannam@85 2794 * configure.ac
cannam@85 2795 Add appropriate CXXFLAGS.
cannam@85 2796
cannam@85 2797 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2798
cannam@85 2799 * configure.ac
cannam@85 2800 Test if compiler supports -Wpointer-arith.
cannam@85 2801
cannam@85 2802 * src/common.c
cannam@85 2803 Fix a warning resulting from -Wpointer-arith.
cannam@85 2804
cannam@85 2805 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2806
cannam@85 2807 * examples/sndfile-play.c
cannam@85 2808 Explicitly set endian-ness as well as setting 16 bit output.
cannam@85 2809
cannam@85 2810 * examples/sndfile-info.c
cannam@85 2811 Make sure to parse info if file fails to open.
cannam@85 2812
cannam@85 2813 * src/sndfile.c
cannam@85 2814 Handle parse error a little better.
cannam@85 2815
cannam@85 2816 * src/wav_w64.[ch]
cannam@85 2817 Minor clean up, add detection of IPP ITU G723.1.
cannam@85 2818
cannam@85 2819 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2820
cannam@85 2821 * src/sndfile.c
cannam@85 2822 Make sure psf->dataoffset gets reset to zero when openning headersless
cannam@85 2823 files based on the file name extension.
cannam@85 2824
cannam@85 2825 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2826
cannam@85 2827 * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
cannam@85 2828 tests/write_read_test.(tpl|def)
cannam@85 2829 Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
cannam@85 2830 break strict-aliasing rules".
cannam@85 2831
cannam@85 2832 * examples/cooledit-fixer.c
cannam@85 2833 More fixes like above.
cannam@85 2834
cannam@85 2835 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2836
cannam@85 2837 * src/file_io.c
cannam@85 2838 Fix a windows bug where the syserr string of SF_PRIVATE was not being set
cannam@85 2839 correctly.
cannam@85 2840
cannam@85 2841 * src/sndfile.c
cannam@85 2842 Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
cannam@85 2843
cannam@85 2844 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2845
cannam@85 2846 * configure.ac
cannam@85 2847 Fixed detection of S_IRGRP.
cannam@85 2848
cannam@85 2849 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2850
cannam@85 2851 * sndfile-convert.c
cannam@85 2852 Add conversion SF_INSTRUMENT data when present.
cannam@85 2853
cannam@85 2854 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2855
cannam@85 2856 * doc/development.html
cannam@85 2857 Removed references to tla on windows.
cannam@85 2858
cannam@85 2859 * src/common.h src/sndfile.c
cannam@85 2860 Add separate void pointers for file containter and file codec data to
cannam@85 2861 SF_PRIVATE struct. Still need to move all existing fdata pointers.
cannam@85 2862
cannam@85 2863 * tests/write_read_test.tpl
cannam@85 2864 Change the order of some tests.
cannam@85 2865
cannam@85 2866 * src/aiff.c
cannam@85 2867 When writing 'AIFC' files, make sure get an 'FVER' gets added.
cannam@85 2868
cannam@85 2869 * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
cannam@85 2870 src/(sndfile|voc|vox_adpcm|xi).c
cannam@85 2871 Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
cannam@85 2872
cannam@85 2873 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2874
cannam@85 2875 * Win32/testprog.c Win32/Makefile.am
cannam@85 2876 Add a minimal win32 test program.
cannam@85 2877
cannam@85 2878 * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
cannam@85 2879 Update readme and Mingw build script.
cannam@85 2880
cannam@85 2881 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2882
cannam@85 2883 * configure.ac acinclude.m4
cannam@85 2884 Minor fixes for Solaris.
cannam@85 2885
cannam@85 2886 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2887
cannam@85 2888 * src/test_endswap.(def|tpl)
cannam@85 2889 Fix printf formatting for int64_t on 64 bit machines.
cannam@85 2890
cannam@85 2891 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2892
cannam@85 2893 * src/binhead_check.py
cannam@85 2894 New file to check for bad parameters passed to psf_binheader_writef().
cannam@85 2895
cannam@85 2896 * src/Makefile.am
cannam@85 2897 Hook into test suite.
cannam@85 2898
cannam@85 2899 * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
cannam@85 2900 Fix bugs found by new test program.
cannam@85 2901
cannam@85 2902 * src/double64.c
cannam@85 2903 Clean up double64_get_capability().
cannam@85 2904
cannam@85 2905 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2906
cannam@85 2907 * src/wav_w64.c
cannam@85 2908 Fix a bug on x86_64 where an int was being passed via stdargs and being
cannam@85 2909 read using size_t which is 64 bits. Thenks to John ffitch for giving me a
cannam@85 2910 login on his box.
cannam@85 2911
cannam@85 2912 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2913
cannam@85 2914 * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
cannam@85 2915 tests/utils.tpl
cannam@85 2916 Fix a couple of signed/unsigned problems.
cannam@85 2917
cannam@85 2918 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2919
cannam@85 2920 * tests/command_test.c
cannam@85 2921 Add channel map tests.
cannam@85 2922
cannam@85 2923 * src/common.h src/sndfile.c
cannam@85 2924 Add a pointer the the SF_PRIVATE struct and make sure it gets freed in
cannam@85 2925 sf_close().
cannam@85 2926
cannam@85 2927 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2928
cannam@85 2929 * configure.ac doc/(command|index|api).html NEWS README
cannam@85 2930 Updates for 1.0.16 release.
cannam@85 2931
cannam@85 2932 * src/sndfile.h.in
cannam@85 2933 Define enums for channel mapping.
cannam@85 2934
cannam@85 2935 * examples/sndfile-info.c
cannam@85 2936 Clean up usage of SF_INFO struct.
cannam@85 2937
cannam@85 2938 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2939
cannam@85 2940 * tests/util.tpl
cannam@85 2941 Add function testing function exit_if_true().
cannam@85 2942
cannam@85 2943 * tests/floating_point_test.tpl
cannam@85 2944 Fix a problem where the test program was not exiting when the test failed.
cannam@85 2945
cannam@85 2946 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2947
cannam@85 2948 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
cannam@85 2949 Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
cannam@85 2950
cannam@85 2951 * doc/commands.html
cannam@85 2952 Document new commands. Other minor updates.
cannam@85 2953
cannam@85 2954 * tests/peak_chunk_test.c
cannam@85 2955 Update tests for new commands.
cannam@85 2956
cannam@85 2957 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2958
cannam@85 2959 * tests/peak_chunk_test.c
cannam@85 2960 Add test for RIFX and WAVEX files.
cannam@85 2961 Try and confuse the PEAK chunk writing by enabling and disabling it.
cannam@85 2962
cannam@85 2963 * src/sndfile.c
cannam@85 2964 Fix a bug where enabling and disabling PEAK chunk was screwing up.
cannam@85 2965
cannam@85 2966 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2967
cannam@85 2968 * src/sndfile.h.in
cannam@85 2969 Add the block of 190 reserved bytes into this struct to allow for
cannam@85 2970 future expansion.
cannam@85 2971
cannam@85 2972 * src/wav.c src/sndfile.c src/broadcast.c
cannam@85 2973 Significant cleanup of broadcast wave stuff.
cannam@85 2974
cannam@85 2975 * examples/sndfile-info.c
cannam@85 2976 Fix print message.
cannam@85 2977
cannam@85 2978 * tests/command_test.c tests/Makefile.am
cannam@85 2979 Complete bext tests, hook test in test suite.
cannam@85 2980
cannam@85 2981 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2982
cannam@85 2983 * src/sndfile.h.in
cannam@85 2984 Make coding_history field of SF_BROADCAST_INFO struct a char array instead
cannam@85 2985 of a char pointer.
cannam@85 2986
cannam@85 2987 * src/sndfile.c src/common.h src/wav.c
cannam@85 2988 Clean up knock on effects of above chnage.
cannam@85 2989
cannam@85 2990 * examples/sndfile-info.c
cannam@85 2991 Add -b command line option to usage message.
cannam@85 2992 Clean up output of broadcast wave info.
cannam@85 2993
cannam@85 2994 * src/wav.c
cannam@85 2995 Ignore and skip the 'levl' chunk.
cannam@85 2996
cannam@85 2997 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 2998
cannam@85 2999 * configure.ac
cannam@85 3000 Fix handling of --enable and --disable configure args. Thanks to Diego
cannam@85 3001 'Flameeyes' Pettenò who sent the patch.
cannam@85 3002
cannam@85 3003 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3004
cannam@85 3005 * doc/win32.html
cannam@85 3006 Make it really clear that although the MSVC++ cannot compile libsndfile,
cannam@85 3007 the precompiled DLL can be used in C++ programs compiled with MSVC++.
cannam@85 3008
cannam@85 3009 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3010
cannam@85 3011 * src/aiff.c
cannam@85 3012 Fix bug in writing of INST chunk in AIFF files.
cannam@85 3013 Fix potential bug in writing MARK chunks.
cannam@85 3014
cannam@85 3015 * src/sndfile.c
cannam@85 3016 Make sure the instrument chunk can only be written at the start of the file.
cannam@85 3017
cannam@85 3018 * tests/command_test.c
cannam@85 3019 Add check of log buffer.
cannam@85 3020
cannam@85 3021 * tests/utils.tpl
cannam@85 3022 Add usage of space character to psf_binheader_writef.
cannam@85 3023
cannam@85 3024 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3025
cannam@85 3026 * src/Makefile.am tests/Makefile.am
cannam@85 3027 Remove --source-time argument from autogen command lines.
cannam@85 3028
cannam@85 3029 * src/broadcast.c
cannam@85 3030 New file for EBU Broadcast chunk in WAV files.
cannam@85 3031
cannam@85 3032 * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
cannam@85 3033 Add patch from Paul Davis implementing read/write of the BEXT chunk.
cannam@85 3034
cannam@85 3035 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3036
cannam@85 3037 * Win32/README-precompiled-dll.txt
cannam@85 3038 New file descibing how to use the precompiled DLL.
cannam@85 3039
cannam@85 3040 * Win32/Makefile.am
cannam@85 3041 Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
cannam@85 3042
cannam@85 3043 * configure.ac
cannam@85 3044 Bump version to 1.0.15.
cannam@85 3045
cannam@85 3046 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3047
cannam@85 3048 * src/wav.c
cannam@85 3049 On read, only add the endian flag if the file is big endian.
cannam@85 3050
cannam@85 3051 * src/ms_adpcm.c
cannam@85 3052 Fixed writing of APDCM coeffs in RIFX files.
cannam@85 3053
cannam@85 3054 * tests/write_read_test.tpl tests/lossy_comp_test.c
cannam@85 3055 Add tests for RIFX files.
cannam@85 3056
cannam@85 3057 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3058
cannam@85 3059 * Mingw-make-dist.sh
cannam@85 3060 Bunch of improvements.
cannam@85 3061
cannam@85 3062 * doc/win32.html
cannam@85 3063 Update MinGW program versions.
cannam@85 3064
cannam@85 3065 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3066
cannam@85 3067 * src/create_symbols_file.py
cannam@85 3068 Fix the library name in created win32 DEF file. Add correct DLL name for
cannam@85 3069 Cygwin DLL.
cannam@85 3070
cannam@85 3071 * Win32/Makefile.am tests/Makefile.am
cannam@85 3072 Remove redundant files, add win32_ordinal_test to test suite.
cannam@85 3073
cannam@85 3074 * tests/win32_ordinal_test.c
cannam@85 3075 Update to do test in cygsndfile-1.dll as well.
cannam@85 3076
cannam@85 3077 * doc/win32.html
cannam@85 3078 Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
cannam@85 3079
cannam@85 3080 * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
cannam@85 3081 Apply large patch from Jesse Chappell which adds support for RIFX files.
cannam@85 3082
cannam@85 3083 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3084
cannam@85 3085 * Makefile.am
cannam@85 3086 Add Mingw-make-dist.sh to the extra dist files.
cannam@85 3087
cannam@85 3088 * configure.ac
cannam@85 3089 Fix setting SHLIB_VERSION_ARG for MinGW.
cannam@85 3090
cannam@85 3091 * tests/win32_ordinal_test.c
cannam@85 3092 New test program to test that the win32 DLL ordinals agree with the DEF
cannam@85 3093 file.
cannam@85 3094
cannam@85 3095 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3096
cannam@85 3097 * src/common.h
cannam@85 3098 Add a static inline function to convert an int to a size_t. This will be
cannam@85 3099 a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
cannam@85 3100
cannam@85 3101 * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
cannam@85 3102 Fix an ia64 problem where a varargs function was being passed an int in
cannam@85 3103 some places and a size_t in other places.
cannam@85 3104
cannam@85 3105 * src/sd2.c
cannam@85 3106 Add a workaround for situations where OSX seems to add an extra 0x52 bytes
cannam@85 3107 to the start of the resource fork.
cannam@85 3108
cannam@85 3109 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3110
cannam@85 3111 * Mingw-make-dist.sh
cannam@85 3112 Add a shell script to build the windows binary/source ZIP file.
cannam@85 3113
cannam@85 3114 * doc/index.html
cannam@85 3115 Add download link for windows binary/source ZIP file. Add links for GPG
cannam@85 3116 signatures.
cannam@85 3117
cannam@85 3118 * doc/win32.html
cannam@85 3119 Remove info about building using microsoft compiler.
cannam@85 3120
cannam@85 3121 * configure.ac
cannam@85 3122 Bump version to 1.0.14.
cannam@85 3123
cannam@85 3124 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3125
cannam@85 3126 * src/sd2.c
cannam@85 3127 Improve logging of errors in resource fork parser.
cannam@85 3128
cannam@85 3129 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3130
cannam@85 3131 * Win32/Makefile.msvc
cannam@85 3132 Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
cannam@85 3133
cannam@85 3134 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3135
cannam@85 3136 * src/common.c
cannam@85 3137 Make sure return values are initialised header buffer is full.
cannam@85 3138
cannam@85 3139 * src/wav.c
cannam@85 3140 Add workarounds for messed up WAV files.
cannam@85 3141
cannam@85 3142 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3143
cannam@85 3144 * Win32/config.h
cannam@85 3145 Undef HAVE_INTTYPES_H for win32.
cannam@85 3146
cannam@85 3147 * tests/command_test.c
cannam@85 3148 Don't exit on error in instrument test for XI files.
cannam@85 3149
cannam@85 3150 * configure.ac
cannam@85 3151 Bump version to 1.0.13.
cannam@85 3152
cannam@85 3153 * doc/*.html NEWS README
cannam@85 3154 Update version numbers.
cannam@85 3155
cannam@85 3156 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3157
cannam@85 3158 * src/xi.c
cannam@85 3159 Start work on add read/write of instrument chunks.
cannam@85 3160
cannam@85 3161 * src/command_test.c
cannam@85 3162 Add tests for XI instrument chunk.
cannam@85 3163
cannam@85 3164 * tests/largefile_test.c tests/Makefile.am
cannam@85 3165 Add new test and hook it into the build system. This test will not be run
cannam@85 3166 automatically because it requires 3 Gig of disk space and takes 3 minutes
cannam@85 3167 to run.
cannam@85 3168
cannam@85 3169 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3170
cannam@85 3171 * examples/sndfile-play.c
cannam@85 3172 Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
cannam@85 3173
cannam@85 3174 * src/common.h
cannam@85 3175 Make sure length of header buffer can hold header plus strings. Thanks Axel
cannam@85 3176 Röbel.
cannam@85 3177
cannam@85 3178 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3179
cannam@85 3180 * src/sndfile.h.in src/aiff.c src/wav.c
cannam@85 3181 Apply a patch from John ffitch (Csound project).
cannam@85 3182 Add detune field to SF_INSTRUMENT struct.
cannam@85 3183 Add reading/writing instrument chunks to WAV files.
cannam@85 3184
cannam@85 3185 * tests/command_test.c
cannam@85 3186 Update SF_INSTRUMENT tests.
cannam@85 3187
cannam@85 3188 * tests/Makefile.am
cannam@85 3189 Hook instrument tests into test suite.
cannam@85 3190
cannam@85 3191 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3192
cannam@85 3193 * configure.ac
cannam@85 3194 Check for <inttypes.h> because some broken systems (like Solaris) don't have
cannam@85 3195 <stdint.h> which is the 1999 ISO C standard file containing int64_t.
cannam@85 3196
cannam@85 3197 * src/sfendian.h src/common.h
cannam@85 3198 Use <inttypes.h> if <stdint.h> is not available.
cannam@85 3199
cannam@85 3200 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3201
cannam@85 3202 * tests/peak_chunk_test.c
cannam@85 3203 Extend and clean up tests.
cannam@85 3204
cannam@85 3205 * src/sndfile.c
cannam@85 3206 Fix a bug that prevented the turning off of PEAK chunks.
cannam@85 3207
cannam@85 3208 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3209
cannam@85 3210 * tests/error_test.c
cannam@85 3211 Make the test distclean correct.
cannam@85 3212
cannam@85 3213 * src/file_io.c
cannam@85 3214 Fix an SD2 MacOSX bug (reported by vince schwarzinger).
cannam@85 3215
cannam@85 3216 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3217
cannam@85 3218 * src/aiff.c tests/command_test.c
cannam@85 3219 Apply a big patch from John ffitch (Csound project) to add reading and
cannam@85 3220 writing of instrument chunks to AIFF files. Also update the test.
cannam@85 3221
cannam@85 3222 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3223
cannam@85 3224 * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
cannam@85 3225 Move test function dump_data_to_file() to utils.tpl.
cannam@85 3226
cannam@85 3227 * tests/error_test.c tests/Makefile.am
cannam@85 3228 Updates, including a new test to test that sf_error() returns a valid error
cannam@85 3229 number.
cannam@85 3230
cannam@85 3231 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3232
cannam@85 3233 * examples/list_formats.c
cannam@85 3234 Make sure the SF_INFO struct is memset to all zero before being used.
cannam@85 3235 Thanks to Stephen F. Booth.
cannam@85 3236
cannam@85 3237 * src/sndfile.c
cannam@85 3238 Make the return value of sf_error() match the API documentation.
cannam@85 3239
cannam@85 3240 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3241
cannam@85 3242 * examples/sndfile-convert.c
cannam@85 3243 Allow conversion to raw gsm610.
cannam@85 3244
cannam@85 3245 * src/common.h src/sndfile.c src/au.c
cannam@85 3246 Remove au_nh_open() and all references to it (wasn't working anyway).
cannam@85 3247
cannam@85 3248 * tests/headerless_test.c
cannam@85 3249 Add new test for file extension based detection.
cannam@85 3250
cannam@85 3251 * src/sndfile.c
cannam@85 3252 Rejig file extension based file type detection.
cannam@85 3253
cannam@85 3254 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3255
cannam@85 3256 * src/sndfile.c
cannam@85 3257 Add "gsm" as a recognised file extension when no magic number can be found.
cannam@85 3258
cannam@85 3259 * tests/lossy_comp_test.c tests/Makefile.am
cannam@85 3260 Test headerless GSM610.
cannam@85 3261
cannam@85 3262 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3263
cannam@85 3264 * doc/api.html
cannam@85 3265 Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
cannam@85 3266
cannam@85 3267 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3268
cannam@85 3269 * src/wav_w64.c
cannam@85 3270 Add more reporting of 'fmt ' chunk for G721 encoded files.
cannam@85 3271
cannam@85 3272 * src/wav.c
cannam@85 3273 Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
cannam@85 3274
cannam@85 3275 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3276
cannam@85 3277 * src/G72x/g72x.[ch]
cannam@85 3278 Minor cleanup of interface.
cannam@85 3279
cannam@85 3280 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3281
cannam@85 3282 * src/ogg.c
cannam@85 3283 Removed the horribly broken and non-functional OGG implementation when
cannam@85 3284 --enable-experimental was enabled. When OGG does finally work it will be
cannam@85 3285 merged.
cannam@85 3286
cannam@85 3287 * src/caf.c
cannam@85 3288 Fix a memory leak.
cannam@85 3289
cannam@85 3290 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3291
cannam@85 3292 * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
cannam@85 3293 Add support for G721 encoded WAV files.
cannam@85 3294
cannam@85 3295 * doc/index.html
cannam@85 3296 Update support matrix.
cannam@85 3297
cannam@85 3298 * tests/lossy_comp_test.c
cannam@85 3299 For file formats that support it, add string data after the audio data and
cannam@85 3300 make sure it isn't treated as audio data on read.
cannam@85 3301
cannam@85 3302 * src/gsm610.c
cannam@85 3303 Add code to ensure that the container close function (ie for WAV files) gets
cannam@85 3304 called after the codec's close function. This allows GSM610 encoded WAV files
cannam@85 3305 to have string data following the audio data.
cannam@85 3306 Add an AIFF specific check on psf->datalength.
cannam@85 3307
cannam@85 3308 * src/wav.c
cannam@85 3309 Simplify wav_close function.
cannam@85 3310
cannam@85 3311 * src/aiff.c
cannam@85 3312 Make sure the tailer data gets written at an even file offset. Pad if
cannam@85 3313 necessary.
cannam@85 3314
cannam@85 3315 * src/common.h
cannam@85 3316 Replace the close function pointer in SF_PRIVATE with separate functions
cannam@85 3317 codec_close and container_close. The former is always called first.
cannam@85 3318
cannam@85 3319 * src/*.c
cannam@85 3320 Fix knock on effects of above.
cannam@85 3321
cannam@85 3322 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3323
cannam@85 3324 * examples/sndfile-info.c
cannam@85 3325 Complete dumping SF_INSTRUMENT data.
cannam@85 3326
cannam@85 3327 * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
cannam@85 3328 Add extra checks in *_init function.
cannam@85 3329
cannam@85 3330 * tests/lossy_comp_test.c
cannam@85 3331 Add a string comment to the end of the files to make sure that the decoder
cannam@85 3332 doesn't decode beyond the end of the audio data section.
cannam@85 3333
cannam@85 3334 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3335
cannam@85 3336 * examples/sndfile-info.c
cannam@85 3337 Minor code cleanup.
cannam@85 3338 Start work on dumping SF_INSTRUMENT data.
cannam@85 3339
cannam@85 3340 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3341
cannam@85 3342 * src/sndfile.h.in src/common.h src/common.c
cannam@85 3343 Update definition of SF_INSTRUMENT struct and create a function to allocate
cannam@85 3344 and initialize the struct (input from David Viens).
cannam@85 3345 Clean up definition of SF_INSTRUMENT struct.
cannam@85 3346
cannam@85 3347 * src/wav.c src/wav_w64.c
cannam@85 3348 Add support for Ambisoncs B WAVEX files (David Viens).
cannam@85 3349
cannam@85 3350 * src/aiff.c src/wav.c src/wav_w64.c
cannam@85 3351 Start work on reading/writing the SF_INSTRUMENT data.
cannam@85 3352
cannam@85 3353 * src/sndfile.c
cannam@85 3354 Add code to get and set SF_INSTRUMENT data.
cannam@85 3355
cannam@85 3356 * tests/command_test.* tests/Makefile.am
cannam@85 3357 Add test for set and getof SF_INSTRUMENT data.
cannam@85 3358 The file command_test.c is no longer autogen generated.
cannam@85 3359
cannam@85 3360 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3361
cannam@85 3362 * src/gsm610.c
cannam@85 3363 Minor cleanup.
cannam@85 3364
cannam@85 3365 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3366
cannam@85 3367 * tests/lossy_comp_test.c
cannam@85 3368 Minor cleanup.
cannam@85 3369
cannam@85 3370 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3371
cannam@85 3372 * src/*.c
cannam@85 3373 Ensure sfconfig.h is included before any other header file.
cannam@85 3374
cannam@85 3375 * src/file_io.c
cannam@85 3376 Add comments documenting the three sections of the file.
cannam@85 3377
cannam@85 3378 * src/gsm610.c
cannam@85 3379 Make sure SF_FORMAT_WAVEX are handled correctly.
cannam@85 3380
cannam@85 3381 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3382
cannam@85 3383 * configure.ac
cannam@85 3384 Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
cannam@85 3385
cannam@85 3386 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3387
cannam@85 3388 * tests/locale_test.c
cannam@85 3389 Modify the way the unicode strings were encoded so that older compilers
cannam@85 3390 do not complain. Thanks Axel Röbel.
cannam@85 3391
cannam@85 3392 * configure.ac
cannam@85 3393 Bump the version to 1.0.12 for release.
cannam@85 3394
cannam@85 3395 * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
cannam@85 3396 Update version numbers.
cannam@85 3397
cannam@85 3398 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3399
cannam@85 3400 * src/flac.c
cannam@85 3401 Fix valgrind error and minor cleanup.
cannam@85 3402
cannam@85 3403 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3404
cannam@85 3405 * src/(au|paf|aiff|w64|wav|svx).c
cannam@85 3406 Make sure structs are initialised.
cannam@85 3407
cannam@85 3408 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3409
cannam@85 3410 * configure.ac
cannam@85 3411 Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
cannam@85 3412 option.
cannam@85 3413 Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
cannam@85 3414 compiler supports it.
cannam@85 3415
cannam@85 3416 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3417
cannam@85 3418 * configure.ac acinclude.m4
cannam@85 3419 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
cannam@85 3420
cannam@85 3421 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3422
cannam@85 3423 * tests/util.(tpl|def)
cannam@85 3424 Make the test_write_*_or_die() functions const safe.
cannam@85 3425
cannam@85 3426 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3427
cannam@85 3428 * src/nist.c
cannam@85 3429 Make sure the data offset is read from the file header. Thanks to
cannam@85 3430 David A. van Leeuwen for a patch.
cannam@85 3431
cannam@85 3432 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3433
cannam@85 3434 * configure.ac src/sfconfig.h
cannam@85 3435 Check for <locale.h> and the function setlocale().
cannam@85 3436 Set config variables to zero if not found.
cannam@85 3437
cannam@85 3438 * tests/locale_test.c tests/Makefile.am
cannam@85 3439 Add new test program and hook into build/test system.
cannam@85 3440
cannam@85 3441 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3442
cannam@85 3443 * src/common.h src/file_io.c
cannam@85 3444 On windows, use windows specific types for file handles.
cannam@85 3445 Add functions psf_init_files() and psf_use_rsrc().
cannam@85 3446
cannam@85 3447 * src/sd2.c
cannam@85 3448 Make resource fork handling independant of file desciptor/handles.
cannam@85 3449
cannam@85 3450 * src/sndfile.c src/test_file_io.c
cannam@85 3451 Fix knock on effects.
cannam@85 3452
cannam@85 3453 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3454
cannam@85 3455 * src/float_cast.h
cannam@85 3456 The lrint and lrintf implementations in Cygwin are both buggy and slow.
cannam@85 3457 Add replacements which were pulled from the Public Domain MinGW math.h
cannam@85 3458 header file.
cannam@85 3459
cannam@85 3460 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3461
cannam@85 3462 * tests/(lossy_comp_test|virtual_io_test).c
cannam@85 3463 More Valgrind fixups.
cannam@85 3464
cannam@85 3465 * configure.ac
cannam@85 3466 Simplify and correct configuring for Cygwin.
cannam@85 3467
cannam@85 3468 * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
cannam@85 3469 Update build for MSVC.
cannam@85 3470
cannam@85 3471 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3472
cannam@85 3473 * tests/lossy_comp_test.c
cannam@85 3474 Make sure to close SNDFILE when exiting test when file format is not seekable.
cannam@85 3475
cannam@85 3476 * tests/(aiff_rw_test|virtual_io_test).c
cannam@85 3477 Do a few valgrind fix ups.
cannam@85 3478
cannam@85 3479 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3480
cannam@85 3481 * src/float32.c src/double64.c
cannam@85 3482 Replace floating point equality comparisons with greater/less comparisons.
cannam@85 3483 Found by John Pavel using the Intel compiler.
cannam@85 3484
cannam@85 3485 * src/sfconfig.h
cannam@85 3486 New file to clean up issues surrounding autoconf generated preprocessor
cannam@85 3487 symbols.
cannam@85 3488
cannam@85 3489 * src/*.(c|h) tests/*.(c|tpl) examples/*.c
cannam@85 3490 Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
cannam@85 3491
cannam@85 3492 * src/file_io.c
cannam@85 3493 Remove Mac OS9 Metrowerks compiler specific hacks.
cannam@85 3494
cannam@85 3495 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3496
cannam@85 3497 * src/w64.c
cannam@85 3498 Cast integer literal to sf_count_t in call to psf_binheader_writef() to
cannam@85 3499 prevent Valgrind error.
cannam@85 3500
cannam@85 3501 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3502
cannam@85 3503 * doc/command.html
cannam@85 3504 Improve documentation of SF_GET_FORMAT_SUBTYPE.
cannam@85 3505
cannam@85 3506 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3507
cannam@85 3508 * examples/sndfile-convert.c
cannam@85 3509 Allow files to be converted to SD2 format.
cannam@85 3510
cannam@85 3511 * src/sd2.c
cannam@85 3512 Fix a bug in reading and writing of SD2 files on little endian CPUs.
cannam@85 3513 Thanks to Matthew Willis for finding this.
cannam@85 3514
cannam@85 3515 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3516
cannam@85 3517 * doc/api.html
cannam@85 3518 Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
cannam@85 3519
cannam@85 3520 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3521
cannam@85 3522 * configure.ac
cannam@85 3523 Use $host_os instead of $target_os (thanks to Mo De Jong).
cannam@85 3524
cannam@85 3525 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3526
cannam@85 3527 * src/Makefile.am
cannam@85 3528 Apply a patch from Mo DeJong to allow building outside of the source dir.
cannam@85 3529
cannam@85 3530 * src/file_io.c
cannam@85 3531 Fix psf_fsync() for win32.
cannam@85 3532
cannam@85 3533 * src/wav.c src/wav_w64.(c|h)
cannam@85 3534 Move some code from wav.c to wav_w64.c to improve the log output of files of
cannam@85 3535 type WAVE_FORMAT_EXTENSIBLE.
cannam@85 3536
cannam@85 3537 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3538
cannam@85 3539 * src/create_symbols_file.py
cannam@85 3540 Make sure sf_write_fsync is an exported symbol.
cannam@85 3541
cannam@85 3542 * examples/sndfile-convert.c
cannam@85 3543 Add support for writing VOX adpcm files.
cannam@85 3544
cannam@85 3545 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3546
cannam@85 3547 * doc/api.html
cannam@85 3548 Document the new function sf_write_sync().
cannam@85 3549
cannam@85 3550 * doc/FAQ.html
cannam@85 3551 Do you plan to support XYZ codec.
cannam@85 3552
cannam@85 3553 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3554
cannam@85 3555 * src/sndfile.h.in src/sndfile.c
cannam@85 3556 Add function sf_write_sync() to the API.
cannam@85 3557
cannam@85 3558 * src/common.h src/file_io.c
cannam@85 3559 Low level implementation (win32 not done yet).
cannam@85 3560
cannam@85 3561 * tests/write_read_test.tpl
cannam@85 3562 Use the new function in the tests.
cannam@85 3563
cannam@85 3564 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3565
cannam@85 3566 * src/common.h src/double64.c src/float32.c src/sndfile.c
cannam@85 3567 Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
cannam@85 3568 for position and a double as the value.
cannam@85 3569
cannam@85 3570 * src/aiff.c src/caf.c src/wav.c
cannam@85 3571 Fix knock on effects of above changes.
cannam@85 3572
cannam@85 3573 * src/caf.c
cannam@85 3574 Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
cannam@85 3575 SF_FORMAT_DOUBLE format.
cannam@85 3576
cannam@85 3577 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3578
cannam@85 3579 * src/nist.c
cannam@85 3580 Fix a bug where a variable was being used without being initialized.
cannam@85 3581
cannam@85 3582 * src/flac.c
cannam@85 3583 Add extra debug in sf_flac_meta_callback.
cannam@85 3584 Make a bunch of private functions static.
cannam@85 3585
cannam@85 3586 * src/aiff.c src/wav.c
cannam@85 3587 Fix allocation for PEAK_CHUNK (bug found using valgrind).
cannam@85 3588
cannam@85 3589 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3590
cannam@85 3591 * src/common.h
cannam@85 3592 Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
cannam@85 3593 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
cannam@85 3594 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
cannam@85 3595
cannam@85 3596 * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
cannam@85 3597 Fix knock on effects from above.
cannam@85 3598
cannam@85 3599 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3600
cannam@85 3601 * src/wav.c
cannam@85 3602 Prevent files with unknown chunks from being opened read/write.
cannam@85 3603
cannam@85 3604 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3605
cannam@85 3606 * src/flac.c
cannam@85 3607 Do not use psf->end_of_file because it never gets set to anything.
cannam@85 3608
cannam@85 3609 * src/common.h
cannam@85 3610 Remove unused SF_PRIVATE field end_of_file.
cannam@85 3611
cannam@85 3612 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3613
cannam@85 3614 * src/common.c
cannam@85 3615 Change the 'S' format specifier of psf_binheader_writef() to write AIFF
cannam@85 3616 style strings (no terminating character).
cannam@85 3617
cannam@85 3618 * src/aiff.c
cannam@85 3619 Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
cannam@85 3620 so persistent on this issue.
cannam@85 3621
cannam@85 3622 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3623
cannam@85 3624 * src/sndfile.c
cannam@85 3625 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
cannam@85 3626
cannam@85 3627 * doc/api.html doc/command.html
cannam@85 3628 Documentation updates (thanks to Kyroz for promoting these updates).
cannam@85 3629
cannam@85 3630 * src/mat5.c
cannam@85 3631 Modify the way the header is written.
cannam@85 3632
cannam@85 3633 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3634
cannam@85 3635 * src/caf.c
cannam@85 3636 Add a 'free' chunk to the written file so that the audio data starts at
cannam@85 3637 an offset of 0x1000.
cannam@85 3638
cannam@85 3639 * src/sndfile.c
cannam@85 3640 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
cannam@85 3641
cannam@85 3642 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3643
cannam@85 3644 * src/caf.c src/sndfile.c
cannam@85 3645 Add support for signed 8 bit integers.
cannam@85 3646
cannam@85 3647 * tests/write_read_test.tpl
cannam@85 3648 Add test for signed 8 bit integers in CAF files.
cannam@85 3649
cannam@85 3650 * doc/index.html
cannam@85 3651 Update matrix for signed 8 bit integers in CAF files.
cannam@85 3652
cannam@85 3653 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3654
cannam@85 3655 * src/sndfile.c
cannam@85 3656 Update sf_check_format() to support CAF.
cannam@85 3657
cannam@85 3658 * examples/sndfile-convert.c
cannam@85 3659 Add support for ".caf" file extension.
cannam@85 3660
cannam@85 3661 * doc/index.html
cannam@85 3662 Add Apple CAF to the support matrix.
cannam@85 3663
cannam@85 3664 * src/caf.c
cannam@85 3665 Add file write support.
cannam@85 3666
cannam@85 3667 * src/common.c
cannam@85 3668 Fix printing of Frames.
cannam@85 3669
cannam@85 3670 * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
cannam@85 3671 tests/header_test.tpl misc_test.c
cannam@85 3672 Add tests for CAF files.
cannam@85 3673
cannam@85 3674 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3675
cannam@85 3676 * doc/FAQ.html
cannam@85 3677 Fix Q/A about reading/writing memory buffers.
cannam@85 3678
cannam@85 3679 * src/caf.c
cannam@85 3680 Bunch of work to support reading of CAF files.
cannam@85 3681
cannam@85 3682 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3683
cannam@85 3684 * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
cannam@85 3685 Fix sign conversion errors reported by gcc-4.0.
cannam@85 3686
cannam@85 3687 * src/caf.c
cannam@85 3688 New file for Apple's Core Audio File format.
cannam@85 3689
cannam@85 3690 * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
cannam@85 3691 Hook new file into build system.
cannam@85 3692
cannam@85 3693 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3694
cannam@85 3695 * src_wav_w64.c
cannam@85 3696 Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
cannam@85 3697 for supplying an example file.
cannam@85 3698
cannam@85 3699 * src/common.h src/sndfile.c
cannam@85 3700 Remove redundant error code SFE_WAV_FMT_TOO_BIG.
cannam@85 3701
cannam@85 3702 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3703
cannam@85 3704 * src/sndfile.h.in src/common.h src/sndfile.c
cannam@85 3705 Add public error value SF_ERR_MALFORMED_FILE.
cannam@85 3706
cannam@85 3707 * src/sndfile.c
cannam@85 3708 When parsing a file header fails and we don't have a system error, then set
cannam@85 3709 the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
cannam@85 3710
cannam@85 3711 * configure.ac
cannam@85 3712 Allow sqlite support to be disabled in configure script.
cannam@85 3713
cannam@85 3714 * regtest/database.c regtest/sndfile-regtest.c
cannam@85 3715 Fix compiling when sqlite is missing.
cannam@85 3716
cannam@85 3717 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3718
cannam@85 3719 * src/file_io.c
cannam@85 3720 Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
cannam@85 3721
cannam@85 3722 * src/sndfile.c
cannam@85 3723 Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
cannam@85 3724
cannam@85 3725 * tests/virtual_io_test.c
cannam@85 3726 Fill in skeleton test program.
cannam@85 3727
cannam@85 3728 * tests/Makefile.am
cannam@85 3729 Move virtual i/o tests to end of tests with stdio/pipe tests.
cannam@85 3730
cannam@85 3731 * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
cannam@85 3732 Rename some of the virtual i/o functions and data types.
cannam@85 3733
cannam@85 3734 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3735
cannam@85 3736 * src/sndfile.c
cannam@85 3737 Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
cannam@85 3738 SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
cannam@85 3739 Kyroz for pointing out these errors.
cannam@85 3740
cannam@85 3741 * doc/command.html
cannam@85 3742 Correct documented return values for SFC_SET_NORM_DOUBLE and
cannam@85 3743 SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
cannam@85 3744
cannam@85 3745 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3746
cannam@85 3747 * regtest/*
cannam@85 3748 Add new files for sndfile-regtest program.
cannam@85 3749
cannam@85 3750 * configure.ac Makefile.am
cannam@85 3751 Hook regetest into build.
cannam@85 3752
cannam@85 3753 * src/wav.c src/common.c
cannam@85 3754 Fix a regression where long ICMT chunks were causing the WAV parser
cannam@85 3755 to exit.
cannam@85 3756
cannam@85 3757 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3758
cannam@85 3759 * libsndfile.spec.in
cannam@85 3760 Add html docs to the files section as suggested by Karsten Jeppesen.
cannam@85 3761
cannam@85 3762 * src/aiff.c
cannam@85 3763 Fix parsing of odd length ANNO chunks.
cannam@85 3764
cannam@85 3765 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3766
cannam@85 3767 * src/common.h
cannam@85 3768 Change the include guard to prevent clashes with other code.
cannam@85 3769
cannam@85 3770 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3771
cannam@85 3772 * examples/sndfile-play.c
cannam@85 3773 Improve error handling in code for playback under Linux/ALSA.
cannam@85 3774
cannam@85 3775 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3776
cannam@85 3777 * src/ircam.c
cannam@85 3778 Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
cannam@85 3779
cannam@85 3780 * src/wav.c
cannam@85 3781 Add workaround for files created by the Peak audio editor on Mac which can
cannam@85 3782 produce files with very short LIST chunks (thanks to Jonathan Segel who
cannam@85 3783 supplied the file).
cannam@85 3784
cannam@85 3785 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3786
cannam@85 3787 * src/aiff.c
cannam@85 3788 Apply a patch From David Viens to make the parsing of basc chunks more
cannam@85 3789 robust.
cannam@85 3790
cannam@85 3791 * src/wav.c
cannam@85 3792 Another patch from David Viens to write correct wavex channel masks for
cannam@85 3793 the most common channel configurations.
cannam@85 3794
cannam@85 3795 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3796
cannam@85 3797 * src/command.c
cannam@85 3798 Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
cannam@85 3799 Leigh Smith.
cannam@85 3800
cannam@85 3801 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3802
cannam@85 3803 * src/common.h
cannam@85 3804 Add a directory field for storing the file directory to the SF_PRIVATE
cannam@85 3805 struct.
cannam@85 3806
cannam@85 3807 * src/sndfile.c
cannam@85 3808 Grab the directory name when copying the file path.
cannam@85 3809
cannam@85 3810 * src/file_io.c
cannam@85 3811 Cleanup psf_open_rsrc() and also check for resource fork in
cannam@85 3812 .AppleDouble/filename.
cannam@85 3813
cannam@85 3814 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3815
cannam@85 3816 * src/svx.c
cannam@85 3817 Fix a bug in the printing of the channel count. Bug reported by Michael
cannam@85 3818 Schwendt. Thanks.
cannam@85 3819
cannam@85 3820 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3821
cannam@85 3822 * src/paf.c
cannam@85 3823 Fix a seek bug for 24 bit PAF files.
cannam@85 3824
cannam@85 3825 * tests/write_read_test.tpl
cannam@85 3826 Update write_read_test to trigger the previously hidden PAF seek bug.
cannam@85 3827
cannam@85 3828 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3829
cannam@85 3830 * src/aiff.c src/w64.c src/wav.c
cannam@85 3831 Do not return a header parse error when the log buffer overflows.
cannam@85 3832 Continuing parsing works even on files where the log buffer does overflow.
cannam@85 3833 This avoids a bug on some weirdo WAV (and other) files.
cannam@85 3834
cannam@85 3835 * src/common.h src/sndfile.c
cannam@85 3836 Remove SFE_LOG_OVERRIN error and its associated error message.
cannam@85 3837
cannam@85 3838 * src/file_io.c
cannam@85 3839 Fix a rsrc fork problem on MacOSX.
cannam@85 3840
cannam@85 3841 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3842
cannam@85 3843 * src/sndfile-play.c
cannam@85 3844 In the ALSA output code, added call to snd_pcm_drain() just before
cannam@85 3845 snd_pcm_close() as suggested by Thomas Kaeding.
cannam@85 3846 In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
cannam@85 3847 SNDCTL_DSP_SYNC) just before the close of the audio device.
cannam@85 3848
cannam@85 3849 * tests/virtual_io_test.c tests/Makefile.am
cannam@85 3850 Add a new test program (currently empty) and add it to the build.
cannam@85 3851
cannam@85 3852 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3853
cannam@85 3854 * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
cannam@85 3855 src/create_symbols_file.py
cannam@85 3856 Apply patch from Steve Baker which is the beginnings of a virtual
cannam@85 3857 I/O interface.
cannam@85 3858
cannam@85 3859 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3860
cannam@85 3861 * src/*.c src/sndfile.h.in
cannam@85 3862 Const-ify the write path throughout the library.
cannam@85 3863
cannam@85 3864 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3865
cannam@85 3866 * doc/development.html
cannam@85 3867 Minor improvements.
cannam@85 3868
cannam@85 3869 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3870
cannam@85 3871 * doc/bugs.html
cannam@85 3872 Minor improvements.
cannam@85 3873
cannam@85 3874 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3875
cannam@85 3876 * src/aiff.c
cannam@85 3877 Add workaround for Logic Platinum AIFF files with broken COMT chunks.
cannam@85 3878
cannam@85 3879 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3880
cannam@85 3881 * doc/FAQ.html
cannam@85 3882 Remove some ambiguities in the SD2 FAQ answer.
cannam@85 3883
cannam@85 3884 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3885
cannam@85 3886 * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
cannam@85 3887 Updates from autoconfig versions.
cannam@85 3888
cannam@85 3889 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3890
cannam@85 3891 * src/aiff.c
cannam@85 3892 Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
cannam@85 3893 instead of COMT chunk.
cannam@85 3894
cannam@85 3895 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3896
cannam@85 3897 * src/file_io.c src/common.h
cannam@85 3898 Change the ptr argument to psf_write() from "void*" to a "const void*".
cannam@85 3899 Thanks to Tobias Gehrig for suggesting this.
cannam@85 3900
cannam@85 3901 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3902
cannam@85 3903 * src/file_io.c src/common.h
cannam@85 3904 Add functions psf_close_rsrc() and read length of resourse fork into
cannam@85 3905 rsrclength field of SF_PRIVATE.
cannam@85 3906
cannam@85 3907 * src/sd2.c
cannam@85 3908 Make sure resource fork gets closed.
cannam@85 3909
cannam@85 3910 * tests/util.tpl
cannam@85 3911 Add functions to check for file descriptor leakage.
cannam@85 3912
cannam@85 3913 * src/write_read_test.tpl
cannam@85 3914 Use the file descriptor leak checks.
cannam@85 3915
cannam@85 3916 * src/sndfile.h.in
cannam@85 3917 Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
cannam@85 3918
cannam@85 3919 * src/common.h
cannam@85 3920 Add SF_LOOP_INFO pointer to SF_PRIVATE.
cannam@85 3921
cannam@85 3922 * src/wav.c src/aiff.c
cannam@85 3923 Improve and add parsing of 'ACID' and 'basc' chunks, filling in
cannam@85 3924 SF_LOOP_INFO data in SF_PRIVATE.
cannam@85 3925
cannam@85 3926 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3927
cannam@85 3928 * src/sd2.c
cannam@85 3929 Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
cannam@85 3930
cannam@85 3931 * Win32/config.h Win32/sndfile.h
cannam@85 3932 Updates.
cannam@85 3933
cannam@85 3934 * tests/util.tpl
cannam@85 3935 Add win32 macro for snprintf.
cannam@85 3936
cannam@85 3937 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3938
cannam@85 3939 * src/sfendian.h
cannam@85 3940 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
cannam@85 3941
cannam@85 3942 * src/sd2.c
cannam@85 3943 Use macros to make sure writing SD2 files on little endian machines works
cannam@85 3944 correctly.
cannam@85 3945
cannam@85 3946 * tests/util.tpl
cannam@85 3947 Add a delete_file() function which also deletes the resource fork of SD2
cannam@85 3948 files.
cannam@85 3949
cannam@85 3950 * tests/write_read_test.tpl
cannam@85 3951 Use delete_file() so that "make distcheck" works.
cannam@85 3952
cannam@85 3953 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3954
cannam@85 3955 * src/sndfile.c src/file_io.c
cannam@85 3956 Move resource filename construction and testing to psf_open_rsrc().
cannam@85 3957
cannam@85 3958 * src/common.h src/sndfile.c
cannam@85 3959 Add error SFE_SD2_FD_DISALLOWED.
cannam@85 3960
cannam@85 3961 * tests/util.tpl tests/*.(c|tpl)
cannam@85 3962 Add and allow_fd parameter to test_open_file_or_die() so that use of
cannam@85 3963 sf_open_fd() can be avoided when opening SD2 files.
cannam@85 3964
cannam@85 3965 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3966
cannam@85 3967 * src/wav.c
cannam@85 3968 Update ACID chunk parsing.
cannam@85 3969
cannam@85 3970 * src/sd2.c
cannam@85 3971 More fixes for files with large resource forks.
cannam@85 3972
cannam@85 3973 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3974
cannam@85 3975 * src/common.h src/sndfile.c
cannam@85 3976 Add error numbers and messages for sd2 files.
cannam@85 3977
cannam@85 3978 * src/sd2.c
cannam@85 3979 Reading of sd2 (resource fork version) now seems to be working.
cannam@85 3980
cannam@85 3981 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3982
cannam@85 3983 * src/file_io.h
cannam@85 3984 Update file_io.c to include win32 psf_rsrc_open().
cannam@85 3985
cannam@85 3986 * tests/floating_point_test.tpl
cannam@85 3987 Remove use of __func__ in test programs (MSVC++ doesn't grok this).
cannam@85 3988
cannam@85 3989 * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
cannam@85 3990 Updates.
cannam@85 3991
cannam@85 3992 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 3993
cannam@85 3994 * src/sfendian.h
cannam@85 3995 Fix endswap_int64_t_(array|copy).
cannam@85 3996
cannam@85 3997 * src/test_endswap.(tpl|def)
cannam@85 3998 Add tests for above and inprove all tests.
cannam@85 3999
cannam@85 4000 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4001
cannam@85 4002 * src/sfendian.h
cannam@85 4003 Improve type safety, add endswap_double_array().
cannam@85 4004
cannam@85 4005 * src/double64.c
cannam@85 4006 Use endswap_double_array() instead of endswap_long_array().
cannam@85 4007
cannam@85 4008 * src/test_endswap.(tpl|def) src/Makefile.am
cannam@85 4009 Add preliminary endswap tests and hook into build system.
cannam@85 4010
cannam@85 4011 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4012
cannam@85 4013 * src/configure.ac src/makefile.am
cannam@85 4014 Finally fix the bulding of DLLs on Win32/MinGW.
cannam@85 4015
cannam@85 4016 * tests/makefile.am
cannam@85 4017 Fix running of tests on Win32/MinGW.
cannam@85 4018
cannam@85 4019 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4020
cannam@85 4021 * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
cannam@85 4022 Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
cannam@85 4023
cannam@85 4024 * doc/command.html
cannam@85 4025 Document SFC_SET_SCALE_FLOAT_INT_READ.
cannam@85 4026
cannam@85 4027 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4028
cannam@85 4029 * tests/floating_point_test.(tpl|def)
cannam@85 4030 Derived from floating_point_test.c.
cannam@85 4031 Add (float|double)_(short|int)_test functions.
cannam@85 4032
cannam@85 4033 * tests/util.(tpl|def)
cannam@85 4034 Make separate float and double versions of gen_windowed_sine().
cannam@85 4035
cannam@85 4036 * tests/write_read_test.tpl
cannam@85 4037 Fix after changes to gen_windowed_sine().
cannam@85 4038
cannam@85 4039 * src/(float32|double64).c
cannam@85 4040 Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
cannam@85 4041
cannam@85 4042 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4043
cannam@85 4044 * acinclude.m4
cannam@85 4045 Fix warnings from automake 1.8 and later.
cannam@85 4046
cannam@85 4047 * examples/sndfile-info.c
cannam@85 4048 Add a "fflush (stdout)" after printing Win32 message.
cannam@85 4049
cannam@85 4050 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4051
cannam@85 4052 * Win32/Makefile.mingw.in
cannam@85 4053 Add a "make install" target.
cannam@85 4054
cannam@85 4055 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4056
cannam@85 4057 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
cannam@85 4058 Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
cannam@85 4059
cannam@85 4060 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4061
cannam@85 4062 * examples/sndfile-convert.c
cannam@85 4063 Fix a bug converting stereo integer PCM files to float.
cannam@85 4064
cannam@85 4065 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4066
cannam@85 4067 * examples/sndfile-play.c
cannam@85 4068 Appy patch from Conrad Parker to make Mac OSX error messages more
cannam@85 4069 consistent and informative.
cannam@85 4070
cannam@85 4071 * doc/api.html
cannam@85 4072 Fix a HTML HREF which was wrong.
cannam@85 4073
cannam@85 4074 * doc/win32.html
cannam@85 4075 Add information about when nmake fails.
cannam@85 4076
cannam@85 4077 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4078
cannam@85 4079 * examples/sndfile-play.c
cannam@85 4080 Another patch from Denis Cote to prevent race conditions.
cannam@85 4081
cannam@85 4082 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4083
cannam@85 4084 * src/common.h src/ms_adpcm.c src/ima_adpcm.c
cannam@85 4085 Fix alternative to ISO standard flexible struct array feature for broken
cannam@85 4086 compilers.
cannam@85 4087
cannam@85 4088 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4089
cannam@85 4090 * src/common.h src/string.c src/sndfile.c
cannam@85 4091 Make sf_set_string() return an error if trying to set a string when in
cannam@85 4092 read mode.
cannam@85 4093
cannam@85 4094 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4095
cannam@85 4096 * src/common.h
cannam@85 4097 Change the unnamed union into a named union so gcc-2.95 will compile it.
cannam@85 4098
cannam@85 4099 * src/*.c
cannam@85 4100 Fixes to allow for the above change.
cannam@85 4101
cannam@85 4102 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4103
cannam@85 4104 * examples/sndfile-play.c
cannam@85 4105 Fixes for Win32. Thanks to Denis Cote.
cannam@85 4106
cannam@85 4107 * Win32/Win32/Makefile.(msvc|mingw.in)
cannam@85 4108 Fix build system after removal of sfendian.h.
cannam@85 4109 Build sndfile-convert.
cannam@85 4110
cannam@85 4111 * src/Makefile.am
cannam@85 4112 Remove sfendian.c from dependancies.
cannam@85 4113
cannam@85 4114 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4115
cannam@85 4116 * src/sndfile.h.in
cannam@85 4117 Fix typo in comments (thanks Tommi Sakari Uimonen).
cannam@85 4118
cannam@85 4119 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4120
cannam@85 4121 * tests/(a|u)law_test.c
cannam@85 4122 Minor cleanup.
cannam@85 4123
cannam@85 4124 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4125
cannam@85 4126 * src/(pcm|float|double64|ulaw|alaw|xi).c
cannam@85 4127 Optimise read/write loops by removing a redundant variable.
cannam@85 4128
cannam@85 4129 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4130
cannam@85 4131 * src/file_io.c
cannam@85 4132 Remove call to fsync() in psf_close().
cannam@85 4133
cannam@85 4134 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4135
cannam@85 4136 * src/pcm.c
cannam@85 4137 Inline x2y_array() functions where possible.
cannam@85 4138
cannam@85 4139 * configure.ac
cannam@85 4140 Detect presence of type int64_t.
cannam@85 4141
cannam@85 4142 * src/sfendian.c src/sfendian.h
cannam@85 4143 Move functions in the first file to the sfendian.h as static inline
cannam@85 4144 functions.
cannam@85 4145 Improve endswap_long_*() where possible.
cannam@85 4146
cannam@85 4147 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4148
cannam@85 4149 * src/pcm.c
cannam@85 4150 When converting from unsigned char to float or double, subtract 128 before
cannam@85 4151 converting to float/double rather than after to save a floating point
cannam@85 4152 operation as suggested by Stefan Briesenick.
cannam@85 4153
cannam@85 4154 * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
cannam@85 4155 Optimize inner loops by changing the loop counting slightly as suggested
cannam@85 4156 by Stefan Briesenick.
cannam@85 4157
cannam@85 4158 * configure.ac
cannam@85 4159 Detect presence of <byteswap.h>.
cannam@85 4160
cannam@85 4161 * src/sfendian.h
cannam@85 4162 Use <byteswap.h> if present as suggested by Stefan Briesenick.
cannam@85 4163
cannam@85 4164 * src/pcm.c
cannam@85 4165 Update bytewapping.
cannam@85 4166
cannam@85 4167 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4168
cannam@85 4169 * src/common.h src/*.c
cannam@85 4170 Change the psf->buffer field of SF_PRIVATE into a more type safe union with
cannam@85 4171 double, float, int etc elements.
cannam@85 4172
cannam@85 4173 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4174
cannam@85 4175 * examples/sndfile-play.c
cannam@85 4176 Merge slightly modifed patch from Stanko Juzbasic which allows playback of
cannam@85 4177 mono files on MacOSX.
cannam@85 4178
cannam@85 4179 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4180
cannam@85 4181 * examples/sndfile-convert.c
cannam@85 4182 Move copy_metadata() after the second sf_open().
cannam@85 4183
cannam@85 4184 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4185
cannam@85 4186 * examples/sndfile-convert.c
cannam@85 4187 Fix a bug which caused the program to go into an infinite loop if the source
cannam@85 4188 file has no meta-data. Thanks to Ron Parker for reporting this.
cannam@85 4189
cannam@85 4190 * src/sndfile.h.in
cannam@85 4191 Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
cannam@85 4192
cannam@85 4193 * Win32/sndfile.h MacOS9/sndfile.h
cannam@85 4194 Update these as per the above file.
cannam@85 4195
cannam@85 4196 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4197
cannam@85 4198 * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
cannam@85 4199 src/Makefile.am
cannam@85 4200 Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
cannam@85 4201 Annodex support via liboggz and libfishsound. Thanks Conrad.
cannam@85 4202
cannam@85 4203 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4204
cannam@85 4205 * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
cannam@85 4206 Add cast to size_t for some parameters passed to psf_binheader_writef. This
cannam@85 4207 is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
cannam@85 4208
cannam@85 4209 * src/w64.c
cannam@85 4210 Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
cannam@85 4211 chunk.
cannam@85 4212
cannam@85 4213 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4214
cannam@85 4215 * configure.ac
cannam@85 4216 Bump version to 1.0.10 ready for release.
cannam@85 4217
cannam@85 4218 * Makefile.am
cannam@85 4219 Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
cannam@85 4220 from distribution tarball.
cannam@85 4221
cannam@85 4222 * tests/header_test.tpl
cannam@85 4223 Fix uninitialised variable.
cannam@85 4224
cannam@85 4225 * src/GSM610/short_term.c
cannam@85 4226 Fix compiler warning on MSVC++.
cannam@85 4227
cannam@85 4228 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4229
cannam@85 4230 * src/wav.c
cannam@85 4231 Improve record keeping of chunks seen and return an error if a file with
cannam@85 4232 unusual chunks is opened in mode SFM_RDWR.
cannam@85 4233
cannam@85 4234 * src/mmreg.h
cannam@85 4235 This file not needed so remove it.
cannam@85 4236
cannam@85 4237 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4238
cannam@85 4239 * tests/header_test.tpl
cannam@85 4240 Add extra_header_test().
cannam@85 4241
cannam@85 4242 * src/common.h src/sndfile.c
cannam@85 4243 Add SFE_RDWR_BAD_HEADER error number and string.
cannam@85 4244
cannam@85 4245 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4246
cannam@85 4247 * tests/utils.tpl tests/*.c tests/*.tpl
cannam@85 4248 Add a line number argument to check_log_buffer_or_die() and update all
cannam@85 4249 files that use that function.
cannam@85 4250
cannam@85 4251 * tests/header_test.tpl
cannam@85 4252 Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
cannam@85 4253
cannam@85 4254 * src/aiff.c src/wav.c
cannam@85 4255 Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
cannam@85 4256 SFC_UPDATE_HEADER_AUTO.
cannam@85 4257
cannam@85 4258 * src/test_file_io.c
cannam@85 4259 Add a test for psf_ftruncate() function.
cannam@85 4260
cannam@85 4261 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4262
cannam@85 4263 * src/sndfile.c
cannam@85 4264 Fix another weird corner case bug found by Martin Rumori. Thanks.
cannam@85 4265
cannam@85 4266 * tests/header_test.(tpl|def)
cannam@85 4267 Two new files to test for the absence of the above bug and include tests
cannam@85 4268 moved from tests/misc_test.c.
cannam@85 4269
cannam@85 4270 * tests/Makefile.am
cannam@85 4271 Hook new tests into build/test system.
cannam@85 4272
cannam@85 4273 * tests/misc_test.c
cannam@85 4274 Remove update_header_test() which has been moved to the new files above.
cannam@85 4275
cannam@85 4276 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4277
cannam@85 4278 * src/aiff.c
cannam@85 4279 Fixed a bug reported by Martin Rumori on the LAD list. If a file created
cannam@85 4280 with a format of SF_FORMAT_FLOAT and then closed before any data is written
cannam@85 4281 to it, the header can get screwed up (PEAK chunk gets overwritten).
cannam@85 4282
cannam@85 4283 * tests/write_read_test.tpl
cannam@85 4284 Add a test (empty_file_test) for the above bug.
cannam@85 4285
cannam@85 4286 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4287
cannam@85 4288 * Win32/Makefile.mingw.in
cannam@85 4289 Added a Makefile for MinGW (needs to be processed by configure).
cannam@85 4290
cannam@85 4291 * src/mmsystem.h src/mmreg.h
cannam@85 4292 Add files from the Wine project (under the LGPL) to allow build of
cannam@85 4293 sndfile-play.exe under MinGW.
cannam@85 4294
cannam@85 4295 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4296
cannam@85 4297 * src/GSM610/gsm610_priv.h
cannam@85 4298 Replace ugly macros with inline functions.
cannam@85 4299
cannam@85 4300 * src/GSM610/*.c
cannam@85 4301 Remove temporary variables used by macros and other minor fixes required by
cannam@85 4302 above change.
cannam@85 4303
cannam@85 4304 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4305
cannam@85 4306 * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
cannam@85 4307 Make sure these programs compile (even though they do nothing) on Win32
cannam@85 4308 and add them to the "make check" target.
cannam@85 4309
cannam@85 4310 * src/sfendian.h
cannam@85 4311 Fix warning on Sparc CPU and code cleanup.
cannam@85 4312
cannam@85 4313 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4314
cannam@85 4315 * src/file_io.c
cannam@85 4316 Fix warning messages when compiling under MinGW.
cannam@85 4317
cannam@85 4318 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4319
cannam@85 4320 * configure.ac
cannam@85 4321 Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
cannam@85 4322 accepts the flexible array struct member as per 1999 ISO C standard.
cannam@85 4323
cannam@85 4324 * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
cannam@85 4325 Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
cannam@85 4326 hack for non 1999 ISO C compliant compilers.
cannam@85 4327
cannam@85 4328 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4329
cannam@85 4330 * src/strings.c
cannam@85 4331 If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
cannam@85 4332 string does not already have libsndfile in the string. Thanks to Conrad
cannam@85 4333 Parker.
cannam@85 4334
cannam@85 4335 * tests/string_test.c
cannam@85 4336 Add test to verify the above.
cannam@85 4337
cannam@85 4338 * examples/sndfile-convert.c
cannam@85 4339 Add ability to transcode meta data as well (Conrad Parker).
cannam@85 4340
cannam@85 4341 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4342
cannam@85 4343 * doc/command.html
cannam@85 4344 Fix minor error. Thanks to Simon Burton.
cannam@85 4345
cannam@85 4346 * doc/win32.html
cannam@85 4347 Started adding instructions for compiling libsndfile under MinGW.
cannam@85 4348
cannam@85 4349 * configure.ac
cannam@85 4350 Add --enable-bow-docs to enable black text on a white background HTML docs.
cannam@85 4351
cannam@85 4352 * doc/libsndfile.css.in
cannam@85 4353 This is now a template file for configure which sets the foreground and
cannam@85 4354 background colours.
cannam@85 4355
cannam@85 4356 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4357
cannam@85 4358 * configure.ac
cannam@85 4359 Do some MinGW fixes.
cannam@85 4360
cannam@85 4361 * configure.ac doc/Makefile.am
cannam@85 4362 Install HTML docs when doing make install.
cannam@85 4363
cannam@85 4364 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4365
cannam@85 4366 * examples/sndfile-info.c
cannam@85 4367 Print out the dB level with the signal max.
cannam@85 4368
cannam@85 4369 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4370
cannam@85 4371 * src/file_io.c
cannam@85 4372 Define S_ISSOCK in src/file_io.c if required.
cannam@85 4373
cannam@85 4374 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4375
cannam@85 4376 * configure.ac
cannam@85 4377 Improve printout configuration summary (as suggested by Axel Röbel).
cannam@85 4378
cannam@85 4379 * doc/index.html
cannam@85 4380 Add link to pre-release location.
cannam@85 4381
cannam@85 4382 * src/sndfile.h.in
cannam@85 4383 Remove comma after last element of enum.
cannam@85 4384
cannam@85 4385 * src/float32.c src/double64.c
cannam@85 4386 Fix read/write of float/double encoded raw files to/from pipes.
cannam@85 4387
cannam@85 4388 * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
cannam@85 4389 Turn pipe_test.c into an autogenerated file and add tests for reading/
cannam@85 4390 writing floats and doubles.
cannam@85 4391
cannam@85 4392 * tests/Makefile.am
cannam@85 4393 Hook tests/pipe_test.* into build system.
cannam@85 4394
cannam@85 4395 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4396
cannam@85 4397 * configure.ac acinclude.m4
cannam@85 4398 Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
cannam@85 4399
cannam@85 4400 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4401
cannam@85 4402 * tests/misc_test.c
cannam@85 4403 Perform update_header_test in RDWR mode as well.
cannam@85 4404
cannam@85 4405 * src/aiff.c
cannam@85 4406 Fix problems when updating header in RDWR mode.
cannam@85 4407
cannam@85 4408 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4409
cannam@85 4410 * src/wav.c src/w64.c src/wav_w64.c
cannam@85 4411 Integrate code supplied by David Viens for supporting microsoft's
cannam@85 4412 WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
cannam@85 4413
cannam@85 4414 * configure.ac doc/*.html
cannam@85 4415 Bump version to 1.0.9.
cannam@85 4416
cannam@85 4417 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4418
cannam@85 4419 * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
cannam@85 4420 Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
cannam@85 4421
cannam@85 4422 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4423
cannam@85 4424 * src/avr.c
cannam@85 4425 New file to handle Audio Visual Resaerch files.
cannam@85 4426
cannam@85 4427 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
cannam@85 4428 Hook AVR into everything else.
cannam@85 4429
cannam@85 4430 * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
cannam@85 4431 Add testing for AVR files.
cannam@85 4432
cannam@85 4433 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4434
cannam@85 4435 * src/file_io.c
cannam@85 4436 Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
cannam@85 4437 Technologie) for coming up with the solution.
cannam@85 4438
cannam@85 4439 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4440
cannam@85 4441 * tests/write_read_test.tpl
cannam@85 4442 Fixed a bug that was causing valgrind to report a memory leak. The bug was
cannam@85 4443 in the test code itself, not the library.
cannam@85 4444
cannam@85 4445 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4446
cannam@85 4447 * examples/generate.cs
cannam@85 4448 An example showing how to use libsndfile from C#. Thanks to James Robson
cannam@85 4449 for providing this.
cannam@85 4450
cannam@85 4451 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4452
cannam@85 4453 * src/common.c
cannam@85 4454 Fix problems with WAV files containing large chunks after the 'data'
cannam@85 4455 chunk. Thanks to Koen Tanghe for providing a sample file.
cannam@85 4456
cannam@85 4457 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4458
cannam@85 4459 * configure.ac
cannam@85 4460 Detect presense of ALSA (Advanced Linux Sound Architecture).
cannam@85 4461
cannam@85 4462 * examples/sndfile-play.c
cannam@85 4463 Add ALSA output support.
cannam@85 4464
cannam@85 4465 * examples/Makefile.am
cannam@85 4466 Add ALSA_LIBS to link line of sndfile-play.c.
cannam@85 4467
cannam@85 4468 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4469
cannam@85 4470 * acinclude.m4
cannam@85 4471 Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
cannam@85 4472 the use of the what is known as the struct hack introduced by the 1999 ISO
cannam@85 4473 C Standard.
cannam@85 4474
cannam@85 4475 * configure.ac
cannam@85 4476 The last release would not compile with gcc-2.95 due to the use of features
cannam@85 4477 (ie struct hack) introduced by the 1999 ISO C Standard.
cannam@85 4478 Add check to make sure compiler handles this and bomb out if it doesn't.
cannam@85 4479
cannam@85 4480 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4481
cannam@85 4482 * tests/write_read_test.tpl
cannam@85 4483 Fix compiler warning on Win32.
cannam@85 4484
cannam@85 4485 * src/file_io.c
cannam@85 4486 Fix use of an un-initialised variable in Win32 stuff.
cannam@85 4487
cannam@85 4488 * Win32/config.h examples/sndfile-play.c
cannam@85 4489 Win32 fixes.
cannam@85 4490
cannam@85 4491 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4492
cannam@85 4493 * configure.ac
cannam@85 4494 Fix bug which occurres when configuring for MinGW.
cannam@85 4495 If compiler is gcc and cross compiling use -nostdinc.
cannam@85 4496
cannam@85 4497 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4498
cannam@85 4499 * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
cannam@85 4500 src/sndfile.c
cannam@85 4501 Fix a bug with PEAK chunk handling for files with more than 16 channels.
cannam@85 4502 Thanks to Remy Bruno for finding this.
cannam@85 4503
cannam@85 4504 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4505
cannam@85 4506 * src/common.c
cannam@85 4507 Fix a bug which was preventing WAV files being openned correctly if the
cannam@85 4508 file had a very large header. Thanks to Eldad Zack for finding this.
cannam@85 4509
cannam@85 4510 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4511
cannam@85 4512 * configure.ac src/file_io.c
cannam@85 4513 Fix cross-compiling from Linux to Win32 using the MinGW tools.
cannam@85 4514
cannam@85 4515 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4516
cannam@85 4517 * src/create_symbols_file.sh
cannam@85 4518 Christian Weisgerber pointed out that the shell script did not run on a
cannam@85 4519 real Bourne shell although it did run under Bash in Bourne shell mode.
cannam@85 4520
cannam@85 4521 * src/create_symbols_file.py
cannam@85 4522 Rewrite of above in Python. Also add support for writing Win32 .def files.
cannam@85 4523 The Python script generates Symbols.linux, Symbols.darwin and
cannam@85 4524 libsndfile.def (Win32 version). These files get shipped with the tarball
cannam@85 4525 so there should not be necessary to run the Python script when building
cannam@85 4526 the code from the tarball.
cannam@85 4527
cannam@85 4528 * configure.ac src/Makefile.am Win32/Makefile.am
cannam@85 4529 Hook new Python script into the build system.
cannam@85 4530
cannam@85 4531 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4532
cannam@85 4533 * src/configure.ac
cannam@85 4534 Add --enable-gcc-werror option and move GCC specific stuff down.
cannam@85 4535
cannam@85 4536 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4537
cannam@85 4538 * acinclude.m4 configure.ac
cannam@85 4539 Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
cannam@85 4540
cannam@85 4541 * src/file_io.c
cannam@85 4542 Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
cannam@85 4543 of missing large file support on Linux and Solaris.
cannam@85 4544
cannam@85 4545 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4546
cannam@85 4547 * examples/sndfile-play.c
cannam@85 4548 Fix a MacOSX specific bug which was caused by a space being inserted in
cannam@85 4549 the middle of a file name.
cannam@85 4550
cannam@85 4551 * configure.ac src/Makefile.am examples/Makefile.am
cannam@85 4552 Fix a couple of MacOSX build issues.
cannam@85 4553
cannam@85 4554 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4555
cannam@85 4556 * doc/command.html
cannam@85 4557 Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
cannam@85 4558
cannam@85 4559 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4560
cannam@85 4561 * doc/*.html
cannam@85 4562 Applied patch from Frank Neumann (author of lakai) which fixes many minor
cannam@85 4563 typos in documentation. Thanks Frank.
cannam@85 4564
cannam@85 4565 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4566
cannam@85 4567 * ChangeLog
cannam@85 4568 Changed my email address throughout source and docs.
cannam@85 4569
cannam@85 4570 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4571
cannam@85 4572 * src/file_io.c
cannam@85 4573 Make sure config.h is included before stdio.h to make sure large file
cannam@85 4574 support is enabled on Linux (and Solaris).
cannam@85 4575
cannam@85 4576 * tests/misc_test.c
cannam@85 4577 Disable update_header test on Win32. This should work but doesn't and
cannam@85 4578 I'm not sure why.
cannam@85 4579
cannam@85 4580 * Make.bat Win32/Makefile.msvc
cannam@85 4581 Updates.
cannam@85 4582
cannam@85 4583 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4584
cannam@85 4585 * src/common.h
cannam@85 4586 Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
cannam@85 4587 int to int to prevent weird arithmetic bugs.
cannam@85 4588
cannam@85 4589 * src/common.c src/aiff.c src/wav.c src/w64.c
cannam@85 4590 Fixed compiler warnings resulting from above change.
cannam@85 4591
cannam@85 4592 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4593
cannam@85 4594 * src/common.c
cannam@85 4595 Fixed a bug in header reader for some files with data after the sample data.
cannam@85 4596
cannam@85 4597 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4598
cannam@85 4599 * tests/lossy_comp_test.c tests/Makefile.am
cannam@85 4600 Add tests for AIFF/IMA files.
cannam@85 4601
cannam@85 4602 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4603
cannam@85 4604 * src/macbinary3.c src/macos.c
cannam@85 4605 Two new files required for handling SD2 files.
cannam@85 4606
cannam@85 4607 * src/common.h
cannam@85 4608 Add prototypes for functions in above two files.
cannam@85 4609
cannam@85 4610 * src/Makefile.am
cannam@85 4611 Hook new files into build system.
cannam@85 4612
cannam@85 4613 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4614
cannam@85 4615 * configure.ac
cannam@85 4616 Add checks for mmap() and getpagesize() which might be used at some time
cannam@85 4617 for faster file reads.
cannam@85 4618 Add detection of MacOSX.
cannam@85 4619
cannam@85 4620 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4621
cannam@85 4622 * doc/FAQ.html
cannam@85 4623 Minor mods to pkg-config section.
cannam@85 4624
cannam@85 4625 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4626
cannam@85 4627 * src/create_symbols_file.sh
cannam@85 4628 Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
cannam@85 4629 static symbols are exported causing troubles when trying to link
cannam@85 4630 libsndfile with another library which has any of the same symbols.
cannam@85 4631 He fixed this by supplying the MacOSX linker with a file containing
cannam@85 4632 all the public symbols so that only they would be exported and then
cannam@85 4633 supplied a patch for libsndfile.
cannam@85 4634 This wasn't quite ideal, because I would have to maintain two (3 if
cannam@85 4635 you include Win32) separate files containing the exported symbols.
cannam@85 4636 A better solution was to create this script which can generate a
cannam@85 4637 Symbols file for Linux, MacoSX and any other OS that supports
cannam@85 4638 minimising the number of exported symbols.
cannam@85 4639
cannam@85 4640 * configure.ac src/Makefile.am
cannam@85 4641 Hook the new script into the build process.
cannam@85 4642
cannam@85 4643 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4644
cannam@85 4645 * doc/index.html
cannam@85 4646 Added comments about Steve Dekorte's SoundConverter scam.
cannam@85 4647
cannam@85 4648 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4649
cannam@85 4650 * src/file_io.c
cannam@85 4651 Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
cannam@85 4652 (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
cannam@85 4653 true). The test has therefore been changed to is S_ISREG and anything
cannam@85 4654 which which does not return true for S_ISREG is considered a pipe.
cannam@85 4655
cannam@85 4656 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4657
cannam@85 4658 * tests/misc_test.c
cannam@85 4659 Fix update_header_test to pass SDS.
cannam@85 4660
cannam@85 4661 * src/sds.c
cannam@85 4662 More minor fixes.
cannam@85 4663
cannam@85 4664 * tests/floating_point_test.c
cannam@85 4665 Add test for SDS files.
cannam@85 4666
cannam@85 4667 * src/command.c
cannam@85 4668 Add SDS to major_formats array.
cannam@85 4669
cannam@85 4670 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4671
cannam@85 4672 * tests/write_read_test.tpl tests/misc_test.c
cannam@85 4673 Add tests for SDS files.
cannam@85 4674
cannam@85 4675 * src/sds.c
cannam@85 4676 Fix a bug in header update code.
cannam@85 4677
cannam@85 4678 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4679
cannam@85 4680 * src/sds.c
cannam@85 4681 Get file write working.
cannam@85 4682
cannam@85 4683 * src/paf.c
cannam@85 4684 Fix a potential bug in paf24_seek().
cannam@85 4685
cannam@85 4686 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4687
cannam@85 4688 * doc/FAQ.html
cannam@85 4689 Add Q/A about u-law encoded WAV files.
cannam@85 4690
cannam@85 4691 * Win32/*.h
cannam@85 4692 Updated so it compiles on Win32.
cannam@85 4693
cannam@85 4694 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4695
cannam@85 4696 * examples/sndfile-convert.c
cannam@85 4697 Add -alaw and -ulaw command line arguments.
cannam@85 4698
cannam@85 4699 * configure.ac
cannam@85 4700 Add library versioning comments.
cannam@85 4701 Add arguments to AC_INIT.
cannam@85 4702
cannam@85 4703 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4704
cannam@85 4705 * src/file_io.c
cannam@85 4706 Ross Bencina has contributed code to replace all of the (mostly broken)
cannam@85 4707 Win32 POSIX emulation calls with calls the native Win32 file I/O API.
cannam@85 4708 This code still needs testing but is likely to be a huge improvemnt
cannam@85 4709 of support for Win32. Thanks Ross.
cannam@85 4710
cannam@85 4711 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4712
cannam@85 4713 * src/dwvw.c
cannam@85 4714 Removed filedes field from the DWVW_PRIVATE struct.
cannam@85 4715
cannam@85 4716 * src/file_io.c
cannam@85 4717 Change psf_fopen() so it returns psf->error instead of the file descriptor.
cannam@85 4718 Add new functions psf_set_stdio() and psf_set_file().
cannam@85 4719
cannam@85 4720 * src/sndfile.c
cannam@85 4721 Change these to work with changed psf_fopen() return value.
cannam@85 4722 Remove all uses of psf->filedes from sndfile, making it easier to slot native
cannam@85 4723 Win32 API file handling functions.
cannam@85 4724
cannam@85 4725 * src/test_file_io.c
cannam@85 4726 Minor changes to make it compile with new file_io.c stuff.
cannam@85 4727
cannam@85 4728 2003-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4729
cannam@85 4730 * src/gsm610.h
cannam@85 4731 Rename a variable from true to true_flag. As Ross Bencina points out,
cannam@85 4732 true is defined in the C99 header <stdbool.h>.
cannam@85 4733
cannam@85 4734 * src/file_io.c
cannam@85 4735 If fstat() fails, return SF_TRUE instead of -1 (Ross Bencina).
cannam@85 4736
cannam@85 4737 2003-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4738
cannam@85 4739 * src/common.h
cannam@85 4740 Increase the size of SF_BUFFER_LEN and SF_HEADER_LEN.
cannam@85 4741
cannam@85 4742 * src/sndfile.c
cannam@85 4743 Fix sf_read/write_raw which were dividing by psf->bytwidth and
cannam@85 4744 psf->blockwidth which can both be zero.
cannam@85 4745
cannam@85 4746 * examples/sndfile-info.c
cannam@85 4747 Increase size of BUFFER_LEN.
cannam@85 4748
cannam@85 4749 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4750
cannam@85 4751 * configure.ac
cannam@85 4752 Add checks for <sys/wait.h> and ssize_t.
cannam@85 4753 Other Win32/MinGW checks.
cannam@85 4754
cannam@85 4755 * src/aiff.c src/au_g72x.c src/file_io.c src/gsm610.c src/interleave.c
cannam@85 4756 src/paf.c src/sds.c src/svx.c src/voc.c src/w64.c src/wav.c src/xi.c
cannam@85 4757 Fix compiler warnings.
cannam@85 4758
cannam@85 4759 2003-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4760
cannam@85 4761 * tests/scale_clip_test.tpl
cannam@85 4762 Add definition of M_PI if needed.
cannam@85 4763
cannam@85 4764 2003-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4765
cannam@85 4766 * configure.ac
cannam@85 4767 Detect if S_IRGRP is declared in <unistd.h>.
cannam@85 4768
cannam@85 4769 * src/file_io.c tests/*.tpl tests/*.c
cannam@85 4770 More fixes for Win32/MSVC++ and MinGW. MinGW does have <unistd.h> but that
cannam@85 4771 file doesn't declare S_IRGRP.
cannam@85 4772
cannam@85 4773 2003-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4774
cannam@85 4775 * src/config.h.in
cannam@85 4776 Add comment stating that the sf_count_t typedef is determined when
cannam@85 4777 libsndfile is being compiled.
cannam@85 4778
cannam@85 4779 * tests/utils.tpl
cannam@85 4780 Modified so that utils.c gets one copy of the GPL and not two.
cannam@85 4781
cannam@85 4782
cannam@85 4783 2003-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4784
cannam@85 4785 * Win32/unistd.h src/sf_unistd.h
cannam@85 4786 Move first file to the second. This will help for Win32/MSVC++ and MinGW.
cannam@85 4787
cannam@85 4788 * Win32/Makefile.am src/Makefile.am
cannam@85 4789 Changed in line with above.
cannam@85 4790
cannam@85 4791 * Win32/Makefile.msvc
cannam@85 4792 Removed "/I Win32" which is no longer required.
cannam@85 4793
cannam@85 4794 * src/file_io.c src/test_file_io.c tests/*.tpl tests/*.c
cannam@85 4795 If HAVE_UNISTD_H include <unistd.h> else include <sf_unistd.h>. This should
cannam@85 4796 work for Win32, MinGW and other fakes Unix-like OSes.
cannam@85 4797
cannam@85 4798 * src/*.c
cannam@85 4799 Removed #include <unistd.h> from files which didn't need it.
cannam@85 4800
cannam@85 4801 2003-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4802
cannam@85 4803 * libsndfile.spec.in
cannam@85 4804 Apply fix from Andrew Schultz.
cannam@85 4805
cannam@85 4806 2003-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4807
cannam@85 4808 * src/vox_adpcm.c
cannam@85 4809 Only set psf->sf.samplerate if the existing value is invalid.
cannam@85 4810
cannam@85 4811 2003-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4812
cannam@85 4813 * examples/sndfile-play.c
cannam@85 4814 Started adding support for ALSA output.
cannam@85 4815
cannam@85 4816 2003-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4817
cannam@85 4818 * src/sndfile.h.in
cannam@85 4819 Removed <stdlib.h> from sndfile.h.
cannam@85 4820
cannam@85 4821 * src/*.c examples/*.c tests/*.c tests/*.tpl
cannam@85 4822 Added <stdlib.h> where needed.
cannam@85 4823
cannam@85 4824 2003-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4825
cannam@85 4826 * src/common.h
cannam@85 4827 Added ARRAY_LEN, SF_MAX and SF_MIN macros.
cannam@85 4828
cannam@85 4829 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4830
cannam@85 4831 * doc/index.html
cannam@85 4832 Remove statements about alternative licensing arrangements.
cannam@85 4833
cannam@85 4834 2003-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4835
cannam@85 4836 * MacOS MacOS9 Makefile.am configure.ac
cannam@85 4837 Change directory name from MacOS to MacOS9
cannam@85 4838
cannam@85 4839 * MacOS9/MacOS9-readme.txt
cannam@85 4840 Change name to make it really obvious, add text to top of file to make it
cannam@85 4841 still more obvious again.
cannam@85 4842
cannam@85 4843 2003-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4844
cannam@85 4845 * src/test_log_printf.c
cannam@85 4846 Add tests for %u conversions.
cannam@85 4847
cannam@85 4848 * src/common.c
cannam@85 4849 Fix psf_log_printf() %u conversions.
cannam@85 4850
cannam@85 4851 2003-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4852
cannam@85 4853 * src/aiff.c
cannam@85 4854 Fixed a bug where opening a file with a non-trival header in SFM_RDWR mode
cannam@85 4855 would over-write part of the header. Thanks to Axel Röbel for pointing
cannam@85 4856 this out. Axel also provided a patch to fix this but I came up with a
cannam@85 4857 neater and more general solution.
cannam@85 4858 Return error when openning an AIFF file with data after the SSND chunk
cannam@85 4859 (Thanks Axel Röbel).
cannam@85 4860
cannam@85 4861 * tests/aiff_rw_test.c
cannam@85 4862 Improvements to test program which will later allow it to be generalised to
cannam@85 4863 test WAV, SVX and others as required.
cannam@85 4864
cannam@85 4865 2003-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4866
cannam@85 4867 * tests/pipe_test.c
cannam@85 4868 Add useek_pipe_rw_test() submitted by Russell Francis.
cannam@85 4869
cannam@85 4870 * src/sndfile.c
cannam@85 4871 In sf_open_fd(), check if input file descriptor is a pipe.
cannam@85 4872
cannam@85 4873 * src/sndfile.[ch]
cannam@85 4874 Fix typo in variable name do_not_close_descriptor.
cannam@85 4875
cannam@85 4876 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4877
cannam@85 4878 * src/test_log_printf.c
cannam@85 4879 Improve the tests for %d and %s conversions.
cannam@85 4880
cannam@85 4881 * src/common.c
cannam@85 4882 Fixed a few problems in psf_log_printf() found using new tests.
cannam@85 4883
cannam@85 4884 2003-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4885
cannam@85 4886 * configure.ac
cannam@85 4887 Add -Wwrite-strings warning to CFLAGS if the compiler is GCC. Thanks to
cannam@85 4888 Peter Miller (Aegis author) for suggesting this and supplying a patch.
cannam@85 4889
cannam@85 4890 * src/*.c examples/*.c tests/*.c
cannam@85 4891 Fix all compiler warnings arising from the above.
cannam@85 4892
cannam@85 4893 2003-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4894
cannam@85 4895 * tests/aiff_rw_test.c tests/Makefile.am
cannam@85 4896 New test program to check for errors re-writing the headers of AIFC files
cannam@85 4897 opened in mode SFM_RDWR.
cannam@85 4898
cannam@85 4899 2003-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4900
cannam@85 4901 * examples/sndfile-play.c
cannam@85 4902 Applied a patch from Tero Pelander to allow this program to run on systems
cannam@85 4903 using devfs which used /dev/sound/dsp instead of /dev/dsp.
cannam@85 4904
cannam@85 4905 2003-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4906
cannam@85 4907 * doc/new_file_type.HOWTO
cannam@85 4908 Updated document. Still incomplete.
cannam@85 4909
cannam@85 4910 2003-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4911
cannam@85 4912 * src/sndfile.c
cannam@85 4913 Fix VALIDATE_SNDFILE_AND_ASSIGN_PSF which was returning an error rather
cannam@85 4914 than saving it and returning zero.
cannam@85 4915
cannam@85 4916 2003-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4917
cannam@85 4918 * src/file_io.c
cannam@85 4919 Two fixes for Mac OS9.
cannam@85 4920 Fix all casts from sf_count_t to ssize_t (not size_t).
cannam@85 4921
cannam@85 4922 2003-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4923
cannam@85 4924 * src/wav.c
cannam@85 4925 Fix for reading files with RIFF length of 8 and data length of 0.
cannam@85 4926
cannam@85 4927 2003-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4928
cannam@85 4929 * src/*.c tests/*.c tests/*.tpl
cannam@85 4930 Added comments to mark code for removal when make Lite version of
cannam@85 4931 libsndfile.
cannam@85 4932
cannam@85 4933 2003-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4934
cannam@85 4935 * examples/sndfile-convert.c
cannam@85 4936 Add extra error checking for unrecognised arguments.
cannam@85 4937
cannam@85 4938 2003-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4939
cannam@85 4940 * src/ima_adpcm.c
cannam@85 4941 Started adding code to write IMA ADPCM encoded AIFF files.
cannam@85 4942
cannam@85 4943 * src/test_log_printf.c src/Makefile.am
cannam@85 4944 New file to test psf_log_printf() function and add hooks into build system.
cannam@85 4945
cannam@85 4946 * src/common.c
cannam@85 4947 Move psf_log_printf() function to top of the file and only compile the rest
cannam@85 4948 of the file if if PSF_LOG_PRINTF_ONLY is not defined.
cannam@85 4949
cannam@85 4950 2003-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4951
cannam@85 4952 * Win32/config.h Win32/sndfile.h
cannam@85 4953 Updated with new config variables.
cannam@85 4954
cannam@85 4955 * Win32/unistd.h src/file_io.c
cannam@85 4956 Added implementation of S_ISFIFO macro which Win32 seems to lack and is
cannam@85 4957 used in src/file_io.c.
cannam@85 4958
cannam@85 4959 * tests/utils.tpl
cannam@85 4960 Added #include <unitstd.h> to pull in Win32/unistd.h so it compiles for
cannam@85 4961 Win32.
cannam@85 4962
cannam@85 4963 * src/Makefile.msvc
cannam@85 4964 Added src\test_file_io.exe build target and run this as the very first
cannam@85 4965 test.
cannam@85 4966
cannam@85 4967 * tests/win32_test.c
cannam@85 4968 Add support for testing Cygwin32.
cannam@85 4969
cannam@85 4970 * configure.ac
cannam@85 4971 Detect POSIX fsync() and fdatasync() functions.
cannam@85 4972
cannam@85 4973 * src/file_io.c
cannam@85 4974 If compiling for Cygwin, call fsync() before calling fstat() to retrieve
cannam@85 4975 file length.
cannam@85 4976
cannam@85 4977 * tests/pcm_test.tpl
cannam@85 4978 Add a test for lrintf() function. This was required to detect a really
cannam@85 4979 broken lrint() and lrintf() on Cygwin.
cannam@85 4980
cannam@85 4981 * tests/misc_test.c
cannam@85 4982 Don't run permission test when compiling under Cygwin.
cannam@85 4983
cannam@85 4984 * src/float_cast.h
cannam@85 4985 Fix fallback macro for lrint() and lrintf() to cast to long instead of int
cannam@85 4986 to match official function prototypes.
cannam@85 4987
cannam@85 4988 2003-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4989
cannam@85 4990 * examples/sndfile-convert.c
cannam@85 4991 Modifications to improve accuracy of conversions; use double data for
cannam@85 4992 floating point and int for everything else.
cannam@85 4993
cannam@85 4994 * src/ima_apdcm.c
cannam@85 4995 Completed work on decoding IMA ADPCM encoded AIFF files. Still need to
cannam@85 4996 get encoding working.
cannam@85 4997
cannam@85 4998 2003-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 4999
cannam@85 5000 * src/aiff.c src/ima_adpcm.c
cannam@85 5001 Start working on getting IMA ADPCM encoded AIFF files working.
cannam@85 5002
cannam@85 5003 2003-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5004
cannam@85 5005 * configure.ac
cannam@85 5006 Fixed the touch command for when the autogen program is not found (Matt
cannam@85 5007 Flax).
cannam@85 5008
cannam@85 5009 * src/ulaw.c src/alaw.c
cannam@85 5010 Made these pipe-able.
cannam@85 5011
cannam@85 5012 2003-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5013
cannam@85 5014 * src/paf.c src/ircam.c
cannam@85 5015 Fixed writing to pipe.
cannam@85 5016
cannam@85 5017 * src/wav.c src/aiff.c src/nist.c src/mat*.c src/svx.c src/w64.c
cannam@85 5018 Return SFE_NO_PIPE_WRITE if an attempt is made to write to a pipe.
cannam@85 5019
cannam@85 5020 2003-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5021
cannam@85 5022 * examples/sndfile-info.c
cannam@85 5023 Modified to detect unknown file lengths.
cannam@85 5024
cannam@85 5025 * src/mat4.c
cannam@85 5026 Fix reading from a pipe.
cannam@85 5027
cannam@85 5028 2003-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5029
cannam@85 5030 * tests/pipe_test.c
cannam@85 5031 Add more file types to tests.
cannam@85 5032
cannam@85 5033 * src/mat4.c
cannam@85 5034 Removed explicit setting of psf->sf.seekable to SF_TRUE.
cannam@85 5035
cannam@85 5036 * tests/utils.tpl
cannam@85 5037 Add macro for generating and check data in the stdio and pipe tests.
cannam@85 5038
cannam@85 5039 * tests/stdout_test.c tests/stdin_test.c
cannam@85 5040 Use the above macro to generate known data on output and check data on
cannam@85 5041 input.
cannam@85 5042
cannam@85 5043 * src/voc.c src/htk.c common.h sndfile.c
cannam@85 5044 Disallow reading/writing VOC and HTK files from/to pipes be returning new
cannam@85 5045 error values.
cannam@85 5046
cannam@85 5047 * src/w64.c
cannam@85 5048 Fixes to allow reading from a pipe.
cannam@85 5049
cannam@85 5050 2003-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5051
cannam@85 5052 * configure.ac src/sndfile.h.in
cannam@85 5053 When the configure script determines the sizeof (sf_count_t), also set the
cannam@85 5054 value of SF_COUNT_MAX in sndfile.h.
cannam@85 5055
cannam@85 5056 * configure.ac
cannam@85 5057 Remove -pedantic flag from default GCC compiler flags.
cannam@85 5058
cannam@85 5059 * tests/pipe_test.c
cannam@85 5060 Add a pipe_read_test() before doing pipe_write_test().
cannam@85 5061
cannam@85 5062 * tests/scale_clip_test.c
cannam@85 5063 Add test to make sure non-normalized values also clip in the right way.
cannam@85 5064
cannam@85 5065 2003-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5066
cannam@85 5067 * configure.ac
cannam@85 5068 Add test to detect processor clipping capabilities.
cannam@85 5069
cannam@85 5070 * tests/stdin_test.c tests/stdout_test.c
cannam@85 5071 Fix a pair of compiler warnings.
cannam@85 5072
cannam@85 5073 * src/common.h
cannam@85 5074 Add new pipeoffset field to SF_PRIVATE. This will contain the current file
cannam@85 5075 offset when operating on a pipe.
cannam@85 5076
cannam@85 5077 * src/common.c
cannam@85 5078 Removed direct calls to psf_fread()/psf_fseek()/psf_fgets() etc from
cannam@85 5079 psf_binheader_readf and redirect them to new buffered versions
cannam@85 5080 header_read(), header_seek() and header_gets().
cannam@85 5081 Add "G" format specifier to emulate fgets() functionality with buffering.
cannam@85 5082 This will allow reading some file types from pipes.
cannam@85 5083
cannam@85 5084 * src/file_io.c
cannam@85 5085 When the file descriptor is a pipe, manintain psf->pipeoffset.
cannam@85 5086
cannam@85 5087 * src/pvf.c
cannam@85 5088 Change use of psf_fgets() to psf_binheader_readf() as required but changes to header re
cannam@85 5089
cannam@85 5090 * src/au.c
cannam@85 5091 Fix reading from a pipe.
cannam@85 5092
cannam@85 5093 2003-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5094
cannam@85 5095 * src/pcm.c
cannam@85 5096 Add clipping versions of the f2XXX_array() functions to allow option of
cannam@85 5097 clipping data that would otherwise overflow.
cannam@85 5098
cannam@85 5099 * tests/scale_clip_test.tpl tests/scale_clip_test.def
cannam@85 5100 New files test that clipping option does actually work.
cannam@85 5101
cannam@85 5102 2003-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5103
cannam@85 5104 * doc/index.html
cannam@85 5105 Fixed a typo ("OS(" instead of "OS9").
cannam@85 5106
cannam@85 5107 2003-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5108
cannam@85 5109 * tests/open_fail_test.c
cannam@85 5110 Include <string.h> to prevent warning message of missing declaration of
cannam@85 5111 memset().
cannam@85 5112
cannam@85 5113 2003-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5114
cannam@85 5115 * src/common.h
cannam@85 5116 Add new "add_clipping" field to SF_PRIVATE.
cannam@85 5117
cannam@85 5118 * src/sndfile.h.in src/sndfile.c
cannam@85 5119 Add command SFC_SET_CLIPPING which sets/resets add_clipping field.
cannam@85 5120
cannam@85 5121 2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5122
cannam@85 5123 * doc/api.html
cannam@85 5124 Add docs for sf_set_string() and sf_get_string().
cannam@85 5125
cannam@85 5126 * src/common.h src/sndfile.c
cannam@85 5127 Add new SFE_STR_BAD_STRING error.
cannam@85 5128
cannam@85 5129 * tests/stdin_test.c tests/stdout_test.c
cannam@85 5130 Removed all non-error print statements.
cannam@85 5131
cannam@85 5132 * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am
cannam@85 5133 Add print statements removed from two files above.
cannam@85 5134
cannam@85 5135 2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5136
cannam@85 5137 * libsndfile.spec.in
cannam@85 5138 Fixed a coulpe of minor errors discovered by someone calling themselves
cannam@85 5139 Agent Smith.
cannam@85 5140
cannam@85 5141 * src/common.c src/common.h src/file_io.h
cannam@85 5142 Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe()
cannam@85 5143 function. (Axel Röbel)
cannam@85 5144
cannam@85 5145 * src/sndfile.c
cannam@85 5146 Fixed determination of whether the file is a pipe. (Axel Röbel)
cannam@85 5147
cannam@85 5148 * src/paf.c
cannam@85 5149 Force paf24 to start with undefined mode. (Axel Röbel)
cannam@85 5150
cannam@85 5151 * tests/pipe_test.c
cannam@85 5152 Mods to make this test work and actually do the test on RAW files. (Axel
cannam@85 5153 Röbel).
cannam@85 5154
cannam@85 5155 2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5156
cannam@85 5157 * src/sndfile.c
cannam@85 5158 Fixed a potential bug where psf->sf.seekable was being set to FALSE when
cannam@85 5159 operating on stdin or stdout but then the default initialiser was reseting
cannam@85 5160 it to TRUE. Thanks to Axel Röbel.
cannam@85 5161
cannam@85 5162 * src/aiff.c
cannam@85 5163 Fixed a bug in the header parser where it was not handling an odd length
cannam@85 5164 COMM chunk correctly. Thanks to Axel Röbel.
cannam@85 5165
cannam@85 5166 * src/test_file_io.c
cannam@85 5167 Add more tests.
cannam@85 5168
cannam@85 5169 * tests/win32_test.c
cannam@85 5170 New file for showing the bugs in the Win32 implementation of the POSIX API.
cannam@85 5171 It also runs on Linux for sanity checking.
cannam@85 5172
cannam@85 5173 * tests/Makefile.am Win32/Makefile.msvc
cannam@85 5174 Hook the new test program into the build system.
cannam@85 5175
cannam@85 5176 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5177
cannam@85 5178 * src/test_file_io.c
cannam@85 5179 New test program to test operation of functions defined in file_io.c. This
cannam@85 5180 should make supporting win32 significantly easier.
cannam@85 5181
cannam@85 5182 * src/Makefile.am
cannam@85 5183 Hook new test program into the build system.
cannam@85 5184
cannam@85 5185 * src/file_io.c
cannam@85 5186 Add compile/run time check that sizeof statbuf.st_size and sf_count_t are
cannam@85 5187 the same.
cannam@85 5188
cannam@85 5189 * src/common.h src/sndfile.c
cannam@85 5190 Added new error code and error message for new check.
cannam@85 5191
cannam@85 5192 * tests/benchmark.tpl
cannam@85 5193 Fix to use frames instead of samples in SF_INFO.
cannam@85 5194
cannam@85 5195 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5196
cannam@85 5197 * src/file_io.c
cannam@85 5198 More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32.
cannam@85 5199
cannam@85 5200 * examples/sndfile-info.c
cannam@85 5201 Applied patch from Conrad Parker to add "--help" and "-h" options as
cannam@85 5202 well as an improved usage message.
cannam@85 5203
cannam@85 5204 2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5205
cannam@85 5206 * src/au.c
cannam@85 5207 Added embedded file support.
cannam@85 5208
cannam@85 5209 * tests/multi_file_test.c
cannam@85 5210 Added tests for embedded AU files.
cannam@85 5211 Added verbose testing mode.
cannam@85 5212
cannam@85 5213 * src/common.h src/sndfile.c
cannam@85 5214 Added an embedded AU specific error code and message.
cannam@85 5215
cannam@85 5216 * src/wav.c
cannam@85 5217 Added patch from Conrad Parker which filled in a little more information
cannam@85 5218 about ACIDized WAV files.
cannam@85 5219
cannam@85 5220 2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5221
cannam@85 5222 * src/file_io.c
cannam@85 5223 Fixed Win32 version of psf_fseek() which was calling psf_get_filelen()
cannam@85 5224 which was in turn calling psf_fseek() which in the end blew the stack.
cannam@85 5225 Now of course this would have been easy to find on Linux, but this blow
cannam@85 5226 up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't
cannam@85 5227 figure out what call caused this (it couldn't even tell me the stack had
cannam@85 5228 overflowed) and was absolutley useless for this debugging exercise.
cannam@85 5229 On top of that, the reason I got into this mess was that windoze doesn't
cannam@85 5230 have a working fstat() function which can return file lengths > 2 Gig. It
cannam@85 5231 HAS a fscking _fstati64() but the file length value is only updated AFTER
cannam@85 5232 the bloody file is closed. That makes it completely useless.
cannam@85 5233 How the hell do people stand working on this crap excuse of an OS?
cannam@85 5234
cannam@85 5235 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5236
cannam@85 5237 * Win32/unistd.h src/file_io.c
cannam@85 5238 Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these
cannam@85 5239 can be used in the test programs.
cannam@85 5240
cannam@85 5241 * Win32/libsndfile.def
cannam@85 5242 Added sf_open_fd.
cannam@85 5243
cannam@85 5244 * Win32/sndfile.h
cannam@85 5245 Updated to match src/sndfile.h.in.
cannam@85 5246
cannam@85 5247 * Win32/Makefile.msvc
cannam@85 5248 Added dither.c and htk.c to libsndfile.dll target.
cannam@85 5249
cannam@85 5250 2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5251
cannam@85 5252 * src/file_io.c
cannam@85 5253 First attempt at getting the Win32 versions of the these functions working.
cannam@85 5254 They still need to be tested.
cannam@85 5255
cannam@85 5256 2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5257
cannam@85 5258 * src/strings.c
cannam@85 5259 Found and fixed a bug which was causing psf_store_string() to fail on
cannam@85 5260 Motorola 68k processors. Many thanks fo Joshua Haberman (Debian maintainer
cannam@85 5261 of libsndfile) for compiling and running debug code to help me debug the
cannam@85 5262 problem.
cannam@85 5263
cannam@85 5264 2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5265
cannam@85 5266 * src/sndfile.c src/file_io.c src/wav.c src/aiff.c
cannam@85 5267 Much hacking to get reading and writing of embedded files working (ie sound
cannam@85 5268 files at a non-zero files offset).
cannam@85 5269
cannam@85 5270 * doc/embedded_files.html
cannam@85 5271 First pass atempt at documenting reading/writing embedded files.
cannam@85 5272
cannam@85 5273 2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5274
cannam@85 5275 * doc/FAQ.html
cannam@85 5276 Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"
cannam@85 5277
cannam@85 5278 2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5279
cannam@85 5280 * src/wav.c src/aiff.c
cannam@85 5281 Fix retrieving and storing of string data from files. Need to be careful
cannam@85 5282 about using psf->buffer for strings.
cannam@85 5283
cannam@85 5284 2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5285
cannam@85 5286 * src/file_io.c
cannam@85 5287 Fix psf_fseek() for seeks withing embedded files.
cannam@85 5288
cannam@85 5289 2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5290
cannam@85 5291 * src/sndfile.h.in
cannam@85 5292 Changed the definition of SNDFILE slightly to produce warnings when it isn't
cannam@85 5293 used correctly. This should have zero affect in code which uses the SNDFILE
cannam@85 5294 type correctly.
cannam@85 5295
cannam@85 5296 * src/sndfile.c
cannam@85 5297 Fixed a few compiler warnings cause by the changes to the SNDFILE type.
cannam@85 5298
cannam@85 5299 2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5300
cannam@85 5301 * doc/FAQ.html
cannam@85 5302 Added question and answer to the question "How about adding the ability
cannam@85 5303 to write/read sound files to/from memory buffers?".
cannam@85 5304
cannam@85 5305 2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5306
cannam@85 5307 * tests/write_read_test.tpl
cannam@85 5308 Removed un-needed enums declaring TRUE and FALSE and replaced usage of
cannam@85 5309 these with SF_TRUE and SF_FALSE.
cannam@85 5310
cannam@85 5311 * tests/multi_file_test.c
cannam@85 5312 New test program to test sf_open_fd() on files containing data other than
cannam@85 5313 a single sound file.
cannam@85 5314
cannam@85 5315 2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5316
cannam@85 5317 * src/file_io.c
cannam@85 5318 When creating files, set the readable by others flag. This still allows
cannam@85 5319 further restrictions to be enforced by use of the user's umask. Fix
cannam@85 5320 suggested by Eric Lyon.
cannam@85 5321
cannam@85 5322 2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5323
cannam@85 5324 * src/sndfile.h.in src/sndfile.c
cannam@85 5325 Changed sf_open_fd(). Dropped offset parameter and added a close_desc
cannam@85 5326 parameter. If close desc is TRUE, the file descritpor passed into the
cannam@85 5327 library will be closed when sf_close() is called.
cannam@85 5328
cannam@85 5329 * tests/utils.tpl
cannam@85 5330 Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.
cannam@85 5331
cannam@85 5332 2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5333
cannam@85 5334 * tests/write_read_test.tpl
cannam@85 5335 Add a string (using sf_set_string() function) before and after data section
cannam@85 5336 of all files. This will make sure that if string data can be added, it
cannam@85 5337 doesn't overwrite real audio data.
cannam@85 5338
cannam@85 5339 2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5340
cannam@85 5341 * src/sndfile.c
cannam@85 5342 Started work on supporting a non-zero offset parameter for sf_open_fd ().
cannam@85 5343
cannam@85 5344 * src/<file header parsers>.c
cannam@85 5345 Removed many uses of psf_fseek (SEEK_END) which to allow for future use of
cannam@85 5346 sf_open_fd() with non-zero offset.
cannam@85 5347 Associated refactoring.
cannam@85 5348
cannam@85 5349 * src/aiff.c
cannam@85 5350 Implemented functionality required to get sf_get_string() and
cannam@85 5351 sf_set_string() working for AIFF files.
cannam@85 5352
cannam@85 5353 2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5354
cannam@85 5355 * tests/utils.tpl
cannam@85 5356 Modified test_open_file_or_die() to alternately use sf_open() and
cannam@85 5357 sf_open_fd().
cannam@85 5358
cannam@85 5359 * src/svx.c
cannam@85 5360 Fixed a bug which occurred when openning an existing file for read/write
cannam@85 5361 using sf_open_fd(). In this case, the existing NAME chunk needs to be
cannam@85 5362 read into psf->filename.
cannam@85 5363 Fixed printing of sf_count_t types to logbuffer.
cannam@85 5364
cannam@85 5365 2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5366
cannam@85 5367 * src/sndfile.h.in
cannam@85 5368 Added prototype for new function sf_open_fd().
cannam@85 5369
cannam@85 5370 * src/sndfile.c
cannam@85 5371 Moved most of the code in sf_open() to a new function psf_open_file().
cannam@85 5372 Created new function sf_open_fd() which also uses psf_open_file() but
cannam@85 5373 does not currently support the offset parameter.
cannam@85 5374
cannam@85 5375 * doc/api.html
cannam@85 5376 Document sf_open_fd().
cannam@85 5377
cannam@85 5378 2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5379
cannam@85 5380 * src/sndfile.c
cannam@85 5381 Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred
cannam@85 5382 when an attempt was made to read and the open() call fails.
cannam@85 5383
cannam@85 5384 2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5385
cannam@85 5386 * tests/open_fail_test.c
cannam@85 5387 New test program to check for memory leaks when sf_open fails on a valid
cannam@85 5388 file. Currently this must be run manually under valgrid.
cannam@85 5389
cannam@85 5390 * tests/Makefile.am
cannam@85 5391 Hook new test program into build.
cannam@85 5392
cannam@85 5393 2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5394
cannam@85 5395 * Octave/sndfile_save.m Octave/sndfile_play.m
cannam@85 5396 Added a -mat-binary option to the octave save command to force the output
cannam@85 5397 to binary mode even if the user has set ascii data as the default. Found
cannam@85 5398 by Christopher Moore.
cannam@85 5399
cannam@85 5400 2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5401
cannam@85 5402 * doc/dither.html
cannam@85 5403 New file which will document the interface which allows the addition of
cannam@85 5404 audio dither when sample word sizes are being reduced.
cannam@85 5405
cannam@85 5406 * src/dither.c
cannam@85 5407 More work.
cannam@85 5408
cannam@85 5409 2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5410
cannam@85 5411 * tests/misc_test.c
cannam@85 5412 In update_header_test(), make HTK files a special case.
cannam@85 5413
cannam@85 5414 * doc/index.html
cannam@85 5415 Added HTK to the feature matrix.
cannam@85 5416
cannam@85 5417 2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5418
cannam@85 5419 * src/htk.c
cannam@85 5420 New file for reading/writing HMM Tool Kit files.
cannam@85 5421
cannam@85 5422 * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am
cannam@85 5423 Hook in htk.c
cannam@85 5424
cannam@85 5425 * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am
cannam@85 5426 Add tests for HTK files.
cannam@85 5427
cannam@85 5428 2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5429
cannam@85 5430 * src/wav.c
cannam@85 5431 Fixed a bug where the LIST chunk length was being written incorrectly.
cannam@85 5432
cannam@85 5433 * tests/string_test.c
cannam@85 5434 Added call to check_log_buffer().
cannam@85 5435 Minor cleanups.
cannam@85 5436
cannam@85 5437 2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5438
cannam@85 5439 * src/wav_w64.h
cannam@85 5440 Applied patch from Antoine Mathys to add extra WAV format definitions and
cannam@85 5441 a G72x_ADPCM_WAV_FMT struct definition.
cannam@85 5442
cannam@85 5443 * src/wav_w64.c
cannam@85 5444 Applied patch from Antoine Mathys which converts wav_w64_format_str() from
cannam@85 5445 one huge inefficient switch statement to a binary search.
cannam@85 5446
cannam@85 5447 * tests/string_test.c
cannam@85 5448 Dump log buffer if tests fail.
cannam@85 5449
cannam@85 5450 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5451
cannam@85 5452 * tests/string_test.c
cannam@85 5453 David Viens supplied some modifications to this file which showed up a bug
cannam@85 5454 when using sf_set_string() and the sf_writef_float() functions.
cannam@85 5455
cannam@85 5456 * src/sndfile.c
cannam@85 5457 Fixed the above bug.
cannam@85 5458
cannam@85 5459 2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5460
cannam@85 5461 * doc/FAQ.html
cannam@85 5462 Added Q and A on how to detect libsndfile in configure.in (at the suggestion
cannam@85 5463 of Davy Durham).
cannam@85 5464
cannam@85 5465 2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5466
cannam@85 5467 * src/sndfile.h.in
cannam@85 5468 Add enums and typedefs for dither.
cannam@85 5469 Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be
cannam@85 5470 replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will
cannam@85 5471 allow different dither algorithms to be enabled.
cannam@85 5472 Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO.
cannam@85 5473
cannam@85 5474 * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def.
cannam@85 5475 Added public sf_dither_*() functions.
cannam@85 5476
cannam@85 5477 * src/sndfile.c
cannam@85 5478 Implement commands above.
cannam@85 5479
cannam@85 5480 * src/dither.c
cannam@85 5481 More work. Framework and external hooks into dither algorithms complete.
cannam@85 5482
cannam@85 5483 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5484
cannam@85 5485 * doc/version-1.html libsndfile_version_convert.py
cannam@85 5486 Remove redundant files.
cannam@85 5487
cannam@85 5488 * doc/index.html doc/api.html
cannam@85 5489 Remove links to version-1.html.
cannam@85 5490
cannam@85 5491 * src/dither.c
cannam@85 5492 New file to allow the addition of audio dither on input and output.
cannam@85 5493
cannam@85 5494 * src/common.h
cannam@85 5495 Add prototype for dither_init() function.
cannam@85 5496
cannam@85 5497 * Makefile.am doc/Makefile.am
cannam@85 5498 Changes for added and removed files.
cannam@85 5499
cannam@85 5500 2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5501
cannam@85 5502 * Win32/Makefile.msvc
cannam@85 5503 Changes to force example binaries to be placed in the top level directory
cannam@85 5504 instead of the examples/ directory.
cannam@85 5505 Add src/strings.c and src/xi.c to the build.
cannam@85 5506 Add string_test to build and to tests on WAV files.
cannam@85 5507
cannam@85 5508 * doc/index.html
cannam@85 5509 Added XI to support matrix.
cannam@85 5510
cannam@85 5511 2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5512
cannam@85 5513 * src/sndfile.h.in
cannam@85 5514 Added prototypes for sf_get_string() and sf_set_string() and SF_STR_*
cannam@85 5515 enum values.
cannam@85 5516
cannam@85 5517 * src/sndfile.c
cannam@85 5518 Added public interface to sf_get_string() and sf_set_string().
cannam@85 5519
cannam@85 5520 * src/wav.c
cannam@85 5521 Added code for setting and getting strings in WAV files.
cannam@85 5522
cannam@85 5523 * tests/string_test.c
cannam@85 5524 New test program for sf_get_string() and sf_set_string() functionality.
cannam@85 5525
cannam@85 5526 * tests/Makefile.am
cannam@85 5527 Hook new test program into build and test framework.
cannam@85 5528
cannam@85 5529 2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5530
cannam@85 5531 * src/common.h
cannam@85 5532 Added fields to SF_PRIVATE for string data needed to implement
cannam@85 5533 sf_get_string() and sf_set_string().
cannam@85 5534
cannam@85 5535 * src/strings.c
cannam@85 5536 New file for storing and retrieving strings to/from files.
cannam@85 5537
cannam@85 5538 * src/Makefile.am
cannam@85 5539 Added strings.c to build.
cannam@85 5540
cannam@85 5541 2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5542
cannam@85 5543 * src/xi.c
cannam@85 5544 Read seems to be working so looking at write.
cannam@85 5545
cannam@85 5546 * src/sndfile.h.in
cannam@85 5547 Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values.
cannam@85 5548
cannam@85 5549 * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am
cannam@85 5550 Added test for 8 and 16 bit XI format files.
cannam@85 5551
cannam@85 5552 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5553
cannam@85 5554 * doc/index.html
cannam@85 5555 Added a non-lawyer readable summary of the licensing provisions as
cannam@85 5556 suggested by Steve Dekorte.
cannam@85 5557
cannam@85 5558 2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5559
cannam@85 5560 * src/wav.c
cannam@85 5561 Fixed a compiler warning found by Alexander Lerch.
cannam@85 5562
cannam@85 5563 2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5564
cannam@85 5565 * configure.ac
cannam@85 5566 Fixed the multiple linking of libm.
cannam@85 5567
cannam@85 5568 2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5569
cannam@85 5570 * Win32/Makefile.mcvs
cannam@85 5571 Added comments on the correct way to set up the MSVCDir environment
cannam@85 5572 variable.
cannam@85 5573
cannam@85 5574 * doc/win32.html
cannam@85 5575 Add on how to set up the MSVCDir environment variable.
cannam@85 5576
cannam@85 5577 2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5578
cannam@85 5579 * examples/sndfile-play.c examples/sndfile-info.c
cannam@85 5580 When run on Win32 without any command line parameters print a message and
cannam@85 5581 then sleep for 5 seconds. This means the when somebody double clicks on
cannam@85 5582 these programs in explorer the user will actually see the message.
cannam@85 5583
cannam@85 5584 2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5585
cannam@85 5586 * tests/misc_test.c
cannam@85 5587 Bypass permission test if running as root because root is allowed to open
cannam@85 5588 a readonly file for write.
cannam@85 5589
cannam@85 5590 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5591
cannam@85 5592 * Win32/Makefile.msvc
cannam@85 5593 Added pvf.c and xi.c source files to project.
cannam@85 5594
cannam@85 5595 * src/sndfile.h
cannam@85 5596 Updated for PVF files.
cannam@85 5597
cannam@85 5598 2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5599
cannam@85 5600 * src/sndfile.c
cannam@85 5601 Modified validate_sfinfo() to force samplerate, channels and sections
cannam@85 5602 to be >= 1.
cannam@85 5603 In format_from_extension() replaced calls to does_extension_match()
cannam@85 5604 with strcmp().
cannam@85 5605
cannam@85 5606 * src/xi.c
cannam@85 5607 More work.
cannam@85 5608
cannam@85 5609 2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5610
cannam@85 5611 * doc/Makefile.am
cannam@85 5612 Added octave.html which had been left out. Found by Jan Weil.
cannam@85 5613
cannam@85 5614 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5615
cannam@85 5616 * src/pvf.c src/common.h src/sndfile.c
cannam@85 5617 Fixed error handling for PVF files.
cannam@85 5618
cannam@85 5619 * src/xi.c
cannam@85 5620 New file for handling Fasttracker 2 Extended Instrument files. Not working
cannam@85 5621 yet and included when configured with --enable-experimental.
cannam@85 5622
cannam@85 5623 * src/sndfile.c src/common.h
cannam@85 5624 Hooked in new file xi.c.
cannam@85 5625
cannam@85 5626 2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5627
cannam@85 5628 * src/rx2.c
cannam@85 5629 Added a patch from Marek Peteraj which sheds a little more light on the
cannam@85 5630 slices within an RX2 file. Still need to find out data encoding.
cannam@85 5631
cannam@85 5632 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5633
cannam@85 5634 * src/wav.c
cannam@85 5635 Started work on decoding 'acid' and 'strc' chunks.
cannam@85 5636
cannam@85 5637 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5638
cannam@85 5639 * tests/peak_check_test.c
cannam@85 5640 Minor cleanup.
cannam@85 5641
cannam@85 5642 2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5643
cannam@85 5644 * tests/write_read_test.tpl
cannam@85 5645 Added check to make sure no error was generated when an attempt was made to
cannam@85 5646 read past the end of the file.
cannam@85 5647
cannam@85 5648 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5649
cannam@85 5650 * doc/lists.html
cannam@85 5651 Added "mailto" links for all three lists.
cannam@85 5652
cannam@85 5653 * src/pvf.c
cannam@85 5654 New file for Portable Voice Format files.
cannam@85 5655
cannam@85 5656 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
cannam@85 5657 Added hooks for SF_FORMAT_PVF format files.
cannam@85 5658
cannam@85 5659 * tests/write_read_test.tpl tests/std*.c
cannam@85 5660 Add tests for SF_FORMAT_PVF.
cannam@85 5661
cannam@85 5662 * doc/index.html
cannam@85 5663 Add PVF to the compatibility matrix.
cannam@85 5664
cannam@85 5665 * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c
cannam@85 5666 Previously, attempts to read beyond the end of a file would set psf->error
cannam@85 5667 to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX
cannam@85 5668 read() call but has now been fixed.
cannam@85 5669 Attempts to read beyond the end of the file will return a short read count
cannam@85 5670 but will not longer set any error.
cannam@85 5671
cannam@85 5672 2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5673
cannam@85 5674 * src/sndfile.c
cannam@85 5675 Add more sanity checking when opening a RAW file for read. When format is
cannam@85 5676 not RAW, zero out all members of the SF_INFO struct.
cannam@85 5677
cannam@85 5678 * tests/raw_test.c
cannam@85 5679 Add bad_raw_test() to check for above problem.
cannam@85 5680
cannam@85 5681 * tests/stdin_test.c examples/sndfile-info.c
cannam@85 5682 Set the format field of the SF_INFO struct to zero before calling
cannam@85 5683 sf_open().
cannam@85 5684
cannam@85 5685 * doc/api.html
cannam@85 5686 Add information about the need to set the format field of the SF_INFO struct
cannam@85 5687 to zero when opening non-RAW files for read.
cannam@85 5688
cannam@85 5689 * configure.ac
cannam@85 5690 Removed use of conversion script on Solaris. Not all Solaris versions
cannam@85 5691 support it.
cannam@85 5692
cannam@85 5693 * doc/lists.html
cannam@85 5694 New file containg details of the mailing lists.
cannam@85 5695
cannam@85 5696 * doc/index.html
cannam@85 5697 Add a link to the above new file.
cannam@85 5698
cannam@85 5699 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5700
cannam@85 5701 * tests/dft_cmp.c
cannam@85 5702 Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman
cannam@85 5703 for providing the gdb traceback.
cannam@85 5704
cannam@85 5705 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5706
cannam@85 5707 * src/wav.c
cannam@85 5708 Added more capabilities to 'smpl' chunk parser.
cannam@85 5709
cannam@85 5710 * src/sndfile.c
cannam@85 5711 Fixed some (not all) possible problems found with Flawfinder.
cannam@85 5712
cannam@85 5713 2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5714
cannam@85 5715 * src/sndfile.c
cannam@85 5716 Fixed a bug in sf_seek(). This bug could only occur when an attempt was
cannam@85 5717 made to read beyond the end and then sf_seek() was called with a whence
cannam@85 5718 parameter of SEEK_CUR.
cannam@85 5719
cannam@85 5720 * src/file_io.c
cannam@85 5721 Win32's _fstati64() does not work, it returns BS. Re-implemented
cannam@85 5722 psf_get_filelen() in terms of psf_fseek().
cannam@85 5723
cannam@85 5724 * tests/write_read_test.tpl
cannam@85 5725 Add a test to detect above bug.
cannam@85 5726
cannam@85 5727 * src/float_cast.h
cannam@85 5728 Modification to prevent compiler warnings on Mac OS X.
cannam@85 5729
cannam@85 5730 * src/file_io.c
cannam@85 5731 Fixes for windows (what a f**ked OS).
cannam@85 5732
cannam@85 5733 2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5734
cannam@85 5735 * configure.ac
cannam@85 5736 Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on
cannam@85 5737 Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in
cannam@85 5738 src/float_cast.h means that a library compiled on 10.2 will still work on
cannam@85 5739 10.1.
cannam@85 5740
cannam@85 5741 2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5742
cannam@85 5743 * configure.in configure.ac
cannam@85 5744 Renamed configure.in to configure.ac as expected by later versions of
cannam@85 5745 autoconf.
cannam@85 5746 Slight hacking of configure.ac to work with version 2.54 of autoconf.
cannam@85 5747 Changed to using -dumpversion instead of --version for determining GCC
cannam@85 5748 version numer as suggested by Anand Kumria.
cannam@85 5749
cannam@85 5750 * src/G72x/Makefile.am
cannam@85 5751 Slight hacking required for operation with automake 1.6.3.
cannam@85 5752
cannam@85 5753 2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5754
cannam@85 5755 * src/common.c
cannam@85 5756 In psf_binheader_readf() changed type parameter type "b" type from size_t
cannam@85 5757 to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int).
cannam@85 5758 Thanks to Enrique Robledo Arnuncio for debugging this.
cannam@85 5759
cannam@85 5760 2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5761
cannam@85 5762 * test/command_test.tpl
cannam@85 5763 Changed test value so test would pass on Solaris.
cannam@85 5764
cannam@85 5765 * src/Version_script.in
cannam@85 5766 Modified version numbering so that later versions of 1.0.X can replace
cannam@85 5767 earlier versions without recompilation.
cannam@85 5768
cannam@85 5769 * src/vox_adpcm.c
cannam@85 5770 Fixed bug causing short reads.
cannam@85 5771
cannam@85 5772 2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5773
cannam@85 5774 * test/floating_point_test.c
cannam@85 5775 Code cleanup using functions from util.c.
cannam@85 5776 Add test for IEEE replacement floats and doubles.
cannam@85 5777
cannam@85 5778 2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5779
cannam@85 5780 * src/wav.c
cannam@85 5781 Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to
cannam@85 5782 Serg Repalov for the example file.
cannam@85 5783
cannam@85 5784 * tests/pcm_test.tpl
cannam@85 5785 Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code.
cannam@85 5786 Clean up pcm_double_test().
cannam@85 5787
cannam@85 5788 * src/float32.c src/double64.c
cannam@85 5789 Force use of IEEE replacement code using psf->ieee_replace is TRUE,
cannam@85 5790 Print message to log_buffer as well.
cannam@85 5791 Rename all broken_read_* and broken_write* functions to replace_read_* and
cannam@85 5792 replace_write_*.
cannam@85 5793
cannam@85 5794 * tests/util.tpl
cannam@85 5795 Added string_in_log_buffer().
cannam@85 5796
cannam@85 5797 * tests/pcm_test.tpl
cannam@85 5798 Use string_in_log_buffer() to ensure that IEEE replacement code has been
cannam@85 5799 used.
cannam@85 5800
cannam@85 5801 * configure.in
cannam@85 5802 Removed --enable-force-broken-float option. IEEE replacement code is now
cannam@85 5803 always tested.
cannam@85 5804
cannam@85 5805 2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5806
cannam@85 5807 * src/double64.c
cannam@85 5808 Implement code for read/writing IEEE doubles on platforms where the native
cannam@85 5809 double format is not IEEE.
cannam@85 5810
cannam@85 5811 * src/float32.c src/common.h
cannam@85 5812 Remove float32_read() and float32_write(). Replace with float32_le_read(),
cannam@85 5813 float32_be_read(), float32_le_write() and float32_be_write() to match stuff
cannam@85 5814 in src/double64.c.
cannam@85 5815
cannam@85 5816 * src/common.c
cannam@85 5817 Fix all usage of float32_write().
cannam@85 5818
cannam@85 5819 * src/sndfile.h.in
cannam@85 5820 Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only).
cannam@85 5821
cannam@85 5822 * src/common.h
cannam@85 5823 Added SF_PRIVATE field ieee_replace.
cannam@85 5824
cannam@85 5825 * src/sndfile.c
cannam@85 5826 In sf_command() set/reset psf->ieee_replace.
cannam@85 5827
cannam@85 5828 2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5829
cannam@85 5830 * tests/pcm_test.tpl
cannam@85 5831 Fixed a problem when testing with --enable-force-broken-float. The test was
cannam@85 5832 generating a value of negative zero and the broken float code is not able
cannam@85 5833 to write negative zero. Removing the negative zero fixed the test.
cannam@85 5834
cannam@85 5835 2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5836
cannam@85 5837 * src/file_io.c
cannam@85 5838 Added fix for Cygwin (suggested by Maros Michalik).
cannam@85 5839
cannam@85 5840 2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5841
cannam@85 5842 * src/file_io.c
cannam@85 5843 Improved error detection and handling.
cannam@85 5844
cannam@85 5845 * src/file_io.c src/common.h
cannam@85 5846 Removed functions psf_ferror() and psf_clearerr() which were redundant
cannam@85 5847 after above improvements.
cannam@85 5848
cannam@85 5849 * src/aiff.c src/svx.c src/w64.c src/wav.c
cannam@85 5850 Removed all use of psf_ferror() and psf_clearerr().
cannam@85 5851
cannam@85 5852 * src/sndfile.c
cannam@85 5853 Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which
cannam@85 5854 are no longer needed.
cannam@85 5855
cannam@85 5856 * tests/misc_test.c
cannam@85 5857 Added test to make sure the correct error message is returned with an
cannam@85 5858 existing read-only file is openned for write.
cannam@85 5859
cannam@85 5860 2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5861
cannam@85 5862 * doc/index.html doc/api.html
cannam@85 5863 Updated for OKI Dialogic ADPCM files.
cannam@85 5864
cannam@85 5865 * src/command.c
cannam@85 5866 Added VOX ADPCM to sub_fomats.
cannam@85 5867
cannam@85 5868 2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5869
cannam@85 5870 * src/vox_adpcm.c src/Makefile.am
cannam@85 5871 New file for handling OKI Dialogic ADPCM files.
cannam@85 5872
cannam@85 5873 * src/sndfile.h
cannam@85 5874 Add new subtype SF_FORMAT_VOX_ADPCM.
cannam@85 5875
cannam@85 5876 * src/sndfile.c
cannam@85 5877 Renamed function is_au_snd_file () to format_from_extenstion () and expanded
cannam@85 5878 its functionality to detect headerless VOX files.
cannam@85 5879
cannam@85 5880 * src/raw.c
cannam@85 5881 Added hooks for SF_FORMAT_VOX_ADPCM.
cannam@85 5882
cannam@85 5883 * examples/sndfile-info.c
cannam@85 5884 Print out file duration (suggested by Conrad Parker).
cannam@85 5885
cannam@85 5886 * libsndfile.spec.in
cannam@85 5887 Force installation of sndfile.pc file (found by John Thompson).
cannam@85 5888
cannam@85 5889 * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c
cannam@85 5890 Add tests for SF_FORMAT_VOX_ADPCM.
cannam@85 5891
cannam@85 5892 2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5893
cannam@85 5894 * tests/misc_test.c
cannam@85 5895 Add test which attempts to write to /dev/full (on Linux anyway) to check
cannam@85 5896 for correct handling of writing to a full filesystem.
cannam@85 5897
cannam@85 5898 * src/sndfile.c
cannam@85 5899 Return correct error message if the header cannot be written because the
cannam@85 5900 filesystem is full.
cannam@85 5901
cannam@85 5902 * tests/util.tpl
cannam@85 5903 Corrected printing of file mode in error reporting.
cannam@85 5904
cannam@85 5905 * src/mat5.c
cannam@85 5906 Fixed a bug where a MAT5 file written by libsndfile could not be opened by
cannam@85 5907 Octave 2.1.36.
cannam@85 5908
cannam@85 5909 2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5910
cannam@85 5911 * src/common.h src/file_io.c
cannam@85 5912 All low level file I/O have been modified to be better able to report
cannam@85 5913 system errors resulting from calling system level open/read/write etc.
cannam@85 5914
cannam@85 5915 * src/*.c
cannam@85 5916 Updated for compatibility with above changes.
cannam@85 5917
cannam@85 5918 * examples/cooledit-fixer.c
cannam@85 5919 New example program which fixes badly broken file created by Syntrillium's
cannam@85 5920 Cooledit which are marked as containing PCM samples but actually contain
cannam@85 5921 floating point data.
cannam@85 5922
cannam@85 5923 * examples/Makefile.am
cannam@85 5924 Hooked cooledit-fixer into the build system.
cannam@85 5925
cannam@85 5926 2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5927
cannam@85 5928 * doc/command.html
cannam@85 5929 Document SFC_GET_FORMAT_INFO.
cannam@85 5930
cannam@85 5931 2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5932
cannam@85 5933 * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c
cannam@85 5934 examples/sfdump.c
cannam@85 5935 Removed these files because they weren't interesting.
cannam@85 5936
cannam@85 5937 * examples/sfconvert.c examples/sndfile-convert.c
cannam@85 5938 Renamed the first to the latter.
cannam@85 5939
cannam@85 5940 * examples/Makefile.am
cannam@85 5941 Added sndfile-convert to the bin_PROGRAMS, so it is installed when the lib
cannam@85 5942 is installed.
cannam@85 5943 Removed old programs wav32_aiff24 and sndfile2oct.
cannam@85 5944
cannam@85 5945 * man/sndfile-convert.1
cannam@85 5946 New man page.
cannam@85 5947
cannam@85 5948 * examples/sndfile-convert.c
cannam@85 5949 Added some gloss now that sndfile-convert.c is an installed program.
cannam@85 5950
cannam@85 5951 * src/sndfile.h.in src/sndfile.c src/common.h src/command.h
cannam@85 5952 Added command SFC_GET_FORMAT_INFO.
cannam@85 5953
cannam@85 5954 * tests/command_test.c
cannam@85 5955 Added tests form SFC_GET_FORMAT_INFO.
cannam@85 5956
cannam@85 5957 2002-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5958
cannam@85 5959 * src/sndfile.c
cannam@85 5960 In sf_format_check() return error if samplerate < 0.
cannam@85 5961
cannam@85 5962 2002-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5963
cannam@85 5964 * src/aiff.c
cannam@85 5965 Fixed bug in handling of COMM chunks with a 4 byte encoding byte but no
cannam@85 5966 encoding string.
cannam@85 5967
cannam@85 5968 2002-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5969
cannam@85 5970 * src/sndfile.c
cannam@85 5971 Fixed repeated word in an error message.
cannam@85 5972
cannam@85 5973 2002-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5974
cannam@85 5975 * doc/index.html
cannam@85 5976 Improved advertising in Features section.
cannam@85 5977
cannam@85 5978 2002-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 5979
cannam@85 5980 * src/wav.c
cannam@85 5981 Added decoding of 'labl' chunks within 'LIST' chunks.
cannam@85 5982
cannam@85 5983 * src/common.h
cannam@85 5984 Added (experimental only) SF_FORMAT_OGG and SF_FORMAT_VORBIS and definition
cannam@85 5985 of ogg_open(). This is nowhere near working yet.
cannam@85 5986
cannam@85 5987 * src/sndfile.c
cannam@85 5988 Added detection of 'OggS' file marker and added call to ogg_open() to
cannam@85 5989 switch statement.
cannam@85 5990
cannam@85 5991 * src/ogg.c
cannam@85 5992 New file. Very early start of Ogg Vorbis support.
cannam@85 5993
cannam@85 5994 * src/wav.c
cannam@85 5995 Added handling of brain-damaged and broken Cooledit "32 bit 24.0 float
cannam@85 5996 type 1" files. These files are marked as being 24 bit WAVE_FORMAT_PCM with
cannam@85 5997 a block alignment of 4 times the numbers of channels but are in fact 32 bit
cannam@85 5998 floating point.
cannam@85 5999
cannam@85 6000 2002-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6001
cannam@85 6002 * configure.in
cannam@85 6003 Modified option --enable-experimental to set ENABLE_EXPERIMENTAL_CODE in
cannam@85 6004 config.h to either 0 or 1.
cannam@85 6005
cannam@85 6006 * src/sndfile.c
cannam@85 6007 Modify sf_command (SFC_GET_LIB_VERSION) to append "-exp" to the version
cannam@85 6008 string if experimental code has been enabled.
cannam@85 6009
cannam@85 6010 2002-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6011
cannam@85 6012 * src/Makefile.am
cannam@85 6013 Added -lm to libsndfile_la_LIBADD. This means that -lm is not longer needed
cannam@85 6014 in the link line when linking something to libsndfile.
cannam@85 6015
cannam@85 6016 * tests/Makefile.am examples/Makefile.am
cannam@85 6017 Removed -lm from all link lines.
cannam@85 6018
cannam@85 6019 * sndfile.pc.in
cannam@85 6020 Removed -lm from Libs line.
cannam@85 6021
cannam@85 6022 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6023
cannam@85 6024 * src/file_io.c
cannam@85 6025 Removed all perror() calls.
cannam@85 6026
cannam@85 6027 * src/nist.c
cannam@85 6028 Removed calls to exit() function.
cannam@85 6029 Added check to detect NIST files dammaged from Unix CR -> Win32 CRLF
cannam@85 6030 conversion process.
cannam@85 6031
cannam@85 6032 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6033
cannam@85 6034 * src/sndfile.h.in src/sndfile.c
cannam@85 6035 New function sf_strerror() which will eventually replace functions
cannam@85 6036 sf_perror() and sf_error_str().
cannam@85 6037 Function sf_error_number() has also been changed, but this was documented
cannam@85 6038 as being for testing only.
cannam@85 6039
cannam@85 6040 * doc/api.html
cannam@85 6041 Documented above changes.
cannam@85 6042
cannam@85 6043 * tests/*.c examples/*.c
cannam@85 6044 Changed to new error functions.
cannam@85 6045
cannam@85 6046 2002-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6047
cannam@85 6048 * configure.in
cannam@85 6049 Detect GCC version, and print a warning message about writeable strings
cannam@85 6050 it GCC major version number is less than 3.
cannam@85 6051
cannam@85 6052 2002-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6053
cannam@85 6054 * src/sndfile.h.in doc/api.html
cannam@85 6055 Documentation fixes.
cannam@85 6056
cannam@85 6057 2002-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6058
cannam@85 6059 * src/Version_script.in src/Makefile.am configure.in
cannam@85 6060 Use the version script to prevent the exporting of all non public symbols.
cannam@85 6061 This currently only works with Linux. Will test on Solaris as well.
cannam@85 6062
cannam@85 6063 * src/float_cast.h
cannam@85 6064 Added #ifndef to prevent the #warning directives killing the SGI MIPSpro
cannam@85 6065 compiler.
cannam@85 6066
cannam@85 6067 * src/au_g72x.c src/double64.c src/float32.c src/gsm610.c src/ima_adpcm.c
cannam@85 6068 src/ms_adpcm.c
cannam@85 6069 Fix benign compiler warnings arising from previously added compiler
cannam@85 6070 flags.
cannam@85 6071
cannam@85 6072 2002-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6073
cannam@85 6074 * src/sndfile.c
cannam@85 6075 Fixed a bug in sf_error_str() where errnum was used as the index instead
cannam@85 6076 of k. Found by Tim Hockin.
cannam@85 6077
cannam@85 6078 * examples/sndfile-play.c
cannam@85 6079 Fixed a compiler warning resulting from a variable shadowing a previously
cannam@85 6080 defined local.
cannam@85 6081
cannam@85 6082 2002-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6083
cannam@85 6084 * src/sndfile.h.in src/sndfile.c
cannam@85 6085 Added command SFC_SET_RAW_START_OFFSET.
cannam@85 6086
cannam@85 6087 * doc/command.html
cannam@85 6088 Document SFC_SET_RAW_START_OFFSET.
cannam@85 6089
cannam@85 6090 * tests/raw_test.c tests/Makefile.am
cannam@85 6091 Add new file for for testing SF_FORMAT_RAW specific functionality.
cannam@85 6092
cannam@85 6093 * tests/dwvw_test.c
cannam@85 6094 Updates.
cannam@85 6095
cannam@85 6096 2002-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6097
cannam@85 6098 * src/wav.c
cannam@85 6099 Modified reading of 'smpl' chunk to take account of the sampler data field.
cannam@85 6100
cannam@85 6101 * tests/utils.tpl tests/utils.h
cannam@85 6102 Added function print_test_name().
cannam@85 6103
cannam@85 6104 * tests/misc_test.c tests/write_read_test.tpl tests/lossy_comp_test.c
cannam@85 6105 tests/pcm_test.tpl tests/command_test.tpl tests/floating_point_test.c
cannam@85 6106 Convert to use function print_test_name().
cannam@85 6107
cannam@85 6108 2002-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6109
cannam@85 6110 * doc/octave.html
cannam@85 6111 Added a link to some other Octave scripts for reading and writing sound
cannam@85 6112 files.
cannam@85 6113
cannam@85 6114 * src/paf.c
cannam@85 6115 Change type of dummy data field to int. This should fix a benign compiler
cannam@85 6116 warning on some CPUs.
cannam@85 6117 Removed superfluous casts resulting from the above change.
cannam@85 6118
cannam@85 6119 * src/rx2.c
cannam@85 6120 More hacking.
cannam@85 6121
cannam@85 6122 2002-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6123
cannam@85 6124 * src/mat5.c src/common.c
cannam@85 6125 Changed usage of snprintf() to LSF_SNPRINTF().
cannam@85 6126
cannam@85 6127 * Win32/Makefile.msvc
cannam@85 6128 Updated to include new files and add new tests.
cannam@85 6129
cannam@85 6130 * Win32/config.h Win32/sndfile.h
cannam@85 6131 Updated.
cannam@85 6132
cannam@85 6133 * doc/api.html
cannam@85 6134 Added note about the possibility of "missing" features actually being
cannam@85 6135 implemented as an sf_command().
cannam@85 6136
cannam@85 6137 2002-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6138
cannam@85 6139 * tests/misc_test.c
cannam@85 6140 Added previously missing update_header_test and zero_data_tests for PAF,
cannam@85 6141 MAT4 and MAT5 formats.
cannam@85 6142
cannam@85 6143 * src/paf.c src/mat4.c src/mat5.c
cannam@85 6144 Fixed bugs uncovered by new tests above.
cannam@85 6145
cannam@85 6146 * src/mat5.c
cannam@85 6147 Generalised parsing of name fields of MAT5 files.
cannam@85 6148
cannam@85 6149 * src/mat5.c src/sndfile.c
cannam@85 6150 Added support for unsigned 8 bit PCM MAT5 files.
cannam@85 6151
cannam@85 6152 * tests/write_read_test.tpl
cannam@85 6153 Added test for unsigned 8 bit PCM MAT5 files.
cannam@85 6154
cannam@85 6155 * doc/index.html
cannam@85 6156 Added unsigned 8 bit PCM MAT5 to capabilities matrix.
cannam@85 6157
cannam@85 6158 2002-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6159
cannam@85 6160 * test/update_header_test.c tests/misc_test.c
cannam@85 6161 Renamed update_header_test.c to misc_test.c.
cannam@85 6162 Added zero_data_test() to check for case where file is opened for write and
cannam@85 6163 closed immediately. The resulting file can be left in a state where
cannam@85 6164 libsndfile cannot open it. Problem reported by Werner Schweer, the author
cannam@85 6165 of Muse.
cannam@85 6166
cannam@85 6167 * src/aiff.c
cannam@85 6168 Removed superfluous cast.
cannam@85 6169
cannam@85 6170 * src/wav.c src/svx.c
cannam@85 6171 Fixed case of file generated with no data.
cannam@85 6172 Removed superfluous cast.
cannam@85 6173
cannam@85 6174 * src/sndfile.c
cannam@85 6175 Fixed error on IA64 platform caused by incorrect termination of
cannam@85 6176 SndfileErrors struct array. This problem was found in the Debian buildd
cannam@85 6177 logs (http://buildd.debian.org/).
cannam@85 6178
cannam@85 6179 * configure.in
cannam@85 6180 Added Octave directory.
cannam@85 6181
cannam@85 6182 * Octave/Makefile.ma
cannam@85 6183 New Makfile.am for Octave directory.
cannam@85 6184
cannam@85 6185 * Octave/sndfile_load.m Octave/sndfile_save.m Octave/sndfile_play.m
cannam@85 6186 New files for working with Octave.
cannam@85 6187
cannam@85 6188 * doc/octave.html
cannam@85 6189 Document explaining the use of the above three Octave scripts.
cannam@85 6190
cannam@85 6191 2002-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6192
cannam@85 6193 * src/sndfile.c
cannam@85 6194 Fixed bug in RDWR mode.
cannam@85 6195
cannam@85 6196 2002-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6197
cannam@85 6198 * src/common.c
cannam@85 6199 Fixed psf_get_date_str() for systems which don't have gmtime_r() or
cannam@85 6200 gmtime().
cannam@85 6201
cannam@85 6202 * src/file_io.c
cannam@85 6203 Added #include <io.h> for Win32. Reported by Koen Tanghe.
cannam@85 6204
cannam@85 6205 2002-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6206
cannam@85 6207 * src/common.c
cannam@85 6208 Added 'S' format specifier for psf_binheader_writef() which writes a C
cannam@85 6209 string, including single null terminator to the header.
cannam@85 6210 Added 'j' format specifier to allow jumping forwards or backwards in the
cannam@85 6211 header.
cannam@85 6212 Added function psf_get_date_str().
cannam@85 6213
cannam@85 6214 * src/mat5.c
cannam@85 6215 Complete read and write support.
cannam@85 6216
cannam@85 6217 * doc/index.html
cannam@85 6218 Added entries for MAT4 and MAT5 in capabilities matrix.
cannam@85 6219
cannam@85 6220 2002-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6221
cannam@85 6222 * src/mat4.c
cannam@85 6223 Completed read and write support.
cannam@85 6224
cannam@85 6225 * src/common.h src/sndfile.c
cannam@85 6226 Added MAT4 and MAT5 specific error messages.
cannam@85 6227
cannam@85 6228 * tests/write_read_test.tpl tests/Makefile.am
cannam@85 6229 Added tests for MAT4 and MAT5 files.
cannam@85 6230
cannam@85 6231 * tests/stdio_test.c tests/stdout_test.c tests/stdin_test.c
cannam@85 6232 Added tests for MAT4 and MAT5 files.
cannam@85 6233
cannam@85 6234 2002-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6235
cannam@85 6236 * src/command.c
cannam@85 6237 Added elements for SF_FORMAT_MAT4 and SF_FORMAT_MAT5 to major_formats
cannam@85 6238 array.
cannam@85 6239
cannam@85 6240 * examples/sfconvert.c
cannam@85 6241 Added mat4 and mat5 output targets.
cannam@85 6242
cannam@85 6243 2002-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6244
cannam@85 6245 * src/sndfile.c
cannam@85 6246 Added check to prevent errors openning read only formats for read/write.
cannam@85 6247
cannam@85 6248 * src/interleave.c
cannam@85 6249 New file for interleaving non-interleaved data. Non-interleaved data is
cannam@85 6250 only supported on read.
cannam@85 6251
cannam@85 6252 * src/Makefile.am
cannam@85 6253 Added src/interleave.c to build.
cannam@85 6254
cannam@85 6255 2002-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6256
cannam@85 6257 * src/double64.c src/common.h
cannam@85 6258 Added double64_be_read(), double64_le_read(), double64_be_write() and
cannam@85 6259 double64_le_write() which replace double64_read() and double64_write().
cannam@85 6260
cannam@85 6261 * src/common.c
cannam@85 6262 Cleanup of psf_binheader_readf() and add ability to read big and little
cannam@85 6263 endian doubles (required by mat4.c and mat5.c).
cannam@85 6264 Add ability for psf_binheader_writef() to write doubles to sound file
cannam@85 6265 headers.
cannam@85 6266
cannam@85 6267 2002-09-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6268
cannam@85 6269 * src/mat5.c
cannam@85 6270 New file for reading Matlab (tm) version 5 data files. This is also the
cannam@85 6271 native binary file format for version 2.1.X of GNU Octave which will be
cannam@85 6272 used for testing.
cannam@85 6273 Not complete yet.
cannam@85 6274
cannam@85 6275 * src/mat4.c
cannam@85 6276 New file for reading Matlab (tm) version 4.2 data files. This is also the
cannam@85 6277 native binary file format for version 2.0.X of GNU Octave which will be
cannam@85 6278 used for testing.
cannam@85 6279 Not complete yet.
cannam@85 6280
cannam@85 6281 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
cannam@85 6282 Mods to add Matlab files.
cannam@85 6283
cannam@85 6284 * src/common.[ch]
cannam@85 6285 Added readf_endian field to SF_PRIVATE struct allowing endianness to
cannam@85 6286 remembered across calls to sf_binheader_readf().
cannam@85 6287 Fixed bug in width_specifier behaviour for printing hex values.
cannam@85 6288
cannam@85 6289 2002-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6290
cannam@85 6291 * src/file_io.c
cannam@85 6292 Check return value of close() call in psf_fclose().
cannam@85 6293
cannam@85 6294 2002-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6295
cannam@85 6296 * src/ms_adpcm.c
cannam@85 6297 Commented out some code where 0x10000 was being subtracted from a short
cannam@85 6298 and the result assigned to a short again. Andrew Zaja found this.
cannam@85 6299
cannam@85 6300 2002-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6301
cannam@85 6302 * doc/command.html
cannam@85 6303 Fixed typo found by Tommi Ilmonen.
cannam@85 6304
cannam@85 6305 * src/ima_adpcm.c
cannam@85 6306 Changed type of diff from short to int to prevent errors which can occur
cannam@85 6307 during very rare circumstances. Thanks to FUWAFUWA.
cannam@85 6308
cannam@85 6309 2002-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6310
cannam@85 6311 * tests/floating_point_test.c
cannam@85 6312 Disable testing on machines without lrintf().
cannam@85 6313
cannam@85 6314 * Win32/Makefile.msvc
cannam@85 6315 Added dwd.c and wve.c to build.
cannam@85 6316
cannam@85 6317 * configure.in
cannam@85 6318 Bumped version to 1.0.0.
cannam@85 6319
cannam@85 6320 2002-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6321
cannam@85 6322 * src/file_io.c
cannam@85 6323 Add a #include for Mac OS 9. Thanks to Stephane Letz.
cannam@85 6324
cannam@85 6325 * src/wav.c
cannam@85 6326 Changed an snprintf to LSF_SNPRINTF.
cannam@85 6327
cannam@85 6328 * doc/Makefile.am
cannam@85 6329 Added version-1.html.
cannam@85 6330
cannam@85 6331 2002-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6332
cannam@85 6333 * configure.in
cannam@85 6334 Bumped version to 1.0.rc6.
cannam@85 6335
cannam@85 6336 * src/*.c
cannam@85 6337 Modified scaling of normalised floats and doubles to integers. Until now
cannam@85 6338 this has been done by multiplying by 0x8000 for short output, 0x80000000
cannam@85 6339 for 32 bit ints and so on. Unfortunately this can cause an overflow and
cannam@85 6340 wrap around in the target value. All thes values have therefore been
cannam@85 6341 reduced to 0x7FFF, 0x7FFFFFFF and so on. The conversion from ints to
cannam@85 6342 normalised floats and doubles remains unchanged. This does mean that for
cannam@85 6343 repeated conversions normalised float -> pcm16 -> normalised float would
cannam@85 6344 result in a decrease in amplitude of 0x7FFF/0x8000 on every round trip.
cannam@85 6345 This is undesirable but less undesireable than the wrap around I am trying
cannam@85 6346 to avoid.
cannam@85 6347
cannam@85 6348 * tests/floating_point_test.c
cannam@85 6349 Removed file hash checking because new float scaling procedure introduced
cannam@85 6350 above prevented the ability to crate a has on both x86 and PowerPC systems.
cannam@85 6351
cannam@85 6352 2002-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6353
cannam@85 6354 * src/txw.c
cannam@85 6355 Completed reading of TXW files. Seek doesn't work yet.
cannam@85 6356
cannam@85 6357 * src/file_io.c
cannam@85 6358 Added a MacOS 9 replacement for ftruncate().
cannam@85 6359
cannam@85 6360 * MacOS/sndfile.h
cannam@85 6361 Added MacOS 9 header file. This should be copied into src/ to compile
cannam@85 6362 libsndfile for MacOS9.
cannam@85 6363
cannam@85 6364 2002-08-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6365
cannam@85 6366 * src/sndfile.c
cannam@85 6367 Fixed commands SF_SET_NORM_DOUBLE and SFC_SET_NORM_FLOAT to return their
cannam@85 6368 values after being set. Reported by Jussi Laako.
cannam@85 6369
cannam@85 6370 * configure.in
cannam@85 6371 If autogen is not found, touch all .c and .h files in tests/.
cannam@85 6372
cannam@85 6373 * src/common.c
cannam@85 6374 Added format width specifier to psf_log_printf() for %u, %d, %D and %X.
cannam@85 6375
cannam@85 6376 * src/dwd.c
cannam@85 6377 Completed implementation of read only access to these files.
cannam@85 6378
cannam@85 6379 * src/common.h src/*.c src/pcm.c
cannam@85 6380 Removed redundant field chars from SF_PRIVATE struct and modified
cannam@85 6381 pcm_init() to do without it.
cannam@85 6382
cannam@85 6383 2002-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6384
cannam@85 6385 * src/wve.c
cannam@85 6386 New file implementing read of Psion Alaw files. This will be a read only
cannam@85 6387 format. Implementation complete.
cannam@85 6388
cannam@85 6389 * src/dwd/c
cannam@85 6390 Started implementation of DiamondWare Digitized files. Also read only, not
cannam@85 6391 complete.
cannam@85 6392
cannam@85 6393 * src/wav.c
cannam@85 6394 Add parsing of 'smpl' chunk.
cannam@85 6395
cannam@85 6396 * src/paf.c
cannam@85 6397 Fixed reading on un-normalized doubles and floats from 24 bit PAF files.
cannam@85 6398 This brings it into line with the reading of 8 bit files into
cannam@85 6399 un-normalized doubles which returns values in the range [-128, 127].
cannam@85 6400
cannam@85 6401 * src/common.c
cannam@85 6402 Modified psf_log_printf() to accept the %% conversion specifier to allow
cannam@85 6403 printing of a single '%'.
cannam@85 6404
cannam@85 6405 * src/sds.c
cannam@85 6406 Read only of 16 bit samples is working. Need to build a test harness for
cannam@85 6407 this and other read only formats.
cannam@85 6408
cannam@85 6409 2002-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6410
cannam@85 6411 * configure.in
cannam@85 6412 Added --enable-experimental configure option.
cannam@85 6413 Removed pkg-config message at the end of the configure process.
cannam@85 6414
cannam@85 6415 * src/sds.c src/txw.c src/rx2.c src/sd2.c
cannam@85 6416 Moved all the code in these files inside #if ENABLE_EXPERIMENTAL_CODE
cannam@85 6417 blocks and added new *_open() function for the case where experimental is
cannam@85 6418 not enabled. These new functions just return SFE_UNIMPLMENTED.
cannam@85 6419
cannam@85 6420 * Win32/sndfile.h src/sndfile.h.in src/common.h
cannam@85 6421 Removed un-necessary #pragma pack commands.
cannam@85 6422
cannam@85 6423 * src/file_io.c
cannam@85 6424 Implemented psf_ftruncate() and much other hacking for Win32.
cannam@85 6425
cannam@85 6426 * Win32/Makefile.msvc
cannam@85 6427 Updated.
cannam@85 6428
cannam@85 6429 * doc/win32.html
cannam@85 6430 Updated to include the copying of the sndfile.h file from the Win32/
cannam@85 6431 directory to the src/ directory.
cannam@85 6432
cannam@85 6433 * Make.bat
cannam@85 6434 Batch file to make compiling on Wi32 a little easier. Implements "make" and
cannam@85 6435 "make check".
cannam@85 6436
cannam@85 6437 2002-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6438
cannam@85 6439 * src/file_io.c
cannam@85 6440 Add place holder for ftruncate() on Win32 which doesn't have ftruncate().
cannam@85 6441 This will need to be fixed later.
cannam@85 6442
cannam@85 6443 * src/sndfile.h.in
cannam@85 6444 New file (copy of sndfile.h) with sets up @TYPEOF_SF_COUNT_T@ which will be
cannam@85 6445 replaced by the correct type during configure.
cannam@85 6446
cannam@85 6447 * configure.in
cannam@85 6448 Modified to find a good type for TYPEOF_SF_COUNT_T.
cannam@85 6449
cannam@85 6450 * src/aiff.c
cannam@85 6451 Fixed a bug when reading malformed headers.
cannam@85 6452
cannam@85 6453 * src/common.c
cannam@85 6454 Set read values to zero before performing read.
cannam@85 6455
cannam@85 6456 2002-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6457
cannam@85 6458 * doc/command.html
cannam@85 6459 Fixed some HTML tags which were not allowing jumps to links within the
cannam@85 6460 page.
cannam@85 6461
cannam@85 6462 * src/sds.c
cannam@85 6463 Massive hacking on this.
cannam@85 6464
cannam@85 6465 * src/wav.c
cannam@85 6466 Added recognition of 'clm ' tag.
cannam@85 6467
cannam@85 6468 2002-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6469
cannam@85 6470 * doc/index.html
cannam@85 6471 Added beginning of a capabilities list beyond simple file formats which
cannam@85 6472 can be read/written.
cannam@85 6473
cannam@85 6474 * src/aiff.c
cannam@85 6475 Added parsing of INST and MARK chunks of AIFF files. At the moment this
cannam@85 6476 data is simply recorded in the log buffer. Later it will be possible to
cannam@85 6477 read this data from an application using sf_command().
cannam@85 6478
cannam@85 6479 * src/wav.c
cannam@85 6480 Added parsing of 'cue ' chunk which contains loop information in WAV files.
cannam@85 6481
cannam@85 6482 * exampes/sndfile-info.c
cannam@85 6483 Changed reporting of Samples to Frames.
cannam@85 6484
cannam@85 6485 * src/wav.c src/w64.c src/aiff.c src/wav_w64.h
cannam@85 6486 Moved from a samples to a frames nomenclature to avoid confusion.
cannam@85 6487
cannam@85 6488 * doc/FAQ.html
cannam@85 6489 What's the best format for storing temporary files?
cannam@85 6490
cannam@85 6491 * src/sds.c
cannam@85 6492 New file for reading/writing Midi Sample Dump Standard files.
cannam@85 6493
cannam@85 6494 * src/Makefile.am src/sndfile.c src/common.[ch]
cannam@85 6495 Added hooks for sds.c.
cannam@85 6496
cannam@85 6497 * examples/sndfile-info.c
cannam@85 6498 Changed from using sf_perror() to using sf_error_str().
cannam@85 6499
cannam@85 6500 2002-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6501
cannam@85 6502 * doc/api.html
cannam@85 6503 Added explanation of mode parameter for sf_open().
cannam@85 6504 Added explanation of usage of SFM_* values in sf_seek().
cannam@85 6505
cannam@85 6506 * src/sndfile.[ch] src/command.c src/file_io.c src/common.h
cannam@85 6507 Implemented SFC_FILE_TRUNCATE to allow a file to be truncated. File
cannam@85 6508 truncation was suggested by James McCartney.
cannam@85 6509
cannam@85 6510 * src/command.html
cannam@85 6511 Documented SFC_FILE_TRUNCATE.
cannam@85 6512
cannam@85 6513 * tests/command_test.c
cannam@85 6514 Add tests for SFC_FILE_TRUNCATE.
cannam@85 6515
cannam@85 6516 * src/sndfile.c
cannam@85 6517 Added a thrid parameter to the VALIDATE_SNDFILE_AND_ASSIGN_PSF macro to
cannam@85 6518 make resetting the error number optional. All uses of the macro other than
cannam@85 6519 in error reporting functions were changed to reset the error number.
cannam@85 6520
cannam@85 6521 * src/pcm.c
cannam@85 6522 Fixed a bug were sf_read_* was logging an SFE_SHORT_READ even when no error
cannam@85 6523 occurred.
cannam@85 6524
cannam@85 6525 * tests/write_read_test.tpl
cannam@85 6526 Added tests of internal error state.
cannam@85 6527
cannam@85 6528 2002-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6529
cannam@85 6530 * src/GSM610/private.h src/GSM610/*.c src/GSM610/Makefile.am
cannam@85 6531 Renamed private.h to gsm610_priv.h to prevent clash with other headers
cannam@85 6532 named private.h in other directories. (Probably only a problem on MacOS 9).
cannam@85 6533
cannam@85 6534 * src/G72x/private.h src/G72x/*.c src/G72x/Makefile.am
cannam@85 6535 Renamed private.h to g72x_priv.h to prevent clash with other headers
cannam@85 6536 named private.h in other directories. (Probably only a problem on MacOS 9).
cannam@85 6537
cannam@85 6538 * MacOS/config.h
cannam@85 6539 Changed values of HAVE_LRINT and HAVE_LRINTF to force use of code in
cannam@85 6540 float_cash.h.
cannam@85 6541
cannam@85 6542 * src/sndfile.h
cannam@85 6543 Changes the name of samples field of the SF_INFO to frames. The old name
cannam@85 6544 had caused too much confusion and it simply had to be changed. There will
cannam@85 6545 be at least one more pre-release.
cannam@85 6546
cannam@85 6547 2002-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6548
cannam@85 6549 * doc/index.html
cannam@85 6550 Updated formats matrix to include RAW (header-less) GSM 6.10.
cannam@85 6551 Fix specificaltion of table and spelling mistakes.
cannam@85 6552
cannam@85 6553 * src/sndfile.c src/command.c
cannam@85 6554 Fixed bug in SFC_CALC_MAX_SIGNAL family and psf_calc_signal_max ().
cannam@85 6555
cannam@85 6556 * tests/command.c
cannam@85 6557 Removed cruft.
cannam@85 6558 Added test for SFC_CALC_MAX_SIGNAL and SFC_CALC_NORM_MAX_SIGNAL.
cannam@85 6559
cannam@85 6560 * configure.in
cannam@85 6561 Update version to 1.0.0rc5.
cannam@85 6562
cannam@85 6563 * sfendian.h
cannam@85 6564 Removed inclusion of un-necessary header.
cannam@85 6565
cannam@85 6566 2002-08-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6567
cannam@85 6568 * src/aiff.c
cannam@85 6569 Minor fixes of info written to log buffer.
cannam@85 6570
cannam@85 6571 * src/float_cast.h
cannam@85 6572 Add definition of HAVE_LRINT_REPLACEMENT.
cannam@85 6573
cannam@85 6574 * tests/floating_point_test.c
cannam@85 6575 Fix file hash check on systems without lrint/lrintf.
cannam@85 6576
cannam@85 6577 * tests/dft_cmp.c
cannam@85 6578 Limit SNR to less than -500.0dB.
cannam@85 6579
cannam@85 6580 * examples/sndfile2oct.c
cannam@85 6581 Fixed compiler warnings.
cannam@85 6582
cannam@85 6583 * doc/api.html
cannam@85 6584 Fixed error where last parameter of sf_error_str() was sf_count_t instead
cannam@85 6585 of size_t.
cannam@85 6586
cannam@85 6587 2002-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6588
cannam@85 6589 * doc/FAQ.html
cannam@85 6590 Why doesn't libsndfile do interleaving/de-interleaving.
cannam@85 6591
cannam@85 6592 * tests/pcm_test.tpl
cannam@85 6593 On Win32 do not perform hash check on files containing doubles.
cannam@85 6594
cannam@85 6595 2002-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6596
cannam@85 6597 * src/common.h
cannam@85 6598 Defined SF_COUNT_MAX_POSITIVE() macro, a portable way of setting variables
cannam@85 6599 of type sf_count_t to their maximum positive value.
cannam@85 6600
cannam@85 6601 * src/dwvw.c src/w64.c
cannam@85 6602 Used SF_COUNT_MAX_POSITIVE().
cannam@85 6603
cannam@85 6604 2002-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6605
cannam@85 6606 * src/paf.c
cannam@85 6607 Fixed bug in reading/writing of 24 bit PCM PAF files on big endian systems.
cannam@85 6608
cannam@85 6609 * tests/floating_point_tests.c
cannam@85 6610 Fixed hash values for 24 bit PCM PAF files.
cannam@85 6611 Disabled file has check if lrintf() function is not available and added
cannam@85 6612 warning.
cannam@85 6613 Decreased level of signal from a peak of 1.0 to a value of 0.95 to prevent
cannam@85 6614 problems on platforms without lrintf() ie Solaris.
cannam@85 6615
cannam@85 6616 2002-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6617
cannam@85 6618 * src/wav.c
cannam@85 6619 Fixed a problem with two different kinds of mal-formed WAV file header. The
cannam@85 6620 first had the 'fact' chunk before the 'fmt ' chunk, the other had an
cannam@85 6621 incomplete 'INFO' chunk at the end of the file.
cannam@85 6622
cannam@85 6623 * src/w64.c
cannam@85 6624 Added fix to allow differentiation between W64 files and ACID files.
cannam@85 6625
cannam@85 6626 * src/au_g72x.c src/common.h src/sndfile.c
cannam@85 6627 Added error for G72x encoded files with more than one channel.
cannam@85 6628
cannam@85 6629 * tests/pcm_test.tpl tests/utils.tpl
cannam@85 6630 Moved function check_file_hash_or_die() to utils.tpl. Function was then
cannam@85 6631 modified to calculate the has of the whole file.
cannam@85 6632
cannam@85 6633 * src/wav.c
cannam@85 6634 Fixed problem writing the 'fact' chunk on big endian systems.
cannam@85 6635
cannam@85 6636 * tests/sfconvert.c
cannam@85 6637 Fixed bug where .paf files were being written as Sphere NIST.
cannam@85 6638
cannam@85 6639 2002-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6640
cannam@85 6641 * src/voc.c
cannam@85 6642 Fix for reading headers generated using SFC_UPDATE_HEADER_NOW.
cannam@85 6643
cannam@85 6644 * doc/command.html
cannam@85 6645 Add docs for SFC_UPDATE_HEADER_NOW and SFC_SET_UPDATE_HEADER_AUTO.
cannam@85 6646
cannam@85 6647 2002-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6648
cannam@85 6649 * man/sndfile-info.1 man/sndfile-play.1
cannam@85 6650 Added manpages supplied by Joshua Haberman the Debian maintainer for
cannam@85 6651 libsndfile. Additional tweaks by me.
cannam@85 6652
cannam@85 6653 * configure.in man/Makefile.am
cannam@85 6654 Hooked manpages into autoconf/automake system.
cannam@85 6655
cannam@85 6656 * src/sndfile.c
cannam@85 6657 Added hooks for SFC_SET_UPDATE_HEADER_AUTO.
cannam@85 6658
cannam@85 6659 * tests/update_header_test.c
cannam@85 6660 Improved rigor of testing.
cannam@85 6661
cannam@85 6662 * src/*.c
cannam@85 6663 Fixed problem with *_write_header() functions.
cannam@85 6664
cannam@85 6665 2002-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6666
cannam@85 6667 * doc/*.html
cannam@85 6668 Updates to documentation to fix problems found by wdg-html-validator.
cannam@85 6669
cannam@85 6670 * src/common.h src/command.c
cannam@85 6671 Added normalize parameter to calls to psf_calc_signal_max() and
cannam@85 6672 psf_calc_max_all_channels().
cannam@85 6673
cannam@85 6674 * src/sndfile.c
cannam@85 6675 Added handling for commands SFC_CALC_NORM_SIGNAL_MAX and
cannam@85 6676 SFC_CALC_NORM_MAX_ALL_CHANNELS.
cannam@85 6677
cannam@85 6678 * doc/command.html
cannam@85 6679 Added entry for SFC_CALC_NORM_SIGNAL_MAX and SFC_CALC_NORM_MAX_ALL_CHANNELS.
cannam@85 6680
cannam@85 6681 2002-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6682
cannam@85 6683 * examples/sndfile-play.c Win32/Makefile.msvc
cannam@85 6684 Get sndfile-play program working on Win32. The Win32 PCM sample I/O API
cannam@85 6685 sucks. The sndfile-play program now works on Linux, MacOSX, Solaris and
cannam@85 6686 Win32.
cannam@85 6687
cannam@85 6688 2002-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6689
cannam@85 6690 * doc/FAQ.html
cannam@85 6691 New file for frequently asked questsions.
cannam@85 6692
cannam@85 6693 2002-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6694
cannam@85 6695 * doc/api.html
cannam@85 6696 Documentation fixes.
cannam@85 6697
cannam@85 6698 * src/au.[ch] src/au_g72x.c src/G72x/g72x.h
cannam@85 6699 Add support of 40kbps G723 ADPCM encoding.
cannam@85 6700
cannam@85 6701 * tests/lossy_comp_test.c tests/floating_point_test.c
cannam@85 6702 Add tests for 40kbps G723 ADPCM encoding.
cannam@85 6703
cannam@85 6704 * doc/index.html
cannam@85 6705 Update support matrix.
cannam@85 6706
cannam@85 6707 2002-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6708
cannam@85 6709 * doc/command.html
cannam@85 6710 Documented SFC_GET_SIMPLE_FORMAT_COUNT, SFC_GET_SIMPLE_FORMAT,
cannam@85 6711 SFC_GET_FORMAT_* and SFC_SET_ADD_PEAK_CHUNK.
cannam@85 6712
cannam@85 6713 * src/sndfile.c src/pcm.c
cannam@85 6714 Add ability to turn on and off the addition of a PEAK chunk for floating
cannam@85 6715 point WAV and AIFF files.
cannam@85 6716
cannam@85 6717 * src/sndfile.[ch] src/common.h src/command.c
cannam@85 6718 Added sf_command SFC_CALC_MAX_ALL_CHANNELS. Implemented by Maurizio Umberto
cannam@85 6719 Puxeddu.
cannam@85 6720
cannam@85 6721 * doc/command.html
cannam@85 6722 Docs for SFC_CALC_MAX_ALL_CHANNELS (assisted by Maurizio Umberto Puxeddu).
cannam@85 6723
cannam@85 6724 2002-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6725
cannam@85 6726 * src/sndfile.c src/gsm610.c
cannam@85 6727 Finalised support for GSM 6.10 AIFF files and added support for GSM 6.10
cannam@85 6728 encoded RAW (header-less) files.
cannam@85 6729
cannam@85 6730 * src/wav.c
cannam@85 6731 Add support for IBM_FORMAT_MULAW and IBM_FORMAT_ALAW encodings.
cannam@85 6732
cannam@85 6733 * src/api.html
cannam@85 6734 Fixed more documentation bugs.
cannam@85 6735
cannam@85 6736 2002-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6737
cannam@85 6738 * src/sndfile.h src/common.h
cannam@85 6739 Moved some yet-to-be-implelmented values for SF_FORMAT_* from the public
cannam@85 6740 header file sndfile.h to the private header file common.h to avoid
cannam@85 6741 confusion about the actual capabilities of libsndfile.
cannam@85 6742
cannam@85 6743 2002-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6744
cannam@85 6745 * src/aiff.c src/wav.c
cannam@85 6746 Fixed file parsing for WAV and AIFF files containing non-audio data after
cannam@85 6747 the data chunk.
cannam@85 6748
cannam@85 6749 * src/aiff.c src/sndfile.c
cannam@85 6750 Add support for GSM 6.10 encoded AIFF files.
cannam@85 6751
cannam@85 6752 * tests/lossy_comp_test.c tests/Makefile.am
cannam@85 6753 Add tests for GSM 6.10 encoded AIFF files.
cannam@85 6754
cannam@85 6755 * src/*.c
cannam@85 6756 Fix compiler warnings.
cannam@85 6757
cannam@85 6758 2002-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6759
cannam@85 6760 * tests/command_test.c
cannam@85 6761 For SFC_SET_NORM_* tests, change the file format from SF_FORMAT_WAV to
cannam@85 6762 SF_FORMAT_RAW.
cannam@85 6763
cannam@85 6764 * src/sndfile.c
cannam@85 6765 Added sf_command(SFC_TEST_ADD_TRAILING_DATA) to allow testing of reading
cannam@85 6766 from AIFF and WAV files with non-audio data after the audio chunk.
cannam@85 6767
cannam@85 6768 * src/common.h
cannam@85 6769 Add test commands SFC_TEST_WAV_ADD_INFO_CHUNK and
cannam@85 6770 SFC_TEST_AIFF_ADD_INST_CHUNK. When these commands are working, they will be
cannam@85 6771 moved to src/sndfile.h
cannam@85 6772
cannam@85 6773 * src/aiff.c src/wav.c
cannam@85 6774 Begin implementation of XXXX_command() hook for sf_command().
cannam@85 6775
cannam@85 6776 * tests/write_read_test.tpl
cannam@85 6777 Added sf_command (SFC_TEST_ADD_TRAILING_DATA) to ensure above new code was
cannam@85 6778 working.
cannam@85 6779
cannam@85 6780 2002-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6781
cannam@85 6782 * tests/update_header_test.c
cannam@85 6783 Allow read sample count == write sample count - 1 to fix problems with VOC
cannam@85 6784 files.
cannam@85 6785
cannam@85 6786 * tests/write_read_test.tpl tests/pcm_test.tpl
cannam@85 6787 Fixed some problems in the test suite discovered by using Valgrind.
cannam@85 6788
cannam@85 6789 2002-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6790
cannam@85 6791 * tests/utils.[ch] tests/*.c
cannam@85 6792 Renamed check_log_buffer() to check_log_buffer_or_die().
cannam@85 6793
cannam@85 6794 * src/sndfile.c
cannam@85 6795 SFC_UPDATE_HEADER_NOW and SFC_SETUPDATE_HEADER_AUTO almost finished. Works
cannam@85 6796 for all file formats other than VOC.
cannam@85 6797
cannam@85 6798 2002-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6799
cannam@85 6800 * src/sndfile.[ch] src/common.h
cannam@85 6801 Started adding functionality to allow the file header to be updated before
cannam@85 6802 the file is closed on files open for SFM_WRITE. This was requested by
cannam@85 6803 Maurizio Umberto Puxeddu who is using libsndfile for file I/O in iCSound.
cannam@85 6804
cannam@85 6805 * tests/update_header_test.c
cannam@85 6806 New test program to test that the above functionality is working correctly.
cannam@85 6807
cannam@85 6808 * tests/peak_chunk_test.c tests/floating_point_test.c
cannam@85 6809 Cleanups.
cannam@85 6810
cannam@85 6811 2002-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6812
cannam@85 6813 * src/sfendian.[ch]
cannam@85 6814 Changed length count parameters for all endswap_XXX() functions from
cannam@85 6815 sf_count_t (which can be 64 bit even on 32 bit architectures) to int. These
cannam@85 6816 functions are only called frin inside the library, are always called with
cannam@85 6817 integer parameters and doing the actual calculation on 64 bit values is
cannam@85 6818 slow in comparision to doing it on ints.
cannam@85 6819
cannam@85 6820 * examples/sndfile-play.c
cannam@85 6821 More playback hacking for Win32.
cannam@85 6822
cannam@85 6823 2002-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6824
cannam@85 6825 * src/common.c
cannam@85 6826 In psf_log_printf(), changed %D format conversion specifier to %M (marker) and
cannam@85 6827 added %D specifier for printing the sf_count_t type.
cannam@85 6828
cannam@85 6829 * src/*.c
cannam@85 6830 Changed all usage of psf_log_printf() with %D format conversion specifiers
cannam@85 6831 to use %M conversion instead.
cannam@85 6832
cannam@85 6833 * tests/pcm_test.tpl tests/pcm_test.def
cannam@85 6834 New files to autogen pcm_test.c.
cannam@85 6835
cannam@85 6836 * src/pcm.c
cannam@85 6837 Fixed bug in scaling floats and doubles to 24 bit PCM and vice versa.
cannam@85 6838
cannam@85 6839 2002-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6840
cannam@85 6841 * configure.in
cannam@85 6842 Fix setup of $ac_cv_sys_largefile_CFLAGS so that sndfile.pc gets valid
cannam@85 6843 values for CFLAGS.
cannam@85 6844
cannam@85 6845 * examples/sndfile-play.c
cannam@85 6846 Start adding playback support for Win32.
cannam@85 6847
cannam@85 6848 2002-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6849
cannam@85 6850 * src/*.c
cannam@85 6851 Worked to removed compiler warnings.
cannam@85 6852 Extensive refactoring.
cannam@85 6853
cannam@85 6854 * src/common.[ch]
cannam@85 6855 Added function psf_memset() which works like the standard C function memset
cannam@85 6856 but takes and sf_count_t as the length parameter.
cannam@85 6857
cannam@85 6858 * src/sndfile.c
cannam@85 6859 Replaced calls to memset(0 with calls to psf_memset() as required.
cannam@85 6860
cannam@85 6861 2002-07-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6862
cannam@85 6863 * src/sndfile.c
cannam@85 6864 Added "libsndfile : " to the start of all error messages. This was suggested
cannam@85 6865 by Conrad Parker author of Sweep ( http://sweep.sourceforge.net/ ).
cannam@85 6866
cannam@85 6867 * src/sfendian.[ch]
cannam@85 6868 Added endswap_XXXX_copy() functions.
cannam@85 6869
cannam@85 6870 * src/pcm.c src/float32.c src/double64.c
cannam@85 6871 Use endswap_XXXX_copy() functions and removed dead code.
cannam@85 6872 Cleanups and optimisations.
cannam@85 6873
cannam@85 6874 2002-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6875
cannam@85 6876 * src/sndfile.c src/sndfile.h
cannam@85 6877 Gave values to all the SFC_* enum values to allow better control of the
cannam@85 6878 interface as commands are added and removed.
cannam@85 6879 Added new command SFC_SET_ADD_PEAK_CHUNK.
cannam@85 6880
cannam@85 6881 * src/wav.c src/aiff.c
cannam@85 6882 Modified wav_write_header and aiff_write_header to make addition of a PEAK
cannam@85 6883 chunk optional, even on floating point files.
cannam@85 6884
cannam@85 6885 * tests/benchmark.tpl
cannam@85 6886 Added call to sf_command(SFC_SET_ADD_PEAK_CHUNK) to turn off addition of a
cannam@85 6887 PEAK chunk for the benchmark where we are trying to miximize speed.
cannam@85 6888
cannam@85 6889 * src.pcm.c
cannam@85 6890 Changed tribyte typedef to something more sensible.
cannam@85 6891 Further conversion speed ups.
cannam@85 6892
cannam@85 6893 2002-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6894
cannam@85 6895 * src/command.c
cannam@85 6896 In major_formats rename "Sphere NIST" to "NIST Sphere".
cannam@85 6897
cannam@85 6898 * src/common.c src/sfendian.c
cannam@85 6899 Moved all endswap_XXX_array() functions to sfendian.c. These functions will
cannam@85 6900 be tweaked to provide maximum performance. Since maximum performance on one
cannam@85 6901 platform does not guarantee maximum performance on another, a small set of
cannam@85 6902 functions will be written and the optimal one chosen at compile time.
cannam@85 6903
cannam@85 6904 * src/common.h src/sfendian.h
cannam@85 6905 Declarations of all endswap_XXX_array() functions moved to sfendian.h.
cannam@85 6906
cannam@85 6907 * src/Makefile.am
cannam@85 6908 Add sfendian.c to build targets.
cannam@85 6909
cannam@85 6910 2002-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6911
cannam@85 6912 * src/pcm.c src/sfendian.h
cannam@85 6913 Re-coded PCM encoders and decoders to match or better the speed of
cannam@85 6914 libsndfile version 0.0.28.
cannam@85 6915
cannam@85 6916 2002-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6917
cannam@85 6918 * src/wav.c
cannam@85 6919 Add checking for WAVPACK data in standard PCM WAV file. Return error if
cannam@85 6920 found. This WAVPACK is *WAY* broken. It uses the same PCM WAV file header
cannam@85 6921 and then stores non-PCM data.
cannam@85 6922
cannam@85 6923 * tests/benchmark.tpl
cannam@85 6924 Added more tests.
cannam@85 6925
cannam@85 6926 2002-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6927
cannam@85 6928 * tests/benchmark.tpl
cannam@85 6929 Added conditional definition of M_PI.
cannam@85 6930 For Win32, set WRITE_PERMS to 0777.
cannam@85 6931
cannam@85 6932 * Win32/Makefile.msvc
cannam@85 6933 Added target to make generate program on Win32.
cannam@85 6934
cannam@85 6935 * src/samplitude.c
cannam@85 6936 Removed handler for Samplitude RAP file format. This file type seems rarer
cannam@85 6937 than hens teeth and is completely undocumented.
cannam@85 6938
cannam@85 6939 * src/common.h src/sndfile.c src/Makefile.am Win32/Makefile.msvc
cannam@85 6940 Removed references to sampltiude RAP format.
cannam@85 6941
cannam@85 6942 * tests/benchmark.tpl
cannam@85 6943 Benchmark program now prints the libsndfile version number when run. This
cannam@85 6944 program was also backported to version 0 to compare results. Version
cannam@85 6945 1.0.0rc2 is faster than version 0.0.28 on most conversions but slower on
cannam@85 6946 some. The slow ones need to be fixed before final release.
cannam@85 6947
cannam@85 6948 2002-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6949
cannam@85 6950 * tests/benchmark.def tests/benchmark.tpl
cannam@85 6951 New files which generate tests/benchmark.c using Autogen. Added int ->
cannam@85 6952 SF_FORMAT_PCM_24 test.
cannam@85 6953
cannam@85 6954 * tests/benchmark.c
cannam@85 6955 Now and Autogen output file.
cannam@85 6956
cannam@85 6957 * tests/Makefile.am
cannam@85 6958 Updated for above changes.
cannam@85 6959
cannam@85 6960 2002-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6961
cannam@85 6962 * tests/benchmark.c
cannam@85 6963 Basic benchmark program complete. Need to convert it to Autogen.
cannam@85 6964
cannam@85 6965 * Win32/Makefile.msvc
cannam@85 6966 Added benchmark.exe target.
cannam@85 6967
cannam@85 6968 2002-06-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6969
cannam@85 6970 * examples/generate.c
cannam@85 6971 New program to generate a number of different output file formats from a
cannam@85 6972 single input file. This allows testing of the created files.
cannam@85 6973
cannam@85 6974 * tests/benchmark.c
cannam@85 6975 New test program to benchmark libsndfile. Nowhere near complete yet.
cannam@85 6976
cannam@85 6977 * examples/Makefile.am tests/Makefile.am
cannam@85 6978 New make rules for the two new programs.
cannam@85 6979
cannam@85 6980 2002-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 6981
cannam@85 6982 * Win32/libsndfile.def
cannam@85 6983 Removed definition for sf_signal_max().
cannam@85 6984
cannam@85 6985 * src/sndfile.c
cannam@85 6986 Removed cruft.
cannam@85 6987
cannam@85 6988 * doc/index.html
cannam@85 6989 A number of documentation bugs were fixed. Thanks to Anand Kumria.
cannam@85 6990
cannam@85 6991 * doc/version-1.html
cannam@85 6992 Minor doc updates.
cannam@85 6993
cannam@85 6994 * configure.in
cannam@85 6995 Bumped version to 1.0.0rc2.
cannam@85 6996
cannam@85 6997 * src/sf_command.h src/Makefile.am
cannam@85 6998 Removed the header file as it was no longer being used. Thanks to Anand
cannam@85 6999 Kunria for spotting this.
cannam@85 7000
cannam@85 7001 * doc/index.html
cannam@85 7002 A number of documentation bugs were fixed. Thanks to Anand Kumria.
cannam@85 7003
cannam@85 7004 2002-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7005
cannam@85 7006 * src/common.h
cannam@85 7007 Test for Win32 before testing SIZEOF_OFF_T so that it works correctly
cannam@85 7008 on Win32..
cannam@85 7009
cannam@85 7010 * src/file_io.c
cannam@85 7011 Win32 fixes to ensure O_BINARY is used for file open.
cannam@85 7012
cannam@85 7013 * doc/win32.html
cannam@85 7014 New file documenting the building libsndfile on Win32.
cannam@85 7015
cannam@85 7016 * doc/*.html
cannam@85 7017 Updating of documentation.
cannam@85 7018
cannam@85 7019 2002-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7020
cannam@85 7021 * tests/pcm_test.c
cannam@85 7022 Minor changes to allow easier determination of test file name.
cannam@85 7023
cannam@85 7024 * src/sndfile.[ch]
cannam@85 7025 Removed function sf_signal_max().
cannam@85 7026
cannam@85 7027 * examples/sndfile-play.c
cannam@85 7028 Changed call to sf_signal_max() to a call to sf_command().
cannam@85 7029
cannam@85 7030 2002-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7031
cannam@85 7032 * src/format.c src/command.c
cannam@85 7033 Renamed format.c to command.c which will now include code for sf_command()
cannam@85 7034 calls to perform operations other than format commands.
cannam@85 7035
cannam@85 7036 * src/sndfile.c src/sndfile.h
cannam@85 7037 Removed function sf_get_signal_max() which is replaced by commands passed
cannam@85 7038 to sf_command().
cannam@85 7039
cannam@85 7040 * src/command.c
cannam@85 7041 Implement commands SFC_CALC_SIGNAL_MAX.
cannam@85 7042
cannam@85 7043 * doc/command.html
cannam@85 7044 Documented SFC_CALC_SIGNAL_MAX.
cannam@85 7045
cannam@85 7046 2002-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7047
cannam@85 7048 * examples/sndfile-play.c
cannam@85 7049 Mods to make sndfile-play work on Solaris. The program sndfile-play now
cannam@85 7050 runs on Linux, MaxOSX and Solaris. Win32 to come.
cannam@85 7051
cannam@85 7052 * src/format.c
cannam@85 7053 Added SF_FORMAT_DWVW_* to subtype_formats array.
cannam@85 7054
cannam@85 7055 * src/nist.c
cannam@85 7056 Added support for 8 bit NIST Sphere files. Example file supplied by Anand
cannam@85 7057 Kumria.
cannam@85 7058
cannam@85 7059 2002-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7060
cannam@85 7061 * examples/sndfile-info.c
cannam@85 7062 Tidy up of output format.
cannam@85 7063
cannam@85 7064 * examnples/sndfile-play.c
cannam@85 7065 Mods to make sndfile-play work on MacOSX using Apple's CoreAudio API.
cannam@85 7066
cannam@85 7067 * configure.in
cannam@85 7068 Add new variables OS_SPECIFIC_INCLUDES and OS_SPECIFIC_LINKS which were
cannam@85 7069 required to supply extra include paths and link parameters to get
cannam@85 7070 sndfile-play working on MacOSX.
cannam@85 7071
cannam@85 7072 * examples/Makefile.am
cannam@85 7073 Use OS_SPOECIFIC_INCLUDES and OS_SPECIFIC_LINKS to build commands for
cannam@85 7074 sndfile-play.
cannam@85 7075
cannam@85 7076 2002-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7077
cannam@85 7078 * src/nist.c
cannam@85 7079 Added ability to read/write new NIST Sphere file types (A-law, u-law).
cannam@85 7080 Header parser was re-written from scratch. Example files supplied by Anand
cannam@85 7081 Kumria.
cannam@85 7082
cannam@85 7083 * src/sndfile.c
cannam@85 7084 Support for A-law and u-law NIST files.
cannam@85 7085
cannam@85 7086 * tests/Makefile.am tests/lossy_comp_test.c
cannam@85 7087 Tests for A-law and u-law NIST files.
cannam@85 7088
cannam@85 7089 2002-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7090
cannam@85 7091 * tests/utils.c
cannam@85 7092 Fixed an error in error string.
cannam@85 7093
cannam@85 7094 2002-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7095
cannam@85 7096 * acinclude.m4
cannam@85 7097 Removed exit command to allow cross-compiling.
cannam@85 7098
cannam@85 7099 * Win32/unistd.h src/file_io.c
cannam@85 7100 Moved contents of first file into the second file (enclosed in #ifdef).
cannam@85 7101 Win32/unistd.h is now an empty file but still must be there for libsndfile
cannam@85 7102 to compile on Win32.
cannam@85 7103
cannam@85 7104 * src/sd2.c, src/sndfile.c:
cannam@85 7105 Fixes for Sound Designer II files on big endian systems.
cannam@85 7106
cannam@85 7107 2002-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7108
cannam@85 7109 * configure.in
cannam@85 7110 Modified to work around problems with crappy MacOSX version of sed.
cannam@85 7111 Added sanity check for proper values for CFLAGS.
cannam@85 7112
cannam@85 7113 2002-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7114
cannam@85 7115 * src/sndfile.c
cannam@85 7116 Code clean up in sf_open ().
cannam@85 7117
cannam@85 7118 * Win32/Makefile.msvc
cannam@85 7119 Michael Fink's contributed MSVC++ makefile was hacked to bits and put back
cannam@85 7120 together in a new improved form.
cannam@85 7121
cannam@85 7122 * src/file_io.c
cannam@85 7123 Fixes for Win32; _lseeki64() returns an invalid argument for calls like
cannam@85 7124 _lseeki64(fd, 0, SEEK_CUR) so need to use _telli64 (fd) instead.
cannam@85 7125
cannam@85 7126 * src/common.h src/sndfile.c src/wav.c src/aiff.c
cannam@85 7127 Added SFE_LOG_OVERRUN error.
cannam@85 7128 Added termination for potential infinite loop when parsing file headers.
cannam@85 7129
cannam@85 7130 * src/wav.c src/w64.c
cannam@85 7131 Fixed bug casuing incorrect header generation when opening file read/write.
cannam@85 7132
cannam@85 7133 2002-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7134
cannam@85 7135 * doc/api.html
cannam@85 7136 Improved the documentation to make it clearer that the file read method
cannam@85 7137 and the underlying file format are completely disconnected. Suggested
cannam@85 7138 by Josh Green.
cannam@85 7139
cannam@85 7140 * doc/command.html
cannam@85 7141 Started correcting docs to take into account changes made to the
cannam@85 7142 operations of the sf_command () function. Not complete yet.
cannam@85 7143
cannam@85 7144 * src/sndfile.c
cannam@85 7145 Reverted some changes which had broken the partially working SDII header
cannam@85 7146 parsing. Now have access to an iBook with OS X so reading and writing SDII
cannam@85 7147 files on all platforms should be a reality in the near future. On Mac this
cannam@85 7148 will involve reading the resource fork via the standard MacOS API. To move
cannam@85 7149 a file from Mac to another OS, the resource and data forks will need to be
cannam@85 7150 combined before transfer. The combined file will be read on both Mac and
cannam@85 7151 other OSes like any other file.
cannam@85 7152
cannam@85 7153 2002-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7154
cannam@85 7155 * ltmain.sh
cannam@85 7156 Applied a patch from http://fink.sourceforge.net/doc/porting/libtool.php
cannam@85 7157 which allows libsndfile to compile on MacOSX 10.1. This patch should not
cannam@85 7158 interfere with compiling on other OSes.
cannam@85 7159
cannam@85 7160 * src/GSM610/private.h
cannam@85 7161 Changes to fix compile problems on MacOSX (see src/GSM610/ChangeLog).
cannam@85 7162
cannam@85 7163 * src/float_cast.h
cannam@85 7164 Added MacOSX replacements for lrint() and lrintf().
cannam@85 7165
cannam@85 7166 2002-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7167
cannam@85 7168 * src/sndfile.c
cannam@85 7169 Replaced the code to print the filename to the log buffer when a file is
cannam@85 7170 opened. This code seems to have been left out during the merge of
cannam@85 7171 sf_open_read() and sf_open_write() to make a single functions sf_open().
cannam@85 7172
cannam@85 7173 2002-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7174
cannam@85 7175 * src/wav.c
cannam@85 7176 Fixed a bug where the WAV header parser was going into an infinite loop
cannam@85 7177 on a badly formed LIST chunk. File supplied by David Viens.
cannam@85 7178
cannam@85 7179 2002-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7180
cannam@85 7181 * configure.in
cannam@85 7182 Added a message at the end of the configuration process to warn about the
cannam@85 7183 need for the use of pkg-config when linking programs against version 1 of
cannam@85 7184 libsndfile.
cannam@85 7185
cannam@85 7186 * doc/pkg-config.html
cannam@85 7187 New documentation file containing details of how to use pkg-config to
cannam@85 7188 retrieve settings for CFLAGS and library locations for linking files
cannam@85 7189 against version 1 of libsndfile.
cannam@85 7190
cannam@85 7191 2002-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7192
cannam@85 7193 * src/wav.c
cannam@85 7194 Fixed minor bug in handling of so-called ACIDized WAV files.
cannam@85 7195
cannam@85 7196 2002-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7197
cannam@85 7198 * Win32/libsndfile.def Win32/Makefile.msvc
cannam@85 7199 Two new files contributed by Michael Fink (from the winLAME project)
cannam@85 7200 which allows libsndfile to be built on windows in a MSDOS box by doing
cannam@85 7201 "nmake -f Makefile.msvc". Way cool!
cannam@85 7202
cannam@85 7203 2002-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7204
cannam@85 7205 * configure.in
cannam@85 7206 MacOSX is SSSOOOOOOO screwed up!!! I can't believe how hard it is to
cannam@85 7207 generate a tarball which will configure and compile on that platform.
cannam@85 7208 Joined the libtool mailing list to try and get some answers.
cannam@85 7209
cannam@85 7210 2002-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7211
cannam@85 7212 * configure.in
cannam@85 7213 Changed to autoconf version 2.50. MacOSX uses autoconf version 2.53 which
cannam@85 7214 is incompatible with with version 2.13 which had been using until now.
cannam@85 7215 The AC_SYS_LARGE_FILE macro distributed withe autoconf 2.50 is missing a
cannam@85 7216 few features so AC_SYS_EXTRA_LARGE file was defined to replace it.
cannam@85 7217
cannam@85 7218 * configure.in
cannam@85 7219 Changed to automake version 1.5 to try and make a tarball which will
cannam@85 7220 work on MacOSX.
cannam@85 7221
cannam@85 7222 2002-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7223
cannam@85 7224 * src/wav_gsm610.c
cannam@85 7225 Changed name to gsm610.c. Added reading/writing of headerless files.
cannam@85 7226
cannam@85 7227 * src/sndfile.c src/raw.c
cannam@85 7228 Added ability to read/write headerless (SF_FORMAT_RAW) GSM 6.10 files.
cannam@85 7229
cannam@85 7230 2002-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7231
cannam@85 7232 * tests/lossy_comp_test.c
cannam@85 7233 Clean up in preparation for Autogen-ing this file.
cannam@85 7234
cannam@85 7235 * src/GSM610/*.[ch]
cannam@85 7236 Code cleanup and prepartion forgetting file seek working. Details in
cannam@85 7237 src/GSM610/ChangeLog.
cannam@85 7238
cannam@85 7239 * sndfile.pc.in
cannam@85 7240 Testing complete. Is sndfile.m4 still needed?
cannam@85 7241
cannam@85 7242 2002-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7243
cannam@85 7244 * tests/write_read_test.tpl tests/rdwr_test.tpl
cannam@85 7245 Merged tests from these two programs into write_read_test.tpl and deleted
cannam@85 7246 rdwr_test.tpl.
cannam@85 7247
cannam@85 7248 2002-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7249
cannam@85 7250 * src/w64.c src/svx.c src/paf.c
cannam@85 7251 Fixed bugs in read/write mode.
cannam@85 7252
cannam@85 7253 2002-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7254
cannam@85 7255 * examples/Makefile.am
cannam@85 7256 Renamed sfplay.c to sndfile-play.c and sndfile_info.c to sndfile-info.c for
cannam@85 7257 consistency when these programs become part of the Debian package
cannam@85 7258 sndfile-programs.
cannam@85 7259
cannam@85 7260 * sndfile.pc.in
cannam@85 7261 New file to replace sndfile-config.in. Libsndfile now uses the pkg-config
cannam@85 7262 model for providing installation parameters to dependant programs.
cannam@85 7263
cannam@85 7264 * src/sndfile.c
cannam@85 7265 Cleanup of code in sf_open().
cannam@85 7266
cannam@85 7267 2002-05-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7268
cannam@85 7269 * tests/utils.tpl tests/write_read_test.tpl
cannam@85 7270 More conversion to Autogen fixes and enchancements.
cannam@85 7271
cannam@85 7272 * src/*.c
cannam@85 7273 Read/write mode is now working for 16, 24 and 32 bit PCM as well as 32
cannam@85 7274 bit float and 64 bit double data. More tests still required.
cannam@85 7275
cannam@85 7276 * src/Makefile.am
cannam@85 7277 Added DISTCLEANFILES target to remove config.status and config.last.
cannam@85 7278
cannam@85 7279 * Win32/Makefile.am MacOS/Makefile.am
cannam@85 7280 Added DISTCLEANFILES target to remove Makefile.
cannam@85 7281
cannam@85 7282 2002-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7283
cannam@85 7284 * src/*.[ch] tests/rdwr_test.c
cannam@85 7285 More verifying workings of read/write mode. Fixing bugs found.
cannam@85 7286
cannam@85 7287 * tests/utils.[ch]
cannam@85 7288 Made these files Autogen generated files.
cannam@85 7289
cannam@85 7290 * tests/util.tpl tests/util.def
cannam@85 7291 New Autogen files to generate utils.[ch]. Moved some generic test functions
cannam@85 7292 into this file. Autogen is such a great tool!
cannam@85 7293
cannam@85 7294 2002-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7295
cannam@85 7296 * src/pcm.c src/float_cast.h Win32/config.h
cannam@85 7297 Fixed a couple of Win32 specific bugs pointed out by Michael Fink
cannam@85 7298 (maintainer of WinLAME) and David Viens.
cannam@85 7299
cannam@85 7300 * tests/check_log_buffer.[ch] tests/utils.[ch]
cannam@85 7301 Moved check_log_buffer() to utils.[ch] and deleted old file.
cannam@85 7302
cannam@85 7303 2002-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7304
cannam@85 7305 * src/common.[ch] src/sndfile.c
cannam@85 7306 New function psf_default_seek() which will be the default seek function
cannam@85 7307 for things like PCM and floating point data. This default is set for
cannam@85 7308 both read and write in sf_open() but can be over-ridden by any codec
cannam@85 7309 during it's initialisation.
cannam@85 7310
cannam@85 7311 2002-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7312
cannam@85 7313 * src/au.c
cannam@85 7314 AU files use a data size value of -1 to mean unknown. Fixed au_open_read()
cannam@85 7315 to allow opening files like this.
cannam@85 7316
cannam@85 7317 * tests/rdwr_test .c
cannam@85 7318 Added more tests.
cannam@85 7319
cannam@85 7320 * src/sndfile.c
cannam@85 7321 Fixed bugs in read/write mode found due to improvements in the test
cannam@85 7322 program.
cannam@85 7323
cannam@85 7324 2002-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7325
cannam@85 7326 * tests/rdwr_test .c
cannam@85 7327 New file for testing read/write mode.
cannam@85 7328
cannam@85 7329 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7330
cannam@85 7331 * m4/*
cannam@85 7332 Removed all m4 macros from this directory as they get concatenated to form
cannam@85 7333 the file aclocal.m4 anyway.
cannam@85 7334
cannam@85 7335 * sndfile.m4
cannam@85 7336 Moved this from the m4 directory to the root directory asn this is part of
cannam@85 7337 the distribution and is installed during "make install".
cannam@85 7338
cannam@85 7339 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7340
cannam@85 7341 * src/float32.c
cannam@85 7342 Removed logging of peaks for all file formats other than AIFF and WAV.
cannam@85 7343
cannam@85 7344 * tests/write_read_test.tpl tests/write_read_test.def
cannam@85 7345 New files which autogen uses to generate write_read_test.c. Doing it this
cannam@85 7346 way makes write_read_test.c far easier to maintain. Other test programs
cannam@85 7347 will be converted to autogen in the near future.
cannam@85 7348
cannam@85 7349 * src/*.c
cannam@85 7350 Fixed a few bugs found when testing on Sparc (bug endian) Solaris.
cannam@85 7351
cannam@85 7352 2002-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7353
cannam@85 7354 * doc/*.html
cannam@85 7355 Fixed documention versioning.
cannam@85 7356
cannam@85 7357 * configure.in
cannam@85 7358 Fixed a bug in the routines which search for Large File Support on systems
cannam@85 7359 which have large file support by defualt.
cannam@85 7360
cannam@85 7361 2002-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7362
cannam@85 7363 * src/*.[ch]
cannam@85 7364 Found and fixed an issue which can cause a bug in other software (I was
cannam@85 7365 porting Conrad Parker's Sweep program from version 0 of the library to
cannam@85 7366 version 1). When opening a file for write, the libsndfile code would
cannam@85 7367 set the sfinfo.samples field to a maximum value.
cannam@85 7368
cannam@85 7369 * tests/write_read_test.c
cannam@85 7370 Added tests to detect the above problem.
cannam@85 7371
cannam@85 7372 2002-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7373
cannam@85 7374 * src/*.[ch]
cannam@85 7375 Finished base implementation of read/write mode. Much more testing still
cannam@85 7376 needed.
cannam@85 7377
cannam@85 7378 * m4/largefile.m4
cannam@85 7379 Macro for detecting Large File Standard capabilities. This macro was ripped
cannam@85 7380 out of the aclocal.m4 file of GNU tar-1.13.
cannam@85 7381
cannam@85 7382 * configure.in
cannam@85 7383 Added detection of large file support. Files larger than 2 Gigabytes should
cannam@85 7384 now be supported on 64 bit platforms and many 32 bit platforms including
cannam@85 7385 Linux (2.4 kernel, glibc-2.2), *BSD, MacOS, Win32.
cannam@85 7386
cannam@85 7387 * libsndfile_convert_version.py
cannam@85 7388 A Python script which attempts to autoconvert code written to use version 0
cannam@85 7389 to version 1.
cannam@85 7390
cannam@85 7391 2002-04-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7392
cannam@85 7393 * src/*.[ch]
cannam@85 7394 Finished base implementation of read/write mode. Much more testing still
cannam@85 7395 needed.
cannam@85 7396
cannam@85 7397 * tests/write_read_test.c
cannam@85 7398 Preliminary tests for read/write mode added. More needed.
cannam@85 7399
cannam@85 7400 2002-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7401
cannam@85 7402 * src/sndfile.[ch]
cannam@85 7403 Removed sf_open_read() and sf_open_write() functions,replacting them with
cannam@85 7404 sf_open() which takes an extra mode parameter (SF_OPEN_READ, SF_OPEN_WRITE,
cannam@85 7405 or SF_OPEN_RDWR). This new function sf_open can now be modified to allow
cannam@85 7406 opening a file formodification (RDWR).
cannam@85 7407
cannam@85 7408 2002-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7409
cannam@85 7410 * src/*.c
cannam@85 7411 Completed merging of separate xxx_open_read() and xxx_open_write()
cannam@85 7412 functions. All tests pass.
cannam@85 7413
cannam@85 7414 2002-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7415
cannam@85 7416 * src/au.c
cannam@85 7417 Massive refactoring required to merge au_open_read() with au_open_write()
cannam@85 7418 to create au_open().
cannam@85 7419
cannam@85 7420 2002-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7421
cannam@85 7422 * src/*.c
cannam@85 7423 Started changes required to allow a sound file to be opened in read/write
cannam@85 7424 mode, with separate file pointers for read and write. This involves merging
cannam@85 7425 of encoder/decoder functions like pcm_read_init() and pcm_write_init()
cannam@85 7426 int a new function pcm_init() as well as doing something similar for all
cannam@85 7427 the file type specific functions ie aiff_open_read() and aiff_open_write()
cannam@85 7428 were merged to make the function aiff_open().
cannam@85 7429
cannam@85 7430 2002-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7431
cannam@85 7432 * src/file_io.c
cannam@85 7433 New file containing psf_fopen(), psf_fread(), psf_fwrite(), psf_fseek() and
cannam@85 7434 psf_ftell() functions. These function will replace use of fopen/fread/fwrite
cannam@85 7435 etc and allow access to files larger than 2 gigabytes on a number of 32 bit
cannam@85 7436 OSes (Linux on x86, 32 bit Solaris user space apps, Win32 and MacOS).
cannam@85 7437
cannam@85 7438 * src/*.c
cannam@85 7439 Replaced all instances of fopen with psf_open, fread with psd_read, fwrite
cannam@85 7440 with psf_write and so on.
cannam@85 7441
cannam@85 7442 2002-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7443
cannam@85 7444 * src/dwvw.c
cannam@85 7445 Finally fixed all known problems with 12, 16 and 24 bit DWVW encoding.
cannam@85 7446
cannam@85 7447 * tests/floating_point_test.c
cannam@85 7448 Added tests for 12, 16 and 24 bit DWVW encoding.
cannam@85 7449
cannam@85 7450 2002-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7451
cannam@85 7452 * m4/endian.m4
cannam@85 7453 Defines a new m4 macro AC_C_FIND_ENDIAN, for determining the endian-ness of
cannam@85 7454 the target CPU. It first checks for the definition of BYTE_ORDER in
cannam@85 7455 <endian.h>, then in <sys/types.h> and <sys/param.h>. If none of these work
cannam@85 7456 and the C compiler is not a cross compiler it compiles and runs a program
cannam@85 7457 to test for endian-ness. If the compiler is a cross compiler it makes a
cannam@85 7458 guess based on $target_cpu.
cannam@85 7459
cannam@85 7460 * configure.in
cannam@85 7461 Modified to use AC_C_FIND_ENDIAN.
cannam@85 7462
cannam@85 7463 * src/sfendian.h
cannam@85 7464 Simplified.
cannam@85 7465
cannam@85 7466 2002-02-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7467
cannam@85 7468 * tests/floating_point_test.c
cannam@85 7469 Tests completely rewritten using the dft_cmp function. Now able to
cannam@85 7470 calculate a quick guesstimate of the Signal to Noise Ratio of the encoder.
cannam@85 7471
cannam@85 7472 2002-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7473
cannam@85 7474 * tests/dft_cmp.[ch]
cannam@85 7475 New files containing functions for comparing pre and post lossily
cannam@85 7476 compressed data using a quickly hacked DFT.
cannam@85 7477
cannam@85 7478 * tests/utils.[ch]
cannam@85 7479 New files containing functions for saving pre and post encoded data in a
cannam@85 7480 file readable by the GNU Octave package.
cannam@85 7481
cannam@85 7482 2002-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7483
cannam@85 7484 * m4/lrint.m4 m4/lrintf.m4
cannam@85 7485 Fixed m4 macros to define HAVE_LRINT and HAVE_LRINTF even when the test
cannam@85 7486 is cached.
cannam@85 7487
cannam@85 7488 2002-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7489
cannam@85 7490 * tests/floating_point_test.c
cannam@85 7491 Fixed improper use of strncat ().
cannam@85 7492
cannam@85 7493 2002-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7494
cannam@85 7495 * tests/headerless_test.c
cannam@85 7496 New test program to test the ability to open and read a known file type as a
cannam@85 7497 RAW header-less file.
cannam@85 7498
cannam@85 7499 2002-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7500
cannam@85 7501 * tests/losy_comp_test.c
cannam@85 7502 Added a test to ensure that the data read from a file is not all zeros.
cannam@85 7503
cannam@85 7504 * examples/sfconvert.c
cannam@85 7505 Added "-gsm610" encoding types.
cannam@85 7506
cannam@85 7507 2002-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7508
cannam@85 7509 * examples/sfconvert.c
cannam@85 7510 Added "-dwvw12", "-dwvw16" and "-dwvw24" encoding types.
cannam@85 7511
cannam@85 7512 * tests/dwvw_test.c
cannam@85 7513 New file for testing DWVW encoder/decoder.
cannam@85 7514
cannam@85 7515 2002-01-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7516
cannam@85 7517 * src/dwvw.c
cannam@85 7518 Implemented writing of DWVW. 12 bit seems to work, 16 and 24 bit still broken.
cannam@85 7519
cannam@85 7520 * src/aiff.c
cannam@85 7521 Improved reporting of encoding types.
cannam@85 7522
cannam@85 7523 * src/voc.c
cannam@85 7524 Clean up.
cannam@85 7525
cannam@85 7526 2002-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7527
cannam@85 7528 * src/dwvw.c
cannam@85 7529 New file implementing lossless Delta Word Variable Width (DWVW) encoding.
cannam@85 7530 Reading 12 bit DWVW is now working.
cannam@85 7531
cannam@85 7532 * src/aiff.c common.h sndfile.c
cannam@85 7533 Added hooks for DWVW encoded AIFF and RAW files.
cannam@85 7534
cannam@85 7535 2002-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7536
cannam@85 7537 * src/w64.c
cannam@85 7538 Robustify header parsing.
cannam@85 7539
cannam@85 7540 * src/wav_w64.h
cannam@85 7541 Header file wav.h was renamed to wav_w64.h to signify sharing of
cannam@85 7542 definitions across the two file types.
cannam@85 7543
cannam@85 7544 * src/wav.c src/w64.c src/wav_w64.c
cannam@85 7545 Refactoring.
cannam@85 7546 Modified and moved functions with a high degree of similarity between
cannam@85 7547 wav.c and w64.c to wav_w64.c.
cannam@85 7548
cannam@85 7549 2002-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7550
cannam@85 7551 * src/w64.c
cannam@85 7552 Completed work on getting read and write working.
cannam@85 7553
cannam@85 7554 * examples/sfplay.c
cannam@85 7555 Added code to scale floating point data so it plays at a reasonable volume.
cannam@85 7556
cannam@85 7557 * tests/Makefile.am tests/write_read_test.c
cannam@85 7558 Added tests for W64 files.
cannam@85 7559
cannam@85 7560 2002-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7561
cannam@85 7562 * src/*.c
cannam@85 7563 Modded all code in file header writing routines to use
cannam@85 7564 psf_new_binheader_writef().
cannam@85 7565 Removed psf_binheader_writef() from src/common.c.
cannam@85 7566 Globally replaced psf_new_binheader_writef with psf_binheader_writef.
cannam@85 7567
cannam@85 7568 2002-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7569
cannam@85 7570 * src/*.c
cannam@85 7571 Modded all code in file parsing routines to use psf_new_binheader_readf().
cannam@85 7572 Removed psf_binheader_readf() from src/common.c.
cannam@85 7573 Globally replaced psf_new_binheader_readf with psf_binheader_readf.
cannam@85 7574
cannam@85 7575 * src/common.[ch]
cannam@85 7576 Added new function psf_new_binheader_writef () which will soon replace
cannam@85 7577 psf_binheader_writef (). The new function has basically the same function
cannam@85 7578 as the original but has a more flexible and capable interface. It also
cannam@85 7579 allows the writing of 64 bit integer values for files contains 64 bit file
cannam@85 7580 offsets.
cannam@85 7581
cannam@85 7582 2002-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7583
cannam@85 7584 * src/formats.c src/sndfile.c src/sndfile.h
cannam@85 7585 Added code allowing full enumeration of supported file formats via the
cannam@85 7586 sf_command () interface.
cannam@85 7587 This feature will allow applications to avoid needing recompilation when
cannam@85 7588 support for new file formats are added to libsndfile.
cannam@85 7589
cannam@85 7590 * tests/command_test.c
cannam@85 7591 Added test code for the above feature.
cannam@85 7592
cannam@85 7593 * examples/list_formats.c
cannam@85 7594 New file. An example of the use of the supported file enumeration
cannam@85 7595 interface. This program lists all the major formats and for each major
cannam@85 7596 format the supported subformats.
cannam@85 7597
cannam@85 7598 2002-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7599
cannam@85 7600 * src/*.[ch] tests/*.c
cannam@85 7601 Changed command parameter of sf_command () function from a test string to
cannam@85 7602 an int. The valid values for the command parameter begin with SFC_ and are
cannam@85 7603 listed in src/sndfile.h.
cannam@85 7604
cannam@85 7605 2001-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7606
cannam@85 7607 * src/formats.c src/sndfile.c
cannam@85 7608 Added an way of enumerating a set of common file formats using the
cannam@85 7609 sf_command () interface. This interface was suggested by Dominic Mazzoni,
cannam@85 7610 one of the main authors of Audacity (http://audacity.sourceforge.net/).
cannam@85 7611
cannam@85 7612 2001-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7613
cannam@85 7614 * src/sndfile.c
cannam@85 7615 Added checking of filename parameter in sf_open_read (). Previousy, if a
cannam@85 7616 NULL pointer was passed the library would segfault.
cannam@85 7617
cannam@85 7618 2001-12-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7619
cannam@85 7620 * src/common.c src/common.h
cannam@85 7621 Changed the len parameter of the endswap_*_array () functions from type
cannam@85 7622 int to type long.
cannam@85 7623
cannam@85 7624 * src/pcm.c
cannam@85 7625 Fixed a problem which
cannam@85 7626
cannam@85 7627 2001-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7628
cannam@85 7629 * src/sndfile.c
cannam@85 7630 Added conditional #include <sys/types.h> for EMX/gcc on OS/2. Thanks to
cannam@85 7631 Paul Hartman for pointing this out.
cannam@85 7632
cannam@85 7633 * tests/lossy_comp_test.c tests/floating_point_test.c
cannam@85 7634 Added definitions for M_PI for when it isn't defined in <math.h>.
cannam@85 7635
cannam@85 7636 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7637
cannam@85 7638 * src/ircam.c
cannam@85 7639 Re-implemented the header reader. Old version was making incorrect
cannam@85 7640 assumptions about the endian-ness of the file from the magic number at the
cannam@85 7641 start of the file. The new code looks at the integer which holds the
cannam@85 7642 number of channels and determines the endian-ness from that.
cannam@85 7643
cannam@85 7644 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7645
cannam@85 7646 * src/aiff.c
cannam@85 7647 Added support for other AIFC types ('raw ', 'in32', '23ni').
cannam@85 7648 Further work on IMA ADPCM encoding.
cannam@85 7649
cannam@85 7650 2001-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7651
cannam@85 7652 * src/ima_adpcm.c
cannam@85 7653 Renamed from wav_ima_adpcm.c. This file will soon handle IMA ADPCM
cannam@85 7654 encodings for both WAV and AIFF files.
cannam@85 7655
cannam@85 7656 * src/aiff.c
cannam@85 7657 Started adding IMA ADPCM support.
cannam@85 7658
cannam@85 7659 2001-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7660
cannam@85 7661 * src/double.c
cannam@85 7662 New file for handling double precision floating point (SF_FORMAT_DOUBLE)
cannam@85 7663 data.
cannam@85 7664
cannam@85 7665 * src/wav.c src/aiff.c src/au.c src/raw.c
cannam@85 7666 Added support for SF_FORMAT_DOUBLE data.
cannam@85 7667
cannam@85 7668 * src/common.[ch]
cannam@85 7669 Addition of endswap_long_array () for endian swapping 64 bit integers. This
cannam@85 7670 function will work correctly on processors with 32 bit and 64 bit longs.
cannam@85 7671 Optimised endswap_short_array () and endswap_int_array ().
cannam@85 7672
cannam@85 7673 * tests/pcm_test.c
cannam@85 7674 Added and extra check. After the first file of each type is written to disk
cannam@85 7675 a checksum is performed of the first 64 bytes and checked against a pre-
cannam@85 7676 calculated value. This will work whatever the endian-ness of the host
cannam@85 7677 machine.
cannam@85 7678
cannam@85 7679 2001-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7680
cannam@85 7681 * src/aiff.c
cannam@85 7682 Added handling of u-law, A-law encoded AIFF files. Thanks to Tom Erbe for
cannam@85 7683 supplying example files.
cannam@85 7684
cannam@85 7685 * tests/lossy_comp_test.c
cannam@85 7686 Added tests for above.
cannam@85 7687
cannam@85 7688 * src/common.h src/*.c
cannam@85 7689 Removed function typedefs from common.h and function pointer casting in all
cannam@85 7690 the other files. This allows the compiler to perform proper type checking.
cannam@85 7691 Hopefully this will prevernt problems like the sf_seek bug for OpenBSD,
cannam@85 7692 BeOS etc.
cannam@85 7693
cannam@85 7694 * src/common.[ch]
cannam@85 7695 Added new function psf_new_binheader_readf () which will eventually replace
cannam@85 7696 psf_binheader_readf (). The new function has basically the same function as
cannam@85 7697 the original but has a more flexible and capable interface. It also allows
cannam@85 7698 the reading of 64 bit integer values for files contains 64 bit file
cannam@85 7699 offsets.
cannam@85 7700
cannam@85 7701 2001-11-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7702
cannam@85 7703 * src/voc.c
cannam@85 7704 Completed implementation of VOC file handling. Can now handle 8 and 16 bit
cannam@85 7705 PCM, u-law and A-law files with one or two channels.
cannam@85 7706
cannam@85 7707 * src/write_read_test.c tests/lossy_comp_test.c
cannam@85 7708 Added tests for VOC files.
cannam@85 7709
cannam@85 7710 2001-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7711
cannam@85 7712 * src/float_cast.h
cannam@85 7713 Added inline asm version of lrint/lrintf for MacOS. Solution provided by
cannam@85 7714 Stephane Letz.
cannam@85 7715
cannam@85 7716 * src/voc.c
cannam@85 7717 More work on this braindamaged format. The VOC files produced by SoX also
cannam@85 7718 have a number of inconsistencies.
cannam@85 7719
cannam@85 7720 2001-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7721
cannam@85 7722 * src/paf.c
cannam@85 7723 Added support for 8 bit PCM PAF files.
cannam@85 7724
cannam@85 7725 * tests/write_read_test.c
cannam@85 7726 Added tests for 8 bit PAF files.
cannam@85 7727
cannam@85 7728 2001-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7729
cannam@85 7730 * tests/pcm_test.c
cannam@85 7731 New test program to test for correct scaling of integer values between
cannam@85 7732 different sized integer containers (ie short -> int).
cannam@85 7733 The new specs for libsndfile state that when the source and destination
cannam@85 7734 containers are of a different size, the most significant bit of the source
cannam@85 7735 value becomes the most significant bit of the destination container.
cannam@85 7736
cannam@85 7737 * src/pcm.c src/paf.c
cannam@85 7738 Modified to pass the above test program.
cannam@85 7739
cannam@85 7740 * tests/write_read_test.c tests/lossy_comp_test.c
cannam@85 7741 Modified to work with the new scaling rules.
cannam@85 7742
cannam@85 7743 2001-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7744
cannam@85 7745 * src/raw.c tests/write_read_test.c tests/write_read_test.c
cannam@85 7746 Added ability to do raw reads/writes of float, u-law and A-law files.
cannam@85 7747
cannam@85 7748 * src/*.[ch] examples/*.[ch] tests/*.[ch]
cannam@85 7749 Removed dependance on pcmbitwidth field of SF_INFO struct and moved to new
cannam@85 7750 SF_FORMAT_* types and use of SF_ENDIAN_BIG/LITTLE/CPU.
cannam@85 7751
cannam@85 7752 2001-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7753
cannam@85 7754 * src/*.[ch]
cannam@85 7755 Started implmentation of major changes documented in doc/version1.html.
cannam@85 7756
cannam@85 7757 Removed all usage of off_t which is not part of the ISO C standard. All
cannam@85 7758 places which were using it are now using type long which is the type of
cannam@85 7759 the offset parameter for the fseek function.
cannam@85 7760 This should fix problems on BeOS, MacOS and *BSD like systems which were
cannam@85 7761 failing "make check" because sizeof (long) != sizeof (off_t).
cannam@85 7762
cannam@85 7763 --------------------------------------------------------------------------------
cannam@85 7764 This is the boundary between version 1 of the library above and version 0 below.
cannam@85 7765 --------------------------------------------------------------------------------
cannam@85 7766
cannam@85 7767 2001-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7768
cannam@85 7769 * examples/sfplay_beos.cpp
cannam@85 7770 Added BeOS version of sfplay.c. This needs to be compiled using a C++
cannam@85 7771 compiler so is therefore not built by default. Thanks to Marcus Overhagen
cannam@85 7772 for providing this.
cannam@85 7773
cannam@85 7774 2001-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7775
cannam@85 7776 * examples/sfplay.c
cannam@85 7777 New example file showing how libsndfile can be used to read and play a
cannam@85 7778 sound file.
cannam@85 7779 At the moment on Linux is supported. Others will follow in the near future.
cannam@85 7780
cannam@85 7781 2001-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7782
cannam@85 7783 * src/pcm.c
cannam@85 7784 Fixed problem with normalisation code where a value of 1.0 could map to
cannam@85 7785 a value greater than MAX_SHORT or MAX_INT. Thanks to Roger Dannenberg for
cannam@85 7786 pointing this out.
cannam@85 7787
cannam@85 7788 2001-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7789
cannam@85 7790 * src/pcm.c
cannam@85 7791 Fixed scaling issue when reading/writing 8 bit files using
cannam@85 7792 sf_read/sf_write_short ().
cannam@85 7793 On read, values are scaled so that the most significant bit in the char
cannam@85 7794 ends up in the most significant bit of the short. On write, values are
cannam@85 7795 scaled so that most significant bit in the short ends up as the most
cannam@85 7796 significant bit in the char.
cannam@85 7797
cannam@85 7798 2001-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7799
cannam@85 7800 * src/au.c src/sndfile.c
cannam@85 7801 Added support for 32 bit float data in big and little endian AU files.
cannam@85 7802
cannam@85 7803 * tests/write_read_test.c
cannam@85 7804 Added tests for 32 bit float data in AU files.
cannam@85 7805
cannam@85 7806 2001-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7807
cannam@85 7808 * tests/lossy_comp_test.c
cannam@85 7809 Finalised testing of stereo files where possible.
cannam@85 7810
cannam@85 7811 2001-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7812
cannam@85 7813 * src/wav_ms_adpcm.c
cannam@85 7814 Fixed bug in writing stereo MS ADPCM WAV files. Thanks to Xu Xin for
cannam@85 7815 pointing out this problem.
cannam@85 7816
cannam@85 7817 2001-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7818
cannam@85 7819 * src/wav_ms_adpcm.c
cannam@85 7820 Modified function srate2blocksize () to handle 44k1Hz stereo files.
cannam@85 7821
cannam@85 7822 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7823
cannam@85 7824 * src/w64.c
cannam@85 7825 Added support for Sonic Foundry 64 bit WAV format. As Linux (my main
cannam@85 7826 development platform) does not yet support 64 bit file offsets by default,
cannam@85 7827 current handling of this file format treats everything as 32 bit and fails
cannam@85 7828 openning the file, if it finds anything that goes beyond 32 bit values.
cannam@85 7829
cannam@85 7830 * src/sndfile.[hc] src/common.h src/Makefile.am
cannam@85 7831 Added hooks for W64 support.
cannam@85 7832
cannam@85 7833 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7834
cannam@85 7835 * configure.in
cannam@85 7836 Added more warnings options to CFLAGS when the gcc compiler is detected.
cannam@85 7837
cannam@85 7838 * src/*.[ch] tests/*.c examples/*.c
cannam@85 7839 Started fixing the warning messages due to the new CFLASG.
cannam@85 7840
cannam@85 7841 * src/voc.c
cannam@85 7842 More work on VOC file read/writing.
cannam@85 7843
cannam@85 7844 * src/paf.c
cannam@85 7845 Found that PAF files were not checking the normalisation flag when reading
cannam@85 7846 or writing floats and doubles. Fixed it.
cannam@85 7847
cannam@85 7848 * tests/floating_point_test.c
cannam@85 7849 Added specific test for the above problem.
cannam@85 7850
cannam@85 7851 * src/float_cast.h src/pcm.c
cannam@85 7852 Added a section for Win32 to define lrint () and lrintf () in the header
cannam@85 7853 and implement it in the pcm.c
cannam@85 7854
cannam@85 7855 2001-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7856
cannam@85 7857 * sndfile-config.in m4/sndfile.m4
cannam@85 7858 These files were donated by Conrad Parker who also provided instructions
cannam@85 7859 on how to install them using autoconf/automake.
cannam@85 7860
cannam@85 7861 * src/float_cast.h
cannam@85 7862 Fiddled around with this file some more. On Linux and other gcc supported
cannam@85 7863 OSes use the C99 functions lrintf() and lrint() for casting from floating
cannam@85 7864 point to int without incurring the huge perfromance penalty (particularly
cannam@85 7865 on the i386 family) caused by the regular C cast from float to int.
cannam@85 7866 These new C99 functions replace the FLOAT_TO_* and DOUBLE_TO_* macros which
cannam@85 7867 I had been playing with.
cannam@85 7868
cannam@85 7869 * configure.in m4/lrint.m4 m4/lrintf.m4
cannam@85 7870 Add detection of these functions.
cannam@85 7871
cannam@85 7872 2001-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7873
cannam@85 7874 * src/voc.c
cannam@85 7875 Completed code for reading VOC files containing a single audio data
cannam@85 7876 segment.
cannam@85 7877 Started implementing code to handle files with multiple VOC_SOUND_DATA
cannam@85 7878 segments but couldn't be bothered finishing it. Multiple segment files can
cannam@85 7879 have different sample rates for different sections and other nasties like
cannam@85 7880 silence and repeat segments.
cannam@85 7881
cannam@85 7882 2001-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7883
cannam@85 7884 * src/common.h src/*.c
cannam@85 7885 Removed SF_PRIVATE struct field fdata and replaced it with extra_data.
cannam@85 7886
cannam@85 7887 * src/voc.c
cannam@85 7888 Further development of the read part of this woefult file format.
cannam@85 7889
cannam@85 7890 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7891
cannam@85 7892 * src/float_cast.h
cannam@85 7893 Implemented gcc and i386 floating point to int cast macros. Standard cast
cannam@85 7894 will be used when not on gcc for i385.
cannam@85 7895
cannam@85 7896 * src/pcm.c
cannam@85 7897 Modified all uses of FLOAT/DOUBLE_TO_INT and FLOAT/DOUBLE_TO_SHORT casts to
cannam@85 7898 comply with macros in float_cast.h.
cannam@85 7899
cannam@85 7900 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7901
cannam@85 7902 * src/voc.c
cannam@85 7903 Changed the TYPE_xxx enum names to VOC_TYPE_xxx to prevent name clashes
cannam@85 7904 on MacOS with CodeWarrior 6.0.
cannam@85 7905
cannam@85 7906 * MacOS/MacOS-readme.txt
cannam@85 7907 Updated the compile instructions. Probably still need work as I don't have
cannam@85 7908 access to a Mac.
cannam@85 7909
cannam@85 7910 2001-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7911
cannam@85 7912 * src/wav.c src/aiff.c common.c
cannam@85 7913 Changed all references to snprintf to LSF_SNPRINTF and all vsnprintf to
cannam@85 7914 LSF_VSNPRINTF. LSF_VSNPRINTF and LSF_VSNPRINTF are defined in common.h.
cannam@85 7915
cannam@85 7916 * src/common.h
cannam@85 7917 Added checking of HAVE_SNPRINTF and HAVE_VSNPRINTF and defining
cannam@85 7918 LSF_VSNPRINTF and LSF_VSNPRINTF to appropriate values.
cannam@85 7919
cannam@85 7920 * src/missing.c
cannam@85 7921 New file containing a minimal implementation of snprintf and vsnprintf
cannam@85 7922 functions named missing_snprintf and missing_vsnprintf respectively. These
cannam@85 7923 are only compliled into the binary if snprintf and/or vsnprintf are not
cannam@85 7924 available.
cannam@85 7925
cannam@85 7926 2001-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7927
cannam@85 7928 * src/ircam.c
cannam@85 7929 New file to handle Berkeley/IRCAM/CARL files.
cannam@85 7930
cannam@85 7931 * src/sndfile.c src/common.h
cannam@85 7932 Modified for IRCAM handling.
cannam@85 7933
cannam@85 7934 * tests/*.c
cannam@85 7935 Added tests for IRCAM files.
cannam@85 7936
cannam@85 7937 2001-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7938
cannam@85 7939 * src/wav.c
cannam@85 7940 Apparently microsoft windows (tm) doesn't like ulaw and Alaw WAV files with
cannam@85 7941 20 byte format chunks (contrary to ms's own documentation). Fixed the WAV
cannam@85 7942 header writing code to generate smaller ms compliant ulaw and Alaw WAV
cannam@85 7943 files.
cannam@85 7944
cannam@85 7945 2001-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7946
cannam@85 7947 * tests/stdio_test.sh tests/stdio_test.c
cannam@85 7948 Shell script was rewritten as a C program due to incompatibilities of the
cannam@85 7949 sh shell on Linux and Solaris.
cannam@85 7950
cannam@85 7951 2001-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7952
cannam@85 7953 * tests/stdio_test.sh tests/stdout_test.c tests/stdin_test.c
cannam@85 7954 New test programs to verify the correct operation of reading from stdin and
cannam@85 7955 writing to stdout.
cannam@85 7956
cannam@85 7957 * src/sndfile.c wav.c au.c nist.c paf.c
cannam@85 7958 Fixed a bugs uncovered by the new test programs above.
cannam@85 7959
cannam@85 7960 2001-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7961
cannam@85 7962 * src/sndfile.c wav.c
cannam@85 7963 Fixed a bug preventing reading a file from stdin. Found by T. Narita.
cannam@85 7964
cannam@85 7965 2001-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7966
cannam@85 7967 * src/common.h
cannam@85 7968 Fixed a problem on OpenBSD 2.9 which was causing sf_seek() to fail on IMA
cannam@85 7969 WAV files. Root cause was the declaration of the func_seek typedef not
cannam@85 7970 matching the functions it was actually being used to point to. In OpenBSD
cannam@85 7971 sizeof (off_t) != sizeof (int). Thanks to Heikki Korpela for allowing me
cannam@85 7972 to log into his OpenBSD machine to debug this problem.
cannam@85 7973
cannam@85 7974 2001-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 7975
cannam@85 7976 * src/sndfile.c
cannam@85 7977 Implemented sf_command ("norm float").
cannam@85 7978
cannam@85 7979 * src/*.c
cannam@85 7980 Implemented handling of sf_command ("set-norm-float"). Float normalization
cannam@85 7981 can now be turned on and off.
cannam@85 7982
cannam@85 7983 * tests/double_test.c
cannam@85 7984 Renamed to floating_point_test.c. Modified to include tests for all scaled
cannam@85 7985 reads and writes of floats and doubles.
cannam@85 7986
cannam@85 7987 * src/au_g72x.c
cannam@85 7988 Fixed bug in normalization code found with improved floating_point_test
cannam@85 7989 program.
cannam@85 7990
cannam@85 7991 * src/wav.c
cannam@85 7992 Added code for parsing 'INFO' and 'LIST' chunks. Will be used for extract
cannam@85 7993 text annotations from WAV files.
cannam@85 7994
cannam@85 7995 * src/aiff.c
cannam@85 7996 Added code for parsing '(c) ' and 'ANNO' chunks. Will be used for extract
cannam@85 7997 text annotations from WAV files.
cannam@85 7998
cannam@85 7999 2001-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8000
cannam@85 8001 * examples/sf_info.c example/Makefile.am
cannam@85 8002 Renamed to sndfile_info.c. The program sndfile_info will now be installed
cannam@85 8003 when the library is installed.
cannam@85 8004
cannam@85 8005 * src/float_cast.h
cannam@85 8006 New file defining floating point to short and int casts. These casts will
cannam@85 8007 eventually replace all flot and double casts to short and int. See comments
cannam@85 8008 at the top of the file for the reasoning.
cannam@85 8009
cannam@85 8010 * src/*.c
cannam@85 8011 Changed all default float and double casts to short or int with macros
cannam@85 8012 defined in floatcast.h. At the moment these casts do nothing. They will be
cannam@85 8013 replaced with faster float to int cast operations in the near future.
cannam@85 8014
cannam@85 8015 2001-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8016
cannam@85 8017 * tests/command_test.c
cannam@85 8018 New file for testing sf_command () functionality.
cannam@85 8019
cannam@85 8020 * src/sndfile.c
cannam@85 8021 Revisiting of error return values of some functions.
cannam@85 8022 Started implementing sf_command () a new function will allow on-the-fly
cannam@85 8023 modification of library behaviour, or instance, sample value scaling.
cannam@85 8024
cannam@85 8025 * src/common.h
cannam@85 8026 Added hook for format specific sf_command () calls to SNDFILE struct.
cannam@85 8027
cannam@85 8028 * doc/api.html
cannam@85 8029 Updated and errors corrected.
cannam@85 8030
cannam@85 8031 * doc/command.html
cannam@85 8032 New documentation file explaining new sf_command () function.
cannam@85 8033
cannam@85 8034 2001-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8035
cannam@85 8036 * src/sndfile.c
cannam@85 8037 Fixed error return values from sf_read*() and sf_write*(). There were
cannam@85 8038 numerous instances of -1 being returned through size_t. These now all set
cannam@85 8039 error int the SF_PRIVATE struct and return 0. Thanks to David Viens for
cannam@85 8040 spotting this.
cannam@85 8041
cannam@85 8042 2001-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8043
cannam@85 8044 * src/common.c
cannam@85 8045 Fixed use of va_arg() calls that were causing warning messages with the
cannam@85 8046 latest version of gcc (thanks Maurizio Umberto Puxeddu).
cannam@85 8047
cannam@85 8048 2001-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8049
cannam@85 8050 * src/*.c src/sfendian.h
cannam@85 8051 Moved definition of MAKE_MARKER macro to sfendian.h
cannam@85 8052
cannam@85 8053 2001-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8054
cannam@85 8055 * src/sndfile.c
cannam@85 8056 Modified sf_get_lib_version () so that version string will be visible using
cannam@85 8057 the Unix strings command.
cannam@85 8058
cannam@85 8059 * examples/Makefile.am examples/sfinfo.c
cannam@85 8060 Renamed sfinfo program and source code to sf_info. This prevents a name
cannam@85 8061 clash with the program included with libaudiofile.
cannam@85 8062
cannam@85 8063 2001-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8064
cannam@85 8065 * tests/read_seek_test.c tests/lossy_comp_test.c
cannam@85 8066 Added tests for sf_read_float () and sf_readf_float ().
cannam@85 8067
cannam@85 8068 * src/voc.c
cannam@85 8069 New files for handling Creative Voice files (not complete).
cannam@85 8070
cannam@85 8071 * src/samplitude.c
cannam@85 8072 New files for handling Samplitude files (not complete).
cannam@85 8073
cannam@85 8074 2001-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8075
cannam@85 8076 * src/aiff.c src/au.c src/paf.c src/svx.c src/wav.c
cannam@85 8077 Converted these files to using psf_binheader_readf() function. Will soon be
cannam@85 8078 ready to attempt to make reading writing from pipes work reliably.
cannam@85 8079
cannam@85 8080 * src/*.[ch]
cannam@85 8081 Added code for sf_read_float () and sf_readf_float () methods of accessing
cannam@85 8082 file data.
cannam@85 8083
cannam@85 8084 2001-07-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8085
cannam@85 8086 * src/paf.c src/wav_gsm610.c
cannam@85 8087 Removed two printf()s which had escaped notice for some time (thanks
cannam@85 8088 Sigbjørn Skjæret).
cannam@85 8089
cannam@85 8090 2001-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8091
cannam@85 8092 * src/wav_gsm610.c
cannam@85 8093 Fixed a bug which prevented GSM 6.10 encoded WAV files generated by
cannam@85 8094 libsndfile from being played in Windoze (thanks klay).
cannam@85 8095
cannam@85 8096 2001-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8097
cannam@85 8098 * src/common.[ch]
cannam@85 8099 Implemented psf_binheader_readf() which will do for file header reading what
cannam@85 8100 psf_binheader_writef() did for writing headers. Will eventually allow
cannam@85 8101 libsndfile to read and write from pipes, including named pipes.
cannam@85 8102
cannam@85 8103 2001-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8104
cannam@85 8105 * MacOS/config.h Win32/config.h
cannam@85 8106 Attempted to bring these two files uptodate with src/config.h. As I don't
cannam@85 8107 have access to either of these systems support for them may be completely
cannam@85 8108 broken.
cannam@85 8109
cannam@85 8110 2001-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8111
cannam@85 8112 * src/float32.c
cannam@85 8113 Fixed bug for big endian processors that can't read 32 bit IEEE floats. Now
cannam@85 8114 tested on Intel x86 and UltraSparc processors.
cannam@85 8115
cannam@85 8116 2001-06-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8117
cannam@85 8118 * src/aiff.c
cannam@85 8119 Modified to allow REX files (from Propellorhead's Recycle and Reason
cannam@85 8120 programs) to be read.
cannam@85 8121 REX files are basically an AIFF file with slightly unusual sequence of
cannam@85 8122 chunks (AIFF files are supposed to allow any sequence) and some extra
cannam@85 8123 application specific information.
cannam@85 8124 Not yet able to write a REX file as the details of the application specific
cannam@85 8125 data is unknown.
cannam@85 8126
cannam@85 8127 2001-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8128
cannam@85 8129 * src/wav.c
cannam@85 8130 Fixed endian bug when reading PEAK chunk on big endian machines.
cannam@85 8131
cannam@85 8132 * src/common.c
cannam@85 8133 Fixed endian bug when reading PEAK chunk on big endian machines with
cannam@85 8134 --enable-force-broken-float configure option.
cannam@85 8135 Fix psf_binheader_writef for (FORCE_BROKEN_FLOAT ||______)
cannam@85 8136
cannam@85 8137 2001-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8138
cannam@85 8139 * configure.in src/config.h.in
cannam@85 8140 Removed old CAN_READ_WRITE_x86_IEEE configure variable now that float
cannam@85 8141 capabilities are detected at run time.
cannam@85 8142 Added FORCE_BROKEN_FLOAT to allow testing of broken float code on machines
cannam@85 8143 where the processor can in fact handle floats correctly.
cannam@85 8144
cannam@85 8145 * src/float32.c
cannam@85 8146 Rejigged code reading and writing of floats on broken processors.
cannam@85 8147
cannam@85 8148 * m4/
cannam@85 8149 Removed this directory and all its files as they are no longer needed.
cannam@85 8150
cannam@85 8151 2001-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8152
cannam@85 8153 * tests/peak_chunk_test.c
cannam@85 8154 New test to validate reading and writing of peak chunk.
cannam@85 8155
cannam@85 8156 * examples/sfconvert
cannam@85 8157 Added -float32 option.
cannam@85 8158
cannam@85 8159 * src/*.c
cannam@85 8160 Changed all error return values to negative values (ie the negative of what
cannam@85 8161 they were).
cannam@85 8162
cannam@85 8163 * src/sndfile.c tests/error_test.c
cannam@85 8164 Modified to take account of the previous change.
cannam@85 8165
cannam@85 8166 2001-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8167
cannam@85 8168 * src/float32.c
cannam@85 8169 File renamed from wav_float.c and renamed function to something more
cannam@85 8170 general.
cannam@85 8171 Added runtime detection of floating point capabilities.
cannam@85 8172 Added recording of peaks during write for generation of PEAK chunk.
cannam@85 8173
cannam@85 8174 * src/wav.c src/aiff.c
cannam@85 8175 Added handing for PEAK chunk for floating point files. PEAK is read when the
cannam@85 8176 file headers are read and generated when the file is closed. Logic is in
cannam@85 8177 place for adding PEAK chunk to end of file when writing to a pipe (reading
cannam@85 8178 and writing from/to pipe to be implemented soon).
cannam@85 8179
cannam@85 8180 * src/sndfile.c
cannam@85 8181 Modified sf_signal_max () to use PEAK values if present.
cannam@85 8182
cannam@85 8183 2001-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8184
cannam@85 8185 * src/*.c
cannam@85 8186 Added pcm_read_init () and pcm_write_init () to src/pcm.c and removed all
cannam@85 8187 other calls to functions in this file from the filetype specific files.
cannam@85 8188
cannam@85 8189 * src/*.c
cannam@85 8190 Added alaw_read_init (), alaw_write_int (), ulaw_read_init () and
cannam@85 8191 ulaw_write_init () and removed all other calls to functions in alaw.c and
cannam@85 8192 ulaw.c from the filetype specific files.
cannam@85 8193
cannam@85 8194 * tests/write_read_test.c
cannam@85 8195 Added tests to validate sf_seek () on all file types.
cannam@85 8196
cannam@85 8197 * src/raw.c
cannam@85 8198 Implemented raw_seek () function to fix a bug where
cannam@85 8199 sf_seek (file, 0, SEEK_SET) on a RAW file failed.
cannam@85 8200
cannam@85 8201 * src/paf.c
cannam@85 8202 Fixed a bug in paf24_seek () found due to added seeks tests in
cannam@85 8203 tests/write_read_test.c
cannam@85 8204
cannam@85 8205 2001-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8206
cannam@85 8207 * tests/read_seek_test.c
cannam@85 8208 Fixed a couple of broken binary files.
cannam@85 8209
cannam@85 8210 * src/aiff.c src/wav.c
cannam@85 8211 Added handling of PEAK chunks on file read.
cannam@85 8212
cannam@85 8213 2001-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8214
cannam@85 8215 * check_libsndfile.py
cannam@85 8216 New file for the regression testing of libsndfile.
cannam@85 8217 check_libsndfile.py is a Python script which reads in a file containing
cannam@85 8218 filenames of audio files. Each file is checked by running the examples/sfinfo
cannam@85 8219 program on them and checking for error or warning messages in the libsndfile
cannam@85 8220 log buffer.
cannam@85 8221
cannam@85 8222 * check_libsndfile.list
cannam@85 8223 This is an example list of audio files for use with check_libsndfile.py
cannam@85 8224
cannam@85 8225 * tests/lossy_comp_test.c
cannam@85 8226 Changed the defined value of M_PI for math header files which don't have it.
cannam@85 8227 This fixed validation test failures on MetroWerks compilers. Thanks to Lord
cannam@85 8228 Praetor Satanus of Acheron for bringing this to my attention.
cannam@85 8229
cannam@85 8230 2001-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8231
cannam@85 8232 * src/common.[ch]
cannam@85 8233 Removed psf_header_setf () which was no longer required after refactoring
cannam@85 8234 and simplification of header writing.
cannam@85 8235 Added 'z' format specifier to psf_binheader_writef () for zero filling header
cannam@85 8236 with N bytes. Used by paf.c and nist.c
cannam@85 8237
cannam@85 8238 * tests/check_log_buffer.c
cannam@85 8239 New file implementing check_log_buffer () which reads the log buffer of a
cannam@85 8240 SNDFILE* object and searches for error and warning messages. Calls exit ()
cannam@85 8241 if any are found.
cannam@85 8242
cannam@85 8243 * tests/*.c
cannam@85 8244 Added calls to check_log_buffer () after each call to sf_open_XXX ().
cannam@85 8245
cannam@85 8246 2001-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8247
cannam@85 8248 * src/wav.c src/wav_ms_adpcm.c src/wav_gsm610.c
cannam@85 8249 Major rehack of header writing using psf_binheader_writef ().
cannam@85 8250
cannam@85 8251 2001-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8252
cannam@85 8253 * src/wav.c src/wav_ima_adpcm.c
cannam@85 8254 Major rehack of header writing using psf_binheader_writef ().
cannam@85 8255
cannam@85 8256 2001-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8257
cannam@85 8258 * src/wav.c
cannam@85 8259 Changed return type of get_encoding_str () to prevent compiler warnings on
cannam@85 8260 Mac OSX.
cannam@85 8261
cannam@85 8262 * src/aiff.c src/au.c
cannam@85 8263 Major rehack of header writing using psf_binheader_writef ().
cannam@85 8264
cannam@85 8265 2001-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8266
cannam@85 8267 * src/common.h src/common.c
cannam@85 8268 Added comments.
cannam@85 8269 Name of log buffer changed from strbuffer to logbuffer.
cannam@85 8270 Name of log buffer index variable changed from strindex to logindex.
cannam@85 8271
cannam@85 8272 * src/*.[ch]
cannam@85 8273 Changed name of internal logging function from psf_sprintf () to
cannam@85 8274 psf_log_printf ().
cannam@85 8275 Changed name of internal header generation functions from
cannam@85 8276 psf_[ab]h_printf () to psf_asciiheader_printf () and
cannam@85 8277 psf_binheader_writef ().
cannam@85 8278 Changed name of internal header manipulation function psf_hsetf () to
cannam@85 8279 psf_header_setf ().
cannam@85 8280
cannam@85 8281 2001-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8282
cannam@85 8283 * src/nist.c
cannam@85 8284 Fixed reading and writing of sample_byte_format header. "01" means little
cannam@85 8285 endian and "10" means big endian regardless of bit width.
cannam@85 8286
cannam@85 8287 * configure.in
cannam@85 8288 Detect Mac OSX and disable -Wall and -pedantic gcc options. Mac OSX is
cannam@85 8289 way screwed up and spews out buckets of warning messages from the system
cannam@85 8290 headers.
cannam@85 8291 Added --disable-gcc-opt configure option (sets gcc optimisation to -O0 ) for
cannam@85 8292 easier debugging.
cannam@85 8293 Made decision to harmonise source code version number and .so library
cannam@85 8294 version number. Future releases will stick to this rule.
cannam@85 8295
cannam@85 8296 * doc/new_file_type.HOWTO
cannam@85 8297 New file to document the addition of new file types to libsndfile.
cannam@85 8298
cannam@85 8299 2001-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8300
cannam@85 8301 * src/nist.c
cannam@85 8302 New file for reading/writing Sphere NIST audio file format.
cannam@85 8303 Originally requested by Elis Pomales in 1999.
cannam@85 8304 Retrieved from unstable (and untouched for 18 months) branch of libsndfile.
cannam@85 8305 Some vital information gleaned from the source code to Bill Schottstaedt's
cannam@85 8306 sndlib library : ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
cannam@85 8307 Currently reading and writing 16, 24 and 32 bit, big-endian and little
cannam@85 8308 endian, stereo and mono files.
cannam@85 8309
cannam@85 8310 * src/common.h src/common.c
cannam@85 8311 Added psf_ah_printf () function to help construction of ASCII headers (ie NIST).
cannam@85 8312
cannam@85 8313 * configure.in
cannam@85 8314 Added test for vsnprintf () required by psf_ah_printf ().
cannam@85 8315
cannam@85 8316 * tests/write_read_test.c
cannam@85 8317 Added tests for supported NIST files.
cannam@85 8318
cannam@85 8319 2001-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8320
cannam@85 8321 * tests/write_read_test.c
cannam@85 8322 Added tests for little endian AIFC files.
cannam@85 8323
cannam@85 8324 * src/aiff.c
cannam@85 8325 Minor re-working of aiff_open_write ().
cannam@85 8326 Added write support for little endian PCM encoded AIFC files.
cannam@85 8327
cannam@85 8328 2001-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8329
cannam@85 8330 * src/aiff.c
cannam@85 8331 Minor re-working of aiff_open_read ().
cannam@85 8332 Added read support for little endian PCM encoded AIFC files from the Mac
cannam@85 8333 OSX CD ripper program. Guillaume Lessard provided a couple of sample files
cannam@85 8334 and a working patch.
cannam@85 8335 The patch was not used as is but gave a good guide as to what to do.
cannam@85 8336
cannam@85 8337 2001-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8338
cannam@85 8339 * src/sndfile.h
cannam@85 8340 Fixed comments about endian-ness of WAV and AIFF files. Guillaume Lessard
cannam@85 8341 pointed out the error.
cannam@85 8342
cannam@85 8343 2001-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8344
cannam@85 8345 * examples/make_sine.c
cannam@85 8346 Re-write of this example using sample rate and required frequency in Hz.
cannam@85 8347
cannam@85 8348 2001-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8349
cannam@85 8350 * src/sndfile.c
cannam@85 8351 Fixed bug that prevented known file types from being read as RAW PCM data.
cannam@85 8352
cannam@85 8353 2000-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8354
cannam@85 8355 * src/aiff.c
cannam@85 8356 Added handing of COMT chunk.
cannam@85 8357
cannam@85 8358 2000-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8359
cannam@85 8360 * examples/sfconvert.c
cannam@85 8361 Fixed bug in normalisatio code. Pointed out by Johnny Wu.
cannam@85 8362
cannam@85 8363 2000-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8364
cannam@85 8365 * Win32/config.h
cannam@85 8366 Fixed the incorrect setting of HAVE_ENDIAN_H parameter. Win32 only issue.
cannam@85 8367
cannam@85 8368 2000-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8369
cannam@85 8370 * tests/Makefile.am
cannam@85 8371 Added -lm for write_read_test_LDADD.
cannam@85 8372
cannam@85 8373 2000-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8374
cannam@85 8375 * src/sndfile.c src/au.c
cannam@85 8376 Fixed bug which prevented writing of G723 24kbps AU files.
cannam@85 8377
cannam@85 8378 * tests/lossy_comp_test.c
cannam@85 8379 Corrrection to options for G723 tests.
cannam@85 8380
cannam@85 8381 * configure.in
cannam@85 8382 Added --disable-gcc-pipe option for DJGPP compiler (gcc on MS-DOS) which
cannam@85 8383 doesn't allow gcc -pipe option.
cannam@85 8384
cannam@85 8385 2000-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8386
cannam@85 8387 * src/ulaw.c src/alaw.c src/wav_imaadpcm.c src/msadpcm.c src/wav_gsm610.c
cannam@85 8388 Fixed normailsation bugs shown up by new double_test program.
cannam@85 8389
cannam@85 8390 2000-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8391
cannam@85 8392 * src/pcm.c
cannam@85 8393 Fixed bug in normalisation code (spotted by Steve Lhomme).
cannam@85 8394
cannam@85 8395 * tests/double_test.c
cannam@85 8396 New file to test scaled and unscaled sf_read_double() and sf_write_double()
cannam@85 8397 functions.
cannam@85 8398
cannam@85 8399 2000-08-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8400
cannam@85 8401 * COPYING
cannam@85 8402 Changed to the LGPL COPYING file (spotted by H. S. Teoh).
cannam@85 8403
cannam@85 8404 2000-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8405
cannam@85 8406 * src/sndfile.h
cannam@85 8407 Removed prototype of unimplemented function sf_get_info(). Added prototype
cannam@85 8408 for sf_error_number() Thanks to Sigbjørn Skjæret for spotting these.
cannam@85 8409
cannam@85 8410 2000-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8411
cannam@85 8412 * src/newpcm.h
cannam@85 8413 New file to contain a complete rewrite of the PCM data handling.
cannam@85 8414
cannam@85 8415 2000-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8416
cannam@85 8417 * src/sndfile.c
cannam@85 8418 Fixed a leak of FILE* pointers in sf_open_write(). Thanks to Sigbjørn
cannam@85 8419 Skjæret for spotting this one.
cannam@85 8420
cannam@85 8421 2000-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8422
cannam@85 8423 * src/au_g72x.c src/G72x/g72x.c
cannam@85 8424 Added G723 encoded AU file support.
cannam@85 8425
cannam@85 8426 * tests/lossy_comp_test.c
cannam@85 8427 Added tests for G721 and G723 encoded AU files.
cannam@85 8428
cannam@85 8429 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8430
cannam@85 8431 * all files
cannam@85 8432 Changed the license to LGPL. Albert Faber who had copyright on
cannam@85 8433 Win32/unistd.h gave his permission to change the license on that file. All
cannam@85 8434 other files were either copyright erikd AT mega-nerd DOT com or copyright
cannam@85 8435 under a GPL/LGPL compatible license.
cannam@85 8436
cannam@85 8437 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8438
cannam@85 8439 * tests/lossy_comp_test.c
cannam@85 8440 Fixed incorrect error message.
cannam@85 8441
cannam@85 8442 * src/au_g72x.c src/G72x/*
cannam@85 8443 G721 encoded AU files now working.
cannam@85 8444
cannam@85 8445 * Win32/README-Win32.txt
cannam@85 8446 Replaced this file with a new one which gives a full explanation
cannam@85 8447 of how to build libsndfile under Win32. Thanks to Mike Ricos.
cannam@85 8448
cannam@85 8449 2000-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8450
cannam@85 8451 * src/*.[ch]
cannam@85 8452 Removed double leading underscores from the start of all variable and
cannam@85 8453 function names. Identifiers with a leading underscores are reserved
cannam@85 8454 for use by the compiler.
cannam@85 8455
cannam@85 8456 * src/au_g72x.c src/G72x/*
cannam@85 8457 Continued work on G721 encoded AU files.
cannam@85 8458
cannam@85 8459 2000-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8460
cannam@85 8461 * src/G72x/*
cannam@85 8462 New files for reading/writing G721 and G723 ADPCM audio. These files
cannam@85 8463 are from a Sun Microsystems reference implementation released under a
cannam@85 8464 free software licence.
cannam@85 8465 Extensive changes to this code to make it fit in with libsndfile.
cannam@85 8466 See the ChangeLog in this directory for details.
cannam@85 8467
cannam@85 8468 * src/au_g72x.c
cannam@85 8469 New file for G721 encoded AU files.
cannam@85 8470
cannam@85 8471 2000-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8472
cannam@85 8473 * libsndfile.spec.in
cannam@85 8474 Added a spec file for making RPMs. Thanks to Josh Green for supplying this.
cannam@85 8475
cannam@85 8476 2000-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8477
cannam@85 8478 * src/sndfile.c src/sndfile.h
cannam@85 8479 Add checking for and handling of header-less u-law encoded AU/SND files.
cannam@85 8480 Any file with a ".au" or ".snd" file extension and without the normal
cannam@85 8481 AU file header is treated as an 8kHz, u-law encoded file.
cannam@85 8482
cannam@85 8483 * src/au.h
cannam@85 8484 New function for opening a headerless u-law encoded file for read.
cannam@85 8485
cannam@85 8486 2000-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8487
cannam@85 8488 * src/paf.c
cannam@85 8489 Add checking for files shorter than minimal PAF file header length.
cannam@85 8490
cannam@85 8491 2000-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8492
cannam@85 8493 * tests/write_read_test.c
cannam@85 8494 Added extra sf_perror() calls when sf_write_XXXX fails.
cannam@85 8495
cannam@85 8496 2000-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8497
cannam@85 8498 * src/common.c
cannam@85 8499 Modified usage of va_arg() macro to work correctly on PowerPC
cannam@85 8500 Linux. Thanks to Kyle Wheeler for giving me ssh access to his
cannam@85 8501 machine while I was trying to track this down.
cannam@85 8502
cannam@85 8503 * configure.in src/*.[ch]
cannam@85 8504 Sorted out some endian-ness issues brought up by PowerPC Linux.
cannam@85 8505
cannam@85 8506 * tests/read_seek_test.c
cannam@85 8507 Added extra debugging for when tests fail.
cannam@85 8508
cannam@85 8509 2000-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8510
cannam@85 8511 * src/wav.c
cannam@85 8512 Fixed bug in GSM 6.10 handling for big-endian machines. Thanks
cannam@85 8513 to Sigbjørn Skjæret for reporting this.
cannam@85 8514
cannam@85 8515 2000-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8516
cannam@85 8517 * src/sndfile.c src/wav.c src/wav_gsm610.c
cannam@85 8518 Finallised writing of GSM 6.10 WAV files.
cannam@85 8519
cannam@85 8520 * tests/lossy_comp_test.c
cannam@85 8521 Wrote new test code for GSM 6.10 files.
cannam@85 8522
cannam@85 8523 * examples/sfinfo.c
cannam@85 8524 Fixed incorrect format in printf() statement.
cannam@85 8525
cannam@85 8526 2000-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8527
cannam@85 8528 * src/sndfile.h.in
cannam@85 8529 Fixed comments about sf_perror () and sf_error_str ().
cannam@85 8530
cannam@85 8531 2000-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8532
cannam@85 8533 * configure.in
cannam@85 8534 Fixed --enable-justsrc option.
cannam@85 8535
cannam@85 8536 2000-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8537
cannam@85 8538 * wav.c
cannam@85 8539 Fixed checking of bytespersec field of header. Still some weirdness
cannam@85 8540 with some files.
cannam@85 8541
cannam@85 8542 2000-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8543
cannam@85 8544 * tests/lossy_comp_test.c
cannam@85 8545 Added option to test PCM WAV files (sanity check).
cannam@85 8546 Fixed bug in sf_seek() tests.
cannam@85 8547
cannam@85 8548 2000-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8549
cannam@85 8550 * src/sndfile.c src/wav.c
cannam@85 8551 Minor changes to allow writing of GSM 6.10 WAV files.
cannam@85 8552
cannam@85 8553 2000-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8554
cannam@85 8555 * configure.in Makefile.am src/Makefile.am
cannam@85 8556 Finally got around to figuring out how to build a single library from
cannam@85 8557 multiple source directories.
cannam@85 8558 Reading GSM 6.10 files now seems to work.
cannam@85 8559
cannam@85 8560 2000-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8561
cannam@85 8562 * src/wav.c
cannam@85 8563 Added more error reporting in read_fmt_chunk().
cannam@85 8564
cannam@85 8565 1999-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8566
cannam@85 8567 * examples/sfinfo.c
cannam@85 8568 Modified program to accept multiple filenames from the command line.
cannam@85 8569
cannam@85 8570 1999-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8571
cannam@85 8572 * src/wav_ima_adpcm.c
cannam@85 8573 Moved code around in preparation to adding ability to read/write IMA ADPCM
cannam@85 8574 encoded AIFF files.
cannam@85 8575
cannam@85 8576 1999-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8577
cannam@85 8578 * src/common.c
cannam@85 8579 Fixed put_int() and put_short() macros used by _psf_hprintf() which were
cannam@85 8580 causing seg. faults on Sparc Solaris.
cannam@85 8581
cannam@85 8582 1999-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8583
cannam@85 8584 * src/common.c
cannam@85 8585 Added string.h to includes. Thanks to Sigbjxrn Skjfret.
cannam@85 8586
cannam@85 8587 * src/svx.c
cannam@85 8588 Fixed __svx_close() function to ensure FORM and BODY chunks are correctly
cannam@85 8589 set.
cannam@85 8590
cannam@85 8591 1999-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8592
cannam@85 8593 * src/au.c
cannam@85 8594 Fixed handling of incorrect size field in AU header on read. Thanks to
cannam@85 8595 Christoph Lauer for finding this problem.
cannam@85 8596
cannam@85 8597 1999-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8598
cannam@85 8599 * src/aiff.c
cannam@85 8600 Fixed a bug with incorrect SSND chunk length being written. This also lead
cannam@85 8601 to finding an minor error in AIFF header parsing. Thanks to Dan Timis for
cannam@85 8602 pointing this out.
cannam@85 8603
cannam@85 8604 1999-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8605
cannam@85 8606 * src/paf.c
cannam@85 8607 Fixed a bug with reading and writing 24 bit stereo PAF files. This problem
cannam@85 8608 came to light when implementing tests for the new functions which operate
cannam@85 8609 in terms of frames rather than items.
cannam@85 8610
cannam@85 8611 1999-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8612
cannam@85 8613 * src/sndfile.c
cannam@85 8614 Modified file type detection to use first 12 bytes of file rather than
cannam@85 8615 file name extension. Required this because NIST files use the same
cannam@85 8616 filename extension as Microsoft WAV files.
cannam@85 8617
cannam@85 8618 * src/sndfile.c src/sndfile.h
cannam@85 8619 Added short, int and double read/write functions which work in frames
cannam@85 8620 rather than items. This was originally suggested by Maurizio Umberto
cannam@85 8621 Puxeddu.
cannam@85 8622
cannam@85 8623 1999-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8624
cannam@85 8625 * src/svx.c
cannam@85 8626 Finished off implementation of write using __psf_hprintf().
cannam@85 8627
cannam@85 8628 1999-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8629
cannam@85 8630 * src/common.h
cannam@85 8631 Added a buffer to SF_PRIVATE for writing the header. This is required
cannam@85 8632 to make generating headers for IFF/SVX files easier as well as making
cannam@85 8633 it easier to do re-write the headers which will be required when
cannam@85 8634 sf_rewrite_header() is implemented.
cannam@85 8635
cannam@85 8636 * src/common.c
cannam@85 8637 Implemented __psf_hprintf() function. This is an internal function
cannam@85 8638 which is documented briefly just above the code.
cannam@85 8639
cannam@85 8640 1999-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8641
cannam@85 8642 * src/sndfile.c
cannam@85 8643 Fixed a bug in sf_write_raw() where it was returning incorrect values
cannam@85 8644 (thanks to Richard Dobson for finding this one). Must put in a test
cannam@85 8645 routine for sf_read_raw and sf_write_raw.
cannam@85 8646
cannam@85 8647 * src/aiff.c
cannam@85 8648 Fixed default FORMsize in __aiff_open_write ().
cannam@85 8649
cannam@85 8650 * src/sndfile.c
cannam@85 8651 Added copy of filename to internal data structure. IFF/SVX files
cannam@85 8652 contain a NAME header chunk. Both sf_open_read() and sf_open_write()
cannam@85 8653 copy the file name (less the leading path information) to the
cannam@85 8654 filename field.
cannam@85 8655
cannam@85 8656 * src/svx.c
cannam@85 8657 Started implementing writing of files.
cannam@85 8658
cannam@85 8659 1999-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8660
cannam@85 8661 * src/svx.c
cannam@85 8662 New file for reading/writing 8SVX and 16SVX files.
cannam@85 8663
cannam@85 8664 * src/sndfile.[ch] src/common.h
cannam@85 8665 Changes for SVX files.
cannam@85 8666
cannam@85 8667 * src/aiff.c
cannam@85 8668 Fixed header parsing when unknown chunk is found.
cannam@85 8669
cannam@85 8670 1999-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8671
cannam@85 8672 * src/paf.c
cannam@85 8673 New file for reading/writing Ensoniq PARIS audio file format.
cannam@85 8674
cannam@85 8675 * src/sndfile.[ch] src/common.h
cannam@85 8676 Changes for PAF files.
cannam@85 8677
cannam@85 8678 * src/sndfile.[ch]
cannam@85 8679 Added stuff for sf_get_lib_version() function.
cannam@85 8680
cannam@85 8681
cannam@85 8682 1999-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8683
cannam@85 8684 * src/sndfile.h MacOS/config.h
cannam@85 8685 Fixed minor MacOS configuration issues.
cannam@85 8686
cannam@85 8687 1999-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8688
cannam@85 8689 * MacOS/
cannam@85 8690 Added a new directory for the MacOS config.h file and the
cannam@85 8691 readme file.
cannam@85 8692
cannam@85 8693 * src/aiff.c
cannam@85 8694 Fixed calculation of datalength when reading SSND chunk. Thanks to
cannam@85 8695 Sigbjørn Skjæret for pointing out this error.
cannam@85 8696
cannam@85 8697 1999-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8698
cannam@85 8699 * src/sndfile.c src/sndfile.h src/raw.c
cannam@85 8700 Further fixing of #includes for MacOS.
cannam@85 8701
cannam@85 8702 1999-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8703
cannam@85 8704 * src/wav.c src/aiff.c
cannam@85 8705 Added call to ferror () in main header parsing loop of __XXX_open_read
cannam@85 8706 functions. This should fix problems on platforms (MacOS, AmigaOS) where
cannam@85 8707 fseek()ing or fread()ing beyond the end of the file puts the FILE*
cannam@85 8708 stream in an error state until clearerr() is called.
cannam@85 8709
cannam@85 8710 * tests/write_read_test.c
cannam@85 8711 Added tests for RAW header-less PCM files.
cannam@85 8712
cannam@85 8713 * src/common.h
cannam@85 8714 Moved definition of struct tribyte to pcm.c which is the only place
cannam@85 8715 which needs it.
cannam@85 8716
cannam@85 8717 * src/pcm.c
cannam@85 8718 Modified all code which assumed sizeof (struct tribyte) == 3. This code
cannam@85 8719 did not work on MacOS. Thanks to Ben "Jacobs" for pointing this out.
cannam@85 8720
cannam@85 8721 * src/au.c
cannam@85 8722 Removed <sys/stat.h> from list of #includes (not being used).
cannam@85 8723
cannam@85 8724 * src/sndfile.c
cannam@85 8725 Added MacOS specific #ifdef to replace <sys/stat.h>.
cannam@85 8726
cannam@85 8727 * src/sndfile.h
cannam@85 8728 Added MacOS specific #ifdef to replace <sys/stat.h>.
cannam@85 8729
cannam@85 8730 * src/sndfile.h
cannam@85 8731 Added MacOS specific typedef for off_t.
cannam@85 8732
cannam@85 8733 * MacOS-readme.txt
cannam@85 8734 New file with instructions for building libsndfile under MacOS. Thanks
cannam@85 8735 to Ben "Jacobs" for supplying these instructions.
cannam@85 8736
cannam@85 8737 1999-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8738
cannam@85 8739 * configure.in
cannam@85 8740 Removed sndfile.h from generated file list as there were no longer
cannam@85 8741 any autoconf substitutions being made.
cannam@85 8742
cannam@85 8743 * src/raw.c
cannam@85 8744 New file for handling raw header-less PCM files. In order to open these
cannam@85 8745 for read, the user must specify format, pcmbitwidth and channels in the
cannam@85 8746 SF_INFO struct when calling sf_open_read ().
cannam@85 8747
cannam@85 8748 * src/sndfile.c
cannam@85 8749 Added support for raw header-less PCM files.
cannam@85 8750
cannam@85 8751 1999-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8752
cannam@85 8753 * examples/sfinfo.c
cannam@85 8754 Removed options so the sfinfo program always prints out all the information.
cannam@85 8755
cannam@85 8756 1999-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8757
cannam@85 8758 * src/alaw.c
cannam@85 8759 New file for A-law encoding (similar to u-law).
cannam@85 8760
cannam@85 8761 * tests/alaw_test.c
cannam@85 8762 New test program to test the A-law encode/decode lookup tables.
cannam@85 8763
cannam@85 8764 * tests/lossy_comp_test.c
cannam@85 8765 Added tests for a-law encoded WAV, AU and AULE files.
cannam@85 8766
cannam@85 8767 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8768
cannam@85 8769 * src/sndfile.c src/au.c
cannam@85 8770 Removed second "#include <unistd.h>". Thanks to Ben "Jacobs" for pointing
cannam@85 8771 this out.
cannam@85 8772
cannam@85 8773 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8774
cannam@85 8775 * tests/ulaw_test.c
cannam@85 8776 New test program to test the u-law encode/decode lookup tables.
cannam@85 8777
cannam@85 8778 1999-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8779
cannam@85 8780 * src/sndfile.h
cannam@85 8781 Made corrections to comments on the return values from sf_seek ().
cannam@85 8782
cannam@85 8783 * src/sndfile.c
cannam@85 8784 Fixed boundary condition checking bug and accounting bug in sf_read_raw ().
cannam@85 8785
cannam@85 8786 1999-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8787
cannam@85 8788 * src/au.c src/ulaw.c
cannam@85 8789 Finished implementation of u-law encoded AU files.
cannam@85 8790
cannam@85 8791 * src/wav.c
cannam@85 8792 Implemented reading and writing of u-law encoded WAV files.
cannam@85 8793
cannam@85 8794 * tests/
cannam@85 8795 Changed name of adpcm_test.c to lossy_comp_test.c. This test program
cannam@85 8796 will now be used to test Ulaw and Alaw encoding as well as APDCM.
cannam@85 8797 Added tests for Ulaw encoded WAV files.
cannam@85 8798
cannam@85 8799 1999-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8800
cannam@85 8801 * tests/adpcm_test.c
cannam@85 8802 Initialised amp variable in gen_signal() to remove compiler warning.
cannam@85 8803
cannam@85 8804 1999-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8805
cannam@85 8806 * src/aiff.c
cannam@85 8807 In __aiff_open_read () prevented fseek()ing beyond end of file which
cannam@85 8808 was causing trouble on MacOS with the MetroWerks compiler. Thanks to
cannam@85 8809 Ben "Jacobs" for pointing this out.
cannam@85 8810
cannam@85 8811 *src/wav.c
cannam@85 8812 Fixed as above in __wav_open_read ().
cannam@85 8813
cannam@85 8814 1999-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8815
cannam@85 8816 * src/wav_ms_adpcm.c
cannam@85 8817 Implemented MS ADPCM encoding. Code cleanup of decoder.
cannam@85 8818
cannam@85 8819 * tests/adpcm_test.c
cannam@85 8820 Added tests for MS ADPCM WAV files.
cannam@85 8821
cannam@85 8822 * src/wav_ima_adpcm.c
cannam@85 8823 Fixed incorrect parameter in call to srate2blocksize () from
cannam@85 8824 __ima_writer_init ().
cannam@85 8825
cannam@85 8826 1999-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8827
cannam@85 8828 * tests/read_seek_test.c
cannam@85 8829 Added test for 8 bit AIFF files.
cannam@85 8830
cannam@85 8831 1999-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8832
cannam@85 8833 * tests/write_read_test.c
cannam@85 8834 Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c
cannam@85 8835
cannam@85 8836 * configure.in
cannam@85 8837 Added -Wconversion to CFLAGS.
cannam@85 8838
cannam@85 8839 * src/*.c tests/*.c examples/*.c
cannam@85 8840 Fixed all warnings resulting from use of -Wconversion.
cannam@85 8841
cannam@85 8842 1999-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8843
cannam@85 8844 * src/wav.c
cannam@85 8845 Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
cannam@85 8846 WAV files.
cannam@85 8847
cannam@85 8848 * src/wav_ima.c
cannam@85 8849 Changed block alignment to be dependant on sample rate. This should make
cannam@85 8850 WAV files created with libsndfile compatible with the MS Windows media
cannam@85 8851 players.
cannam@85 8852
cannam@85 8853 * tests/adpcm_test.c
cannam@85 8854 Reimplemented adpcm_test_short and implemented adpcm_test_int and
cannam@85 8855 adpcm_test_double.
cannam@85 8856 Now have full testing of IMA ADPCM WAV file read, write and seek.
cannam@85 8857
cannam@85 8858 1999-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8859
cannam@85 8860 * src/wav_float.c
cannam@85 8861 Fixed function prototype for x86f2d_array () which was causing ocassional
cannam@85 8862 seg. faults on Sparc Solaris machines.
cannam@85 8863
cannam@85 8864 1999-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8865
cannam@85 8866 * src/aiff.c
cannam@85 8867 Fixed bug in __aiff_close where the length fields in the header were
cannam@85 8868 not being correctly calculated before writing.
cannam@85 8869
cannam@85 8870 * tests/write_read_test.c
cannam@85 8871 Modified to detect the above bug in WAV, AIFF and AU files.
cannam@85 8872
cannam@85 8873 1999-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8874
cannam@85 8875 * Win32/*
cannam@85 8876 Added a contribution from Albert Faber to allow libsndfile to compile
cannam@85 8877 under Win32 systems. libsndfile will now be used as part of LAME the
cannam@85 8878 the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).
cannam@85 8879
cannam@85 8880 1999-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8881
cannam@85 8882 * configure.in
cannam@85 8883 Changed to reflect previous changes.
cannam@85 8884
cannam@85 8885 * src/wav_ima_adpcm.c
cannam@85 8886 Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
cannam@85 8887
cannam@85 8888 Fixed bug when writing from int or double data to IMA ADPCM file. Will need
cannam@85 8889 to write test code for this.
cannam@85 8890
cannam@85 8891 Fixed bug in __ima_write () whereby the length of the current block was
cannam@85 8892 calculated incorrectly. Thanks to Jongcheon Park for pointing this out.
cannam@85 8893
cannam@85 8894 1999-03-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8895
cannam@85 8896 * src/*.c
cannam@85 8897 Changed all read/write/lseek function calls to fread/fwrite/
cannam@85 8898 fseek/ftell and added error checking of return values from
cannam@85 8899 fread and fwrite in critical areas of the code.
cannam@85 8900
cannam@85 8901 * src/au.c
cannam@85 8902 Fixed incorrect datasize element in AU header on write.
cannam@85 8903
cannam@85 8904 * tests/error_test.c
cannam@85 8905 Add new test to check all error values have an associated error
cannam@85 8906 string. This will avoid embarrassing real world core dumps.
cannam@85 8907
cannam@85 8908 1999-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8909
cannam@85 8910 * src/wav.c src/aiff.c
cannam@85 8911 Added handling for unknown chunk markers in the file.
cannam@85 8912
cannam@85 8913 1999-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8914
cannam@85 8915 * src/sndfile.c
cannam@85 8916 Filled in missing error strings in SndfileErrors array. Missing entries
cannam@85 8917 can cause core dumps when calling sf_error-str (). Thanks to Sam
cannam@85 8918 <mrsam at-sign geocities.com> for finding this problem.
cannam@85 8919
cannam@85 8920 1999-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8921
cannam@85 8922 * src/wav_ima_adpcm.c
cannam@85 8923 Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading
cannam@85 8924 stereo files. Caused by not adjusting offset into buffer of decoded
cannam@85 8925 samples for 2 channels. A similar bug existed in __ima_write ().
cannam@85 8926 Need a test for stereo ADPCM files.
cannam@85 8927
cannam@85 8928 * src/wav_ms_adpcm.c
cannam@85 8929 Decoder working correctly.
cannam@85 8930
cannam@85 8931 1999-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8932
cannam@85 8933 * configure.in Makefile.am
cannam@85 8934 Added --enable-justsrc configuration variable sent by Sam
cannam@85 8935 <mrsam at-sign geocities.com>.
cannam@85 8936
cannam@85 8937 * src/wav_ima_adpcm.c
cannam@85 8938 Fixed bug when reading beyond end of data section due to not
cannam@85 8939 checking pima->blockcount.
cannam@85 8940 This uncovered __ima_seek () bug due to pima->blockcount being set
cannam@85 8941 before calling __ima_init_block ().
cannam@85 8942
cannam@85 8943 1999-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8944
cannam@85 8945 * src/wav.c
cannam@85 8946 Started implementing MS ADPCM decoder.
cannam@85 8947 If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
cannam@85 8948 encoder seems to add an extra byte. Why not just give an even data
cannam@85 8949 length?
cannam@85 8950
cannam@85 8951 1999-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8952
cannam@85 8953 * src/wav.c
cannam@85 8954 Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
cannam@85 8955 This will make it easier to add and debug other kinds of WAV files
cannam@85 8956 in future.
cannam@85 8957
cannam@85 8958 1999-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8959
cannam@85 8960 * tests/
cannam@85 8961 Added adpcm_test.c which implements test functions for
cannam@85 8962 IMA ADPCM reading/writing/seeking etc.
cannam@85 8963
cannam@85 8964 * src/wav.c
cannam@85 8965 Fixed many bugs in IMA ADPCM encoder and decoder.
cannam@85 8966
cannam@85 8967 1999-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8968
cannam@85 8969 * src/wav.c
cannam@85 8970 Finished implementing IMA ADPCM encoder and decoder (what a bitch!).
cannam@85 8971
cannam@85 8972 1999-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8973
cannam@85 8974 * src/wav.c
cannam@85 8975 Started implementing IMA ADPCM decoder.
cannam@85 8976
cannam@85 8977 1999-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8978
cannam@85 8979 * src/sndfile.c
cannam@85 8980 Fixed bug where the sf_read_XXX functions were returning a
cannam@85 8981 incorrect read count when reading past end of file.
cannam@85 8982 Fixed bug in sf_seek () when seeking backwards from end of file.
cannam@85 8983
cannam@85 8984 * tests/read_seek_test.c
cannam@85 8985 Added multiple read test to short_test(), int_test () and
cannam@85 8986 double_test ().
cannam@85 8987 Added extra chunk to all test WAV files to test that reading
cannam@85 8988 stops at end of 'data' chunk.
cannam@85 8989
cannam@85 8990 1999-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8991
cannam@85 8992 * tests/write_read_test.c
cannam@85 8993 Added tests for little DEC endian AU files.
cannam@85 8994
cannam@85 8995 * src/au.c
cannam@85 8996 Add handling for DEC format little endian AU files.
cannam@85 8997
cannam@85 8998 1999-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 8999
cannam@85 9000 * src/aiff.c src/au.c src/wav.c
cannam@85 9001 Add __psf_sprintf calls during header parsing.
cannam@85 9002
cannam@85 9003 * src/sndfile.c src/common.c
cannam@85 9004 Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).
cannam@85 9005
cannam@85 9006 * tests/write_read_test.c
cannam@85 9007 Added tests for 8 bit PCM files (WAV, AIFF and AU).
cannam@85 9008
cannam@85 9009 * src/au.c src/aiff.c
cannam@85 9010 Add handling of 8 bit PCM data format.
cannam@85 9011
cannam@85 9012 * src/aiff.c
cannam@85 9013 On write, set blocksize in SSND chunk to zero like everybody else.
cannam@85 9014
cannam@85 9015 1999-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 9016
cannam@85 9017 * src/pcm.c:
cannam@85 9018 Fixed bug in let2s_array (cptr was not being initialised).
cannam@85 9019
cannam@85 9020 * src/sndfile.c:
cannam@85 9021 Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
cannam@85 9022 now work when using these functions.
cannam@85 9023
cannam@85 9024 1999-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 9025
cannam@85 9026 * tests/write_read_test.c:
cannam@85 9027 Force test_buffer array to be double aligned. Sparc Solaris
cannam@85 9028 requires this.
cannam@85 9029
cannam@85 9030 1999-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 9031
cannam@85 9032 * src/pcm.c:
cannam@85 9033 Fixed a bug which was causing errors in the reading
cannam@85 9034 and writing of 24 bit PCM files.
cannam@85 9035
cannam@85 9036 * doc/api.html
cannam@85 9037 Finished of preliminary documentaion.
cannam@85 9038
cannam@85 9039 1999-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
cannam@85 9040
cannam@85 9041 * src/aiff.c:
cannam@85 9042 Changed reading of 'COMM' chunk to avoid reading an int
cannam@85 9043 which overlaps an int (4 byte) boundary.
cannam@85 9044