Commit Graph

552 Commits

Author SHA1 Message Date
Erik de Castro Lopo
00b257f771 src/ : Rationalize and improve error handling when parsing 'fmt ' chunk of WAV/W64/RF64 files. 2008-10-27 11:15:10 +11:00
Erik de Castro Lopo
9980dea160 src/rf64.c : Add code to prevent infinite loop on malformed file. 2008-10-27 11:00:17 +11:00
Erik de Castro Lopo
6c8026ab54 programs/*.[ch] : Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks. 2008-10-27 06:28:14 +11:00
Erik de Castro Lopo
90dce5560a tests/command_test.c : Add broadcast_coding_history_size test. 2008-10-27 06:16:32 +11:00
Erik de Castro Lopo
1cad9d4b38 src/broadcast.c : Fix generation of added coding history. 2008-10-26 21:35:54 +11:00
Erik de Castro Lopo
ab2e63bd21 src/ : Remove old broadcast extention handling. 2008-10-26 20:47:57 +11:00
Erik de Castro Lopo
62e45b55ae Add error number SFE_BAD_BROADCAST_INFO_SIZE. 2008-10-26 20:25:30 +11:00
Erik de Castro Lopo
5992144307 tests/error_test.c : Fix failure behaviour in error_number_test. 2008-10-26 20:19:25 +11:00
Erik de Castro Lopo
805b986b43 programs/test-sndfile-metadata-set.py : Update for new programs directory, exit on any error. 2008-10-26 18:37:24 +11:00
Erik de Castro Lopo
d905c16adb programs/common.c : Return 1 if SFC_SET_BROADCAST_INFO fails. 2008-10-26 18:02:04 +11:00
Erik de Castro Lopo
f72823c38f programs/sndfile-info.c : Exit with non-zero on error. 2008-10-25 10:28:19 +11:00
Erik de Castro Lopo
50112e2bb7 Move real utility programs from examples/ to new directory programs/ . 2008-10-21 22:49:55 +11:00
Erik de Castro Lopo
6d7eac5e45 Add a new exmaple program (sndfile-to-text.c) and hook it into the build. 2008-10-21 22:26:29 +11:00
Erik de Castro Lopo
1bb50bd170 tests/Makefile.am : Automake 1.10 MinGW cross compiling fixes. 2008-10-20 23:05:09 +11:00
Erik de Castro Lopo
10ca1fd3d1 tests : Fix gcc-4.3 compiler warnings. 2008-10-19 16:06:42 +11:00
Erik de Castro Lopo
797f33196c tests/command_test.c : Fix valgrind test. 2008-10-19 16:01:10 +11:00
Erik de Castro Lopo
0029bfcf37 examples/sndfile-play.c : Remove call to deprecated function snd_pcm_sw_params_get_xfer_align. Fix gcc-4.3 compiler warnings. 2008-10-19 09:55:00 +11:00
Erik de Castro Lopo
06ed18b279 examples/common.c : Fix copying of BROADCAST_INFO coding_history field. 2008-10-17 18:43:53 +11:00
Erik de Castro Lopo
480bb8f195 src/broadcast.c : When copying BROADCAST_INFO chunk, make sure destination gets correct line endings. 2008-10-17 18:41:39 +11:00
Erik de Castro Lopo
7ad80d50e7 src/broadcast.c : Fix termination of desitination string in strncpy_crlf. 2008-10-17 18:39:50 +11:00
Erik de Castro Lopo
019dbf5056 Merge from -mdev branch. 2008-10-14 09:24:33 +11:00
Erik de Castro Lopo
5330b191f7 doc/command.html : Document the SFC_GET/SET_BROADCAST_INFO comamnds. 2008-10-13 22:00:16 +11:00
Erik de Castro Lopo
9857ca7cd4 src/ : Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command() fails due to psf->have_written being true. 2008-10-13 21:28:40 +11:00
Erik de Castro Lopo
8471e1d12f Rename SFE_BAD_CONTROL_CMD to SFE_BAD_COMMAND_PARAM and use it in a few new places. 2008-10-13 21:08:06 +11:00
Erik de Castro Lopo
2b01bc02f1 tests/command_test.c : Add test function instrument_rw_test, but don't hook it into the testing yet. 2008-10-13 20:07:19 +11:00
Erik de Castro Lopo
5b754eba25 tests/command_test.c : Fix false failure. 2008-10-10 06:50:10 +11:00
Erik de Castro Lopo
ca75132a34 tests/command_test.c : Improve error reporting when '\0' is found in coding history. 2008-10-10 06:05:28 +11:00
Erik de Castro Lopo
8af5d534d6 tests/command_test.c : Add test to make sure all line endings are converted to \r\n. 2008-10-09 19:22:53 +11:00
Erik de Castro Lopo
7a472fc850 src/broadcast.c : Convert all line endings to \r\n. 2008-10-09 19:21:33 +11:00
Erik de Castro Lopo
8373e33d9f examples/common.c : Add extra length check when copying broadcast info data. 2008-10-08 21:32:15 +11:00
Erik de Castro Lopo
1dcb1cac19 tests/command_test.c : Update bextch test to cope with previous change. 2008-10-08 21:18:59 +11:00
Erik de Castro Lopo
21330616bc src/broadcast.c : Changed the order of coding history fields. 2008-10-08 21:18:27 +11:00
Erik de Castro Lopo
cc0c221e1d Add new checksum_test specifically for lossy compression of headerless files. 2008-10-05 15:05:26 +11:00
Erik de Castro Lopo
5f99d78bdb tests/utils.tpl tests/pcm_test.tpl : Update check_file_hash_or_die to use 64 bit hash. 2008-10-05 15:02:07 +11:00
Erik de Castro Lopo
2abf5b4dfa src/sndfile.c : Fix detection of mpc2k files on big endian systems. 2008-10-04 21:22:12 +10:00
Erik de Castro Lopo
3f317d2a61 src/gsm610.c : Seek to psf->dataoffset before decoding first block. 2008-10-04 12:56:35 +10:00
Erik de Castro Lopo
93dd2bf73c src/broadcast.c : Use '\r\n' newlines in Coding History as required by spec. 2008-10-03 10:29:36 +10:00
Erik de Castro Lopo
9192294e69 src/test_conversions.c : Use int64_t instead of 'long long'. 2008-10-02 06:11:59 +10:00
Erik de Castro Lopo
5835456f59 examples/test-sndfile-metadata-set.py : Start work on test coding history. 2008-10-01 20:59:30 +10:00
Erik de Castro Lopo
65f0d981e6 examples/sndfile-metadata-(get|set).c : Add usage messages. 2008-10-01 20:57:15 +10:00
Erik de Castro Lopo
e0d92fd712 examples/sndfile-metadata-set.c : Remove --bext-coding-history-append command line option because it didn't really make sense. 2008-10-01 17:19:05 +10:00
Erik de Castro Lopo
08be1a35a6 src/aiff.c : Fix parsing of REX files. 2008-09-30 13:05:07 +10:00
Erik de Castro Lopo
c826ab0d83 Bring files README and doc/win32.html up to date. 2008-09-30 11:33:27 +10:00
Erik de Castro Lopo
4a5db55371 tests/utils.tpl : Fix win64 issues. 2008-09-29 18:32:55 +10:00
Erik de Castro Lopo
7c08018650 tests/win32_ordinal_test.c : Fix calling of GetProcAddress with ordinal under win64. 2008-09-29 18:32:12 +10:00
Erik de Castro Lopo
f6ed5755a1 examples/sndfile-play.c : Fix win64 issues. 2008-09-29 18:01:34 +10:00
Erik de Castro Lopo
0b0c66d5df src/test_* : Fix printing of int64_t values. 2008-09-29 18:00:22 +10:00
Erik de Castro Lopo
548daca9b7 src/file_io.c : Use intptr_t instead of long for return value of _get_osfhandle. 2008-09-29 17:57:43 +10:00
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