Commit Graph

493 Commits

Author SHA1 Message Date
Erik de Castro Lopo
8ed24c2c70 */Makefile.am : Clean paths. 2008-09-25 21:46:49 +10:00
Erik de Castro Lopo
3928286520 examples : Move code from sndfile-metadata-set.c to common.c. 2008-09-25 20:28:40 +10:00
Erik de Castro Lopo
d5b1bfe843 examples/* : Rename copy_data.[ch] to common.[ch]. Fix build. 2008-09-25 20:19:03 +10:00
Erik de Castro Lopo
39e5b55531 Add file doc/tutorial.html and hook into build/dist system. 2008-09-19 20:10:25 +10:00
Erik de Castro Lopo
7eef4ad4f8 examples/test-sndfile-metadata-set.py : Update test to use --str-title instead of -str-name. 2008-09-14 18:01:00 +10:00
Erik de Castro Lopo
9d4a6745ad src/w64.c : Add handling/skipping of a couple of new chunk types. 2008-09-13 11:04:08 +10:00
Erik de Castro Lopo
e9c25c2548 configure.ac : Add -funsigned-char to CFLAGS if the compiler supports it. 2008-09-09 20:47:59 +10:00
Erik de Castro Lopo
cb9f4b40ab src/*.c : Use new macros everywhere it is appropriate. 2008-09-04 09:39:20 +10:00
Erik de Castro Lopo
34a37d1e90 src/common.h : Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN. 2008-09-04 09:38:34 +10:00
Erik de Castro Lopo
5967cf587c examples/sndfile-metadata-set.c : Massive reworking. 2008-09-03 20:32:01 +10:00
Erik de Castro Lopo
b301e43a24 examples/*-metadata-* : Change command line args. 2008-08-25 20:04:11 +10:00
Erik de Castro Lopo
c3e9c10119 Tweaks. 2008-08-24 20:34:02 +10:00
Erik de Castro Lopo
2c4dd4a8e7 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c. 2008-08-24 19:38:18 +10:00
Erik de Castro Lopo
edbc326a0b examples/sndfile-bwf-set.c : Add --info-auto-create-date command line option. 2008-08-24 19:12:17 +10:00
Erik de Castro Lopo
ebe136d7d1 src/sndfile.h.in : Add SFC_SET_ADD_HEADER_PAD_CHUNK. 2008-08-23 20:20:04 +10:00
Erik de Castro Lopo
d7d1cc5d0c src/wav.c : Allow 'PAD ' chunk to be modified in RDWR mode. 2008-08-23 20:15:01 +10:00
Erik de Castro Lopo
d939e1a372 examples/sndfile-info.c : When called with -i or -b option, operate on all files on command line, not just the first. 2008-08-21 16:57:27 +10:00
Erik de Castro Lopo
ee05833a00 examples/test-sndfile-bwf-set.py : Update tests. 2008-08-21 14:19:24 +10:00
Erik de Castro Lopo
44fdbd82ed examples/sndfile-bwf-set.c : Fix the month number in autogenerated date. Use hypen in date instead of slash. 2008-08-21 09:18:20 +10:00
Erik de Castro Lopo
ca41f2649b tests/command_test.c : Add broadcast info test for WAVEX files. 2008-08-18 22:14:27 +10:00
Erik de Castro Lopo
e069dde4fe src/common.h : Double value of SF_MAX_STRINGS. 2008-08-18 21:59:02 +10:00
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