Commit Graph

472 Commits

Author SHA1 Message Date
Erik de Castro Lopo
9ef96a6c86 src/wav.c : Merge function wavex_write_header into wav_write_header, deleting about 70 lines of code. 2008-08-18 21:57:28 +10:00
Erik de Castro Lopo
5c17eed9a6 examples/sndfile-bwf-set.c : Cleanup and fixes. 2008-08-18 10:18:05 +10:00
Erik de Castro Lopo
004d9eccdf src/wav.c : Write PAD chunk with default endian-ness, not a specific endian-ness. 2008-08-18 09:25:47 +10:00
Erik de Castro Lopo
e127d6d8ad examples/test-sndfile-bwf-set.py : Add Python script to test sndfile-bwf-set/get. 2008-08-18 08:53:14 +10:00
Erik de Castro Lopo
431b789fbb src/wav.c : In RDWR mode, pad the header if necessary (ie LIST chunk has moved or length has changed). Minor fixes in wav_write_strings. 2008-08-18 08:49:30 +10:00
Erik de Castro Lopo
ee05bdf1b5 tests/string_test.c : Polish string_multi_set_test. 2008-08-18 08:45:43 +10:00
Erik de Castro Lopo
d4a8ea5fda src/wav.c : In wav_write_tailer, seek to psf->dataend if its greater than zero. 2008-08-17 20:25:10 +10:00
Erik de Castro Lopo
51a552bc14 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct. 2008-08-17 18:42:59 +10:00
Erik de Castro Lopo
278b206a88 tests/string_test.c : Add a new string_multi_set_test (currently failing). 2008-08-17 18:15:31 +10:00
Erik de Castro Lopo
6ed1e67865 Add unique_id field to SF_PRIVATE struct. 2008-08-17 16:27:54 +10:00
Erik de Castro Lopo
9b0de382ee src/common.c : Use gettimeofday() to initialize psf_rand_int32. 2008-08-17 16:26:34 +10:00
Erik de Castro Lopo
04f40feb8f configure.ac : Test for <sys/time.h> and gettimeofday. 2008-08-17 16:23:32 +10:00
Erik de Castro Lopo
63f389b20b src/sndfile.c : Make sure psf->have_written gets set correctly in mode SFM_RDWR. 2008-08-17 12:53:21 +10:00
Erik de Castro Lopo
5506f2e2f3 src/wav.c : Fix to WAV parser to allow 'bext' chunk to be updated in place. 2008-08-17 12:38:25 +10:00
Erik de Castro Lopo
904ccc26b5 tests/command_test.c : Add a new broadcast_rdwr_test (currently failing). 2008-08-17 12:27:54 +10:00
Erik de Castro Lopo
82f6b2db86 tests/string_test.c : Add a new string_rdwr_test (currently failing for WAV). 2008-08-17 12:06:35 +10:00
Erik de Castro Lopo
7ec8cfadf2 examples/sndfile-convert.c : In function copy_metadata(), copy broadcast info if present. 2008-08-16 16:11:30 +10:00
Erik de Castro Lopo
e3a79ad03a Add new file examples/sndfile-bwf-set.c and hook into build. 2008-08-16 13:09:01 +10:00
Erik de Castro Lopo
9223da0872 configure.ac : Test for localtime and localtime_r. 2008-08-16 12:20:50 +10:00
Erik de Castro Lopo
1967c99851 src/sndfile.h.in : Fix comments. Patch from Mark Glines. 2008-08-11 19:50:17 +10:00
Erik de Castro Lopo
65689d4169 tests/Makefile.am : Make sure to run mist_test on Ogg/Vorbis files. 2008-07-30 12:12:59 +10:00
Erik de Castro Lopo
6dff79f3b2 Fix segfault when closing an Ogg/Vorbis file that has been opened for write but had no actual data written to it. Add test. 2008-07-30 09:32:26 +10:00
Erik de Castro Lopo
df590f87cb regtest/Makefile.am : Use SQLITE3_CFLAGS to locate sqlite headers. 2008-07-19 13:26:01 +10:00
Erik de Castro Lopo
23b082fda8 doc/(index|FAQ).html : Add notes about which versions of windows libsndfile works on. 2008-07-10 21:36:53 +10:00
Erik de Castro Lopo
79bcee648c Fix handling of Ambisonic files. Thanks to Fons Adriaensen. 2008-07-03 20:35:47 +10:00
Erik de Castro Lopo
c4d6c64ec6 M4/extra_pkg.m4 : Fix macro name. 2008-06-29 18:47:31 +10:00
Erik de Castro Lopo
c099ef98ad Use new PKG_CHECK_MOD_VERSION m4 macro. 2008-06-29 09:02:33 +10:00
Erik de Castro Lopo
3dbb868c31 configure.ac : Fix detection/enabling of external libs. 2008-06-25 11:03:39 +10:00
Erik de Castro Lopo
2641541953 src/aiff.c : Apply a fix from Axel Roebel where if the second loop in the instrument chunk is none, the loop mode is written into the first loop. 2008-06-14 13:39:59 +10:00
Erik de Castro Lopo
a848139744 src/sd2.c : Minor changes to log messages. 2008-05-31 17:58:11 +10:00
Erik de Castro Lopo
820f9be1c5 Fix bugs in src/float32.c and src/double64.c found test added in previous commit. 2008-05-31 17:10:11 +10:00
Erik de Castro Lopo
5e01337aca Merge changes that remove flac/ogg/vorbis sources. 2008-05-31 13:37:40 +10:00
Erik de Castro Lopo
9b81a5275c src/aiff.c : Fix x86_64 compile issue. 2008-05-21 21:21:16 +10:00
Erik de Castro Lopo
165d245859 src/command.c : Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return the right data when external libs are disabled. 2008-05-21 20:57:54 +10:00
Erik de Castro Lopo
7c39404d87 tests/external_libs_test.c : Add new test and hook into build and test suite. 2008-05-21 20:55:53 +10:00
Erik de Castro Lopo
a2ce5feb79 Fix tests when configured with --disable-external-libs. 2008-05-21 19:20:24 +10:00
Erik de Castro Lopo
cf918cdf8d Link to external versions of FLAC, Ogg and Vorbis. 2008-05-21 18:34:47 +10:00
Erik de Castro Lopo
d227c574a9 src/ogg.c : Add call to ogg_stream_clear to fix valgrind warning. 2008-05-21 15:54:58 +10:00
Erik de Castro Lopo
37b8cab09a src/sndfile.c : Allow seeking past end of file during write. 2008-05-11 09:49:14 +10:00
Erik de Castro Lopo
f5a5a82f68 doc : More documentation tweaks. 2008-05-10 20:31:21 +10:00
Erik de Castro Lopo
bdd163bc12 doc : Minor documentation tweaks. 2008-05-10 19:51:02 +10:00
Erik de Castro Lopo
ef8062147e doc/ : Documentation updates. 2008-05-10 19:19:06 +10:00
Erik de Castro Lopo
85f75f719a configure.ac : Add AM_PROG_CC_C_O. 2008-05-09 16:04:49 +10:00
Erik de Castro Lopo
c32e543478 Remove examples/sndfile-data-trim.c. 2008-04-30 07:13:19 +10:00
Erik de Castro Lopo
3b05211ace Make sf_close return an error is the file descriptor is already closed. Add a test. Thanks to Dave Flogeras for the but report. 2008-04-27 18:33:46 +10:00
Erik de Castro Lopo
4ee9007ff8 Merge in support for MPC 2000 files. 2008-04-19 19:14:05 +10:00
Erik de Castro Lopo
18d5da3d4f configure.ac : Set object format to aout for OS/2. Thanks to David Yeo. 2008-04-19 13:13:07 +10:00
Erik de Castro Lopo
c300da31f3 autogen.sh, configure.ac : Minor tweaks. 2008-04-17 09:37:22 +10:00
Erik de Castro Lopo
08f138133d src/OGG/bitwise.c : Sync from upstream SVN. 2008-04-13 11:56:26 +10:00
Erik de Castro Lopo
5272ef7970 src/ogg.c : Add a patch that fixes finding the length in samples of an Ogg/Vorbis file. 2008-04-13 10:09:22 +10:00