📄 changelog
字号:
2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/api.html Add docs for sf_set_string() and sf_get_string(). * src/common.h src/sndfile.c Add new SFE_STR_BAD_STRING error. * tests/stdin_test.c tests/stdout_test.c Removed all non-error print statements. * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am Add print statements removed from two files above.2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * libsndfile.spec.in Fixed a coulpe of minor errors discovered by someone calling themselves Agent Smith. * src/common.c src/common.h src/file_io.h Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe() function. (Axel Roebel) * src/sndfile.c Fixed determination of whether the file is a pipe. (Axel Roebel) * src/paf.c Force paf24 to start with undefined mode. (Axel Roebel) * tests/pipe_test.c Mods to make this test work and actually do the test on RAW files. (Axel Roebel).2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c Fixed a potential bug where psf->sf.seekable was being set to FALSE when operating on stdin or stdout but then the default initialiser was reseting it to TRUE. Thanks to Axel Roebel. * src/aiff.c Fixed a bug in the header parser where it was not handling an odd length COMM chunk correctly. Thanks to Axel Roebel. * src/test_file_io.c Add more tests. * tests/win32_test.c New file for showing the bugs in the Win32 implementation of the POSIX API. It also runs on Linux for sanity checking. * tests/Makefile.am Win32/Makefile.msvc Hook the new test program into the build system.2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/test_file_io.c New test program to test operation of functions defined in file_io.c. This should make supporting win32 significantly easier. * src/Makefile.am Hook new test program into the build system. * src/file_io.c Add compile/run time check that sizeof statbuf.st_size and sf_count_t are the same. * src/common.h src/sndfile.c Added new error code and error message for new check. * tests/benchmark.tpl Fix to use frames instead of samples in SF_INFO.2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32. * examples/sndfile-info.c Applied patch from Conrad Parker to add "--help" and "-h" options as well as an improved usage message.2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/au.c Added embedded file support. * tests/multi_file_test.c Added tests for embedded AU files. Added verbose testing mode. * src/common.h src/sndfile.c Added an embedded AU specific error code and message. * src/wav.c Added patch from Conrad Parker which filled in a little more information about ACIDized WAV files.2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c Fixed Win32 version of psf_fseek() which was calling psf_get_filelen() which was in turn calling psf_fseek() which in the end blew the stack. Now of course this would have been easy to find on Linux, but this blow up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't figure out what call caused this (it couldn't even tell me the stack had overflowed) and was absolutley useless for this debugging exercise. On top of that, the reason I got into this mess was that windoze doesn't have a working fstat() function which can return file lengths > 2 Gig. It HAS a fscking _fstati64() but the file length value is only updated AFTER the bloody file is closed. That makes it completely useless. How the hell do people stand working on this crap excuse of an OS?2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * Win32/unistd.h src/file_io.c Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these can be used in the test programs. * Win32/libsndfile.def Added sf_open_fd. * Win32/sndfile.h Updated to match src/sndfile.h.in. * Win32/Makefile.msvc Added dither.c and htk.c to libsndfile.dll target.2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c First attempt at getting the Win32 versions of the these functions working. They still need to be tested.2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/strings.c Found and fixed a bug which was causing psf_store_string() to fail on Motorola 68k processors. Many thanks fo Joshua Haberman (Debian maintainer of libsndfile) for compiling and running debug code to help me debug the problem.2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c src/file_io.c src/wav.c src/aiff.c Much hacking to get reading and writing of embedded files working (ie sound files at a non-zero files offset). * doc/embedded_files.html First pass atempt at documenting reading/writing embedded files.2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/FAQ.html Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav.c src/aiff.c Fix retrieving and storing of string data from files. Need to be careful about using psf->buffer for strings.2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c Fix psf_fseek() for seeks withing embedded files.2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.h.in Changed the definition of SNDFILE slightly to produce warnings when it isn't used correctly. This should have zero affect in code which uses the SNDFILE type correctly. * src/sndfile.c Fixed a few compiler warnings cause by the changes to the SNDFILE type.2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/FAQ.html Added question and answer to the question "How about adding the ability to write/read sound files to/from memory buffers?".2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/write_read_test.tpl Removed un-needed enums declaring TRUE and FALSE and replaced usage of these with SF_TRUE and SF_FALSE. * tests/multi_file_test.c New test program to test sf_open_fd() on files containing data other than a single sound file.2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/file_io.c When creating files, set the readable by others flag. This still allows further restrictions to be enforced by use of the user's umask. Fix suggested by Eric Lyon.2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.h.in src/sndfile.c Changed sf_open_fd(). Dropped offset parameter and added a close_desc parameter. If close desc is TRUE, the file descritpor passed into the library will be closed when sf_close() is called. * tests/utils.tpl Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/write_read_test.tpl Add a string (using sf_set_string() function) before and after data section of all files. This will make sure that if string data can be added, it doesn't overwrite real audio data.2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c Started work on supporting a non-zero offset parameter for sf_open_fd (). * src/<file header parsers>.c Removed many uses of psf_fseek (SEEK_END) which to allow for future use of sf_open_fd() with non-zero offset. Associated refactoring. * src/aiff.c Implemented functionality required to get sf_get_string() and sf_set_string() working for AIFF files.2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/utils.tpl Modified test_open_file_or_die() to alternately use sf_open() and sf_open_fd(). * src/svx.c Fixed a bug which occurred when openning an existing file for read/write using sf_open_fd(). In this case, the existing NAME chunk needs to be read into psf->filename. Fixed printing of sf_count_t types to logbuffer.2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.h.in Added prototype for new function sf_open_fd(). * src/sndfile.c Moved most of the code in sf_open() to a new function psf_open_file(). Created new function sf_open_fd() which also uses psf_open_file() but does not currently support the offset parameter. * doc/api.html Document sf_open_fd().2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.c Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred when an attempt was made to read and the open() call fails.2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/open_fail_test.c New test program to check for memory leaks when sf_open fails on a valid file. Currently this must be run manually under valgrid. * tests/Makefile.am Hook new test program into build.2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * Octave/sndfile_save.m Octave/sndfile_play.m Added a -mat-binary option to the octave save command to force the output to binary mode even if the user has set ascii data as the default. Found by Christopher Moore.2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/dither.html New file which will document the interface which allows the addition of audio dither when sample word sizes are being reduced. * src/dither.c More work.2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/misc_test.c In update_header_test(), make HTK files a special case. * doc/index.html Added HTK to the feature matrix.2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/htk.c New file for reading/writing HMM Tool Kit files. * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am Hook in htk.c * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am Add tests for HTK files.2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav.c Fixed a bug where the LIST chunk length was being written incorrectly. * tests/string_test.c Added call to check_log_buffer(). Minor cleanups.2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/wav_w64.h Applied patch from Antoine Mathys to add extra WAV format definitions and a G72x_ADPCM_WAV_FMT struct definition. * src/wav_w64.c Applied patch from Antoine Mathys which converts wav_w64_format_str() from one huge inefficient switch statement to a binary search. * tests/string_test.c Dump log buffer if tests fail.2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * tests/string_test.c David Viens supplied some modifications to this file which showed up a bug when using sf_set_string() and the sf_writef_float() functions. * src/sndfile.c Fixed the above bug.2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/FAQ.html Added Q and A on how to detect libsndfile in configure.in (at the suggestion of Davy Durham).2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.h.in Add enums and typedefs for dither. Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will allow different dither algorithms to be enabled. Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO. * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def. Added public sf_dither_*() functions. * src/sndfile.c Implement commands above. * src/dither.c More work. Framework and external hooks into dither algorithms complete.2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * doc/version-1.html libsndfile_version_convert.py Remove redundant files. * doc/index.html doc/api.html Remove links to version-1.html. * src/dither.c New file to allow the addition of audio dither on input and output. * src/common.h Add prototype for dither_init() function. * Makefile.am doc/Makefile.am Changes for added and removed files.2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * Win32/Makefile.msvc Changes to force example binaries to be placed in the top level directory instead of the examples/ directory. Add src/strings.c and src/xi.c to the build. Add string_test to build and to tests on WAV files. * doc/index.html Added XI to support matrix.2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/sndfile.h.in Added prototypes for sf_get_string() and sf_set_string() and SF_STR_* enum values. * src/sndfile.c Added public interface to sf_get_string() and sf_set_string(). * src/wav.c Added code for setting and getting strings in WAV files. * tests/string_test.c New test program for sf_get_string() and sf_set_string() functionality. * tests/Makefile.am Hook new test program into build and test framework.2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com> * src/common.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -