Commit Graph

242 Commits

Author SHA1 Message Date
Erik de Castro Lopo
2338f7c69b file_io.c : Remove Mac OS9 / Metrowerks compiler support. 2005-09-03 15:23:40 +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
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
5ff27b2e3b Cast integer literal to sf_count_t in call to psf_binheader_writef(). 2005-08-31 09:00:57 +00:00
Erik de Castro Lopo
e709804f30 command.html : Improve documentation of SF_GET_FORMAT_SUBTYPE. 2005-08-29 22:43:52 +00:00
Erik de Castro Lopo
0fed6bc733 sd2.c : Fix a reading/writing bug on little endian CPUs. 2005-08-25 23:29:34 +00:00
Erik de Castro Lopo
c1434c379a sndfile-convert.c : Allow files to be converted to SD2 format. 2005-08-25 23:01:23 +00:00
Erik de Castro Lopo
19a82b6c60 api.html : Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ. 2005-08-24 22:35:33 +00:00
Erik de Castro Lopo
b77a7e3e5a configure.ac : Use instead of . 2005-08-16 11:13:32 +00:00
Erik de Castro Lopo
2d08b3877f Improve log output for WAVE_FORMAT_EXTENSIBLE files. 2005-08-15 13:31:34 +00:00
Erik de Castro Lopo
62ee2d59ae Merge of single patch from --hack branch.
Patches applied:

 * erikd@mega-nerd.com--2004/libsndfile--hack--0--patch-41
   Fix psf_fsync() for win32.
