Commit Graph

1657 Commits

Author SHA1 Message Date
Erik de Castro Lopo
d75eb7b5c9 src/sndfile.h.in : Add windows only defintion for sf_wchar_open(). 2009-09-26 22:10:46 +10:00
Erik de Castro Lopo
8f31d4d292 src/windows.c : New file defining new windows only public function sf_wchar_open() which takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter. 2009-09-26 22:09:59 +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
e26ad841e3 configure.ac : Detect sizeof of wchar_t. 2009-09-25 22:00:00 +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
8d505f0d5b tests/locale_test.c : Unlink file before changing back to old locale. 2009-09-25 21:14:46 +10:00
Erik de Castro Lopo
b3982d8ccb src/sndfile.h.in : Fix comment sf_open_write -> sf_open. 2009-09-23 21:35:51 +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
a58573c912 configure.ac : Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64. 2009-09-23 18:02:41 +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
b3df2608e4 src/test_file_io.c : Remove type casts and use C99 snprintf features. 2009-09-16 18:36:25 +10:00
Erik de Castro Lopo
661fa46a30 tests/win32_ordinal_test.c : Look for stuff in current directory as well. 2009-09-16 18:30:24 +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
f07916361d tests/test_wrapper.sh.in : Simplify tests. 2009-09-15 21:37:14 +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
1f302b8d7e src/common.h : Fix typo. 2009-07-29 12:06:56 +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
adda2b0117 programs/sndfile-convert.c : Tweaks. 2009-07-29 11:07:04 +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
1aa663f9ed configure.ac : Add patch from Conrad Parker to add --disable-jack. 2009-06-24 18:53:01 +10:00
Conrad Parker
031b579ccf add configure flag to disable JACK 2009-06-24 00:03:28 +09:00
Erik de Castro Lopo
f2c73b170d autogen.sh : Check for existance of GNU autogen as well. 2009-06-23 14:32:20 +10:00
Erik de Castro Lopo
b372a79ad9 Normalize changes in last commit. 2009-05-29 09:17:38 +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
313be08430 Fix MSVC definition of sf_count_t. 2009-05-25 18:05:45 +10:00
Erik de Castro Lopo
348d345592 Fix definition of sf_count_t for Win32. 2009-05-22 18:15:30 +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
311b6beac3 configure.ac : Bump version to 1.0.21.pre1. 2009-05-18 08:28:07 +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
5c18d65c37 configure.ac : Bump version to 1.0.20. 2009-05-14 19:49:37 +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
c2d9a4d86a autogen.sh : Create Cfg directory if it doesn't exist. 2009-04-13 19:43:03 +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