Commit Graph

472 Commits

Author SHA1 Message Date
Erik de Castro Lopo
ca525377fc Apply patch to read artist and title metadata from FLAC files. 2007-07-12 19:06:36 +10:00
Erik de Castro Lopo
7296f49096 Merge from upstream CVS. 2007-06-28 09:55:17 +10:00
Erik de Castro Lopo
d6bb65d967 src/FLAC : Update from upstream CVS. 2007-06-16 16:49:47 +10:00
Erik de Castro Lopo
43d11aa41d src/sndfile.hh : Fix constructor so subsequent calls to other methods don't segfault. 2007-06-14 19:07:34 +10:00
Erik de Castro Lopo
7f92331b18 src/flac.c : Fix buffer overflow bug. 2007-06-10 13:49:41 +10:00
Erik de Castro Lopo
9eb5e33974 tests/write_read_test.tpl : Add multi_seek_test. 2007-06-10 12:19:33 +10:00
Erik de Castro Lopo
3eb08a6b70 tests/utils.tpl : Add function write_mono_file. 2007-06-10 11:34:11 +10:00
Erik de Castro Lopo
10177412f3 Apply patch from Trent Apted make it compile on Intel MacOSX. 2007-06-07 21:03:03 +10:00
Erik de Castro Lopo
992892fbca doc/FAQ.html : Minor update. 2007-06-07 11:50:30 +10:00
Erik de Castro Lopo
68264e7b27 src/wav.c : Fix writing of MSGUID subtypes. 2007-05-28 18:52:51 +10:00
Erik de Castro Lopo
a31d96aaef wav.c : Fix array indexing bug raised by Bruce Sharpe. 2007-05-22 06:58:15 +10:00
Erik de Castro Lopo
4fb72b3654 Random changes. 2007-05-12 12:32:30 +10:00
Erik de Castro Lopo
b2a8abc9f7 src/FLAC/src/share/getopt/getopt.c : Fix Mac OSX / PowerPC compile warnings. 2007-05-12 12:11:12 +10:00
Erik de Castro Lopo
5d1be9c7b5 doc/FAQ.html : Add Q/A about MP3 support. 2007-05-04 17:55:53 +10:00
Erik de Castro Lopo
5d68b4253e doc/new_file_type.HOWTO : Minor updates. 2007-05-03 19:32:35 +10:00
Erik de Castro Lopo
8aefc9b4e3 src/common.[ch] : Constify psf_hexdump. 2007-05-02 22:09:25 +10:00
Erik de Castro Lopo
db7d16be9c src/FLAC/src/libFLAC/stream_encoder.c : Fix compiler warnings. 2007-04-30 22:30:49 +10:00
Erik de Castro Lopo
bd50fba974 src/FLAC : Ditch and re-import required FLAC code. 2007-04-30 22:03:05 +10:00
Erik de Castro Lopo
b8fede2089 Detect if win32 DLL is beging generated and only run win32_ordinal_test if true. 2007-04-23 18:23:05 +10:00
Erik de Castro Lopo
69e6a9c83b Fix error in files generated on big endian systems. Robustify parsing. 2007-04-18 11:27:29 +10:00
Erik de Castro Lopo
d554139673 Complete definition of SfE_WVE_NO_WVE error message. 2007-04-18 06:52:55 +10:00
Erik de Castro Lopo
28714c9ee0 Fix compile warnings for 64 bit systems. 2007-04-16 23:54:51 +10:00
Erik de Castro Lopo
b05c4a46aa src/double64.c : Fix clipping of double to short conversions on 64 bit systems. 2007-04-16 23:00:44 +10:00
Erik de Castro Lopo
abee60d5e1 tests/cpp_test.cc : Fix printf format flag. 2007-04-15 20:15:32 +10:00
Erik de Castro Lopo
5ebb50a41f Use audio detect function when 'fmt ' chunk data is suspicious. 2007-04-15 13:04:45 +10:00
Erik de Castro Lopo
69ded76e69 Add tests for WVE files. 2007-04-14 22:05:03 +10:00
Erik de Castro Lopo
4362342b98 Merge changes from Reuben Thomas to improve WVE support. 2007-04-14 18:00:06 +10:00
Erik de Castro Lopo
9c70f5bb80 Apply patch from Andre Pang. 2007-04-14 17:16:04 +10:00
Erik de Castro Lopo
70976311f0 Add file examples/sndfile-data-trim.c. Hook into build. 2007-04-14 16:51:38 +10:00
Erik de Castro Lopo
1c923e7159 src/sndfile.hh : Add a static SndfileHandle::formatCheck method. 2007-04-11 09:50:50 +10:00
Erik de Castro Lopo
be02f7d3e4 Fix a couple of compiler warnings. 2007-04-09 12:52:45 +10:00
Erik de Castro Lopo
744f93c17d src/mat4.c : Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me. 2007-04-07 09:53:19 +10:00
Erik de Castro Lopo
d806de2b79 doc/FAQ.html : Add Q/A 19. 2007-03-05 15:08:23 +11:00
Erik de Castro Lopo
43e7da063e FAQ.html : Add Q/A 18 and clean up Q3. 2007-03-01 13:42:39 +11:00
Erik de Castro Lopo
9fca72cb4f Guard against MacOSX universal binary compiles. 2007-03-01 13:41:56 +11:00
Erik de Castro Lopo
94fee4ea48 aiff.c : Add support for 'in24' files. 2007-02-22 10:28:57 +11:00
Erik de Castro Lopo
8805e441c0 Add files src/audio_detect.c src/test_audio_detect.c, hook into build. 2007-02-13 13:35:59 +11:00
Erik de Castro Lopo
ac61efccb8 Remove examples/cooledit-fixer.c. 2007-02-07 10:08:23 +11:00
Erik de Castro Lopo
e18281a835 Start work on using WAV_PRIVATE struct. 2007-02-07 00:14:08 +11:00
Erik de Castro Lopo
a84bd14878 examples/sndfile-play.c : For ALSA, use the 'default' device instead of 'plughw:0'. 2007-01-25 22:20:17 +11:00
Erik de Castro Lopo
c19f99835b sndfile.c : Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode. 2007-01-22 22:26:09 +11:00
Erik de Castro Lopo
20a42d63eb embedded_files.html : Minor correction. 2007-01-21 11:01:23 +11:00
Erik de Castro Lopo
319a7ffd59 sndfile-convert.c : Add -override-sample-rate command line option. 2006-12-16 08:00:55 +11:00
Erik de Castro Lopo
ba5e976303 configure.as : Remove an assembler test which was failing on OSX. 2006-11-19 12:25:05 +11:00
Erik de Castro Lopo
7a667e179a src/FLAC : Fix path problems for MinGW. 2006-11-15 13:20:03 +11:00
Erik de Castro Lopo
dc2a07ceaa common.h : Fix the definition of SF_PLATFORM_S64 for MinGW. 2006-11-15 13:19:13 +11:00
Erik de Castro Lopo
0515c51c37 Fix a bug reading/writing 64 bit header fields. Complete unit tests. 2006-11-13 19:59:30 +11:00
Erik de Castro Lopo
9310d9bf3c Clean up unit testing. 2006-11-13 18:46:31 +11:00
Erik de Castro Lopo
c7c7fac9b9 Clean up include paths. 2006-11-13 18:12:10 +11:00
Erik de Castro Lopo
8ff6c56bac sfendian.h : Add include guard. 2006-11-13 12:00:04 +11:00
Erik de Castro Lopo
fe4d443e58 Refactoring to clean up psf_open_file() and vairous sf_open() functions. 2006-11-11 12:28:36 +11:00
Erik de Castro Lopo
bdbbaa6f62 sndfile.c : Refactor function psf_open_file() to provide a single return point. 2006-11-05 11:26:41 +11:00
Erik de Castro Lopo
70c05dea7b For AIFF, SVX and WAV add warning to log if file is bigger than 4 gig. 2006-11-03 20:53:39 +11:00
Erik de Castro Lopo
292b99bb4d Pull OGG sources. 2006-11-01 11:11:01 +11:00
Erik de Castro Lopo
2b78350a24 wav.c : Add workaround for excessively long coding history in the 'bext' chunk. 2006-10-27 10:12:09 +00:00
Erik de Castro Lopo
b89e025dbe Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE. 2006-10-23 10:48:33 +00:00
Erik de Castro Lopo
84e335398c Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic files. Still needs a little tweaking. 2006-10-22 11:34:33 +00:00
Erik de Castro Lopo
d4d3f1c402 Add a function psf_sanitize_string and use it in aiff.c. 2006-10-19 09:56:12 +00:00
Erik de Castro Lopo
ad1e07a01c Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. 2006-10-19 09:30:49 +00:00
Erik de Castro Lopo
36d5cf97f9 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue. 2006-10-17 19:33:53 +00:00
Erik de Castro Lopo
dfd94de25c Fix problem related to recent test coverage changes. 2006-10-17 11:28:32 +00:00
Erik de Castro Lopo
2593c24c12 Add --enable-test-coverage configure option. 2006-10-15 11:05:45 +00:00
Erik de Castro Lopo
e9d0af5e98 sndfiile.hh : Add an std:string SndfileHandle constructor. 2006-10-04 22:51:31 +00:00
Erik de Castro Lopo
4973a9537a Fix the 'make distcheck' target. 2006-10-04 14:07:57 +00:00
Erik de Castro Lopo
843056fc3f Update scale_clip_test.(def|tpl) to test for new code. 2006-10-03 11:48:10 +00:00
Erik de Castro Lopo
3d8a64af63 aiff_rw_test.c : Add 'MARK' chunks to make sure they are parsed correctly. 2006-09-06 03:43:57 +00:00
Erik de Castro Lopo
b70e51fba8 aiff.c : Fix parsing of MARK chunks. 2006-09-05 12:15:21 +00:00
Erik de Castro Lopo
ca89db0275 Fix overflow problems when ensuring that signalis not zero. 2006-09-02 08:51:16 +00:00
Erik de Castro Lopo
2b06fbb022 Make the SF_MIN and SF_MAX macros at least partially type safe. 2006-09-02 01:12:54 +00:00
Erik de Castro Lopo
b51bab566c Updates from 1.0.17 release. 2006-08-31 09:38:29 +00:00
Erik de Castro Lopo
cb54001ed9 More sndfile.hh updates. 2006-08-08 08:13:40 +00:00
Erik de Castro Lopo
caf5b66170 Bunch of changes to sndfile.hh and test program. 2006-08-01 05:20:19 +00:00
Erik de Castro Lopo
e99159ef56 More sndfile.hh updates, and tests. 2006-07-30 08:24:34 +00:00
Erik de Castro Lopo
4bb4611783 Change the license for the C++ wrapper to BSD. 2006-07-29 11:19:19 +00:00
Erik de Castro Lopo
32861925fd Remove the generated file so "make distcheck" passes. 2006-07-29 10:41:06 +00:00
Erik de Castro Lopo
062e09c7c9 Complete sndfile.hh and add more tests. 2006-07-28 09:28:09 +00:00
Erik de Castro Lopo
576e6f6f68 Add a C++ test and hook into build. 2006-07-27 10:39:08 +00:00
Erik de Castro Lopo
ce4f5ba1ad Test if compiler supports -Wpointer-arith. Fix one warning. 2006-07-25 22:02:22 +00:00
Erik de Castro Lopo
8f9e971705 wav_w64.[ch] : Minor clean up, add detection of IPP ITU G723.1. 2006-07-15 11:57:41 +00:00
Erik de Castro Lopo
79307bc119 sndfile-info.c : Make sure to parse info if file fails to open. 2006-07-15 10:48:52 +00:00
Erik de Castro Lopo
b404b718c0 sndfile-play.c : Explicitly set endian-ness as well as setting 16 bit output. 2006-07-15 10:42:24 +00:00
Erik de Castro Lopo
fd812fbc18 Fix psf->dataoffset for headerless files opened based on filename extension. 2006-06-23 00:10:37 +00:00
Erik de Castro Lopo
0662d8a7c6 Fix gcc-4.1 type punned pointer warnings. 2006-06-21 13:15:05 +00:00
Erik de Castro Lopo
12633db1bf sndfile.c : Fixed a login bug in sf_seek(). 2006-06-20 13:04:05 +00:00
Erik de Castro Lopo
f5020b8440 file_io.c : Make sure psf->syserr is set correctly on win32. 2006-06-20 12:58:26 +00:00
Erik de Castro Lopo
f90ff01b4c configure.ac : Fixed detection of S_IRGRP. 2006-06-04 12:23:54 +00:00
Erik de Castro Lopo
fcf46c98d2 sndfile-convert.c : Add conversion SF_INSTRUMENT data when present. 2006-05-30 13:18:56 +00:00
Erik de Castro Lopo
d32f698602 Remove fdate field from SF_PRIVATE struct and replace it with codec_data. 2006-05-22 05:12:36 +00:00
Erik de Castro Lopo
312223264b aiff.c : When writing 'AIFC' files, make sure get an 'FVER' gets added. 2006-05-22 03:57:16 +00:00
Erik de Castro Lopo
1d3732fee4 Add a minimal win32 test program, fix Mingw build script. 2006-05-10 04:35:37 +00:00
Erik de Castro Lopo
edba01c923 Fix printf formatting for int64_t on 64 bit machines. 2006-05-05 11:34:27 +00:00
Erik de Castro Lopo
29d727dba6 double64.c : Clean up double64_get_capability(). 2006-05-04 12:25:51 +00:00
Erik de Castro Lopo
6b36b196c7 Add new file to check for bad parameters passed to psf_binheader_writef(), add to Makefile.am, fix bugs. 2006-05-04 10:54:47 +00:00
Erik de Castro Lopo
c3efe4fd96 Fix an x86_64 issue of int being passed via stdargs to a size_t. 2006-05-03 10:20:06 +00:00
Erik de Castro Lopo
5c9136b5b9 Fix more signed/unsigned issues. 2006-05-02 13:30:11 +00:00
Erik de Castro Lopo
50823c0383 double64.c : Fix a signed/unsigned issue. 2006-05-02 10:39:07 +00:00
Erik de Castro Lopo
25e21e1306 Fix a couple of signed/unsigned problems. 2006-05-02 10:23:11 +00:00
Erik de Castro Lopo
d1da6dbaaa Add a channel_map pointer to the SF_PRIVATE struct. 2006-05-01 08:54:27 +00:00
Erik de Castro Lopo
038d8f62c7 sndfile-info.c : Clean up usage of SF_INFO struct. 2006-04-30 12:51:24 +00:00
Erik de Castro Lopo
acd834c013 sndfile.h.in : Define enums for channel mapping. 2006-04-30 10:58:01 +00:00
Erik de Castro Lopo
06540d5da3 Updates for 1.0.16 release. 2006-04-30 10:36:12 +00:00
Erik de Castro Lopo
863b324211 tests/util.tpl : Add function exit_if_true(). 2006-04-29 00:01:28 +00:00
Erik de Castro Lopo
d6ff32fd4f Update tests for new commands. 2006-04-15 01:03:43 +00:00
Erik de Castro Lopo
9163c74a1b Fix a bug which when PEAK chunk was enabled/disabled a couple of times and update peak_chunk_test. 2006-04-01 23:47:34 +00:00
Erik de Castro Lopo
d1b9e31444 Merge in changes from broadcast WAV branch.
Patches applied:

 * erikd@miles--2004/libsndfile--bext--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-625

 * erikd@miles--2004/libsndfile--bext--0--patch-1
   Add BEXT patch from Paul Davis.

 * erikd@miles--2004/libsndfile--bext--0--patch-2
   Make it actually compile.

 * erikd@miles--2004/libsndfile--bext--0--patch-3
   Fix formatting of new code.

 * erikd@miles--2004/libsndfile--bext--0--patch-4
   Fix minor bugs after cleanup.

 * erikd@miles--2004/libsndfile--bext--0--patch-5
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--bext--0--patch-6
   sndfile.h.in : Clean up formatting of SF_BROADCAST_INFO struct.

 * erikd@miles--2004/libsndfile--bext--0--patch-7
   wav.c : Cleanup of broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-8
   wav.c : Fix minor bug in broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-9
   sndfile-info.c : Minor cleanup.

 * erikd@miles--2004/libsndfile--bext--0--patch-10
   sndfile.c : More cleanups.

 * erikd@miles--2004/libsndfile--bext--0--patch-11
   sndfile.h.in : Fix whitespace.

 * erikd@miles--2004/libsndfile--bext--0--patch-12
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--bext--0--patch-13
   Change coding_history field from char pointer to char array.

 * erikd@miles--2004/libsndfile--bext--0--patch-14
   Remove function broadcast_info_free.

 * erikd@miles--2004/libsndfile--bext--0--patch-15
   sndfile-info.c : Clean up output of broadcast_dump function.

 * erikd@miles--2004/libsndfile--bext--0--patch-16
   command_test.c : Start work on broadcast chunk tests.

 * erikd@miles--2004/libsndfile--bext--0--patch-17
   wav.c : Jump and ignore the 'levl' chunk.

 * erikd@miles--2004/libsndfile--bext--0--patch-18
   sndfile.h.in : Add block of reserved characters to SF_BROADCAST_INFO.

 * erikd@miles--2004/libsndfile--bext--0--patch-19
   Cleanup of broadcast WAV stuff.

 * erikd@miles--2004/libsndfile--bext--0--patch-20
   sndfile-info.c : Fix print message.

 * erikd@miles--2004/libsndfile--bext--0--patch-21
   Complete bext tests, hook test in test suite.
