Commit Graph

58 Commits

Author SHA1 Message Date
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