2005-08-15 08:18:42 +00:00
Erik de Castro Lopo
45fb540acf Apply fix to allow building from outside the source dir. 2005-08-14 23:06:30 +00:00
Erik de Castro Lopo
94dec2df1c sndfile-convert.c : Add support for writing to VOX adpcm output files. 2005-08-10 09:18:51 +00:00
Erik de Castro Lopo
e2465df58f api.html : Document the new function sf_write_sync(). 2005-07-31 00:40:59 +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
1bf3e32333 caf.c : Add support for 'peak' chunk. 2005-07-24 11:02:25 +00:00
Erik de Castro Lopo
c4fe0c644d More PEAK info handling updates. 2005-07-24 07:56:41 +00:00
Erik de Castro Lopo
4747955bb8 Change the way PEAK chunk info is stored internally. 2005-07-24 02:06:07 +00:00
Erik de Castro Lopo
e09b30bc1f Fix allocation for PEAK_CHUNK_32 (bug found using valgrind). 2005-07-23 07:25:32 +00:00
Erik de Castro Lopo
12f02a994f flac.c : Add debug and make private functions static. 2005-07-23 07:24:07 +00:00
Erik de Castro Lopo
567dab060c nist.c : Fix a bug where a variable was being used without being initialized. 2005-07-23 06:12:38 +00:00
Erik de Castro Lopo
1ae9d20e71 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32. 2005-07-21 10:19:29 +00:00
Erik de Castro Lopo
5751ad0e64 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead. 2005-07-21 09:53:16 +00:00
Erik de Castro Lopo
53c996b794 Move peak_loc field of SF_PRIVATE struct to PEAK_CHUNK struct. 2005-07-21 09:33:58 +00:00
Erik de Castro Lopo
0777d4a596 Remove unused SF_PRIVATE field end_of_file. 2005-07-14 12:08:46 +00:00
Erik de Castro Lopo
8a716dbe75 aiff.c : Move to new (correct) AIFF string style. 2005-07-12 11:58:37 +00:00
Erik de Castro Lopo
2cccaf5416 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open(). 2005-07-10 08:53:10 +00:00
Erik de Castro Lopo
32cdbbe71c Bump version to 1.0.12pre10. 2005-07-09 05:48:30 +00:00
Erik de Castro Lopo
67f408112e Add tests for CAF. 2005-07-08 10:43:00 +00:00
Erik de Castro Lopo
921e566525 caf.c : Add file write support. 2005-07-08 09:38:34 +00:00
Erik de Castro Lopo
1a7dd6793b Fix Q/A about reading/writing memory buffers. 2005-07-07 08:38:51 +00:00
Erik de Castro Lopo
31ae3ca6eb New file caf.c and hook into build. 2005-07-04 07:24:43 +00:00
Erik de Castro Lopo
8cedbc6b72 Update ChangeLog. 2005-06-22 10:45:31 +00:00
Erik de Castro Lopo
1945dc2040 Remove redundant error code SFE_WAV_FMT_TOO_BIG. 2005-06-20 22:54:07 +00:00
Erik de Castro Lopo
151b16e5ac Fix compiling when sqlite is missing. 2005-06-20 07:04:21 +00:00
Erik de Castro Lopo
519095aa0c Return SF_ERR_MALFORMED_FILE if header parsing fails. 2005-06-20 06:44:58 +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
a9aec54fbf Fix return values of a couple of sf_command()s. 2005-06-10 08:34:24 +00:00
Erik de Castro Lopo
efcc3f7e40 Fix a regression in handling of long ICMT chunks. 2005-05-17 09:43:59 +00:00
Erik de Castro Lopo
ede89ebb1c aiff.c : Fix parsing of odd length ANNO chunks. 2005-05-15 01:04:54 +00:00
Erik de Castro Lopo
4df9d9e5f9 libsndfile.spec.in : Add html docs to the files section. 2005-05-14 23:34:08 +00:00
Erik de Castro Lopo
dcf20ed12d Change the include guard in common.h to prevent clashes with other software. 2005-05-14 11:07:32 +00:00
Erik de Castro Lopo
7ed5aeda3f Improve error handling in code for playback under Linux/ALSA. 2005-05-12 09:54:05 +00:00
Erik de Castro Lopo
c72d488e91 Bump configure.ac version, update ChangeLog. 2005-05-10 10:43:25 +00:00
Erik de Castro Lopo
d343bda014 Fix for WAV file with off LIST chunks. 2005-05-10 10:33:25 +00:00
Erik de Castro Lopo
cf43fb1528 Fix writing of IRCAM files. 2005-05-10 09:11:51 +00:00
Erik de Castro Lopo
0be787c794 Write correct wavex channels masks for the most common channel configurations. 2005-04-30 11:38:47 +00:00
Erik de Castro Lopo
bd4fc1074b Only add FLAC to format arrays if FLAC is enabled. 2005-04-07 21:30:34 +00:00
Erik de Castro Lopo
611e60260d Add support for resource fork files in the .AppleDouble/ directory. 2005-03-09 10:29:32 +00:00
Erik de Castro Lopo
b6d8afa0bf Fix a channel printing bug in the svx.c. 2005-03-01 07:20:48 +00:00
Erik de Castro Lopo
36b8a5c3f2 Fix a rsrc fork problem on MacOSX. 2005-01-26 06:10:48 +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
2cde67564c Do not exit parsers when log buffer overflows. Remove SFE_LOG_OVERRUN. 2005-01-25 07:26:33 +00:00
Erik de Castro Lopo
8bef0e5b32 Make sure audio output is flushed before closing devices in ALSA and OSS code. 2004-12-30 23:48:42 +00:00
Erik de Castro Lopo
a97fb9fce2 Const-ify the write path throughout. 2004-12-23 10:49:57 +00:00
Erik de Castro Lopo
f09eeb70e8 Minor updates to using tla. 2004-12-14 07:12:31 +00:00
Erik de Castro Lopo
f95fef7d61 Minor improvements to bugs.html. 2004-11-29 10:51:42 +00:00
Erik de Castro Lopo
87a3a20f67 Update ChangeLog. 2004-11-18 10:27:51 +00:00
Erik de Castro Lopo
ef50335e6a Remove some ambiguities in the SD2 FAQ answer. 2004-11-16 07:50:09 +00:00
Erik de Castro Lopo
5bbf1347f6 Release 1.0.11. 2004-11-15 11:37:32 +00:00
Erik de Castro Lopo
93333cb6bb Use ANNO chunk to SF_STR_COMMENT, instead of COMT. 2004-11-12 13:37:13 +00:00
Erik de Castro Lopo
b935e188f3 Change ptr arg to psf_write() to const void*. 2004-11-07 00:26:14 +00:00
Erik de Castro Lopo
9c91336578 Parse 'ACID' and 'basc' chunks. 2004-10-31 12:52:03 +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
414f41eb1c Bump version to 1.0.11pre9. 2004-10-30 00:33:04 +00:00
Erik de Castro Lopo
b2e4545563 Make writing of SD2 files work on little endian systems. 2004-10-29 10:48:22 +00:00
Erik de Castro Lopo
f31cc3b13e Preliminary SD2 tests now working.
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:25:02 +00:00
Erik de Castro Lopo
c84fa765d0 Fix for sd2 files with large resource forks. 2004-10-27 11:13:43 +00:00
Erik de Castro Lopo
b5c03a45a4 Update parsing of ACID chunk in WAV files. 2004-10-27 10:46:36 +00:00
Erik de Castro Lopo
1ef19c4e90 Bump version in configure.ac, update ChangeLog. 2004-10-24 00:57:07 +00:00
Erik de Castro Lopo
c7a3c73d0c Update ChangeLog. 2004-10-17 01:30:53 +00:00
Erik de Castro Lopo
2a117a2027 Add test_endswap. 2004-10-12 03:13:15 +00:00
Erik de Castro Lopo
6ec81f5c2a Add comment about -no-undefined. Update ChangeLog. 2004-10-06 09:16:31 +00:00
Erik de Castro Lopo
e446bf7440 Document SFC_SET_SCALE_FLOAT_INT_READ. 2004-09-30 16:01:03 +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
148d6e63d1 Fix OSX error message in sndfile-play.c. 2004-09-22 08:10:03 +00:00
Erik de Castro Lopo
ae5574611e Prevent race conditions in win32 code of sndfile-play.c. 2004-09-05 08:31:16 +00:00
Erik de Castro Lopo
0d26ee09b8 Bump version tp 1.0.11pre6 and update ChangeLog. 2004-09-03 19:31:10 +00:00
Erik de Castro Lopo
2e9e61e19d Change an unnamed union to a named one and fix resulting problems. 2004-08-29 23:39:24 +00:00
Erik de Castro Lopo
17fc984ba8 Win32 fixes to sndfile-play and build system. 2004-08-20 01:43:02 +00:00
Erik de Castro Lopo
1c23ac2053 Fix type in comments. 2004-08-09 22:39:16 +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
1f11db8200 Optimise read/write loops by removing a redundant variable. 2004-07-30 06:04:21 +00:00
Erik de Castro Lopo
14f5539010 Remove call to fsync() in psf_close(). 2004-07-24 09:44:46 +00:00
Erik de Castro Lopo
19ac94edde Update ChangeLog. 2004-07-19 13:04:03 +00:00
Erik de Castro Lopo
99aa3b5b03 Update ChangeLog. 2004-07-17 13:16:29 +00:00
Erik de Castro Lopo
d690e325f9 Update endswapping. 2004-07-17 13:12:54 +00:00
Erik de Castro Lopo
84f62ff08e Use <byteswap.h> if present.
Patches applied:

 * erikd@miles--2004/libsndfile--stable--0--patch-3
   ChangeLog