2006-03-30 22:43:51 +00:00
Erik de Castro Lopo
2650c64176 configure.ac Fix handling of --enable and --disable args. 2006-03-26 05:36:38 +00:00
Erik de Castro Lopo
4eb429d44b Make if really clear that the precompiled DLL can be used with MSVC++. 2006-03-22 05:38:20 +00:00
Erik de Castro Lopo
576c5575de aiff.c : Fix potential bug in writing MARK chunks. 2006-03-18 11:16:07 +00:00
Erik de Castro Lopo
f4ee595dea Fix two INST related AIFF bugs. 2006-03-18 10:20:48 +00:00
Erik de Castro Lopo
329772f2f5 tests/Makefile.am Remove --source-time. 2006-03-17 08:24:19 +00:00
Erik de Castro Lopo
55b4a702f0 src/Makefile.am : Remove --source-time argument from autogen command lines. 2006-03-17 07:56:00 +00:00
Erik de Castro Lopo
10dcfcd752 Bump configure version to 1.0.15. Update docs. 2006-03-16 11:45:55 +00:00
Erik de Castro Lopo
51d28c2dd8 Add file README-precompiled-dll.txt to dist build. 2006-03-16 11:16:39 +00:00
Erik de Castro Lopo
6fb384c705 Merge RIFX stuff from --rifx branch.
Patches applied:

 * erikd@miles--2004/libsndfile--rifx--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-613

 * erikd@miles--2004/libsndfile--rifx--0--patch-1
   Add patch from Jesse Chappell for RIFX file support (needs work).

 * erikd@miles--2004/libsndfile--rifx--0--patch-2
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--rifx--0--patch-3
   write_read_test.tpl : Add RIFX tests.

 * erikd@miles--2004/libsndfile--rifx--0--patch-4
   More minor RIFX fixes.

 * erikd@miles--2004/libsndfile--rifx--0--patch-5
   Add RIFX tests.
2006-03-11 10:51:45 +00:00
Erik de Castro Lopo
42f2cc322d win32.html : Update versions of MinGW tools used. 2006-03-10 09:31:56 +00:00
Erik de Castro Lopo
fe76af130f Mingw-make-dist.sh : bunch of improvements. 2006-03-10 07:32:25 +00:00
Erik de Castro Lopo
ca8638f354 win32.html : Fix, typo, mention that Cygwin with -mno-cygwin does not work. 2006-03-09 01:37:35 +00:00
Erik de Castro Lopo
3139c27ff6 Make sure Cygwin DLL ordinal numbers are also correct. 2006-03-08 22:49:20 +00:00
Erik de Castro Lopo
b7948fa64e Bunch of changes to fix MinGW DLL ordinal numbers. 2006-03-08 21:57:18 +00:00
Erik de Castro Lopo
33247cd906 Fix setting of SHLIB_VERSION_ARG for MinGW. 2006-03-08 08:05:56 +00:00
Erik de Castro Lopo
c0622ed1b3 Add a workaround for situations where OSX seems to add an extra 0x52 bytes to the start of the resource fork. 2006-03-04 03:05:06 +00:00
Erik de Castro Lopo
270c150db7 Fix problem where int/size_t were being passed to a varargs function. 2006-03-04 02:15:05 +00:00
Erik de Castro Lopo
7701898bf6 index.html : Add link for GPG signatures. 2006-02-20 02:14:47 +00:00
Erik de Castro Lopo
8167ede3fd Prepare for 1.0.14 release. 2006-02-19 12:32:18 +00:00
Erik de Castro Lopo
4f9abf8010 sd2.c : Improve logging of errors in resource fork parser. 2006-02-11 05:15:48 +00:00
Erik de Castro Lopo
3d271869d0 Makefile.msvc : Replace au_g72x.* with g72x.*. 2006-01-31 07:23:05 +00:00
Erik de Castro Lopo
3e1f762eab Make sure return values are initialised header buffer is full, add workarounds for messed up WAV files. 2006-01-29 10:54:06 +00:00
Erik de Castro Lopo
93ea26e3af Bump version to 1.0.13. 2006-01-21 03:54:51 +00:00
Erik de Castro Lopo
1c587d4d69 Don't exit on error in instrument test for XI files. 2006-01-21 01:10:10 +00:00
Erik de Castro Lopo
9ce84c0ae5 Add largefile_test.c and hook into build. 2006-01-19 09:05:37 +00:00
Erik de Castro Lopo
de72671479 Bump version to 1.0.13pre7. 2006-01-10 08:54:57 +00:00
Erik de Castro Lopo
d566cbbdcd Add/update reading/writing instrument chunks. 2006-01-09 09:48:38 +00:00
Erik de Castro Lopo
dd81b7cac5 Use <inttypes.h> if <stdint.h> is not available. 2006-01-05 10:31:29 +00:00
Erik de Castro Lopo
ba42ebbeb0 Fix a bug that prevented the turning off of PEAK chunks. 2005-12-30 03:20:23 +00:00
Erik de Castro Lopo
77596a1e20 Bump configure version to 1.0.13pre4. 2005-12-29 03:35:57 +00:00
Erik de Castro Lopo
cbb7987a00 Apply patch from John ffitch to add read/write of instrument chunks. 2005-12-28 02:20:08 +00:00
Erik de Castro Lopo
e582a8c893 A test to make sure sf_error() returns a valid error number. 2005-12-10 02:43:03 +00:00
Erik de Castro Lopo
01321f6620 sndfile.c : Make the return value of sf_error() match the API documentation. 2005-12-07 09:49:12 +00:00
Erik de Castro Lopo
8cefd46b81 sndfile.c : Rejig file extension based file type detection. 2005-11-19 01:27:10 +00:00
Erik de Castro Lopo
8712204014 Add "gsm" as a recognised file extension. Add tests. 2005-11-16 11:42:10 +00:00
Erik de Castro Lopo
0ec53fa7ad api.html : Minor fixes. 2005-11-13 11:07:52 +00:00
Erik de Castro Lopo
e02f934673 More G721 WAV fixes. 2005-10-29 20:08:32 +00:00
Erik de Castro Lopo
d78e308a9e g72x.(c|h) : Minor cleanup of interface. 2005-10-29 12:50:14 +00:00
Erik de Castro Lopo
2814d19a12 caf.c : Fix a memory leak. 2005-10-28 15:46:35 +00:00
Erik de Castro Lopo
eebaf47a13 Rmove broken ogg code. 2005-10-28 12:22:59 +00:00
Erik de Castro Lopo
7b12c9d636 Merge codec_close/container_close mods from --codec-close branch.
Patches applied:

 * erikd@miles--2004/libsndfile--codec-close--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-545

 * erikd@miles--2004/libsndfile--codec-close--0--patch-1
   Start work on separate codec and container close functions.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-2
   Start using codec_close function pointer.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-3
   Start using container_close function pointer.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-4
   dwvw.c : Missed this in previous changes.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-5
   ima_adpcm.c : Modify existing *_close to be a codec_close function.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-6
   ms_adpcm.c : Modify existing *_close to be a codec_close function.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-7
   Remove the old close function pointer from the SF_PRIVATE struct.

 * erikd@miles--2004/libsndfile--codec-close--0--patch-8
   lossy_comp_test.c : Reinstate check_comment() code form SF_FORMAT_(IMA|MS)_ADPCM.
2005-10-26 21:26:13 +00:00
Erik de Castro Lopo
8232502115 lossy_comp_test.c : More fixes. 2005-10-26 19:50:16 +00:00
Erik de Castro Lopo
4459b96d51 index.html : Update support matrix. 2005-10-26 14:54:59 +00:00
Erik de Castro Lopo
b942c1fafb Merge from --wav-g721 branch.
Patches applied:

 * erikd@miles--2004/libsndfile--wav-g721--0--base-0
   tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-517

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-1
   Start work on adding wav g721 support.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-2
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-3
   Add writing of g721 wav files, plus tests.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-4
   Clean up handling of g721.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-5
   Merge from --mdev.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-6
   Merge from --mdev.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-7
   More cleanup of G72x handling.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-8
   Whitespace cleanup.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-9
   More g72x cleanups.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-10
   More g72x refactoring.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-11
   More refactoring.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-12
   More refactoring II.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-13
   More refactoring III.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-14
   More refactoring IV.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-15
   More refactoring V.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-16
   More refactoring VI.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-17
   wav.c : Remove extraneous call to g72x_init().

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-18
   src/g72x.c : fix handling of block count and psf->datalength.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-19
   lossy_comp_test.c : Add tests for G721 encoded WAV files.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-20
   Merge from --mdev branch.

 * erikd@miles--2004/libsndfile--wav-g721--0--patch-21
   Merge from --mdev branch.
