Commit Graph

1017 Commits

Author SHA1 Message Date
Erik de Castro Lopo
36c6fe71c1 configure.ac : Fail more gracefully if pkg-config is missing. 2011-03-08 07:04:50 +11:00
Erik de Castro Lopo
8bb0495857 src/common.c : Use size_t instead of int for size params with varargs. 2011-02-27 20:44:02 +11:00
Erik de Castro Lopo
4a7af75fdd doc/index.html : Update supported platforms with more Debian platforms and Android. 2011-02-09 20:48:31 +11:00
Erik de Castro Lopo
15b63dfca8 tests/cpp_test.cc : Add test for LPCWSTR version of the SndfileHandle constructor. 2011-01-27 20:51:09 +11:00
Erik de Castro Lopo
c481b6e553 src/sndfile.hh : Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle class definition. 2011-01-27 20:49:30 +11:00
Erik de Castro Lopo
b29ae8abdb programs/sndfile-play.c : Remove cruft. 2011-01-19 21:07:34 +11:00
Erik de Castro Lopo
41c36ef340 tests/cpp_test.cc : Add tests for two new methods. Also supplied by Tim Blechmann. 2010-12-01 19:44:17 +11:00
Erik de Castro Lopo
597b796d60 src/sndfile.hh : Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann. 2010-12-01 19:42:54 +11:00
Erik de Castro Lopo
b90f6fb2b0 doc/api.html : Add mention of use of sf_strerror() when sf_open() fails. 2010-11-11 20:02:14 +11:00
Erik de Castro Lopo
5a25432708 src/sndfile.h.in : Fix comments on sf_count_t. 2010-11-01 21:06:49 +11:00
Erik de Castro Lopo
ba3ca03df2 configure.ac : Make TYPEOF_SF_COUNT_T int64_t where possible. 2010-11-01 21:05:22 +11:00
Erik de Castro Lopo
49ba958dd6 Handle non-zero offset field in SSND chunk. 2010-10-26 09:44:37 +11:00
Erik de Castro Lopo
6816f9b2da configure.ac : Sed fix for FreeBSD. Thanks Tony Theodore. 2010-10-20 21:25:06 +11:00
Erik de Castro Lopo
034c20033d Switch from shave to automake-1.11's AM_SILENT_RULES. 2010-10-14 21:06:10 +11:00
Erik de Castro Lopo
04c6142b7d shave.in M4/shave.m4 : Fix shave invocation of windres compiler. 2010-10-14 21:00:24 +11:00
Erik de Castro Lopo
d833c0761b src/rf64.c : More work to make the parser more robust and accepting of mal-formed files. 2010-10-13 20:09:16 +11:00
Erik de Castro Lopo
f64db79782 shave*.in : Sync to upstream version. 2010-10-13 18:26:09 +11:00
Erik de Castro Lopo
7fa1c57c37 src/rf64.c : Fix size of 'ds64' chunk when writing RF64. 2010-10-12 21:20:33 +11:00
Erik de Castro Lopo
5f5bbb50d4 tests/string_test.c : Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER. 2010-10-12 20:26:34 +11:00
Erik de Castro Lopo
43eba45a81 src/ : Use functions psf_strlcpy() and psf_strlcat() as appropriate. 2010-10-12 19:50:26 +11:00
Erik de Castro Lopo
ca0c4b82a5 src/common.h : Add functions psf_strlcpy() and psf_strlcat(). 2010-10-12 19:47:08 +11:00
Erik de Castro Lopo
565e1c0fe1 programs/*.c : Add the libsndfile version to the usage message of all programs. 2010-10-11 20:33:52 +11:00
Erik de Castro Lopo
08d35de4cd Updates for 1.0.23 release. 2010-10-10 15:31:23 +11:00
Erik de Castro Lopo
c4491c45eb doc/api.html : Update to add missing SF_FORMAT_* values. Closed Debian bug #545257. 2010-10-10 14:13:39 +11:00
Erik de Castro Lopo
84d1393898 Add version string resources to the windows DLL. 2010-10-10 12:43:08 +11:00
Erik de Castro Lopo
08f50fb701 src/ : Use python 2.6. 2010-10-09 23:34:15 +11:00
Erik de Castro Lopo
2fe4f99771 src/rf64.c : Minor tweaks and additional sanity checking. 2010-10-09 16:45:05 +11:00
Erik de Castro Lopo
9286b2c335 tests/pedantic-header-test.sh.in : Handle unusual values of CC environment variable. 2010-10-09 16:44:33 +11:00
Erik de Castro Lopo
c0dc34eb1a src/sndfile.hh : Add a missing 'inline' before a constructor defintion. 2010-10-08 18:43:25 +11:00
Erik de Castro Lopo
c114f21ecf Makefile.am : Add *~ to CLEANFILES. 2010-10-06 22:16:41 +11:00
Erik de Castro Lopo
76d95ca6c3 src/rf64.c : Minor tweaks. 2010-10-06 21:26:55 +11:00
Erik de Castro Lopo
264db5bc6a src/common.h : Add macro NOT. 2010-10-06 19:40:51 +11:00
Erik de Castro Lopo
6c5bc2fe8e src/sndfile.c : Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. 2010-10-05 19:24:29 +11:00
Erik de Castro Lopo
179f745ab3 Add function psf_safe_strncpy() to common.h and use as appropriate. 2010-10-04 22:20:00 +11:00
Erik de Castro Lopo
01605fd4ca src/ : Add ability to read/write tracknumber and genre to flac/ogg/wav files. 2010-10-04 21:55:15 +11:00
Erik de Castro Lopo
98b5b70635 Release 1.0.22. 2010-10-04 11:39:47 +11:00
Erik de Castro Lopo
76bc251810 src/test_broadcast_var.c : Fix OSX stack check error. 2010-10-03 21:51:28 +11:00
Erik de Castro Lopo
229e66bfb0 Tweak SF_BROADCAST_INFO tests. 2010-10-03 20:48:43 +11:00
Erik de Castro Lopo
036980c71a src/ : Rewrite of SF_BROADCAST_INFO handling. 2010-10-03 20:47:27 +11:00
Erik de Castro Lopo
ed5fee79a3 src/sds.c : Set sustain_loop_end to 0 as suggested by Brian Lewis. 2010-09-30 18:04:58 +10:00
Erik de Castro Lopo
9fc3c09c85 tests/write_read_test.tpl : Don't allow SDS files to have a long frame count. 2010-09-29 20:41:03 +10:00
Erik de Castro Lopo
75c3f5873a src/sds.c : Make sure the correct frame count gets written into the header. 2010-09-29 20:37:59 +10:00
Erik de Castro Lopo
1efce8d823 src/sds.c : Fix the packet number location and the checksum. 2010-09-17 19:05:55 +10:00
Erik de Castro Lopo
8deeb575a8 Fix a bunch of minor issues found using static analysis. 2010-09-10 18:33:27 +10:00
Erik de Castro Lopo
71213e1a7e Add file containing tests for broadcast_set_var(). 2010-08-23 22:02:25 +10:00
Erik de Castro Lopo
c76d613445 Add file src/test_strncpy_crlf.c and hook into build/tests. 2010-08-22 20:41:54 +10:00
Erik de Castro Lopo
c67942ea42 Move function strncpy_crlf() to src/common.c so the function can be tested in isolation. 2010-08-22 20:36:37 +10:00
Erik de Castro Lopo
1977dfa133 src/broadcast.c : Add debugging code that is disabled by default. 2010-08-18 20:16:05 +10:00
Erik de Castro Lopo
b7e1eb5b86 src/common.h : Move code around to make comments make sense. 2010-08-18 20:14:09 +10:00
Erik de Castro Lopo
e00521cea3 programs/sndfile-info.c : Print 'unknown' if frame count == SF_COUNT_MAX. 2010-08-02 19:23:03 +10:00
Erik de Castro Lopo
3dcda1f0aa src/flac.c : Handle case when file meta data says file has zero length. 2010-08-02 19:22:08 +10:00
Erik de Castro Lopo
b809328af9 src/file_io.c : Don't call close() on a file descriptor of -1. 2010-06-27 17:23:25 +10:00
Erik de Castro Lopo
ba6b4af0ea Add support for reading and writing stereo SVX files. 2010-06-09 21:27:14 +10:00
Erik de Castro Lopo
087e346c9e src/sndfile.c : Use SF_ASSERT to ensure sizeof (sf_count_t) == 8. 2010-06-09 20:48:12 +10:00
Erik de Castro Lopo
58f9151396 src/common.h : Add macro SF_ASSERT. 2010-06-09 20:47:07 +10:00
Erik de Castro Lopo
70b4f49f85 programs/ : Update metadata after the audio data is copied. Other minor fixes. Patch from Marius Hennecke. 2010-05-07 22:10:58 +10:00
Erik de Castro Lopo
3eb6954930 configure.ac : When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags. 2010-05-07 21:42:14 +10:00
Erik de Castro Lopo
e16eb7a31f doc/api.html : Add comment about sf_open_fd() not working on Windows. 2010-05-04 19:36:21 +10:00
Erik de Castro Lopo
aa7b231ded src/nist.c : Fix a regression reported by Hugh Secker-Walker. 2010-05-04 19:34:52 +10:00
Erik de Castro Lopo
fac9e4a9d7 tests/pedantic-header-test.sh.in : Fix 'make distcheck'. 2010-04-23 21:46:00 +10:00
Erik de Castro Lopo
9bf0d1b0c5 src/sndfile.h.in : Fix -pedantic warning. 2010-04-21 18:21:44 +10:00
Erik de Castro Lopo
66f6e6cae7 Hook pedantic-header-test into test suite. 2010-04-21 18:17:45 +10:00
Erik de Castro Lopo
d1484cf543 tests/pedantic-header-test.sh.in : New file to test whether sndfile.h can be compiled with gcc's -pedantic flag. 2010-04-21 18:13:26 +10:00
Erik de Castro Lopo
8cabcb3522 New file programs/sndfile-salvage.c. 2010-04-20 21:31:00 +10:00
Erik de Castro Lopo
9797423621 programs/sndfile-convert.c : Fix valgrind warning. 2010-04-09 20:17:49 +10:00
Erik de Castro Lopo
6189d83f31 programs/sndfile-cmp.c : When files differ in the PCM data, also print the difference offset. 2010-04-06 09:47:44 +10:00
Erik de Castro Lopo
a419fbba27 src/aiff.c : Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32' instead. 2010-03-19 21:55:49 +11:00
Erik de Castro Lopo
b7f1dde2d6 tests/test_wrapper.sh.in : Add rdwr_test to the test wrapper script. 2010-02-28 14:14:23 +11:00
Erik de Castro Lopo
68d2ffc36a src/sndfile.c : ix minor issues with sf_read/write_raw(). Bug reported by Milan Krapek. 2010-02-28 14:08:50 +11:00
Erik de Castro Lopo
0d4302b0ef tests/rdwr_test.(def|tpl) : Add new test program and hook into build. 2010-02-28 13:52:11 +11:00
Erik de Castro Lopo
08346be458 tests/utils.tpl : Add functions test_read_raw_or_die and test_write_raw_or_die. 2010-02-28 13:23:56 +11:00
Erik de Castro Lopo
820433c565 configure.ac : Clean up configure report. 2010-02-28 09:05:35 +11:00
Erik de Castro Lopo
5371151d5b programs/sndfile-metadata-set : Apply a patch from Robin Gareus allowing the setting of the time reference field of the BEXT chunk. 2010-02-22 18:31:20 +11:00
Erik de Castro Lopo
52d464273f configure.ac : Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS. 2010-02-22 18:26:21 +11:00
Erik de Castro Lopo
a2082ba88c src/ima_adpcm.c : Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding IMA4. 2010-02-06 22:10:01 +11:00
Erik de Castro Lopo
ffc0453edb src/sndfile.hh : Add a constructor which takes an existing file descriptor and then calls sf_open_fd(). 2010-01-26 07:55:02 +11:00
Erik de Castro Lopo
77ec10e93f programs/sndfile-(de)>interleave.c : Improve usage messages. 2010-01-10 12:12:34 +11:00
Erik de Castro Lopo
0a34fc9dca Detect and skip and ID3 header at the start of the file. 2010-01-09 23:37:55 +11:00
Erik de Castro Lopo
f40f44cf1a Add new file src/id3.c and hook into build. 2010-01-09 23:33:26 +11:00
Erik de Castro Lopo
69a416a8a5 programs/sndfile-play : Apply patch from Christian Weisgerber and Jacob Meuserto to add support for OpenBSD's sndio. 2010-01-07 21:01:35 +11:00
Erik de Castro Lopo
47ec52127b man/Makefile.am : Change GNU makeism to something more widely supported. 2010-01-07 20:46:51 +11:00
Erik de Castro Lopo
793bc6b49b programs/common.c : Fix update_strings() copyright, comment, album and license are correctly written. 2010-01-07 20:41:47 +11:00
Erik de Castro Lopo
07611d9755 doc/api.html : Discourage the use of sf_read/write_raw(). 2010-01-05 17:54:25 +11:00
Erik de Castro Lopo
66e72fb912 Disable pipe_test if pipe() and waitpid() aren't available. 2009-12-28 08:23:47 +11:00
Erik de Castro Lopo
694fd0d8a9 configure.ac : Test for Unix pipe() and waitpid() functions. 2009-12-28 08:22:54 +11:00
Erik de Castro Lopo
bea70be941 Update shave files from upstream. 2009-12-16 19:42:48 +11:00
Erik de Castro Lopo
aa7e84cc91 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
and use the same symbols file for other systems which use GNU binutils like
Debian's kfreebsd.
2009-12-16 05:59:49 +11:00
Erik de Castro Lopo
afad218df1 New man page man/sndfile-interleave.1. 2009-12-15 22:33:51 +11:00
Erik de Castro Lopo
d0db2fba92 man/sndfile-metadata-get.1 : Fix typo. 2009-12-15 22:33:02 +11:00
Erik de Castro Lopo
9886506d50 Doc updates from 1.0.21. 2009-12-13 18:03:28 +11:00
Erik de Castro Lopo
b21d5f79b4 src/ogg.c : When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if its too hot. 2009-12-13 17:42:23 +11:00
Erik de Castro Lopo
ea62c5083d Merge from -dev. 2009-12-11 05:48:36 +11:00
Erik de Castro Lopo
458044ef4c Hook sndfile-concat into build system. 2009-12-10 21:10:42 +11:00
Erik de Castro Lopo
c8ca7356e1 Add new program sndfile-concat with man page. 2009-12-10 21:09:52 +11:00
Erik de Castro Lopo
0c653f355b configure.ac : Remove detection of JACK Audio Connect Kit. 2009-12-09 21:56:27 +11:00
Erik de Castro Lopo
ac31fc4fe6 Remove build rules for sndfile-jackplay. 2009-12-09 21:49:46 +11:00
Erik de Castro Lopo
f0954b4fec Remove sndfile-jackplay which has been moved to the sndfile-tools package. 2009-12-09 21:43:11 +11:00
Erik de Castro Lopo
ea3e2a2bc9 tests/error_test.c : Don't terminate when sf_close() returns zero in error_close_test(). 2009-12-08 21:29:42 +11:00
Erik de Castro Lopo
b7753ee584 programs/sndfile-interleave.c : Make it actually work. 2009-12-03 18:25:35 +11:00
Erik de Castro Lopo
05ed996d42 Rename all custom macros from AC_* to MN_*. 2009-12-03 18:10:58 +11:00
Erik de Castro Lopo
ab9966e4ef Add new programs sndfile-interleave and sndfile-deinterleave. 2009-12-02 22:15:42 +11:00
Erik de Castro Lopo
218024ef7d Move some code from sndfile-convert.c to programs/common.[ch] for reuse. 2009-12-02 20:26:06 +11:00
Erik de Castro Lopo
0ef3815731 doc/*.html : Corrections and clarifications courtesy of Robin Forder. 2009-12-02 20:23:51 +11:00
Erik de Castro Lopo
3083d46d8b tests/win32_test.c : Add a new test. 2009-12-01 19:06:02 +11:00
Erik de Castro Lopo
1aabb273d0 src/sf_unistd.h : Set all group and other file create permssions to zero. 2009-12-01 18:16:42 +11:00
Erik de Castro Lopo
a5438d79ac tests/multi_file_test.c : Fix file creation flags on windows. Thanks to Bruce Sharpe. 2009-12-01 18:08:29 +11:00
Erik de Castro Lopo
1a66b22ca0 Minor OS/2 tweaks as suggested by David Yeo. 2009-12-01 07:21:36 +11:00
Erik de Castro Lopo
fbc33ec9fc doc/index.html : Minor corrections. 2009-11-30 19:18:44 +11:00
Erik de Castro Lopo
c74d619a8c doc/ : Add a print stylesheet and update all HTML documents to reference it. 2009-11-30 19:00:42 +11:00
Erik de Castro Lopo
a4bc53cf1a sndfile.pc.in : Add a Libs.private entry to assist with static linking. 2009-11-29 10:40:13 +11:00
Erik de Castro Lopo
a17e8ebece Add src/make-static-lib-hidden-privates.sh, a script to hide all non-public symbols in the libsndfile.a static library. 2009-11-28 17:13:27 +11:00
Erik de Castro Lopo
29740441d1 tests/locale_test.c : Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES. 2009-11-22 07:10:35 +11:00
Erik de Castro Lopo
110e904b6c src/windows.c : Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES. 2009-11-20 07:41:04 +11:00
Erik de Castro Lopo
40d5267f43 tests/virtual_io_test.c : Add a PAF/PCM_24 test and verify the file length is not negative immediately after openning the file for write. 2009-11-16 20:04:26 +11:00
Erik de Castro Lopo
f8f8033d9e src/sndfile.h.in : Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety. 2009-11-16 20:01:57 +11:00
Erik de Castro Lopo
1f20d00fdd programs/sndfile-convert.c : Allow the program to read from stdin by specifying - on the command line as the input file. 2009-11-16 19:36:43 +11:00
Erik de Castro Lopo
197273486c Merge from -dev branch. 2009-10-18 21:16:32 +11:00
Erik de Castro Lopo
10bd968638 src/wav.c : When writing loop lengths, adjust the end position by one to make up for Microsoft's screwed up spec. 2009-10-18 19:49:41 +11:00
Erik de Castro Lopo
f909407d40 src/flac.c : Apply patch from Uli Franke allowing FLAC files to be encoded at any sample rate. 2009-10-14 07:42:19 +11:00
Erik de Castro Lopo
c08a55aa04 configure.ac : Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the libsndfile test suite to fail on MIPS, PowerPC and others. 2009-10-09 20:19:40 +11:00
Erik de Castro Lopo
e30d581879 src/nist.c : Fix parsing of odd ulaw encoded file provided by Jan Silovsky. 2009-10-09 18:17:27 +11:00
Erik de Castro Lopo
7167f6d808 man/ : Add three new minimal manpages and hook into build. 2009-10-06 22:28:18 +11:00
Erik de Castro Lopo
d800081528 man/sndfile-convert.1 : Fix warning from Debian's lintian checks. 2009-10-06 22:17:14 +11:00
Erik de Castro Lopo
cbe9da2c7b tests/test_wrapper.sh.in : Don't run cpp_test on x86_64-w64-mingw32. 2009-10-05 12:14:15 +11:00
Erik de Castro Lopo
c2f83b35d0 src/create_symbols_file.py : Add Symbols.static target, a list of symbols, one per line. 2009-09-28 22:02:17 +10:00
Erik de Castro Lopo
bdf6d7660a doc/FAQ.html : I'm cross compiling libsndfile for another platform. How can I run the test suite? 2009-09-28 19:07:35 +10:00
Erik de Castro Lopo
ac034c9bdd src/sndfile.hh : Add an SndfileHandle constructor for windows that takes a 'const wchar_t *' string. 2009-09-28 18:48:46 +10:00
Erik de Castro Lopo
997740916f tests/utils.tpl : On windows, make sure the open() function doesn't get called with a third parameter of 0 which fails for no good reason. 2009-09-28 18:46:34 +10:00
Erik de Castro Lopo
2e4c8c26a0 build-test-tarball.mk.in : Add a Make script to build a tarball of all the test binaries and the test wrapper script. 2009-09-27 13:32:41 +10:00
Erik de Castro Lopo
6a6d088305 Update to allow all tests to be gathered up into a testsuite tarball and then be run using this script. 2009-09-27 11:50:12 +10:00
Erik de Castro Lopo
b206605beb tests/locale_test.c : Add a wchar_test() to test sf_wchar_open(). 2009-09-26 22:24:01 +10:00
Erik de Castro Lopo
7d7a82ad73 src/create_symbols_file.py : Add sf_wchar_open() to the list of public symbols (windows only). 2009-09-26 22:23:53 +10:00
Erik de Castro Lopo
fe315e1cdf src/ : Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings for the file path, directory and name. Fixes for this change throughout. 2009-09-26 22:05:14 +10:00
Erik de Castro Lopo
fe1ca56ecd src/* : Split file stuff into PSF_FILE struct within the SF_PRIVATE struct. 2009-09-25 21:32:15 +10:00
Erik de Castro Lopo
43f72b12cc tests/locale_test.c : Update to work with xx_XX.UTF-8 style locales. Refactoring. 2009-09-23 20:02:35 +10:00
Erik de Castro Lopo
6de7b58ab1 src/ : Include sfconfig.h to prevent compile errors with MinGW compilers. 2009-09-23 17:56:39 +10:00
Erik de Castro Lopo
699da84288 When a byte is needed, use unsigned char. 2009-09-23 17:53:30 +10:00
Erik de Castro Lopo
ea530ead24 configure.ac : Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers. Remove unneeded AC_SUBST. Report Host CPU/OS/vendor. 2009-09-22 17:43:06 +10:00
Erik de Castro Lopo
1b8ceb41f1 src/ima_adpcm.c : Fix minor bug in aiff_ima_encode_block. 2009-09-19 20:52:12 +10:00
Erik de Castro Lopo
37a36e7746 Remove WIN32 snprintf #define. 2009-09-19 20:30:58 +10:00
Erik de Castro Lopo
1531586a8e src/ogg.c : Fix compiler warning when using gcc-4.5.0. 2009-09-19 08:22:57 +10:00
Erik de Castro Lopo
7b91101aa1 src/flac.c : Add 88200 to the list of supported sample rates. 2009-09-19 07:58:20 +10:00
Erik de Castro Lopo
1d37e38cae src/sndfile.c : Fix error message string. 2009-09-19 07:52:41 +10:00
Erik de Castro Lopo
97ca21cd46 Run peak_chunk_test on CAF files. 2009-09-16 20:14:54 +10:00
Erik de Castro Lopo
7c2b899483 Fix reading and writing of PEAK chunks in CAF files. 2009-09-16 20:13:01 +10:00
Erik de Castro Lopo
b352c823ee M4/endian.m4 : Fix detection of CPU endian-ness when cross compiling. 2009-09-16 18:06:51 +10:00
Erik de Castro Lopo
d93cfa8c5f src/caf.c : Use the correct C99 format specifier for int64_t. 2009-09-16 18:01:18 +10:00
Erik de Castro Lopo
5de5efd075 src/(aiff|wav).c : Use the correct C99 format specifier for int64_t. 2009-09-15 22:05:20 +10:00
Erik de Castro Lopo
3fdcfaac9e tests/command_test.c : Add a test for BEXT in RF64. 2009-08-30 12:14:50 +10:00
Erik de Castro Lopo
dfbba12575 src/ : Apply a patch (massaged slightly) from Uli Franke adding handling of the BEXT chunk in RF64 files. 2009-08-30 12:13:57 +10:00
Erik de Castro Lopo
5d1f600f83 src/(aiff|common|rf64|sd2|strings|svx|wav).c : Use psf_isprint() instead of isprint(). 2009-07-29 11:32:33 +10:00
Erik de Castro Lopo
03282a0c10 src/common.h : Add function psf_isprint() a replacement for the standard C isprint() function which ignores any locale settings and treats all input as ASCII. 2009-07-29 11:26:35 +10:00
Erik de Castro Lopo
e981a3a010 src/command.c : Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K. 2009-07-13 19:05:37 +10:00
Erik de Castro Lopo
34a55a5df0 programs/sndfile-play.c : Allow use of Open Sound System audio output under FreeBSD. 2009-06-30 22:25:25 +10:00
Erik de Castro Lopo
d8fad4e3b2 src/wav_w64.c : Decode channel map field of WAVEX into a string. 2009-06-30 22:02:42 +10:00
Erik de Castro Lopo
1aa663f9ed configure.ac : Add patch from Conrad Parker to add --disable-jack. 2009-06-24 18:53:01 +10:00
Erik de Castro Lopo
cb3c87aa3b Fix bugs where invalid files can cause a divide by zero exception (SIGFPE). Thanks to Sami Liedes for reporting this a Debian bug #530831. 2009-05-28 20:25:46 +10:00
Erik de Castro Lopo
e0607620f0 Update channel map tests. 2009-05-27 20:49:54 +10:00
Erik de Castro Lopo
f314188a80 src/caf.c : Add handling of reading/writing channel map info. 2009-05-27 20:47:57 +10:00
Erik de Castro Lopo
ce864f46ca src/sndfile.h.in : Add SF_CHANNEL_MAP_ABISONIC_* entries. 2009-05-27 19:51:14 +10:00
Erik de Castro Lopo
1fc6bb8e0f src/aiff.c : Add handling of reading/writing channel map info. 2009-05-27 19:49:03 +10:00
Erik de Castro Lopo
c9cdf70e98 src/wav_w64.c : Use SF_CHANNL_MAP_LEFT/RIGHT/CENTER instead of SF_CHANNL_MAP_FRONT_LEFT/RIGHT/CENTER. 2009-05-27 19:47:50 +10:00
Erik de Castro Lopo
cdac4c02ed src/sndfile.c : Disallow setting of channel map after audio data has been written. Only call psf->command if it is non-NULL. 2009-05-27 19:45:50 +10:00
Erik de Castro Lopo
a35a8cc653 New files src/chanmap.[ch] for channel map decoding/encoding. Hoot into build. 2009-05-26 23:39:57 +10:00
Erik de Castro Lopo
313be08430 Fix MSVC definition of sf_count_t. 2009-05-25 18:05:45 +10:00
Erik de Castro Lopo
2c3e234775 src/sndfile.h.in : Add comments showing correspondance between libsndfile channel map defintiions and those used by Apple and MS. 2009-05-24 15:26:05 +10:00
Erik de Castro Lopo
e6348ff7a2 src/rf64.c : Add channel mapping and ambisonic support. 2009-05-24 08:53:00 +10:00
Erik de Castro Lopo
9642444462 tests/command_test.c : Update channel_map_test() function so WAV test passes. 2009-05-24 08:33:20 +10:00
Erik de Castro Lopo
ef85699437 src/wav.c : Add ability to write the channel mask. 2009-05-24 08:31:30 +10:00
Erik de Castro Lopo
1d9e276d8e src/wav_w64.[ch] : Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files. 2009-05-24 08:29:25 +10:00
Erik de Castro Lopo
c2fe6e450a src/sndfile.c : On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's command handler. 2009-05-23 21:33:52 +10:00
Erik de Castro Lopo
f364b816bc Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more. 2009-05-23 19:21:07 +10:00
Erik de Castro Lopo
2d3c08d1b8 src/wav_w64.c : Don't bail from parser if channel map bitmask is faulty. 2009-05-23 19:19:58 +10:00
Erik de Castro Lopo
fd6b01a1df programs/sndfile-info.c : Add -c command line option to dump the channel map information. 2009-05-23 18:21:00 +10:00
Erik de Castro Lopo
b658808d18 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of channel data in WAV and W64 files. 2009-05-22 19:46:17 +10:00
Erik de Castro Lopo
f013b5a66b doc/FAQ.html : Update the section about precompiled binaries for Win64. 2009-05-20 05:09:40 +10:00
Erik de Castro Lopo
5eefd9e6ef Updates for version 1.0.20. 2009-05-14 20:20:01 +10:00
Erik de Castro Lopo
bf0715758c Be more careful when including <stdint.h> so compiling on pre-C99 platforms (hello Slowlaris) might actually work. 2009-05-14 19:14:50 +10:00
Erik de Castro Lopo
6d47e69ca8 src/aiff.c : Fix potential (heap) buffer overflow when parsing 'MARK' chunk. 2009-04-21 19:43:00 +10:00
Erik de Castro Lopo
a3956b9cc0 src/voc.c : Fix potential heap overflow. Thanks to Tobias Klein (http://www.trapkit.de). 2009-04-21 17:38:20 +10:00
Erik de Castro Lopo
2d97dfabee src/sndfile.c : Clear error if opening resource fork fails. 2009-04-12 21:39:54 +10:00
Erik de Castro Lopo
5b2779996c tests/utils.tpl : Add check of sf_error to test_open_file_or_die(). 2009-04-12 21:38:59 +10:00
Erik de Castro Lopo
233d578a1f src/file_io.c : Fix obscure seeking bug reported by Hugh Secker-Walker. 2009-04-12 20:31:20 +10:00
Erik de Castro Lopo
9380ad3f9e tests/stdin_test.c : Check psf->error after opening file. 2009-04-12 15:28:39 +10:00
Erik de Castro Lopo
b99995bef5 tests/ : Cleanup output. 2009-04-11 11:30:42 +10:00
Erik de Castro Lopo
968ca73052 src/float32.c : Fix f2s_clip_array. 2009-03-25 18:22:03 +11:00
Erik de Castro Lopo
12a46a4785 Bunch of minor fixes. 2009-03-24 19:58:48 +11:00
Erik de Castro Lopo
af353e81d0 src/ima_adpcm.c : Remove dead code. 2009-03-24 19:55:10 +11:00
Erik de Castro Lopo
5067a0f5b9 src/float32.c : In host_read_f2s call convert instead of f2s_array. 2009-03-24 19:54:11 +11:00
Erik de Castro Lopo
e635ae7429 Shave files : Pulled update from upstream. 2009-03-23 22:01:35 +11:00
Erik de Castro Lopo
18397bd17c doc/api.html : Add pointers to example programs in source code tarball. 2009-03-19 20:36:54 +11:00
Erik de Castro Lopo
d750073b26 Merge in Shave stuff. 2009-03-17 14:28:17 +11:00
Erik de Castro Lopo
cf4859c221 tests/sfversion.c : Test function sf_version_string. 2009-03-17 14:11:18 +11:00
Erik de Castro Lopo
ee663d829f Add public function sf_version_string. 2009-03-17 14:10:32 +11:00
Erik de Castro Lopo
bb4018ab7f configure.ac : Add documentation for --disable-external-libs and improve error handling for that option. 2009-03-17 14:09:31 +11:00
Erik de Castro Lopo
aad0c4bf0d src/common.h : Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type. 2009-03-17 14:08:45 +11:00
Erik de Castro Lopo
c9d5d5cab1 src/sndfile.h.in : Check for either _MSCVER or _MSC_VER being defined. 2009-03-15 08:24:45 +11:00
Erik de Castro Lopo
8707b0f610 Add SF_MAX_CHANNELS (set to 256) and use it. 2009-03-15 08:16:17 +11:00
Erik de Castro Lopo
85c6b26122 tests/vorbis_test.c : Relax test slighly to allow test to pass on more CPUs etc. 2009-03-04 11:44:42 +11:00
Erik de Castro Lopo
1a9dd0819b configure.ac : Detect vorbis_version_string() correctly. 2009-03-03 09:40:15 +11:00
Erik de Castro Lopo
20d7483c50 configure.ac : Fix --enable-external-libs logic. 2009-03-03 03:49:45 +11:00
Erik de Castro Lopo
5566104c77 doc/index.html : Add a 'See Also' section with a link to sndfile-tools. 2009-03-02 19:55:29 +11:00
Erik de Castro Lopo
46b25d069e src/create_symbols_file.py : Add function sf_version_string. 2009-03-02 10:41:13 +11:00
Erik de Castro Lopo
48f150049d NEWS README doc/*.html : Updates for 1.0.19 release. 2009-03-02 09:10:55 +11:00
Erik de Castro Lopo
9b3d22d4fe src/ogg.c : Only call vorbis_version_string() from libvorbis if present. 2009-03-01 22:20:35 +11:00
Erik de Castro Lopo
56eea7e1e4 tests/win32_test.c : Fix resource leak. 2009-03-01 20:47:32 +11:00
Erik de Castro Lopo
5af90caee6 src/(sndfile|svx).c : Check return values of file_io functions. 2009-03-01 20:44:18 +11:00
Erik de Castro Lopo
75d92caa79 src/(aiff|rf64|wav).c : Eliminate dead code, more validation of data read from file. 2009-02-24 20:22:51 +11:00
Erik de Castro Lopo
c86546efd9 tests/win32_test.c : Don't use sprintf, even on windows. 2009-02-24 11:04:46 +11:00
Erik de Castro Lopo
6c214803ab src/test_file_io.c : Use snprintf instead of strncpy in test program. 2009-02-23 02:59:57 +11:00
Erik de Castro Lopo
081903f510 regtest/*.c : Bunch of fixes. 2009-02-22 19:58:45 +11:00
Erik de Castro Lopo
590f2ad788 src/ima_adpcm.c : Fix encoding bug introduced by bzr change 1265. 2009-02-22 18:06:10 +11:00
Erik de Castro Lopo
243ebd84f5 src/(wav|w64).c : Handle error return values from psf_ftell. 2009-02-22 17:20:34 +11:00
Erik de Castro Lopo
f3d0a6e5ce src/wav_w64.c : Fix handling and error checking of MSADPCM coefficient arrays. 2009-02-22 17:18:30 +11:00
Erik de Castro Lopo
cea25d4c24 src/xi.c : Handle error return values from psf_ftell. 2009-02-22 17:11:05 +11:00
Erik de Castro Lopo
ab281c00da Ifdef out dead code that will be resurected some time in the future. 2009-02-22 17:08:41 +11:00
Erik de Castro Lopo
d094000da2 src/sndfile.c : Remove un-needed test (always true). 2009-02-22 17:04:26 +11:00
Erik de Castro Lopo
7d59a41550 src/sd2.c : Improve handling of heap allocated buffer. 2009-02-22 17:03:09 +11:00
Erik de Castro Lopo
2c30efe7f9 src/aiff.c : Remove un-needed test (unsigned > 0). 2009-02-22 17:01:37 +11:00
Erik de Castro Lopo
c924272b52 src/aiff.c : Fix potential memory leak in handling of 'MARK' chunk. 2009-02-22 16:57:16 +11:00
Erik de Castro Lopo
7af1f475ce tests/win32_test.c : Add missing close on file descriptor. 2009-02-22 16:53:48 +11:00
Erik de Castro Lopo
93f64ea54a src/test_ima_oki_adpcm.c : Fix read beyond end of array. 2009-02-22 13:19:21 +11:00
Erik de Castro Lopo
d3f52ad480 tests/test_wrapper.sh.in : Add 'set -e' so the script exits on error. 2009-02-22 13:08:37 +11:00
Erik de Castro Lopo
c436f3343b src/audio_detect.c : Don't include un-needed headers. 2009-02-22 13:08:01 +11:00
Erik de Castro Lopo
a608fc7be1 programs/*.c : Don't include un-needed headers. 2009-02-22 12:42:32 +11:00
Erik de Castro Lopo
12180c5bb3 tests/*.c : Don't include un-needed headers. 2009-02-22 12:39:48 +11:00
Erik de Castro Lopo
2616474ada src/GSM610/*.c : Don't include un-needed headers. 2009-02-22 12:34:15 +11:00
Erik de Castro Lopo
c19e35e3e5 src/ima_adpcm.c : Clamp values to a valid range before indexing ima_step_size array. 2009-02-22 12:32:33 +11:00
Erik de Castro Lopo
1f2a819edf src/caf.c : Validate channels per frame value before using. 2009-02-22 09:02:13 +11:00
Erik de Castro Lopo
e840299f8b src/sd2.c : Validate data before using. 2009-02-21 17:55:51 +11:00
Erik de Castro Lopo
4e6d450dc3 Octave/octave_test.sh : Unset TERM environment variable and export LD_LIBRARY_PATH. 2009-02-20 18:35:16 +11:00
Erik de Castro Lopo
fd9e41146a src/file_io.c : In windows code, cast LPVOID to 'char*' in printf. 2009-02-16 10:40:22 +11:00
Erik de Castro Lopo
6ab21f7671 src/wav.c : Handle four zero bytes as a marker within a LIST or INFO chunk. Thanks to Rogrio Brito for supplying an example file. 2009-02-15 19:31:07 +11:00
Erik de Castro Lopo
b038515b4e M4/octave.m4 : Clear the TERM environment before evaluating anything in Octave. 2009-02-15 09:34:21 +11:00
Erik de Castro Lopo
033cc5ca35 Use C99 snprintf everywhere. 2009-02-14 08:32:12 +11:00
Erik de Castro Lopo
23d8864739 tests/Makefile.am : Replace all tests with a single invocation of the test wrapper script. 2009-02-11 09:31:54 +11:00
Erik de Castro Lopo
857b712e78 M4 : Clean up AC_WITH_ARG usage using AC_HELP_STRING. 2009-02-09 10:35:52 +11:00
Erik de Castro Lopo
9340cede97 M4/endian.m4 : Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash. 2009-02-09 08:47:14 +11:00
Erik de Castro Lopo
11c420b547 configure.ac : Require libvorbis >= 1.2.2. 2009-02-09 06:46:12 +11:00
Erik de Castro Lopo
31d1ca524d src/ogg.c : Record vorbis library version string. 2009-02-09 06:45:16 +11:00
Erik de Castro Lopo
936746b052 M4/octave.m4 : Improve logic and status reporting. 2009-02-08 07:37:30 +11:00
Erik de Castro Lopo
3e6e4c8f2b Octave/Makefile.am : Use $(top_buildir) instead of $(builddir) which may not be defined. 2009-02-08 07:22:34 +11:00
Erik de Castro Lopo
c383584370 Final tweaks for 1.0.18 release. 2009-02-07 14:00:36 +11:00
Erik de Castro Lopo
134cd50cae programs/sndfile-info.c : Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command. Increase size of files for which signal max will be calculated. 2009-02-03 10:52:13 +11:00
Erik de Castro Lopo
0f49287a58 programs/sndfile-convert.c : Add 'htk' to the list of convert formats. 2009-02-03 10:49:37 +11:00
Erik de Castro Lopo
573a3bc9b2 doc/index.html : Fix links for SoX and WavPlay. Thanks to Daniel Griscom. 2009-01-14 07:11:03 +11:00
Erik de Castro Lopo
6f4a0343d5 programs/sndfile-metadata-set.c : Error out if trying to update coding history in RDWR mode. 2009-01-11 17:53:03 +11:00
Erik de Castro Lopo
e55a3c9b5e programs/sndfile-metadata-set.c : Clean up temp string array usage. 2009-01-11 17:26:44 +11:00
Erik de Castro Lopo
6a56938525 programs/sndfile-metadata-get.c : Make valgrind clean. 2009-01-11 16:42:28 +11:00
Erik de Castro Lopo
c09f0b3b60 doc/index.html : Fix links to versions of the LGPL. 2009-01-10 17:10:55 +11:00