Erik de Castro Lopo
|
233d578a1f
|
src/file_io.c : Fix obscure seeking bug reported by Hugh Secker-Walker.
|
2009-04-12 20:31:20 +10:00 |
|
Erik de Castro Lopo
|
9380ad3f9e
|
tests/stdin_test.c : Check psf->error after opening file.
|
2009-04-12 15:28:39 +10:00 |
|
Erik de Castro Lopo
|
b99995bef5
|
tests/ : Cleanup output.
|
2009-04-11 11:30:42 +10:00 |
|
Erik de Castro Lopo
|
968ca73052
|
src/float32.c : Fix f2s_clip_array.
|
2009-03-25 18:22:03 +11:00 |
|
Erik de Castro Lopo
|
12a46a4785
|
Bunch of minor fixes.
|
2009-03-24 19:58:48 +11:00 |
|
Erik de Castro Lopo
|
af353e81d0
|
src/ima_adpcm.c : Remove dead code.
|
2009-03-24 19:55:10 +11:00 |
|
Erik de Castro Lopo
|
5067a0f5b9
|
src/float32.c : In host_read_f2s call convert instead of f2s_array.
|
2009-03-24 19:54:11 +11:00 |
|
Erik de Castro Lopo
|
e635ae7429
|
Shave files : Pulled update from upstream.
|
2009-03-23 22:01:35 +11:00 |
|
Erik de Castro Lopo
|
18397bd17c
|
doc/api.html : Add pointers to example programs in source code tarball.
|
2009-03-19 20:36:54 +11:00 |
|
Erik de Castro Lopo
|
d750073b26
|
Merge in Shave stuff.
|
2009-03-17 14:28:17 +11:00 |
|
Erik de Castro Lopo
|
cf4859c221
|
tests/sfversion.c : Test function sf_version_string.
|
2009-03-17 14:11:18 +11:00 |
|
Erik de Castro Lopo
|
ee663d829f
|
Add public function sf_version_string.
|
2009-03-17 14:10:32 +11:00 |
|
Erik de Castro Lopo
|
bb4018ab7f
|
configure.ac : Add documentation for --disable-external-libs and improve error handling for that option.
|
2009-03-17 14:09:31 +11:00 |
|
Erik de Castro Lopo
|
aad0c4bf0d
|
src/common.h : Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
|
2009-03-17 14:08:45 +11:00 |
|
Erik de Castro Lopo
|
c9d5d5cab1
|
src/sndfile.h.in : Check for either _MSCVER or _MSC_VER being defined.
|
2009-03-15 08:24:45 +11:00 |
|
Erik de Castro Lopo
|
8707b0f610
|
Add SF_MAX_CHANNELS (set to 256) and use it.
|
2009-03-15 08:16:17 +11:00 |
|
Erik de Castro Lopo
|
85c6b26122
|
tests/vorbis_test.c : Relax test slighly to allow test to pass on more CPUs etc.
|
2009-03-04 11:44:42 +11:00 |
|
Erik de Castro Lopo
|
1a9dd0819b
|
configure.ac : Detect vorbis_version_string() correctly.
|
2009-03-03 09:40:15 +11:00 |
|
Erik de Castro Lopo
|
20d7483c50
|
configure.ac : Fix --enable-external-libs logic.
|
2009-03-03 03:49:45 +11:00 |
|
Erik de Castro Lopo
|
5566104c77
|
doc/index.html : Add a 'See Also' section with a link to sndfile-tools.
|
2009-03-02 19:55:29 +11:00 |
|
Erik de Castro Lopo
|
46b25d069e
|
src/create_symbols_file.py : Add function sf_version_string.
|
2009-03-02 10:41:13 +11:00 |
|
Erik de Castro Lopo
|
48f150049d
|
NEWS README doc/*.html : Updates for 1.0.19 release.
|
2009-03-02 09:10:55 +11:00 |
|
Erik de Castro Lopo
|
9b3d22d4fe
|
src/ogg.c : Only call vorbis_version_string() from libvorbis if present.
|
2009-03-01 22:20:35 +11:00 |
|
Erik de Castro Lopo
|
56eea7e1e4
|
tests/win32_test.c : Fix resource leak.
|
2009-03-01 20:47:32 +11:00 |
|
Erik de Castro Lopo
|
5af90caee6
|
src/(sndfile|svx).c : Check return values of file_io functions.
|
2009-03-01 20:44:18 +11:00 |
|
Erik de Castro Lopo
|
75d92caa79
|
src/(aiff|rf64|wav).c : Eliminate dead code, more validation of data read from file.
|
2009-02-24 20:22:51 +11:00 |
|
Erik de Castro Lopo
|
c86546efd9
|
tests/win32_test.c : Don't use sprintf, even on windows.
|
2009-02-24 11:04:46 +11:00 |
|
Erik de Castro Lopo
|
6c214803ab
|
src/test_file_io.c : Use snprintf instead of strncpy in test program.
|
2009-02-23 02:59:57 +11:00 |
|
Erik de Castro Lopo
|
081903f510
|
regtest/*.c : Bunch of fixes.
|
2009-02-22 19:58:45 +11:00 |
|
Erik de Castro Lopo
|
590f2ad788
|
src/ima_adpcm.c : Fix encoding bug introduced by bzr change 1265.
|
2009-02-22 18:06:10 +11:00 |
|
Erik de Castro Lopo
|
243ebd84f5
|
src/(wav|w64).c : Handle error return values from psf_ftell.
|
2009-02-22 17:20:34 +11:00 |
|
Erik de Castro Lopo
|
f3d0a6e5ce
|
src/wav_w64.c : Fix handling and error checking of MSADPCM coefficient arrays.
|
2009-02-22 17:18:30 +11:00 |
|
Erik de Castro Lopo
|
cea25d4c24
|
src/xi.c : Handle error return values from psf_ftell.
|
2009-02-22 17:11:05 +11:00 |
|
Erik de Castro Lopo
|
ab281c00da
|
Ifdef out dead code that will be resurected some time in the future.
|
2009-02-22 17:08:41 +11:00 |
|
Erik de Castro Lopo
|
d094000da2
|
src/sndfile.c : Remove un-needed test (always true).
|
2009-02-22 17:04:26 +11:00 |
|
Erik de Castro Lopo
|
7d59a41550
|
src/sd2.c : Improve handling of heap allocated buffer.
|
2009-02-22 17:03:09 +11:00 |
|
Erik de Castro Lopo
|
2c30efe7f9
|
src/aiff.c : Remove un-needed test (unsigned > 0).
|
2009-02-22 17:01:37 +11:00 |
|
Erik de Castro Lopo
|
c924272b52
|
src/aiff.c : Fix potential memory leak in handling of 'MARK' chunk.
|
2009-02-22 16:57:16 +11:00 |
|
Erik de Castro Lopo
|
7af1f475ce
|
tests/win32_test.c : Add missing close on file descriptor.
|
2009-02-22 16:53:48 +11:00 |
|
Erik de Castro Lopo
|
93f64ea54a
|
src/test_ima_oki_adpcm.c : Fix read beyond end of array.
|
2009-02-22 13:19:21 +11:00 |
|
Erik de Castro Lopo
|
d3f52ad480
|
tests/test_wrapper.sh.in : Add 'set -e' so the script exits on error.
|
2009-02-22 13:08:37 +11:00 |
|
Erik de Castro Lopo
|
c436f3343b
|
src/audio_detect.c : Don't include un-needed headers.
|
2009-02-22 13:08:01 +11:00 |
|
Erik de Castro Lopo
|
a608fc7be1
|
programs/*.c : Don't include un-needed headers.
|
2009-02-22 12:42:32 +11:00 |
|
Erik de Castro Lopo
|
12180c5bb3
|
tests/*.c : Don't include un-needed headers.
|
2009-02-22 12:39:48 +11:00 |
|
Erik de Castro Lopo
|
2616474ada
|
src/GSM610/*.c : Don't include un-needed headers.
|
2009-02-22 12:34:15 +11:00 |
|
Erik de Castro Lopo
|
c19e35e3e5
|
src/ima_adpcm.c : Clamp values to a valid range before indexing ima_step_size array.
|
2009-02-22 12:32:33 +11:00 |
|
Erik de Castro Lopo
|
1f2a819edf
|
src/caf.c : Validate channels per frame value before using.
|
2009-02-22 09:02:13 +11:00 |
|
Erik de Castro Lopo
|
e840299f8b
|
src/sd2.c : Validate data before using.
|
2009-02-21 17:55:51 +11:00 |
|
Erik de Castro Lopo
|
4e6d450dc3
|
Octave/octave_test.sh : Unset TERM environment variable and export LD_LIBRARY_PATH.
|
2009-02-20 18:35:16 +11:00 |
|
Erik de Castro Lopo
|
fd9e41146a
|
src/file_io.c : In windows code, cast LPVOID to 'char*' in printf.
|
2009-02-16 10:40:22 +11:00 |
|
Erik de Castro Lopo
|
6ab21f7671
|
src/wav.c : Handle four zero bytes as a marker within a LIST or INFO chunk. Thanks to Rogrio Brito for supplying an example file.
|
2009-02-15 19:31:07 +11:00 |
|
Erik de Castro Lopo
|
b038515b4e
|
M4/octave.m4 : Clear the TERM environment before evaluating anything in Octave.
|
2009-02-15 09:34:21 +11:00 |
|
Erik de Castro Lopo
|
033cc5ca35
|
Use C99 snprintf everywhere.
|
2009-02-14 08:32:12 +11:00 |
|
Erik de Castro Lopo
|
23d8864739
|
tests/Makefile.am : Replace all tests with a single invocation of the test wrapper script.
|
2009-02-11 09:31:54 +11:00 |
|
Erik de Castro Lopo
|
857b712e78
|
M4 : Clean up AC_WITH_ARG usage using AC_HELP_STRING.
|
2009-02-09 10:35:52 +11:00 |
|
Erik de Castro Lopo
|
9340cede97
|
M4/endian.m4 : Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
|
2009-02-09 08:47:14 +11:00 |
|
Erik de Castro Lopo
|
11c420b547
|
configure.ac : Require libvorbis >= 1.2.2.
|
2009-02-09 06:46:12 +11:00 |
|
Erik de Castro Lopo
|
31d1ca524d
|
src/ogg.c : Record vorbis library version string.
|
2009-02-09 06:45:16 +11:00 |
|
Erik de Castro Lopo
|
936746b052
|
M4/octave.m4 : Improve logic and status reporting.
|
2009-02-08 07:37:30 +11:00 |
|
Erik de Castro Lopo
|
3e6e4c8f2b
|
Octave/Makefile.am : Use $(top_buildir) instead of $(builddir) which may not be defined.
|
2009-02-08 07:22:34 +11:00 |
|
Erik de Castro Lopo
|
c383584370
|
Final tweaks for 1.0.18 release.
|
2009-02-07 14:00:36 +11:00 |
|
Erik de Castro Lopo
|
134cd50cae
|
programs/sndfile-info.c : Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command. Increase size of files for which signal max will be calculated.
|
2009-02-03 10:52:13 +11:00 |
|
Erik de Castro Lopo
|
0f49287a58
|
programs/sndfile-convert.c : Add 'htk' to the list of convert formats.
|
2009-02-03 10:49:37 +11:00 |
|
Erik de Castro Lopo
|
573a3bc9b2
|
doc/index.html : Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
|
2009-01-14 07:11:03 +11:00 |
|
Erik de Castro Lopo
|
6f4a0343d5
|
programs/sndfile-metadata-set.c : Error out if trying to update coding history in RDWR mode.
|
2009-01-11 17:53:03 +11:00 |
|
Erik de Castro Lopo
|
e55a3c9b5e
|
programs/sndfile-metadata-set.c : Clean up temp string array usage.
|
2009-01-11 17:26:44 +11:00 |
|
Erik de Castro Lopo
|
6a56938525
|
programs/sndfile-metadata-get.c : Make valgrind clean.
|
2009-01-11 16:42:28 +11:00 |
|
Erik de Castro Lopo
|
c09f0b3b60
|
doc/index.html : Fix links to versions of the LGPL.
|
2009-01-10 17:10:55 +11:00 |
|
Erik de Castro Lopo
|
7f6c38405a
|
src/wav.c : Truncate the file on close for RDWR mode where the file ends up shorter than when it was opened.
|
2008-12-14 20:22:09 +11:00 |
|
Erik de Castro Lopo
|
e9a1817530
|
tests/string_test.c : Add test for RDWR mode where the file ends up shorter than when it was opened.
|
2008-12-14 20:19:44 +11:00 |
|
Erik de Castro Lopo
|
f2a8904a4e
|
Add new file M4/add_cxxflags.m4 and use it in configure.ac.
|
2008-11-30 15:06:00 +11:00 |
|
Erik de Castro Lopo
|
139c6a28ba
|
M4/add_cxxflags.m4 : Fix problem with quoting of '#include'.
|
2008-11-30 15:04:50 +11:00 |
|
Erik de Castro Lopo
|
b14ff0f275
|
programs/sndfile-info.c : Apply patch from Conrad Parker to calculate and display total duration when more than one file is dumped.
|
2008-11-19 21:53:56 +11:00 |
|
Erik de Castro Lopo
|
e12ea8acfd
|
tests/win32_ordinal_test.c : Update tests symbol file changes.
|
2008-11-14 21:46:37 +11:00 |
|
Erik de Castro Lopo
|
878867e129
|
Tweaks to generation of Symbols files.
|
2008-11-14 21:45:09 +11:00 |
|
Erik de Castro Lopo
|
2c1771259f
|
src/broadcast.c : Fix checking of required coding_history_size.
|
2008-11-06 10:11:44 +11:00 |
|
Erik de Castro Lopo
|
b1222dc88e
|
programs/test-sndfile-metadata-set.py : Add test for previous commit.
|
2008-11-06 10:08:29 +11:00 |
|
Erik de Castro Lopo
|
76f18fcbdf
|
programs/common.c : When merging broadcast info, make sure to clear the destination field before copying in the new data.
|
2008-11-06 10:07:59 +11:00 |
|
Erik de Castro Lopo
|
ddbdfe4c88
|
src/broadcast.c : Fix truncation of coding history.
|
2008-10-28 07:04:41 +11:00 |
|
Erik de Castro Lopo
|
0c1e963eda
|
tests/command_test.c : Add test to detect if coding history is truncated.
|
2008-10-28 06:56:16 +11:00 |
|
Erik de Castro Lopo
|
e6aaad25d3
|
Octave/Makefile.am : Bunch of build and 'make distcheck' fixes.
|
2008-10-27 22:14:09 +11:00 |
|
Erik de Castro Lopo
|
0586befa36
|
Octave/sndfile.cc : Add Octave function sfversion which returns the libsndfile version that the module is linked against.
|
2008-10-27 21:24:55 +11:00 |
|
Erik de Castro Lopo
|
f819b2b55c
|
Merge Octave fixes from -octave branch.
|
2008-10-27 21:05:24 +11:00 |
|
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 |
|
Erik de Castro Lopo
|
d5b1bfe843
|
examples/* : Rename copy_data.[ch] to common.[ch]. Fix build.
|
2008-09-25 20:19:03 +10:00 |
|
Erik de Castro Lopo
|
39e5b55531
|
Add file doc/tutorial.html and hook into build/dist system.
|
2008-09-19 20:10:25 +10:00 |
|
Erik de Castro Lopo
|
7eef4ad4f8
|
examples/test-sndfile-metadata-set.py : Update test to use --str-title instead of -str-name.
|
2008-09-14 18:01:00 +10:00 |
|
Erik de Castro Lopo
|
9d4a6745ad
|
src/w64.c : Add handling/skipping of a couple of new chunk types.
|
2008-09-13 11:04:08 +10:00 |
|
Erik de Castro Lopo
|
e9c25c2548
|
configure.ac : Add -funsigned-char to CFLAGS if the compiler supports it.
|
2008-09-09 20:47:59 +10:00 |
|
Erik de Castro Lopo
|
d12d93f7be
|
Merge from -mdev.
|
2008-09-04 09:44:38 +10:00 |
|
Erik de Castro Lopo
|
cb9f4b40ab
|
src/*.c : Use new macros everywhere it is appropriate.
|
2008-09-04 09:39:20 +10:00 |
|
Erik de Castro Lopo
|
34a37d1e90
|
src/common.h : Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN.
|
2008-09-04 09:38:34 +10:00 |
|
Erik de Castro Lopo
|
5967cf587c
|
examples/sndfile-metadata-set.c : Massive reworking.
|
2008-09-03 20:32:01 +10:00 |
|
Erik de Castro Lopo
|
b301e43a24
|
examples/*-metadata-* : Change command line args.
|
2008-08-25 20:04:11 +10:00 |
|
Erik de Castro Lopo
|
c3e9c10119
|
Tweaks.
|
2008-08-24 20:34:02 +10:00 |
|
Erik de Castro Lopo
|
2c4dd4a8e7
|
Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
|
2008-08-24 19:38:18 +10:00 |
|
Erik de Castro Lopo
|
edbc326a0b
|
examples/sndfile-bwf-set.c : Add --info-auto-create-date command line option.
|
2008-08-24 19:12:17 +10:00 |
|
Erik de Castro Lopo
|
ebe136d7d1
|
src/sndfile.h.in : Add SFC_SET_ADD_HEADER_PAD_CHUNK.
|
2008-08-23 20:20:04 +10:00 |
|
Erik de Castro Lopo
|
d7d1cc5d0c
|
src/wav.c : Allow 'PAD ' chunk to be modified in RDWR mode.
|
2008-08-23 20:15:01 +10:00 |
|
Erik de Castro Lopo
|
188b96c9c3
|
Add string tests (not yet working).
|
2008-08-23 14:02:29 +10:00 |
|
Erik de Castro Lopo
|
6c17115ca0
|
Merge from -mdev branch.
|
2008-08-23 10:11:40 +10:00 |
|
Erik de Castro Lopo
|
d2cb8fe6eb
|
src/rf64.c : Fixes to make sure all tests pass.
|
2008-08-23 10:09:38 +10:00 |
|
Erik de Castro Lopo
|
7f51dea38e
|
Add more RF64 tests.
|
2008-08-23 10:03:23 +10:00 |
|
Erik de Castro Lopo
|
b5646c3e18
|
src/rf64.c : First pass at writing RF64 now working.
|
2008-08-22 09:19:20 +10:00 |
|
Erik de Castro Lopo
|
ef5c0dfc4d
|
src/(common.h|sndfile.c) : More RF64 support code.
|
2008-08-21 17:45:10 +10:00 |
|
Erik de Castro Lopo
|
1e013c0faa
|
examples/sndfile-convert.c : Add SF_FORMAT_RF64 to format_map.
|
2008-08-21 17:26:36 +10:00 |
|
Erik de Castro Lopo
|
d939e1a372
|
examples/sndfile-info.c : When called with -i or -b option, operate on all files on command line, not just the first.
|
2008-08-21 16:57:27 +10:00 |
|
Erik de Castro Lopo
|
ee05833a00
|
examples/test-sndfile-bwf-set.py : Update tests.
|
2008-08-21 14:19:24 +10:00 |
|
Erik de Castro Lopo
|
44fdbd82ed
|
examples/sndfile-bwf-set.c : Fix the month number in autogenerated date. Use hypen in date instead of slash.
|
2008-08-21 09:18:20 +10:00 |
|
Erik de Castro Lopo
|
c6abe66655
|
examples/sndfile-info.c : Only calculate and print 'Signal Max' if file is less than 10 megabytes in length.
|
2008-08-19 14:06:58 +10:00 |
|
Erik de Castro Lopo
|
50bdcd52a1
|
Hook rf64.c into build so hacking can begin.
|
2008-08-19 10:50:08 +10:00 |
|
Erik de Castro Lopo
|
1b410778e4
|
Add file src/rf64.c.
|
2008-08-19 10:49:35 +10:00 |
|
Erik de Castro Lopo
|
ca41f2649b
|
tests/command_test.c : Add broadcast info test for WAVEX files.
|
2008-08-18 22:14:27 +10:00 |
|
Erik de Castro Lopo
|
e069dde4fe
|
src/common.h : Double value of SF_MAX_STRINGS.
|
2008-08-18 21:59:02 +10:00 |
|
Erik de Castro Lopo
|
9ef96a6c86
|
src/wav.c : Merge function wavex_write_header into wav_write_header, deleting about 70 lines of code.
|
2008-08-18 21:57:28 +10:00 |
|
Erik de Castro Lopo
|
5c17eed9a6
|
examples/sndfile-bwf-set.c : Cleanup and fixes.
|
2008-08-18 10:18:05 +10:00 |
|
Erik de Castro Lopo
|
004d9eccdf
|
src/wav.c : Write PAD chunk with default endian-ness, not a specific endian-ness.
|
2008-08-18 09:25:47 +10:00 |
|
Erik de Castro Lopo
|
e127d6d8ad
|
examples/test-sndfile-bwf-set.py : Add Python script to test sndfile-bwf-set/get.
|
2008-08-18 08:53:14 +10:00 |
|
Erik de Castro Lopo
|
431b789fbb
|
src/wav.c : In RDWR mode, pad the header if necessary (ie LIST chunk has moved or length has changed). Minor fixes in wav_write_strings.
|
2008-08-18 08:49:30 +10:00 |
|
Erik de Castro Lopo
|
ee05bdf1b5
|
tests/string_test.c : Polish string_multi_set_test.
|
2008-08-18 08:45:43 +10:00 |
|
Erik de Castro Lopo
|
d4a8ea5fda
|
src/wav.c : In wav_write_tailer, seek to psf->dataend if its greater than zero.
|
2008-08-17 20:25:10 +10:00 |
|
Erik de Castro Lopo
|
51a552bc14
|
Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
|
2008-08-17 18:42:59 +10:00 |
|
Erik de Castro Lopo
|
278b206a88
|
tests/string_test.c : Add a new string_multi_set_test (currently failing).
|
2008-08-17 18:15:31 +10:00 |
|
Erik de Castro Lopo
|
6ed1e67865
|
Add unique_id field to SF_PRIVATE struct.
|
2008-08-17 16:27:54 +10:00 |
|
Erik de Castro Lopo
|
9b0de382ee
|
src/common.c : Use gettimeofday() to initialize psf_rand_int32.
|
2008-08-17 16:26:34 +10:00 |
|
Erik de Castro Lopo
|
04f40feb8f
|
configure.ac : Test for <sys/time.h> and gettimeofday.
|
2008-08-17 16:23:32 +10:00 |
|
Erik de Castro Lopo
|
63f389b20b
|
src/sndfile.c : Make sure psf->have_written gets set correctly in mode SFM_RDWR.
|
2008-08-17 12:53:21 +10:00 |
|
Erik de Castro Lopo
|
5506f2e2f3
|
src/wav.c : Fix to WAV parser to allow 'bext' chunk to be updated in place.
|
2008-08-17 12:38:25 +10:00 |
|
Erik de Castro Lopo
|
904ccc26b5
|
tests/command_test.c : Add a new broadcast_rdwr_test (currently failing).
|
2008-08-17 12:27:54 +10:00 |
|
Erik de Castro Lopo
|
82f6b2db86
|
tests/string_test.c : Add a new string_rdwr_test (currently failing for WAV).
|
2008-08-17 12:06:35 +10:00 |
|
Erik de Castro Lopo
|
7ec8cfadf2
|
examples/sndfile-convert.c : In function copy_metadata(), copy broadcast info if present.
|
2008-08-16 16:11:30 +10:00 |
|
Erik de Castro Lopo
|
e3a79ad03a
|
Add new file examples/sndfile-bwf-set.c and hook into build.
|
2008-08-16 13:09:01 +10:00 |
|
Erik de Castro Lopo
|
9223da0872
|
configure.ac : Test for localtime and localtime_r.
|
2008-08-16 12:20:50 +10:00 |
|
Erik de Castro Lopo
|
1967c99851
|
src/sndfile.h.in : Fix comments. Patch from Mark Glines.
|
2008-08-11 19:50:17 +10:00 |
|
Erik de Castro Lopo
|
65689d4169
|
tests/Makefile.am : Make sure to run mist_test on Ogg/Vorbis files.
|
2008-07-30 12:12:59 +10:00 |
|
Erik de Castro Lopo
|
6dff79f3b2
|
Fix segfault when closing an Ogg/Vorbis file that has been opened for write but had no actual data written to it. Add test.
|
2008-07-30 09:32:26 +10:00 |
|
Erik de Castro Lopo
|
df590f87cb
|
regtest/Makefile.am : Use SQLITE3_CFLAGS to locate sqlite headers.
|
2008-07-19 13:26:01 +10:00 |
|
Erik de Castro Lopo
|
23b082fda8
|
doc/(index|FAQ).html : Add notes about which versions of windows libsndfile works on.
|
2008-07-10 21:36:53 +10:00 |
|
Erik de Castro Lopo
|
79bcee648c
|
Fix handling of Ambisonic files. Thanks to Fons Adriaensen.
|
2008-07-03 20:35:47 +10:00 |
|
Erik de Castro Lopo
|
c4d6c64ec6
|
M4/extra_pkg.m4 : Fix macro name.
|
2008-06-29 18:47:31 +10:00 |
|
Erik de Castro Lopo
|
c099ef98ad
|
Use new PKG_CHECK_MOD_VERSION m4 macro.
|
2008-06-29 09:02:33 +10:00 |
|
Erik de Castro Lopo
|
3dbb868c31
|
configure.ac : Fix detection/enabling of external libs.
|
2008-06-25 11:03:39 +10:00 |
|
Erik de Castro Lopo
|
2641541953
|
src/aiff.c : Apply a fix from Axel Roebel where if the second loop in the instrument chunk is none, the loop mode is written into the first loop.
|
2008-06-14 13:39:59 +10:00 |
|
Erik de Castro Lopo
|
a848139744
|
src/sd2.c : Minor changes to log messages.
|
2008-05-31 17:58:11 +10:00 |
|
Erik de Castro Lopo
|
820f9be1c5
|
Fix bugs in src/float32.c and src/double64.c found test added in previous commit.
|
2008-05-31 17:10:11 +10:00 |
|
Erik de Castro Lopo
|
5e01337aca
|
Merge changes that remove flac/ogg/vorbis sources.
|
2008-05-31 13:37:40 +10:00 |
|
Erik de Castro Lopo
|
9b81a5275c
|
src/aiff.c : Fix x86_64 compile issue.
|
2008-05-21 21:21:16 +10:00 |
|
Erik de Castro Lopo
|
165d245859
|
src/command.c : Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return the right data when external libs are disabled.
|
2008-05-21 20:57:54 +10:00 |
|
Erik de Castro Lopo
|
7c39404d87
|
tests/external_libs_test.c : Add new test and hook into build and test suite.
|
2008-05-21 20:55:53 +10:00 |
|
Erik de Castro Lopo
|
a2ce5feb79
|
Fix tests when configured with --disable-external-libs.
|
2008-05-21 19:20:24 +10:00 |
|
Erik de Castro Lopo
|
cf918cdf8d
|
Link to external versions of FLAC, Ogg and Vorbis.
|
2008-05-21 18:34:47 +10:00 |
|
Erik de Castro Lopo
|
d227c574a9
|
src/ogg.c : Add call to ogg_stream_clear to fix valgrind warning.
|
2008-05-21 15:54:58 +10:00 |
|
Erik de Castro Lopo
|
37b8cab09a
|
src/sndfile.c : Allow seeking past end of file during write.
|
2008-05-11 09:49:14 +10:00 |
|
Erik de Castro Lopo
|
f5a5a82f68
|
doc : More documentation tweaks.
|
2008-05-10 20:31:21 +10:00 |
|
Erik de Castro Lopo
|
bdd163bc12
|
doc : Minor documentation tweaks.
|
2008-05-10 19:51:02 +10:00 |
|
Erik de Castro Lopo
|
ef8062147e
|
doc/ : Documentation updates.
|
2008-05-10 19:19:06 +10:00 |
|
Erik de Castro Lopo
|
85f75f719a
|
configure.ac : Add AM_PROG_CC_C_O.
|
2008-05-09 16:04:49 +10:00 |
|
Erik de Castro Lopo
|
c32e543478
|
Remove examples/sndfile-data-trim.c.
|
2008-04-30 07:13:19 +10:00 |
|
Erik de Castro Lopo
|
3b05211ace
|
Make sf_close return an error is the file descriptor is already closed. Add a test. Thanks to Dave Flogeras for the but report.
|
2008-04-27 18:33:46 +10:00 |
|
Erik de Castro Lopo
|
4ee9007ff8
|
Merge in support for MPC 2000 files.
|
2008-04-19 19:14:05 +10:00 |
|
Erik de Castro Lopo
|
18d5da3d4f
|
configure.ac : Set object format to aout for OS/2. Thanks to David Yeo.
|
2008-04-19 13:13:07 +10:00 |
|
Erik de Castro Lopo
|
c300da31f3
|
autogen.sh, configure.ac : Minor tweaks.
|
2008-04-17 09:37:22 +10:00 |
|
Erik de Castro Lopo
|
08f138133d
|
src/OGG/bitwise.c : Sync from upstream SVN.
|
2008-04-13 11:56:26 +10:00 |
|
Erik de Castro Lopo
|
5272ef7970
|
src/ogg.c : Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
|
2008-04-13 10:09:22 +10:00 |
|
Erik de Castro Lopo
|
21f9415f16
|
src/aiff.c : Fix up handling of 'APPL' chunk. Thanks to Axel Roebel for bringing up this issue.
|
2008-04-10 12:35:23 +10:00 |
|
Erik de Castro Lopo
|
ef033ccb8c
|
tests : Always pass 0 as the third argument to open when OS_IS_WIN32.
|
2008-04-06 20:26:16 +10:00 |
|
Erik de Castro Lopo
|
6e98e65ca3
|
Merge from -mingw branch.
|
2008-04-06 17:22:20 +10:00 |
|
Erik de Castro Lopo
|
a5f5a3abee
|
tests/*.c : Add calls to sf_close() where needed.
|
2008-04-06 16:24:39 +10:00 |
|
Erik de Castro Lopo
|
8c3a422ed8
|
Merge from mdev branch.
|
2008-04-04 07:29:19 +11:00 |
|
Erik de Castro Lopo
|
adc85e91de
|
src/test_* : Collapse all tests into a single executable.
|
2008-04-03 22:19:11 +11:00 |
|
Erik de Castro Lopo
|
917fa95c17
|
More MinGW fixes.
|
2008-03-25 22:38:23 +11:00 |
|
Erik de Castro Lopo
|
93cc86a4b2
|
doc/FAQ.html : Tweaks to pcm16 <-> float conversion answer.
|
2008-03-11 18:47:19 +11:00 |
|
Erik de Castro Lopo
|
ebb11f24d3
|
Makefile.am : Add DISTCHECK_CONFIGURE_FLAGS.
|
2008-02-10 10:26:05 +11:00 |
|
Erik de Castro Lopo
|
75db177cd9
|
src/OGG : Sync to upstream SVN.
|
2008-02-10 10:24:39 +11:00 |
|
Erik de Castro Lopo
|
78800c8755
|
examples/sndfile-jackplay.c : Minor tweaks to warning message printed when compiled without libjack.
|
2008-02-05 09:47:59 +11:00 |
|
Erik de Castro Lopo
|
61158311ed
|
src/aiff.c : Refactor and bug fix header re-writing in SFM_RDWR mode.
|
2008-01-27 14:41:45 +11:00 |
|
Erik de Castro Lopo
|
ab2eda50a0
|
Use new chunk logging to fix problem with AIFF in RDWR mode.
|
2008-01-24 17:37:29 +11:00 |
|
Erik de Castro Lopo
|
d7a3165716
|
src/aiff.c : Fix reading of COMM encoding string.
|
2008-01-24 07:29:18 +11:00 |
|
Erik de Castro Lopo
|
12af3da5ca
|
tests/aiff_rw_test.c : Fix error reporting.
|
2008-01-22 14:11:45 +11:00 |
|
Erik de Castro Lopo
|
457db0a732
|
src/command.c : Add WVE to the list of major formats.
|
2008-01-22 06:38:50 +11:00 |
|
Erik de Castro Lopo
|
2d8dddb7e2
|
src/common.[ch] : Add internal functions str_of_major_format, str_of_minor_format, str_of_open_mode and str_of_endianness.
|
2008-01-21 06:59:54 +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
|
968f2e5dd0
|
doc/command.html : Document SFC_RAW_NEEDS_ENDSWAP.
|
2008-01-20 19:29:54 +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
|
aa15a930f9
|
Apply patch from Yair K. to fix compiles with OSS v4.
|
2008-01-20 15:27:14 +11:00 |
|
Erik de Castro Lopo
|
b26341a503
|
doc/development.html : Change use or reconfigure.mk to autogen.sh.
|
2008-01-09 19:32:25 +11:00 |
|
Erik de Castro Lopo
|
2becb25102
|
Add new example program sndfile-cmp.c, contributed by Conrad Parker. Hook into build.
|
2008-01-09 18:24:11 +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
|
b298eced44
|
src/sd2.c : Fix a rsrc parsing bug. Example file supplied by Uli Franke.
|
2008-01-05 23:53:51 +11:00 |
|
Erik de Castro Lopo
|
93c478ad22
|
src/command.c : Add Ogg/Vorbis to 'get format' commands.
|
2007-12-28 02:24:54 +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
|
8007b31250
|
src/wav.c : Add fix for writing files with float data but no peak chunk (ie peak chunk gets removed after the file is opened).
|
2007-12-28 01:26:58 +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
|
580a61268c
|
src/ogg.c : Set the default encoding quality to 0.4 instead of 4.0.
|
2007-12-16 18:08:30 +11:00 |
|
Erik de Castro Lopo
|
2b5de9860a
|
src/ogg.c : Fix seeking on multichannel Ogg Vorbis files.
|
2007-12-16 17:47:07 +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 |
|