Commit Graph

674 Commits

Author SHA1 Message Date
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
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
Erik de Castro Lopo
21f9415f16 src/aiff.c : Fix up handling of 'APPL' chunk. Thanks to Axel Roebel for bringing up this issue. 2008-04-10 12:35:23 +10:00
Erik de Castro Lopo
ef033ccb8c tests : Always pass 0 as the third argument to open when OS_IS_WIN32. 2008-04-06 20:26:16 +10:00
Erik de Castro Lopo
6e98e65ca3 Merge from -mingw branch. 2008-04-06 17:22:20 +10:00
Erik de Castro Lopo
a5f5a3abee tests/*.c : Add calls to sf_close() where needed. 2008-04-06 16:24:39 +10:00
Erik de Castro Lopo
8c3a422ed8 Merge from mdev branch. 2008-04-04 07:29:19 +11:00
Erik de Castro Lopo
adc85e91de src/test_* : Collapse all tests into a single executable. 2008-04-03 22:19:11 +11:00
Erik de Castro Lopo
917fa95c17 More MinGW fixes. 2008-03-25 22:38:23 +11:00
Erik de Castro Lopo
93cc86a4b2 doc/FAQ.html : Tweaks to pcm16 <-> float conversion answer. 2008-03-11 18:47:19 +11:00
Erik de Castro Lopo
ebb11f24d3 Makefile.am : Add DISTCHECK_CONFIGURE_FLAGS. 2008-02-10 10:26:05 +11:00
Erik de Castro Lopo
75db177cd9 src/OGG : Sync to upstream SVN. 2008-02-10 10:24:39 +11:00
Erik de Castro Lopo
78800c8755 examples/sndfile-jackplay.c : Minor tweaks to warning message printed when compiled without libjack. 2008-02-05 09:47:59 +11:00
Erik de Castro Lopo
61158311ed src/aiff.c : Refactor and bug fix header re-writing in SFM_RDWR mode. 2008-01-27 14:41:45 +11:00
Erik de Castro Lopo
ab2eda50a0 Use new chunk logging to fix problem with AIFF in RDWR mode. 2008-01-24 17:37:29 +11:00
Erik de Castro Lopo
d7a3165716 src/aiff.c : Fix reading of COMM encoding string. 2008-01-24 07:29:18 +11:00
Erik de Castro Lopo
12af3da5ca tests/aiff_rw_test.c : Fix error reporting. 2008-01-22 14:11:45 +11:00
Erik de Castro Lopo
457db0a732 src/command.c : Add WVE to the list of major formats. 2008-01-22 06:38:50 +11:00
Erik de Castro Lopo
2d8dddb7e2 src/common.[ch] : Add internal functions str_of_major_format, str_of_minor_format, str_of_open_mode and str_of_endianness. 2008-01-21 06:59:54 +11:00
Erik de Castro Lopo
17b3728602 tests/peak_chunk_test.c : Add Add test function read_write_peak_test which currently fails for both WAV and AIFF. 2008-01-20 21:03:22 +11:00
Erik de Castro Lopo
968f2e5dd0 doc/command.html : Document SFC_RAW_NEEDS_ENDSWAP. 2008-01-20 19:29:54 +11:00
Erik de Castro Lopo
b72f03928a Add command SFC_RAW_NEEDS_ENDSWAP with tests. 2008-01-20 19:19:12 +11:00
Erik de Castro Lopo
aa15a930f9 Apply patch from Yair K. to fix compiles with OSS v4. 2008-01-20 15:27:14 +11:00
Erik de Castro Lopo
b26341a503 doc/development.html : Change use or reconfigure.mk to autogen.sh. 2008-01-09 19:32:25 +11:00
Erik de Castro Lopo
2becb25102 Add new example program sndfile-cmp.c, contributed by Conrad Parker. Hook into build. 2008-01-09 18:24:11 +11:00
Erik de Castro Lopo
4226528123 tests/multi_file_test.c : Use function file_length_fd() instead of file_length() to overcome stupid win32 bug. Fscking hell Microsoft sucks so much. 2008-01-08 18:20:09 +11:00
Erik de Castro Lopo
ebf5effadd tests/Makefile.am : Run the multi_file_test on AU files. 2008-01-08 18:12:55 +11:00
Erik de Castro Lopo
9b2c327b1f tests/utils.tpl : Add function file_length_fd which wraps fstat. 2008-01-08 18:11:02 +11:00
Erik de Castro Lopo
28da8af2b1 tests/win32_test.c : Add another test. 2008-01-08 18:03:15 +11:00
Erik de Castro Lopo
b298eced44 src/sd2.c : Fix a rsrc parsing bug. Example file supplied by Uli Franke. 2008-01-05 23:53:51 +11:00
Erik de Castro Lopo
93c478ad22 src/command.c : Add Ogg/Vorbis to 'get format' commands. 2007-12-28 02:24:54 +11:00
Erik de Castro Lopo
c215c0fc85 Apply similar fix from writing float data to WAVEX files without a peak chunk. 2007-12-28 01:38:33 +11:00
Erik de Castro Lopo
a6f3f957c4 Apply similar fix from writing float data to AIFF files without a peak chunk. 2007-12-28 01:33:04 +11:00
Erik de Castro Lopo
8007b31250 src/wav.c : Add fix for writing files with float data but no peak chunk (ie peak chunk gets removed after the file is opened). 2007-12-28 01:26:58 +11:00
Erik de Castro Lopo
33c4abb8d5 tests/header_test.tpl : Add header_shrink_test from Axel Roebel. 2007-12-28 01:25:13 +11:00
Erik de Castro Lopo
0585d347fe tests/ogg_test.c : Add stereo seek tests. 2007-12-16 19:12:42 +11:00
Erik de Castro Lopo
580a61268c src/ogg.c : Set the default encoding quality to 0.4 instead of 4.0. 2007-12-16 18:08:30 +11:00
Erik de Castro Lopo
2b5de9860a src/ogg.c : Fix seeking on multichannel Ogg Vorbis files. 2007-12-16 17:47:07 +11:00
Erik de Castro Lopo
19f5d65794 tests/utils.(def|tpl) : Add compare_XXX_or_die functions. 2007-12-14 20:41:33 +11:00
Erik de Castro Lopo
7642800420 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. 2007-12-14 04:37:27 +11:00
Erik de Castro Lopo
d271d42503 src/aiff.c : Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused misaligned reading of 24 bit data. 2007-12-05 05:02:20 +11:00
Erik de Castro Lopo
82fe31896b Merge in code from the vox-patch branch. 2007-12-03 18:26:23 +11:00
Erik de Castro Lopo
828b996d6f examples/sndfile-convert.c : Fix handling of -override-sample-rate=X option. 2007-12-01 10:35:45 +11:00
Erik de Castro Lopo
be5eea124d Merge from -vorbis branch. 2007-11-25 19:09:24 +11:00
Erik de Castro Lopo
f94bb9dea4 Add new example program to play sound files using the JACK audio server. 2007-11-24 10:00:29 +11:00
Erik de Castro Lopo
ba0008bf9e Fix wav_pcm lossy_comp_test and run it by default in the test suite. 2007-11-17 18:57:22 +11:00
Erik de Castro Lopo
3ae0a715f3 tests/lossy_comp_test.c : Rename raw_read_test() to read_raw_test(). 2007-11-17 15:42:17 +11:00
Erik de Castro Lopo
fecb5c56eb src/sndfile.c : Add code to prevent sf_read_raw from reading past the end of the audio data. 2007-11-17 14:26:57 +11:00
Erik de Castro Lopo
e70aaed8f5 tests/lossy_comp_test.c : Clean up error output messages. 2007-11-17 14:22:12 +11:00
Erik de Castro Lopo
88a0dec4a2 src/sndfile.c : Remove redundant code. 2007-11-17 12:57:00 +11:00
Erik de Castro Lopo
8ff611b86e src/sndfile.c : Fix calculation of internal value psf->read_current when attempting to read past end of audio data. 2007-11-17 09:44:16 +11:00
Erik de Castro Lopo
141884b65c More OS/2 fixes from David Yeo. 2007-11-16 21:16:56 +11:00
Erik de Castro Lopo
a97e89d115 Improve handling of requirements for O_BINARY as suggested by Ed Schouten. 2007-11-12 19:55:30 +11:00
Erik de Castro Lopo
24244ea5bf src/create_symbols_file.py : Add support for OS/2. 2007-11-11 17:13:15 +11:00
Erik de Castro Lopo
d5424a2813 src/common.h : Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa. 2007-11-11 13:36:30 +11:00
Erik de Castro Lopo
5406298115 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity. 2007-11-05 15:18:42 +11:00
Erik de Castro Lopo
6215c4c47c Add example program using the C++ SndfileHandle class. 2007-11-03 12:50:53 +11:00
Erik de Castro Lopo
98f04e3ef3 Add tests for correct updating of broadcast WAV coding history. 2007-11-03 11:58:33 +11:00
Erik de Castro Lopo
d2f29f5a82 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT. 2007-10-29 14:15:07 +11:00
Erik de Castro Lopo
61472b8599 src/sd2.c : Identify sample-rate/sample-size/channels by resource id. 2007-10-26 19:42:58 +10:00
Erik de Castro Lopo
8dc1ec5a43 Improvements to handling of broadcast info in WAV files. Thanks to Frederic Cornu and other for their input. 2007-10-25 06:10:46 +10:00
Erik de Castro Lopo
402da6ba13 src/FLAC/include/share/alloc.h : Mingw fix for SIZE_T_MAX from Uli Franke. 2007-10-24 21:21:16 +10:00
Erik de Castro Lopo
82ee6c7901 Move tests from open_fail_test.c to error_test.c and remove the former. 2007-10-23 06:33:35 +10:00
Erik de Castro Lopo
2d02bb2bbf doc/command.html : Add docs for SFC_SET_INT_FLOAT_WRITE command. 2007-10-22 19:48:34 +10:00
Erik de Castro Lopo
eda374c4c0 Merge from -mdev branch. 2007-10-21 20:28:27 +10:00
Erik de Castro Lopo
87b2c095b3 Remove function sf_get_info (only ever in pre-release code). 2007-10-21 17:44:58 +10:00
Erik de Castro Lopo
fc54aad003 Add test for SFC_GET_CURRENT_SF_INFO. 2007-10-21 17:29:04 +10:00
Erik de Castro Lopo
d1205e267e Minor tweaks. 2007-10-21 16:34:31 +10:00
Erik de Castro Lopo
4d8f2d9c77 src/wav.c : Add parsing of 'exif' chunks. Orignally coded by Trent Apted. 2007-10-15 21:13:59 +10:00
Erik de Castro Lopo
a516149c22 src/w64.c : Fix writing of 'riff' chunk length and check for correct value in parser. 2007-10-10 14:04:02 +10:00
Erik de Castro Lopo
d4ef5e4320 doc/index.html : Link to MP3 FAQ entry. 2007-09-20 06:43:13 +10:00
Erik de Castro Lopo
c74da57ece src/flac.c : Move the blocksize check to an earlier stage of flac_buffer_copy. 2007-09-18 06:14:28 +10:00
Erik de Castro Lopo
e2a1983432 src/FLAC : Huge merge from FLAC upstream. 2007-09-12 21:50:58 +10:00
Erik de Castro Lopo
98e1abafb9 Change license to all example programs to BSD. 2007-09-10 19:20:13 +10:00
Erik de Castro Lopo
3b3309f4b6 Bump configure.ac version. 2007-09-08 12:07:07 +10:00
Erik de Castro Lopo
5de99671cb Check the blocksize returned from the FLAC decoder to prevent buffer overruns. 2007-09-08 12:03:46 +10:00
Erik de Castro Lopo
4999ed1edf Octave/octave_test.sh : Disable test on OSX. Can't get it to work. 2007-09-08 09:42:42 +10:00
Erik de Castro Lopo
947657361e Fix build when Octave headers are not present. 2007-09-07 10:16:40 +10:00
Erik de Castro Lopo
9c244ed3ae doc/development.html : Add note about directory looking empty. 2007-08-27 10:58:25 +10:00
Erik de Castro Lopo
770cc5d27c Merge branch that added ability to build GNU Octave modules. 2007-08-26 14:07:37 +10:00
Erik de Castro Lopo
da3d973250 Merge from -m4 branch. 2007-08-23 16:12:10 +10:00
Erik de Castro Lopo
c95fafb38d src/sndfile.h.in : Remove crufty Metrowerks compiler support. Allow header file to be compiled on windows with both GCC and microsoft compiler. 2007-08-21 13:23:13 +10:00
Erik de Castro Lopo
2db06064a6 Clean up floating point tests. 2007-08-19 16:46:15 +10:00
Erik de Castro Lopo
946f487f97 src/aiff.c : Fix segfault when COMM chunk length is byte swapped. 2007-08-14 16:56:50 +10:00
Erik de Castro Lopo
6cdaeca644 src/au.c : Fix crash on AU files with zero channel count. 2007-08-09 08:40:28 +10:00
Erik de Castro Lopo
da1214e011 src/voc.c : Fix bug in handling file supplied by Matt Olenik. 2007-08-08 20:28:28 +10:00
Erik de Castro Lopo
35ba123e15 Merge from OGG upstream. 2007-07-31 21:19:54 +10:00
Erik de Castro Lopo
fc93d1e42b Merge from -mdev branch. 2007-07-27 18:48:24 +10:00
Erik de Castro Lopo
11186a0f4f src/FLAC : Merge from upstream CVS. 2007-07-25 21:09:44 +10:00
Erik de Castro Lopo
ea1f70fa87 Rename psf_rand_long -> psf_rand_int32. 2007-07-17 18:06:27 +10:00
Erik de Castro Lopo
e35511f9af src/common.[ch] : Add function psf_rand_long(). 2007-07-15 20:21:45 +10:00
Erik de Castro Lopo
26ffd6e422 src/flac.c : Fix memory leak; set copy parameter to FALSE in call to FLAC__metadata_object_vorbiscomment_append_comment. 2007-07-15 12:20:31 +10:00
Erik de Castro Lopo
a66937e87f Merge from -mdev. 2007-07-14 14:17:21 +10:00
Erik de Castro Lopo
1d25580d94 Minor tweaks. 2007-07-14 14:15:44 +10:00
Erik de Castro Lopo
274bb817e5 Make sure string tests for SF_STR_LICENSE actually works. 2007-07-14 12:38:17 +10:00
Erik de Castro Lopo
3d9e8c2eb5 src/FLAC : Merge from FLAC upstream sources. 2007-07-14 12:30:42 +10:00
Erik de Castro Lopo
3680fe7971 Add string type SF_STR_LICENSE, update test and use for FLAC files. 2007-07-13 22:14:49 +10:00
Erik de Castro Lopo
4c07486dd9 Finalize reading/writing string metadata. Tests pass. 2007-07-13 21:51:19 +10:00
Erik de Castro Lopo
3211a29d2f src/strings.c : Fix logic for testing if audio data has been written and string is added. 2007-07-13 21:21:46 +10:00
Erik de Castro Lopo
01527eace7 tests/string_test.c : Add ability to test strings stored in metadata secion of FLAC files. 2007-07-13 20:14:26 +10:00
Erik de Castro Lopo
89a552500a src/flac.c : Improve reporting of FLAC metadata. 2007-07-12 22:16:35 +10:00
Erik de Castro Lopo
06ddb6f163 Add string type SF_STR_ALBUM, update test and use for FLAC files. 2007-07-12 19:21:24 +10:00
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