2005-10-26 14:52:52 +00:00
Erik de Castro Lopo
2104ae2b68 lossy_comp_test.c : Add string data to end of files. 2005-10-26 13:59:50 +00:00
Erik de Castro Lopo
39b67f75e2 Add extra checks in *_init functions. 2005-10-26 11:02:57 +00:00
Erik de Castro Lopo
86cafb25bf sndfile-info.c : Complete dumping SF_INSTRUMENT data. 2005-10-26 07:05:51 +00:00
Erik de Castro Lopo
4d30cb9c93 sndfile-info.c : Start work on dumping SF_INSTRUMENT data. 2005-10-25 04:49:15 +00:00
Erik de Castro Lopo
8952450542 command_test.c : Add test for setting/getting SF_INSTRUMENT data. 2005-10-23 18:25:40 +00:00
Erik de Castro Lopo
705032cf79 Start tests for SF_INSTRUMENT, command_test.c is no longer autogen-ed. 2005-10-23 07:32:04 +00:00
Erik de Castro Lopo
b0343ccc27 Add code to get and set SF_INSTRUMENT data. 2005-10-22 20:26:52 +00:00
Erik de Castro Lopo
29aee93d17 Start work on reading/writing the SF_INSTRUMENT data. Add support for Ambisoncs B WAVEX files. 2005-10-22 20:10:42 +00:00
Erik de Castro Lopo
57557a86db gsm610.c : Minor cleanup. 2005-10-15 05:30:00 +00:00
Erik de Castro Lopo
0730f47e6e lossy_comp_test.c : Minor cleanup. 2005-10-14 05:59:43 +00:00
Erik de Castro Lopo
e5ce14d960 gsm610.c : Make sure SF_FORMAT_WAVEX are handled correctly. 2005-10-13 10:56:48 +00:00
Erik de Castro Lopo
efd5b23767 file_io.c : Add comments documenting the three sections of the file. 2005-10-13 09:30:17 +00:00
Erik de Castro Lopo
6740909a31 Ensure sfconfig.h is included before any other header file. 2005-10-13 09:22:16 +00:00
Erik de Castro Lopo
979f8d1073 configure.ac : Add options to allow disabling of FLAC and ALSA. 2005-10-07 13:27:53 +00:00
Erik de Castro Lopo
eae9c4e12c Final updates before 1.0.12 release. 2005-09-30 12:40:09 +00:00
Erik de Castro Lopo
d199d375d9 configure.ac : Bump the version to 1.0.12. 2005-09-29 19:58:53 +00:00
Erik de Castro Lopo
a1f11438e0 locale_test.c : Fix the unicode string encoding. 2005-09-29 19:57:24 +00:00
Erik de Castro Lopo
d81614ca90 flac.c : Fix valgrind error and minor cleanup. 2005-09-25 20:52:16 +00:00
Erik de Castro Lopo
b9bfb46e73 Make sure structs are initialised. 2005-09-25 09:28:29 +00:00
Erik de Castro Lopo
dfa8b4998b Add -std=gnu99 to CFLAGS if the compiler supports it. 2005-09-24 07:11:19 +00:00
Erik de Castro Lopo
403c5b55d9 Make -Wdeclaration-after-statement work with --enable-gcc-werror. 2005-09-24 01:45:43 +00:00
Erik de Castro Lopo
b39159f4a5 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it. 2005-09-23 10:02:20 +00:00
Erik de Castro Lopo
73cd4f04b4 utils.(tpl|def) : Make the test_write_*_or_die() functions const safe. 2005-09-22 10:52:36 +00:00
Erik de Castro Lopo
9be4599999 nist.c : Read the data offset from the file. 2005-09-21 12:30:25 +00:00
Erik de Castro Lopo
3bbe673dee Add new test program locale_test. 2005-09-20 08:51:50 +00:00
Erik de Castro Lopo
b6fa7b6086 Add configure checks for <locale.h> and setlocale(). 2005-09-20 02:03:43 +00:00
Erik de Castro Lopo
4cb4ce2588 On windows, use windows specific types for file handles. 2005-09-18 02:36:09 +00:00
Erik de Castro Lopo
446c9caf4f float_cast.h : Add Cygwin specific replacements for lrint/lrintf. 2005-09-06 10:07:25 +00:00
Erik de Castro Lopo
736d33f4f2 Update build for MSVC. 2005-09-05 11:33:47 +00:00
Erik de Castro Lopo
83739f3292 configure.ac : Simplify and correct configuring for Cygwin. 2005-09-05 08:32:59 +00:00
Erik de Castro Lopo
a0e2294069 Add a few valgrind fixups. 2005-09-04 11:12:23 +00:00
Erik de Castro Lopo
2338f7c69b file_io.c : Remove Mac OS9 / Metrowerks compiler support. 2005-09-03 15:23:40 +00:00
Erik de Castro Lopo
f3ea80efe5 Fix autoconf config issues using new file sfconfig.h. 2005-09-03 06:12:30 +00:00
Erik de Castro Lopo
0c7b227de0 Fix a bunch of minor issues found by John Pavel using the Intel compiler. 2005-09-03 02:18:46 +00:00
Erik de Castro Lopo
5ff27b2e3b Cast integer literal to sf_count_t in call to psf_binheader_writef(). 2005-08-31 09:00:57 +00:00
Erik de Castro Lopo
e709804f30 command.html : Improve documentation of SF_GET_FORMAT_SUBTYPE. 2005-08-29 22:43:52 +00:00
Erik de Castro Lopo
0fed6bc733 sd2.c : Fix a reading/writing bug on little endian CPUs. 2005-08-25 23:29:34 +00:00
Erik de Castro Lopo
c1434c379a sndfile-convert.c : Allow files to be converted to SD2 format. 2005-08-25 23:01:23 +00:00
Erik de Castro Lopo
19a82b6c60 api.html : Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ. 2005-08-24 22:35:33 +00:00
Erik de Castro Lopo
b77a7e3e5a configure.ac : Use instead of . 2005-08-16 11:13:32 +00:00
Erik de Castro Lopo
2d08b3877f Improve log output for WAVE_FORMAT_EXTENSIBLE files. 2005-08-15 13:31:34 +00:00
Erik de Castro Lopo
62ee2d59ae Merge of single patch from --hack branch.
Patches applied:

 * erikd@mega-nerd.com--2004/libsndfile--hack--0--patch-41
   Fix psf_fsync() for win32.
2005-08-15 08:18:42 +00:00
Erik de Castro Lopo
45fb540acf Apply fix to allow building from outside the source dir. 2005-08-14 23:06:30 +00:00
Erik de Castro Lopo
94dec2df1c sndfile-convert.c : Add support for writing to VOX adpcm output files. 2005-08-10 09:18:51 +00:00
Erik de Castro Lopo
e2465df58f api.html : Document the new function sf_write_sync(). 2005-07-31 00:40:59 +00:00
Erik de Castro Lopo
6c7bb3dc3f Add funtions sf_write_sync() to the API. 2005-07-28 11:29:28 +00:00
Erik de Castro Lopo
1bf3e32333 caf.c : Add support for 'peak' chunk. 2005-07-24 11:02:25 +00:00
Erik de Castro Lopo
c4fe0c644d More PEAK info handling updates. 2005-07-24 07:56:41 +00:00
Erik de Castro Lopo
4747955bb8 Change the way PEAK chunk info is stored internally. 2005-07-24 02:06:07 +00:00
Erik de Castro Lopo
e09b30bc1f Fix allocation for PEAK_CHUNK_32 (bug found using valgrind). 2005-07-23 07:25:32 +00:00
Erik de Castro Lopo
12f02a994f flac.c : Add debug and make private functions static. 2005-07-23 07:24:07 +00:00