📄 changelog
字号:
Added fields to SF_PRIVATE for string data needed to implement sf_get_string() and sf_set_string(). * src/strings.c New file for storing and retrieving strings to/from files. * src/Makefile.am Added strings.c to build.2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/xi.c Read seems to be working so looking at write. * src/sndfile.h.in Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values. * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am Added test for 8 and 16 bit XI format files.2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/index.html Added a non-lawyer readable summary of the licensing provisions as suggested by Steve Dekorte.2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav.c Fixed a compiler warning found by Alexander Lerch.2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * configure.ac Fixed the multiple linking of libm.2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * Win32/Makefile.mcvs Added comments on the correct way to set up the MSVCDir environment variable. * doc/win32.html Add on how to set up the MSVCDir environment variable.2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * examples/sndfile-play.c examples/sndfile-info.c When run on Win32 without any command line parameters print a message and then sleep for 5 seconds. This means the when somebody double clicks on these programs in explorer the user will actually see the message.2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/misc_test.c Bypass permission test if running as root because root is allowed to open a readonly file for write.2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * Win32/Makefile.msvc Added pvf.c and xi.c source files to project. * src/sndfile.h Updated for PVF files.2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c Modified validate_sfinfo() to force samplerate, channels and sections to be >= 1. In format_from_extension() replaced calls to does_extension_match() with strcmp(). * src/xi.c More work.2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/Makefile.am Added octave.html which had been left out. Found by Jan Weil.2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/pvf.c src/common.h src/sndfile.c Fixed error handling for PVF files. * src/xi.c New file for handling Fasttracker 2 Extended Instrument files. Not working yet and included when configured with --enable-experimental. * src/sndfile.c src/common.h Hooked in new file xi.c.2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/rx2.c Added a patch from Marek Peteraj which sheds a little more light on the slices within an RX2 file. Still need to find out data encoding.2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav.c Started work on decoding 'acid' and 'strc' chunks.2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/peak_check_test.c Minor cleanup.2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/write_read_test.tpl Added check to make sure no error was generated when an attempt was made to read past the end of the file.2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/lists.html Added "mailto" links for all three lists. * src/pvf.c New file for Portable Voice Format files. * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am Added hooks for SF_FORMAT_PVF format files. * tests/write_read_test.tpl tests/std*.c Add tests for SF_FORMAT_PVF. * doc/index.html Add PVF to the compatibility matrix. * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c Previously, attempts to read beyond the end of a file would set psf->error to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX read() call but has now been fixed. Attempts to read beyond the end of the file will return a short read count but will not longer set any error.2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c Add more sanity checking when opening a RAW file for read. When format is not RAW, zero out all members of the SF_INFO struct. * tests/raw_test.c Add bad_raw_test() to check for above problem. * tests/stdin_test.c examples/sndfile-info.c Set the format field of the SF_INFO struct to zero before calling sf_open(). * doc/api.html Add information about the need to set the format field of the SF_INFO struct to zero when opening non-RAW files for read. * configure.ac Removed use of conversion script on Solaris. Not all Solaris versions support it. * doc/lists.html New file containg details of the mailing lists. * doc/index.html Add a link to the above new file.2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/dft_cmp.c Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman for providing the gdb traceback.2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav.c Added more capabilities to 'smpl' chunk parser. * src/sndfile.c Fixed some (not all) possible problems found with Flawfinder.2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c Fixed a bug in sf_seek(). This bug could only occur when an attempt was made to read beyond the end and then sf_seek() was called with a whence parameter of SEEK_CUR. * src/file_io.c Win32's _fstati64() does not work, it returns BS. Re-implemented psf_get_filelen() in terms of psf_fseek(). * tests/write_read_test.tpl Add a test to detect above bug. * src/float_cast.h Modification to prevent compiler warnings on Mac OS X. * src/file_io.c Fixes for windows (what a f**ked OS).2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * configure.ac Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in src/float_cast.h means that a library compiled on 10.2 will still work on 10.1.2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * configure.in configure.ac Renamed configure.in to configure.ac as expected by later versions of autoconf. Slight hacking of configure.ac to work with version 2.54 of autoconf. Changed to using -dumpversion instead of --version for determining GCC version numer as suggested by Anand Kumria. * src/G72x/Makefile.am Slight hacking required for operation with automake 1.6.3.2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/common.c In psf_binheader_readf() changed type parameter type "b" type from size_t to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int). Thanks to Enrique Robledo Arnuncio for debugging this.2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * test/command_test.tpl Changed test value so test would pass on Solaris. * src/Version_script.in Modified version numbering so that later versions of 1.0.X can replace earlier versions without recompilation. * src/vox_adpcm.c Fixed bug causing short reads.2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * test/floating_point_test.c Code cleanup using functions from util.c. Add test for IEEE replacement floats and doubles.2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav.c Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to Serg Repalov for the example file. * tests/pcm_test.tpl Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code. Clean up pcm_double_test(). * src/float32.c src/double64.c Force use of IEEE replacement code using psf->ieee_replace is TRUE, Print message to log_buffer as well. Rename all broken_read_* and broken_write* functions to replace_read_* and replace_write_*. * tests/util.tpl Added string_in_log_buffer(). * tests/pcm_test.tpl Use string_in_log_buffer() to ensure that IEEE replacement code has been used. * configure.in Removed --enable-force-broken-float option. IEEE replacement code is now always tested.2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/double64.c Implement code for read/writing IEEE doubles on platforms where the native double format is not IEEE. * src/float32.c src/common.h Remove float32_read() and float32_write(). Replace with float32_le_read(), float32_be_read(), float32_le_write() and float32_be_write() to match stuff in src/double64.c. * src/common.c Fix all usage of float32_write(). * src/sndfile.h.in Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only). * src/common.h Added SF_PRIVATE field ieee_replace. * src/sndfile.c In sf_command() set/reset psf->ieee_replace.2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/pcm_test.tpl Fixed a problem when testing with --enable-force-broken-float. The test was generating a value of negative zero and the broken float code is not able to write negative zero. Removing the negative zero fixed the test.2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c Added fix for Cygwin (suggested by Maros Michalik).2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c Improved error detection and handling. * src/file_io.c src/common.h Removed functions psf_ferror() and psf_clearerr() which were redundant after above improvements. * src/aiff.c src/svx.c src/w64.c src/wav.c Removed all use of psf_ferror() and psf_clearerr(). * src/sndfile.c Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which are no longer needed. * tests/misc_test.c Added test to make sure the correct error message is returned with an existing read-only file is openned for write.2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/index.html doc/api.html Updated for OKI Dialogic ADPCM files. * src/command.c Added VOX ADPCM to sub_fomats.2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/vox_adpcm.c src/Makefile.am New file for handling OKI Dialogic ADPCM files. * src/sndfile.h Add new subtype SF_FORMAT_VOX_ADPCM. * src/sndfile.c Renamed function is_au_snd_file () to format_from_extenstion () and expanded its functionality to detect headerless VOX files. * src/raw.c Added hooks for SF_FORMAT_VOX_ADPCM. * examples/sndfile-info.c Print out file duration (suggested by Conrad Parker). * libsndfile.spec.in Force installation of sndfile.pc file (found by John Thompson). * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c Add tests for SF_FORMAT_VOX_ADPCM.2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/misc_test.c Add test which attempts to write to /dev/full (on Linux anyway) to check for correct handling of writing to a full filesystem. * src/sndfile.c Return correct error message if the header cannot be written because the filesystem is full. * tests/util.tpl Corrected printing of file mode in error reporting. * src/mat5.c Fixed a bug where a MAT5 file written by libsndfile could not be opened by Octave 2.1.36.2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/common.h src/file_io.c All low level file I/O have been modified to be better able to report system errors resulting from calling system level open/read/write etc. * src/*.c Updated for compatibility with above changes. * examples/cooledit-fixer.c New example program which fixes badly broken file created by Syntrillium's Cooledit which are marked as containing PCM samples but actually contain floating point data. * examples/Makefile.am Hooked cooledit-fixer into the build system.2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/command.html Document SFC_GET_FORMAT_INFO.2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c examples/sfdump.c Removed these files because they weren't interesting. * examples/sfconvert.c examples/sndfile-convert.c Renamed the first to the latter. * ex
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -