Erik de Castro Lopo
a7d411f19b
tests/write_read_test.tpl : Fix reporting of errors in new_rdwr_XXXX_test.
2008-01-21 09:02:11 +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
6e79c6c588
tests/command_test.c : More SFC_RAW_DATA_NEEDS_ENDSWAP tests.
2008-01-20 20:10:44 +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
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
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
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
19f5d65794
tests/utils.(def|tpl) : Add compare_XXX_or_die functions.
2007-12-14 20:41:33 +11:00
Erik de Castro Lopo
93878894aa
tests/Makefile.am : Fix dependancies.
2007-12-14 05:01:39 +11:00
Erik de Castro Lopo
c577c45baf
tests/ogg_test.c : Small mods to ogg_seek_test.
2007-12-14 04:40:16 +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
7dd52c0db8
tests/utils.tpl : Include <stdint.h>.
2007-12-08 09:28:59 +11:00
Erik de Castro Lopo
f1b4ef2174
Merge from -mdev.
2007-11-17 21:09:28 +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
0e12f629df
tests/lossy_comp_test.c : Remove more stupid casts.
2007-11-17 16:37:55 +11:00
Erik de Castro Lopo
4a59f446bb
tests/lossy_comp_test.c : Fix test which did seek from end to 5 samples from start and then compared results. Problem was that test didn't use channel count.
2007-11-17 16:36:53 +11:00
Erik de Castro Lopo
a3ac5a2f87
tests/lossy_comp_test.c : More debug output improvements.
2007-11-17 16:08:39 +11:00
Erik de Castro Lopo
397c4513e0
tests/lossy_comp_test.c : Remove stupid and blatantly wrong casts.
2007-11-17 15:54:51 +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
e81a508411
tests/lossy_comp_test.c : Add raw_read_test to check that raw reads do not go past the end of the audio data section.
2007-11-17 14:25:39 +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
bef4583376
tests/command_test.c : Tweaks to version test.
2007-11-17 09:51:15 +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
7fa264bbeb
tests/floating_point_test.tpl : Fix signed/unsigned comparison warning.
2007-11-04 23:27:38 +11:00
Erik de Castro Lopo
a68879b66f
Change SFC_SET_ENCODING_QUALITY to SFC_SET_VBR_ENCODING_QUALITY.
2007-11-04 15:39:12 +11:00
Erik de Castro Lopo
d813b2e344
tests/vorbis_test.c : Add trivial test of SFC_SET_ENCODING_QUALITY functionality.
2007-11-03 21:48:56 +11:00
Erik de Castro Lopo
e971368bd7
Add function file_length to utils.tpl and use it in multi_file_test.c.
2007-11-03 21:46:57 +11:00
Erik de Castro Lopo
473d8078d2
Merge from -mdev branch.
2007-11-03 17:49:53 +11:00
Erik de Castro Lopo
43a69d5143
tests/floating_point_test.tpl : Fix signed/unsigned comparison warning.
2007-11-03 16:07:17 +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
f3249016df
tests/utils.tpl : Increase the printing width for print_test_name().
2007-11-03 11:57:42 +11:00
Erik de Castro Lopo
966c9cfbcb
Merge from -mdev branch.
2007-10-28 22:10:39 +11: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
d7c919f121
Fix gcc-4.2 warning messages.
2007-10-22 23:02:11 +10:00
Erik de Castro Lopo
8c9d0101f1
tests/scale_clip_test.(def|tpl) : Add tests for SFC_SET_INT_FLOAT_WRITE command.
2007-10-22 19:48:17 +10:00
Erik de Castro Lopo
7c28ca3b10
tests/scale_clip_test.tpl : Start work on SFC_SET_SCALE_INT_FLOAT_WRITE tests.
2007-10-22 19:07:51 +10:00
Erik de Castro Lopo
d1a2a5bf83
tests/scale_clip_test.tpl : Rename some test functions.
2007-10-22 18:47:05 +10:00
Erik de Castro Lopo
eda374c4c0
Merge from -mdev branch.
2007-10-21 20:28:27 +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
0a2a698771
Merge from -mdev branch.
2007-10-16 21:54:39 +10:00
Erik de Castro Lopo
0131ec9394
Add two benchmark results for current version.
2007-09-12 21:51:44 +10:00
Erik de Castro Lopo
3f792033d5
Remove workarounds for vorbis x86-64 bug.
2007-09-01 18:21:44 +10:00
Erik de Castro Lopo
fac1cb5e08
tests/dft_cmp.c : Fix signed/unsigned compare warning.
2007-08-23 21:14:09 +10:00
Erik de Castro Lopo
dbf67a9d9c
More vorbis bug workarounds in the test suite.
2007-08-22 21:30:58 +10:00
Erik de Castro Lopo
add9190907
tests/floating_point_test.tpl : Add workaround to make vorbis test work.
2007-08-22 21:21:38 +10:00
Erik de Castro Lopo
be7b5ce41e
tests/vorbis_test.c : Change name of test generated file.
2007-08-21 20:24:14 +10:00
Erik de Castro Lopo
7a2f9d2785
tests/vorbis_test.c : More parameter tweaks.
2007-08-21 19:52:05 +10:00
Erik de Castro Lopo
6e4137e939
tests/vorbis_test.c : Tweak params to trigger vorbis bug.
2007-08-21 19:50:43 +10:00
Erik de Castro Lopo
f698775a7f
Add file, tests/vorbis_test.c and hook into build.
2007-08-21 14:18:52 +10:00
Erik de Castro Lopo
9deba181c1
tests/dft_cmp.c : Fix signed/unsigned comparison warning.
2007-08-20 11:09:39 +10:00
Erik de Castro Lopo
543298e443
tests/ogg_test.c : Include unistd.h for unlink.
2007-08-20 11:01:07 +10:00
Erik de Castro Lopo
15a3da6189
tests/ogg_test.c : Remove test generatred files so 'make distcheck' passes.
2007-08-20 08:51:21 +10:00
Erik de Castro Lopo
b28d41b583
Merge from -dft-cmp branch.
2007-08-19 17:08:43 +10:00
Erik de Castro Lopo
ddacc2c36c
Whitespace cleanup.
2007-08-19 16:47:18 +10:00
Erik de Castro Lopo
2db06064a6
Clean up floating point tests.
2007-08-19 16:46:15 +10:00
Erik de Castro Lopo
185fb36c1e
tests/utils.tpl : Make oct_save_* functions const correct.
2007-08-19 00:50:46 +10:00
Erik de Castro Lopo
1f3e60bed1
tests/dft_cmp.[ch] : Rename dft_cmp to dft_cmp_double.
2007-08-18 22:41:21 +10:00
Erik de Castro Lopo
8e468eb41e
tests/lossy_comp_test.c : Disable tests for float/double.
2007-08-13 21:57:23 +10:00
Erik de Castro Lopo
141bfdf6c3
tests/lossy_comp_test.c : Use sdlossy_comp_test for vorbis.
2007-08-13 21:42:37 +10:00
Erik de Castro Lopo
c407bb63af
Add string tests for ogg/vorbis.
2007-08-12 09:07:34 +10:00
Erik de Castro Lopo
acf57411ad
tests/Makefile.am : Add ogg/vorbis testing.
2007-08-12 08:59:22 +10:00
Erik de Castro Lopo
eb83c87fcd
tests/lossy_comp_test.c : Add option to test ogg/vorbis.
2007-08-12 08:58:54 +10:00
Erik de Castro Lopo
e7a94fa06b
tests/floating_point_test.tpl : Reduce target SNR for vorbis.
2007-08-12 08:45:23 +10:00
Erik de Castro Lopo
cdc216c7b9
tests/ogg_test.c : Add a bunch test code.
2007-08-10 22:22:33 +10:00
Erik de Castro Lopo
6447d603db
tests/ogg_test.c : Update test. Seek currently failing.
2007-08-10 22:06:45 +10:00
Erik de Castro Lopo
6e46221b5f
Add file tests/ogg_test.c, hook into build.
2007-08-10 21:37:39 +10:00
Erik de Castro Lopo
78975c0f9d
tests/floating_point_test.tpl : Add first test for ogg vorbis.
2007-08-09 21:54:38 +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
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
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
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
a7749dc5d4
tests/cpp_test.cc : Add extra tests for when the SndfileHandle constructor fails.
2007-06-14 19:06:58 +10:00
Erik de Castro Lopo
259a3fbc60
tests/Makefile.am : Fix 'make distcheck' target.
2007-06-11 07:50:24 +10:00
Erik de Castro Lopo
7a70d8e4c8
tests/write_read_test.tpl : Don't do multi_seek_test on SF_FORMAT_RAW.
2007-06-10 13:47:46 +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
e4b3b5cc32
Add files generate.[ch], hook into build.
2007-06-10 12:17:28 +10:00
Erik de Castro Lopo
180abbc54b
tests/utils.tpl : Add format parameter to write_mono_file.
2007-06-10 12:16:42 +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
2883d6b4cc
*.(def|tpl) : Remove arch-tag comments from end of files.
2007-06-09 21:40:30 +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
bb59db8135
Merge.
2007-04-16 23:47:37 +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
abee60d5e1
tests/cpp_test.cc : Fix printf format flag.
2007-04-15 20:15:32 +10:00
Erik de Castro Lopo
69ded76e69
Add tests for WVE files.
2007-04-14 22:05:03 +10:00
Erik de Castro Lopo
9c70f5bb80
Apply patch from Andre Pang.
2007-04-14 17:16:04 +10:00
Erik de Castro Lopo
6ca8632158
misc_test.c : Force errno to zero at start of some tests.
2006-11-19 12:22:45 +11:00
Erik de Castro Lopo
155909bedf
tests/misc_test.c : Fix permission_test to ensure that read only file can be created.
2006-11-05 19:38:29 +11:00
Erik de Castro Lopo
320836e40b
Make new FLAC stuff build and run correctly.
2006-10-31 08:38:04 +11: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
af69c0c798
Fix?? for src/G72x/g72x.c and tests/lossy_comp_test.c.
2006-10-15 08:21:42 +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
ca89db0275
Fix overflow problems when ensuring that signalis not zero.
2006-09-02 08:51:16 +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
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
60ccaf7c40
utils.tpl : Add extern C to generated header file.
2006-07-27 10:33:36 +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
4d16583112
write_read_test.tpl : Change the order of some tests.
2006-05-22 01:35:15 +00:00
Erik de Castro Lopo
5c9136b5b9
Fix more signed/unsigned issues.
2006-05-02 13:30:11 +00:00
Erik de Castro Lopo
51cd92cd23
command_tests.c : Add channel map test.
2006-05-01 02:59:56 +00:00
Erik de Castro Lopo
863b324211
tests/util.tpl : Add function exit_if_true().
2006-04-29 00:01:28 +00:00
Erik de Castro Lopo
d6ff32fd4f
Update tests for new commands.
2006-04-15 01:03:43 +00:00
Erik de Castro Lopo
9163c74a1b
Fix a bug which when PEAK chunk was enabled/disabled a couple of times and update peak_chunk_test.
2006-04-01 23:47:34 +00:00
Erik de Castro Lopo
92bdfe525c
tests/utils.tpl : Whitespace cleanup.
2006-04-01 23:40:07 +00:00
Erik de Castro Lopo
d1b9e31444
Merge in changes from broadcast WAV branch.
...
Patches applied:
* erikd@miles--2004/libsndfile--bext--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-625
* erikd@miles--2004/libsndfile--bext--0--patch-1
Add BEXT patch from Paul Davis.
* erikd@miles--2004/libsndfile--bext--0--patch-2
Make it actually compile.
* erikd@miles--2004/libsndfile--bext--0--patch-3
Fix formatting of new code.
* erikd@miles--2004/libsndfile--bext--0--patch-4
Fix minor bugs after cleanup.
* erikd@miles--2004/libsndfile--bext--0--patch-5
Merge from --mdev branch.
* erikd@miles--2004/libsndfile--bext--0--patch-6
sndfile.h.in : Clean up formatting of SF_BROADCAST_INFO struct.
* erikd@miles--2004/libsndfile--bext--0--patch-7
wav.c : Cleanup of broadcast WAV stuff.
* erikd@miles--2004/libsndfile--bext--0--patch-8
wav.c : Fix minor bug in broadcast WAV stuff.
* erikd@miles--2004/libsndfile--bext--0--patch-9
sndfile-info.c : Minor cleanup.
* erikd@miles--2004/libsndfile--bext--0--patch-10
sndfile.c : More cleanups.
* erikd@miles--2004/libsndfile--bext--0--patch-11
sndfile.h.in : Fix whitespace.
* erikd@miles--2004/libsndfile--bext--0--patch-12
Merge from --mdev branch.
* erikd@miles--2004/libsndfile--bext--0--patch-13
Change coding_history field from char pointer to char array.
* erikd@miles--2004/libsndfile--bext--0--patch-14
Remove function broadcast_info_free.
* erikd@miles--2004/libsndfile--bext--0--patch-15
sndfile-info.c : Clean up output of broadcast_dump function.
* erikd@miles--2004/libsndfile--bext--0--patch-16
command_test.c : Start work on broadcast chunk tests.
* erikd@miles--2004/libsndfile--bext--0--patch-17
wav.c : Jump and ignore the 'levl' chunk.
* erikd@miles--2004/libsndfile--bext--0--patch-18
sndfile.h.in : Add block of reserved characters to SF_BROADCAST_INFO.
* erikd@miles--2004/libsndfile--bext--0--patch-19
Cleanup of broadcast WAV stuff.
* erikd@miles--2004/libsndfile--bext--0--patch-20
sndfile-info.c : Fix print message.
* erikd@miles--2004/libsndfile--bext--0--patch-21
Complete bext tests, hook test in test suite.
2006-03-30 22:43:51 +00:00
Erik de Castro Lopo
e974d7c200
tests/utils.tpl : Add usage of space character to psf_binheader_writef.
2006-03-18 11:13:47 +00:00
Erik de Castro Lopo
f4ee595dea
Fix two INST related AIFF bugs.
2006-03-18 10:20:48 +00:00
Erik de Castro Lopo
55b4a702f0
src/Makefile.am : Remove --source-time argument from autogen command lines.
2006-03-17 07:56:00 +00:00
Erik de Castro Lopo
6fb384c705
Merge RIFX stuff from --rifx branch.
...
Patches applied:
* erikd@miles--2004/libsndfile--rifx--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-613
* erikd@miles--2004/libsndfile--rifx--0--patch-1
Add patch from Jesse Chappell for RIFX file support (needs work).
* erikd@miles--2004/libsndfile--rifx--0--patch-2
Merge from --mdev branch.
* erikd@miles--2004/libsndfile--rifx--0--patch-3
write_read_test.tpl : Add RIFX tests.
* erikd@miles--2004/libsndfile--rifx--0--patch-4
More minor RIFX fixes.
* erikd@miles--2004/libsndfile--rifx--0--patch-5
Add RIFX tests.
2006-03-11 10:51:45 +00:00
Erik de Castro Lopo
c5de66c3d9
win32_ordinal_test : Exit on error.
2006-03-09 12:16:00 +00:00
Erik de Castro Lopo
3139c27ff6
Make sure Cygwin DLL ordinal numbers are also correct.
2006-03-08 22:49:20 +00:00
Erik de Castro Lopo
b7948fa64e
Bunch of changes to fix MinGW DLL ordinal numbers.
2006-03-08 21:57:18 +00:00
Erik de Castro Lopo
76e004258d
command_test.c : Remove XI from instrument test.
2006-02-19 08:58:30 +00:00
Erik de Castro Lopo
1c587d4d69
Don't exit on error in instrument test for XI files.
2006-01-21 01:10:10 +00:00
Erik de Castro Lopo
9ce84c0ae5
Add largefile_test.c and hook into build.
2006-01-19 09:05:37 +00:00
Erik de Castro Lopo
08c8886581
command_test.c : Update instrument tests for XI file..
2006-01-19 09:05:23 +00:00
Erik de Castro Lopo
d566cbbdcd
Add/update reading/writing instrument chunks.
2006-01-09 09:48:38 +00:00
Erik de Castro Lopo
ba42ebbeb0
Fix a bug that prevented the turning off of PEAK chunks.
2005-12-30 03:20:23 +00:00
Erik de Castro Lopo
8479935b4a
error_test.c : Make the test distclean correct.
2005-12-29 03:34:20 +00:00
Erik de Castro Lopo
cbb7987a00
Apply patch from John ffitch to add read/write of instrument chunks.
2005-12-28 02:20:08 +00:00
Erik de Castro Lopo
e582a8c893
A test to make sure sf_error() returns a valid error number.
2005-12-10 02:43:03 +00:00
Erik de Castro Lopo
74c70660e7
Move dump_data_to_file() to utils.(c|h).
2005-12-10 02:27:32 +00:00
Erik de Castro Lopo
46616084ec
write_read_test.tpl : Fix issue with AU files.
2005-11-19 02:10:13 +00:00
Erik de Castro Lopo
4c93e0bad9
headerless_test : Minor cleanup.
2005-11-19 01:35:35 +00:00
Erik de Castro Lopo
ea83fa2059
headerless_test.c : Add new test.
2005-11-19 01:23:44 +00:00
Erik de Castro Lopo
8712204014
Add "gsm" as a recognised file extension. Add tests.
2005-11-16 11:42:10 +00:00
Erik de Castro Lopo
7b12c9d636
Merge codec_close/container_close mods from --codec-close branch.
...
Patches applied:
* erikd@miles--2004/libsndfile--codec-close--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-545
* erikd@miles--2004/libsndfile--codec-close--0--patch-1
Start work on separate codec and container close functions.
* erikd@miles--2004/libsndfile--codec-close--0--patch-2
Start using codec_close function pointer.
* erikd@miles--2004/libsndfile--codec-close--0--patch-3
Start using container_close function pointer.
* erikd@miles--2004/libsndfile--codec-close--0--patch-4
dwvw.c : Missed this in previous changes.
* erikd@miles--2004/libsndfile--codec-close--0--patch-5
ima_adpcm.c : Modify existing *_close to be a codec_close function.
* erikd@miles--2004/libsndfile--codec-close--0--patch-6
ms_adpcm.c : Modify existing *_close to be a codec_close function.
* erikd@miles--2004/libsndfile--codec-close--0--patch-7
Remove the old close function pointer from the SF_PRIVATE struct.
* erikd@miles--2004/libsndfile--codec-close--0--patch-8
lossy_comp_test.c : Reinstate check_comment() code form SF_FORMAT_(IMA|MS)_ADPCM.
2005-10-26 21:26:13 +00:00
Erik de Castro Lopo
8232502115
lossy_comp_test.c : More fixes.
2005-10-26 19:50:16 +00:00
Erik de Castro Lopo
b942c1fafb
Merge from --wav-g721 branch.
...
Patches applied:
* erikd@miles--2004/libsndfile--wav-g721--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-517
* erikd@miles--2004/libsndfile--wav-g721--0--patch-1
Start work on adding wav g721 support.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-2
Merge from --mdev branch.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-3
Add writing of g721 wav files, plus tests.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-4
Clean up handling of g721.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-5
Merge from --mdev.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-6
Merge from --mdev.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-7
More cleanup of G72x handling.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-8
Whitespace cleanup.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-9
More g72x cleanups.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-10
More g72x refactoring.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-11
More refactoring.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-12
More refactoring II.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-13
More refactoring III.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-14
More refactoring IV.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-15
More refactoring V.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-16
More refactoring VI.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-17
wav.c : Remove extraneous call to g72x_init().
* erikd@miles--2004/libsndfile--wav-g721--0--patch-18
src/g72x.c : fix handling of block count and psf->datalength.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-19
lossy_comp_test.c : Add tests for G721 encoded WAV files.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-20
Merge from --mdev branch.
* erikd@miles--2004/libsndfile--wav-g721--0--patch-21
Merge from --mdev branch.
2005-10-26 14:52:52 +00:00
Erik de Castro Lopo
fa09971be2
lossy_comp_test.c : Minor fixups.
2005-10-26 14:31:59 +00:00
Erik de Castro Lopo
95993a0fb3
lossy_comp_test.c : Add string data to end of files (missed something).
2005-10-26 14:04:34 +00:00
Erik de Castro Lopo
2104ae2b68
lossy_comp_test.c : Add string data to end of files.
2005-10-26 13:59:50 +00:00
Erik de Castro Lopo
8952450542
command_test.c : Add test for setting/getting SF_INSTRUMENT data.
2005-10-23 18:25:40 +00:00
Erik de Castro Lopo
705032cf79
Start tests for SF_INSTRUMENT, command_test.c is no longer autogen-ed.
2005-10-23 07:32:04 +00:00
Erik de Castro Lopo
0730f47e6e
lossy_comp_test.c : Minor cleanup.
2005-10-14 05:59:43 +00:00
Erik de Castro Lopo
a1f11438e0
locale_test.c : Fix the unicode string encoding.
2005-09-29 19:57:24 +00:00
Erik de Castro Lopo
fe13d705dc
locale_test.c : Add Japanese and Vietnamese.
2005-09-24 12:42:30 +00:00
Erik de Castro Lopo
73cd4f04b4
utils.(tpl|def) : Make the test_write_*_or_die() functions const safe.
2005-09-22 10:52:36 +00:00
Erik de Castro Lopo
82e03ebe7f
locale_test.c : Add pt_PT.
2005-09-22 09:39:51 +00:00
Erik de Castro Lopo
5d582bb586
locale_test.c : Minor updates.
2005-09-21 12:11:32 +00:00
Erik de Castro Lopo
3bbe673dee
Add new test program locale_test.
2005-09-20 08:51:50 +00:00
Erik de Castro Lopo
0e6a2db5b5
More Valgrind fixups.
2005-09-05 08:31:33 +00:00
Erik de Castro Lopo
a0e2294069
Add a few valgrind fixups.
2005-09-04 11:12:23 +00:00
Erik de Castro Lopo
f3ea80efe5
Fix autoconf config issues using new file sfconfig.h.
2005-09-03 06:12:30 +00:00
Erik de Castro Lopo
fe7d03cd59
Remove some of the config related changes in last commit. They broke MinGW builds.
2005-09-03 03:50:47 +00:00
Erik de Castro Lopo
0c7b227de0
Fix a bunch of minor issues found by John Pavel using the Intel compiler.
2005-09-03 02:18:46 +00:00
Erik de Castro Lopo
6c7bb3dc3f
Add funtions sf_write_sync() to the API.
2005-07-28 11:29:28 +00:00
Erik de Castro Lopo
3002bfd2d6
Add support for 8 bit signed integers in CAF files.
2005-07-09 01:18:29 +00:00
Erik de Castro Lopo
67f408112e
Add tests for CAF.
2005-07-08 10:43:00 +00:00
Erik de Castro Lopo
5dddc3ad51
Manual merge of virtual i/o code.
2005-06-11 06:27:27 +00:00
Erik de Castro Lopo
19034b992d
Delete subtypes SF_FORMAT_FLAC_* and replace with SF_FORMAT_PCM_*.
2005-02-12 09:24:04 +00:00
Erik de Castro Lopo
fa83d92ab4
Allow creation of autogenerated files from reconfigure.mk.
2005-02-07 23:42:36 +00:00
Erik de Castro Lopo
6b1948a329
Fix conditional compiling/testing of flac.
2005-01-30 00:43:52 +00:00
Erik de Castro Lopo
0a8ac7888b
Fix make distcheck.
2005-01-29 12:36:57 +00:00
Erik de Castro Lopo
8ba05d6493
Update copyright date.
2005-01-29 05:36:46 +00:00
Erik de Castro Lopo
49161896a1
Manual merge FLAC handling from experimental --flac branch.
2005-01-29 05:33:57 +00:00
Erik de Castro Lopo
f3305648c3
Final phase of write_read_test clean up.
2005-01-27 08:51:26 +00:00
Erik de Castro Lopo
2cedfa02da
Second pass of write_read_test clean up.
2005-01-26 23:32:44 +00:00
Erik de Castro Lopo
4405695df3
First pass clean up of write_read_test.
2005-01-26 23:07:59 +00:00
Erik de Castro Lopo
06514d012e
Update copyright notices.
2005-01-26 22:46:37 +00:00
Erik de Castro Lopo
ff230feee9
Make write_read_test pass distcheck.
2005-01-26 07:18:05 +00:00
Erik de Castro Lopo
6cfafbf99c
Rename SF_SEEK_ERROR to PSF_SEEK_ERROR.
2005-01-25 22:06:27 +00:00
Erik de Castro Lopo
39d6cbe4d7
Update to write_read_test which breaks PAF.
2005-01-25 12:53:02 +00:00
Erik de Castro Lopo
226c342d99
Remove Cygwin specific code.
2004-11-15 22:27:51 +00:00
Erik de Castro Lopo
427dd1122b
Win32 updates.
2004-11-14 21:12:19 +00:00
Erik de Castro Lopo
00e047fb44
Add functions to check for file descriptor leakage.
2004-10-31 09:28:42 +00:00
Erik de Castro Lopo
b0d90c974d
Win32 specific snprintf fix in utils.tpl.
2004-10-29 23:39:07 +00:00
Erik de Castro Lopo
4c5b62dbd9
Add a delete_file() function which also deletes the resource fork of SD2. files.
2004-10-29 10:10:29 +00:00
Erik de Castro Lopo
b8825e69e3
Update test progs to handle modified test_open_file_or_die().
...
Patches applied:
* erikd@miles--2004/libsndfile--weird--1.0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-300
* erikd@miles--2004/libsndfile--weird--1.0--patch-1
Remove old definition of SF_FORMAT_SD2 from common.h.
* erikd@miles--2004/libsndfile--weird--1.0--patch-2
Move rsrc filename construction to psf_open_rsrc() and add SFE_SD2_FD_DISALLOWED.
2004-10-28 22:21:40 +00:00
Erik de Castro Lopo
b93c6e9c4b
Add sd2 tests and use allow_fd.
2004-10-28 09:51:40 +00:00
Erik de Castro Lopo
d58bf2b9b7
Add extra allow_fd parameter to test_open_file_or_die().
2004-10-28 09:49:28 +00:00
Erik de Castro Lopo
f058179440
Remove use of __func__ in test programs (MSVC++ doesn't grok this).
2004-10-17 01:12:35 +00:00
Erik de Castro Lopo
3f5201d59e
Fix minor bug in endian_type definitions.
2004-10-07 13:14:19 +00:00
Erik de Castro Lopo
00b9fa6629
For new (float|double)_(short|int)_test() do both endian-nesses as well.
2004-10-07 10:59:59 +00:00
Erik de Castro Lopo
daa24002e3
Fix test programs for win32/mingw.
2004-10-06 08:43:49 +00:00
Erik de Castro Lopo
997072da13
Fix minor errors in (float|double)_(int|short)_test().
2004-10-05 12:39:20 +00:00
Erik de Castro Lopo
9540d9deec
Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
2004-09-30 15:58:58 +00:00
Erik de Castro Lopo
5f691ffe65
Remove data file after tests.
2004-09-30 20:19:26 +00:00
Erik de Castro Lopo
7bb66e44a0
Add tests for SFC_SET_FLOAT_INT_MULTIPLIER.
2004-09-30 12:46:02 +00:00
Erik de Castro Lopo
d8cad14445
Fix after changes to gen_windowed_sine().
2004-09-30 11:48:15 +00:00
Erik de Castro Lopo
e155d36435
Make separate float and double versions of gen_windowed_sine().
2004-09-30 11:44:04 +00:00
Erik de Castro Lopo
1760de3e42
Minor cleanup of tests/(a|u)law_test.c.
2004-07-31 00:51:56 +00:00
Erik de Castro Lopo
9fec6173f4
Change psf->buffer to a more type safe union.
...
Patches applied:
* erikd@miles--2004/libsndfile--stable--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-188
* erikd@miles--2004/libsndfile--stable--0--patch-1
Merge everything but the Ogg stuff from the --mdev branch.
* erikd@miles--2004/libsndfile--stable--0--patch-2
Change psf->buffer to a more type safe union.
2004-07-02 13:20:15 +00:00
Erik de Castro Lopo
c4e54b5258
Add tests for Ogg and Annodex to floating_point_test.c.
2004-06-17 20:58:55 +00:00
Erik de Castro Lopo
0eb0ae11b0
Add format Ogg/Annodex data for sf_command (SFC_GET_FORMAT_*).
2004-06-17 12:30:11 +00:00
Erik de Castro Lopo
54f4cfd1a2
Minor updates in preparation for 1.0.10 release.
2004-06-14 11:54:59 +00:00
Erik de Castro Lopo
ff5f9f7249
Add extra_header_test().
2004-05-23 03:39:34 +00:00
Erik de Castro Lopo
b5419b89e8
Minor formatting fix.
2004-05-23 03:01:29 +00:00
Erik de Castro Lopo
2175889198
Updates to header_test.tpl.
2004-05-21 10:04:14 +00:00
Erik de Castro Lopo
fd0cecf49a
Modify/update tests for files opened SFM_RDWR and UPDATE_HEADER_AUTO.
2004-05-21 02:03:53 +00:00
Erik de Castro Lopo
919e5d2a56
Update usage of check_log_buffer_or_die().
2004-05-21 00:37:31 +00:00
Erik de Castro Lopo
b164e152cf
Add line number argument to chec_log_buffer_or_die(), improve test_seek_or_dir().
2004-05-21 00:35:40 +00:00
Erik de Castro Lopo
987cdc0a95
Fix tests printing widths.
2004-05-19 13:49:47 +00:00
Erik de Castro Lopo
0e46fbf73c
Fix UPDATE_HEADER_AUTO corner case bug.
2004-05-19 13:23:52 +00:00
Erik de Castro Lopo
24166fca65
Minor cleanup (pcm_test.tpl).
2004-05-19 12:02:37 +00:00
Erik de Castro Lopo
a70cda042e
Minor cleanup (write_read_test.tpl).
2004-05-19 11:49:30 +00:00
Erik de Castro Lopo
585ca2dbb4
Minor cleanups
2004-05-19 11:29:41 +00:00
Erik de Castro Lopo
01b7028242
Fixed a bug with the header of zero length SF_FORMAT_FLOAT aiff files, add empty_file_test().
2004-05-16 04:07:16 +00:00
Erik de Castro Lopo
b58788134a
Added hexdump_file function to utils.tpl.
2004-05-16 01:30:37 +00:00
Erik de Castro Lopo
276ad91d4b
Minor Win32 fixes II.
2004-05-10 11:41:28 +00:00
Erik de Castro Lopo
0068f45217
Minor Win32 fixes.
2004-05-10 11:07:34 +00:00
Erik de Castro Lopo
d3dcd4b488
Fix problem when adding an SF_STR_SOFTWARE string.
2004-04-26 02:51:18 +00:00
Erik de Castro Lopo
8cd5d1219d
Update pipe_test to test floats/doubles (use Autogen).
2004-04-03 06:42:33 +00:00
Erik de Castro Lopo
dd656fe133
Update signatures of Autogen generated C files.
2004-04-03 06:40:56 +00:00
Erik de Castro Lopo
57a22ad562
Cstyle fromatting fixes.
2004-04-01 02:54:09 +00:00
Erik de Castro Lopo
39899a7a18
Perform update_header_test in RDWR mode as well.
2004-04-01 02:51:47 +00:00
Erik de Castro Lopo
7e2a4d2305
Removed unused debug code.
2004-03-31 20:31:33 +00:00
Erik de Castro Lopo
9f1ed66e31
Merge changes for WAVEFORMATEXTENSIBLE.
...
Patches applied:
* erikd@miles--2004/libsndfile--hack--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-71
* erikd@miles--2004/libsndfile--hack--0--patch-1
Merge reconfigure.mk fix.
* erikd@miles--2004/libsndfile--hack--0--patch-2
Initial mods to add WAVEX format.
* erikd@miles--2004/libsndfile--hack--0--patch-3
Preparations to handle WAVEFORMATEXENSIBLE.
* erikd@miles--2004/libsndfile--hack--0--patch-4
Add tests for WAVEX headers.
* erikd@miles--2004/libsndfile--hack--0--patch-5
Add *.wavex and run-* to precious files.
* erikd@miles--2004/libsndfile--hack--0--patch-6
Add SF_FORMAT_WAVEX stuff supplied by David Viens
2004-03-30 10:12:48 +00:00
Erik de Castro Lopo
191b296f18
Minor random win32 fixes.
2004-03-27 04:27:18 +00:00
Erik de Castro Lopo
7dd9999097
Add AVR file handling.
...
Patches applied:
* erikd@miles--2004/libsndfile--avr--0--base-0
tag of erikd@miles--2004/libsndfile--mdev--1.0--patch-68
* erikd@miles--2004/libsndfile--avr--0--patch-1
Move config.h to top of file.
* erikd@miles--2004/libsndfile--avr--0--patch-2
Add AVR file support.
* erikd@miles--2004/libsndfile--avr--0--patch-3
Fix minor bugs in AVR handling.
* erikd@miles--2004/libsndfile--avr--0--patch-4
Add AVR tests.
2004-03-26 09:35:47 +00:00
Erik de Castro Lopo
e465600b95
Fixed a bug that was causing valgrind to report a memory leak.
2004-03-21 08:44:49 +00:00
Erik de Castro Lopo
11ded6e6c7
Fix compiler warning on Win32.
2004-03-14 01:43:27 +00:00
Erik de Castro Lopo
61a5a8a11c
Fix more copyright dates.
2004-03-12 21:40:54 +00:00
Erik de Castro Lopo
227a966990
Fix fopen call to use mode "wb" so it works on Win32.
2004-03-12 21:37:13 +00:00
Erik de Castro Lopo
1c3fa60db9
Fix dependancies for MinGW cross compiling and testing under Wine.
2004-03-12 10:39:02 +00:00
Erik de Castro Lopo
8a6fe1b9c0
Add $(EXEEXT) to binaries for MinGW compatibility.
2004-03-11 10:08:16 +00:00
Erik de Castro Lopo
8c3991675b
Fix cross compiling from Linux with mingw32msvc.
2004-03-04 22:02:43 +00:00
Erik de Castro Lopo
b27fdfb4d4
Add 2004 copyright dates.
2004-03-01 08:51:25 +00:00
Erik de Castro Lopo
0a6b0aa4a9
Fix warnings on ia64 Linux.
2004-02-29 22:36:24 +00:00
Erik de Castro Lopo
fbebccc190
Fix building of libsndfile-lite.
2004-02-29 22:33:13 +00:00
Erik de Castro Lopo
26efcb703f
More zip.com.au to mega-nerd.com changes.
2004-02-13 12:31:34 +00:00
Erik de Castro Lopo
09414afc7e
Pull in changes from 1.0.6 pre-release testing.
2004-02-08 10:18:12 +00:00
Erik de Castro Lopo
a1e9265cad
initial import
...
(automatically generated log message)
2004-01-21 07:46:34 +00:00
Erik de Castro Lopo
cb979e10a7
First snapshot of the public project.
2007-05-14 19:55:24 +10:00