Commit Graph

926 Commits

Author SHA1 Message Date
Erik de Castro Lopo
4c91b05ccc src/ : Refactor chunk storage so it work on big as well as little endian CPUs. 2012-03-05 01:08:11 +11:00
Erik de Castro Lopo
548771cd3a tests/write_read_test.tpl : Expand tests to cover ALAC. 2012-03-03 23:17:15 +11:00
Erik de Castro Lopo
d6b77d2db7 programs/sndfile-convert.c : Add support for alac codec. 2012-03-03 23:17:15 +11:00
Erik de Castro Lopo
247865f4e2 Hook new ALAC codec in. 2012-03-03 23:17:15 +11:00
Erik de Castro Lopo
297cb9c3bd src/ALAC/* : Big code dump of code for Apple's ALAC file format. 2012-03-03 23:17:05 +11:00
Erik de Castro Lopo
9c34ca4ba5 Fix a couple of AIFF and WAV regressions from version 1.0.25. 2012-03-02 20:11:07 +11:00
Erik de Castro Lopo
23893dc297 src/strings.c : Minor refactoring. Make sure that the memory allocation
size if always > 0 to avoid undefined behaviour.
2012-03-01 22:08:42 +11:00
Erik de Castro Lopo
34132bf788 src/wav.c : Fix handling of odd sized chunks which was causing the parser to lose some chunks. 2012-02-29 18:50:06 +11:00
Erik de Castro Lopo
d5de98ea02 src/chunk.c : Fix buffer overrun introduced in recently added chunk logging. 2012-02-29 06:41:03 +11:00
Erik de Castro Lopo
20e43d929a tests/header_test.tpl : Printf format fixes. 2012-02-26 11:21:58 +11:00
Erik de Castro Lopo
d22a57b887 tests/utils.tpl : Use gnu_printf format checking with mingw compiler. 2012-02-26 11:21:24 +11:00
Erik de Castro Lopo
0bf397f9f7 tests/floating_point_test.tpl : Add initial test for sf_current_byterate(). 2012-02-25 23:01:21 +11:00
Erik de Castro Lopo
19d01b5fde Add codec specific handlers for byterate. 2012-02-25 22:59:15 +11:00
Erik de Castro Lopo
1db0bad655 Add API function sf_current_byterate(). 2012-02-25 22:56:30 +11:00
Erik de Castro Lopo
f36123919b M4/extra_pkg.m4 : Update PKG_CHECK_MOD_VERSION macro to add an AC_TRY_LINK step. 2012-02-25 15:08:51 +11:00
Erik de Castro Lopo
709a2f2bcf src/dwvw.c : Fix a termnation bug that caused the decoder to go into an infinite loop. 2012-02-24 22:32:25 +11:00
Erik de Castro Lopo
957851a6bf src/common.[ch] : Add function psf_decode_frame_count(). 2012-02-24 22:20:02 +11:00
Erik de Castro Lopo
4bd3a8547e src/wav.c : Fix a regression in the WAV header parser. 2012-02-24 18:19:11 +11:00
Erik de Castro Lopo
cc34f5c3bf src/sndfile.c : Return error when SF_BROADCAST_INFO struct has bad coding_history_size. 2012-02-21 21:27:52 +11:00
Erik de Castro Lopo
f219c658e8 src/ : Don't fake psf->bytewidth values. 2012-02-20 20:53:39 +11:00
Erik de Castro Lopo
2d6a103b97 src/sndfile.c : Add extra validation for custom chunk handling. 2012-02-19 22:41:03 +11:00
Erik de Castro Lopo
3ecaecd9f9 src/ : Make string storage dynamically allocated. 2012-02-19 22:32:32 +11:00
Erik de Castro Lopo
dabdc133d0 tests/string_test.c : Fix valgrind warnings. 2012-02-19 22:23:53 +11:00
Erik de Castro Lopo
911f8103bb tests/chunk_test.c : Extend custom chunk test. 2012-02-18 13:55:38 +11:00
Erik de Castro Lopo
d04e1de82a programs/sndfile-play.c : Remove un-needed OSX include <Carbon.h>. 2012-02-18 13:37:36 +11:00
Erik de Castro Lopo
f4da909c5d tests/utils.tpl : Add GCC specific testing for format string parameters for exit_if_true(). 2012-02-18 11:58:25 +11:00
Erik de Castro Lopo
192fd845bf src/wav.c : Improve handlling unknown chunk types. 2012-02-18 09:34:16 +11:00
Erik de Castro Lopo
3b373d2597 src/wav.c : Jump over some more chunk types while parsing. 2012-02-12 20:32:13 +11:00
Erik de Castro Lopo
f1a8bfafd5 Change way strings are stored in SF_PRIVATE in preparation for
dynamically allocating the storage.
2012-02-04 18:45:12 +11:00
Erik de Castro Lopo
3033376361 Improve encapsulation of string data in SF_PRIVATE. 2012-02-02 21:10:35 +11:00
Erik de Castro Lopo
b5c45de7bc Remove the buffer union from SF_PRIVATE. 2012-02-01 17:47:11 +11:00
Erik de Castro Lopo
7588ad5a55 Put the parselog buffer and the index inside a struct within SF_PRIVATE. 2012-01-31 17:39:04 +11:00
Erik de Castro Lopo
3d46c1f19f Rename logbuffer field of SF_PRIVATE to parselog and reduce its size. 2012-01-31 17:28:16 +11:00
Erik de Castro Lopo
e0671a836c configure.ac : Fix typo, FLAC_CLFAGS -> FLAC_CFLAGS. 2012-01-26 16:21:52 +11:00
Erik de Castro Lopo
f4d1646e5c Fix misleading error message when trying to create an SF_FORMAT_OGG
file with any endian-ness other than SF_ENDIAN_FILE.
2012-01-21 17:46:54 +11:00
Erik de Castro Lopo
2ad57eb9b6 tests/string_test.c : Add tests for extending files in RDWR mode. 2012-01-20 22:46:13 +11:00
Erik de Castro Lopo
4ee03c75e7 Allow files opened in RDWR mode with string data in the tailer to be extended. 2012-01-20 22:46:13 +11:00
Erik de Castro Lopo
eadcab99d4 src/(caf|wav).c : Correct storing of chunk offset. 2012-01-09 22:25:06 +11:00
Erik de Castro Lopo
924a523f12 src/aiff.c : Refactor reading of chunk size and use of psf_store_read_chunk(). 2012-01-09 22:23:03 +11:00
Erik de Castro Lopo
a3218e1aa1 src/sndfile.c : Prevent psf->codec_close() being called more than once. 2012-01-05 18:12:57 +11:00
Erik de Castro Lopo
6f26709560 Test CAF files with custom chunks. 2012-01-05 18:11:15 +11:00
Erik de Castro Lopo
0af17a06f8 src/caf.c : Make custom chunks work for CAF files. 2012-01-05 18:08:52 +11:00
Erik de Castro Lopo
5c66353175 Refactor common code into src/common.h. 2012-01-05 18:08:27 +11:00
Erik de Castro Lopo
6cd40d4776 programs/sndfile-cmp.c : Catch the case where the second file has more frames than the first. 2012-01-04 16:38:19 +11:00
Erik de Castro Lopo
b674397217 src/create_symbols_file.py : Add sf_set_chunk/sf_get_chunk_size/sf_get_chunk_data. 2012-01-02 12:36:24 +11:00
Erik de Castro Lopo
3e48d7f243 src/wav.c : Make custom chunks work on WAV files (includes refactoring). 2011-12-31 23:01:01 +11:00
Erik de Castro Lopo
1ce799c9f3 src/wav.c : Change the way the 'WAVE' chunk is parsed. 2011-12-31 21:35:27 +11:00
Erik de Castro Lopo
f472c9b2c9 Make custom chunks work on AIFF files. 2011-12-31 20:12:51 +11:00
Erik de Castro Lopo
6eb38cdc4b Start working on setting/getting chunks. 2011-12-28 14:13:46 +11:00
Erik de Castro Lopo
6cc206055e src/*.py : Make it work for Python 2 and 3. Thanks Michael. 2011-12-24 08:14:24 +11:00