2004-07-17 12:26:33 +00:00
Erik de Castro Lopo
ca918cd614 ChangeLog 2004-07-02 13:26:46 +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
f648b57d06 Apply patch to fix playback of mono files on MacOSX. 2004-06-28 09:45:55 +00:00
Erik de Castro Lopo
6ae3bd93af Move copy_metadata() after the second sf_open(). 2004-06-25 10:25:47 +00:00
Erik de Castro Lopo
e2ed4db13a Fix an infinite loop in sndfile-comvert. 2004-06-21 12:30:36 +00:00
Erik de Castro Lopo
d09ab86ff9 Merge Ogg/Annodex stuff from Conrad Parker.
Patches applied:

 * conrad@annodex.net--2004/libsndfile--fishsound--1.0--base-0
   tag of erikd@mega-nerd.com--2004/libsndfile--devel--1.0--patch-1

 * conrad@annodex.net--2004/libsndfile--fishsound--1.0--patch-1
   

 * erikd@mega-nerd.com--2004/libsndfile--devel--1.0--patch-2
   Merge changes from --mdev branch.
2004-06-17 11:56:05 +00:00
Erik de Castro Lopo
1f88fcb276 Fix bug resulting from use of size_t when writing W64 'fmt ' chunk. 2004-06-14 23:38:54 +00:00
Erik de Castro Lopo
8ced05283b Update ChangeLog. 2004-06-14 21:28:29 +00:00
Erik de Castro Lopo
5a1ba58762 Add cast to size_t for some parameters passed to psf_binheader_writef. 2004-06-14 21:23:12 +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
4d635a70f6 Update ChangeLog, bump version to 1.0.10pre8, remove mmreg.h. 2004-05-23 04:07:58 +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
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
5611c4473f Add mmreg.h and mmsystem.h annd update .arch-inventory. 2004-05-13 16:08:53 +00:00
Erik de Castro Lopo
2c219dca3d Update changelogs. 2004-05-12 13:20:05 +00:00
Erik de Castro Lopo
ae3f53694b Fix warning on Sparc CPU and code cleanup. 2004-05-10 12:57:02 +00:00
Erik de Castro Lopo
0068f45217 Minor Win32 fixes. 2004-05-10 11:07:34 +00:00
Erik de Castro Lopo
68b5227871 Fix warning messages when compiling under MinGW. 2004-05-09 10:07:28 +00:00
Erik de Castro Lopo
e11b49fc0a HAVE_FLEXIBLE_ARRAY hacks. 2004-04-30 14:40:08 +00:00
Erik de Castro Lopo
312ba604bd In sndfile-convert, add ability to transcode meta data. 2004-04-26 03:32:42 +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
297e595096 Add --enable-bow-docs to enable black text on a white background HTML docs. 2004-04-25 13:33:04 +00:00
Erik de Castro Lopo
a799b069a1 Started adding instructions for compiling libsndfile under MinGW. 2004-04-25 07:55:27 +00:00
Erik de Castro Lopo
de0a668190 Fix minor doc bug in command.html. 2004-04-25 02:32:01 +00:00
Erik de Castro Lopo
30440b0975 Install HTML docs when doing make install. 2004-04-20 13:20:25 +00:00
Erik de Castro Lopo
3c222f0307 Some Mingw32 fixes in configure.ac. 2004-04-20 12:17:38 +00:00
Erik de Castro Lopo
b3944e2ff6 In sndfile-info, print out the dB level with the signal max. 2004-04-19 10:50:59 +00:00
Erik de Castro Lopo
48bc91dff0 Define S_ISSOCK in src/file_io.c if required. 2004-04-15 07:15:27 +00:00
Erik de Castro Lopo
cf977bb2fc Improve printout of configuration summary. 2004-04-03 12:00:28 +00:00
Erik de Castro Lopo
f35d4975ca Add link to pre-release location. 2004-04-03 10:05:49 +00:00
Erik de Castro Lopo
737d7e374c Update ChangeLog. 2004-04-03 07:20:01 +00:00
Erik de Castro Lopo
5644a8a952 Fix problems with AIFF when updating header in RDWR mode. 2004-04-01 02:58:22 +00:00
Erik de Castro Lopo
59073b50ef Bump version number. 2004-03-30 11:52:28 +00:00
Erik de Castro Lopo
2dfdd306f0 Update version to 1.0.9. 2004-03-30 11:20:15 +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
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
768cca5299 Fix psf_set_file() for win32. 2004-03-23 11:31:56 +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
ec9ecfbd05 Add examples/generate.cs file. 2004-03-20 09:42:41 +00:00
Erik de Castro Lopo
e3111a2694 Fix problems with WAV files containing large chunks after the 'data' chunk. 2004-03-19 09:15:01 +00:00
Erik de Castro Lopo
58396fe05d Add ALSA support for sndfile-play. 2004-03-17 09:34:19 +00:00
Erik de Castro Lopo
86f2eeeca8 Add AC_C_STRUCT_HACK. 2004-03-15 09:21:04 +00:00
Erik de Castro Lopo
77927e3227 Final fixups before release of 1.0.8. 2004-03-14 04:59:21 +00:00
Erik de Castro Lopo
0ea49a9a35 If compiler is gcc and cross compiling then use -nostdinc. 2004-03-10 08:52:38 +00:00
Erik de Castro Lopo
2758ba4cd9 Configure.ac bug fix for MinGW configure. Update ChangeLog. 2004-03-10 00:53:37 +00:00
Erik de Castro Lopo
2129cf8e6c Fix clip mode detection (tested on Itanium II). 2004-02-25 05:31:46 +00:00
Erik de Castro Lopo
7f9ecd473a Fix clip mode detection (hopefully). 2004-02-24 10:41:55 +00:00
Erik de Castro Lopo
53abb09a9f Further MacOSX build issue fixes. 2004-02-19 11:49:34 +00:00
Erik de Castro Lopo
a64e0c0f9c Document SFC_GET/SET_CLIPPING. 2004-02-17 03:04:02 +00:00
Erik de Castro Lopo
bad679cfdd Fix typos on docs. 2004-02-14 03:02:56 +00:00
Erik de Castro Lopo
bcc6518fb3 Change from zip.com.au to mega-nerd.com. 2004-02-13 11:55:42 +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