A C library for reading and writing sound files containing sampled audio data.
LGPL-2.1 License
Bot releases are visible (Hide)
Published by SoapGentoo about 1 year ago
sndfile-play
, thanks @ccawley2011SndFileHandle
C++ class, thanks @haydaralaidrusCMAKE_INSTALL_LIBDIR
/CMAKE_INSTALL_INCLUDEDIR
, thankslocaltime_s
support to sndfile-metadata-set
, thanks @neheb (issue #907)Ogg::ogg
, thanks @FtZPetruskampg123
module handling bugs, thanks @FtZPetruskaOgg
& Opus
format fixes, thanks @weiliang (issue #888)ssize_t
when building with Autotools, thanks @ccawley2011realloc
use, thanks @Halmoni100src/mpeg_decode.c
, thanks @arthurtsf_open_fd
() regression, thanks @brentr (PR #950)Maximum samplerate limit, thanks @drmpeg, @justacec (issue #850).
In version 1.1.0, an artificial limit of 655350 Hz was created, but as it
turned out, this is not enough for some scenarios.
Published by SoapGentoo over 2 years ago
MPEG Encode/Decode Support.
Uses libmpg123 for decode, liblame for encode. Encoding and decoding support
is independent of each other and is split into separate files. MPEG support
is generalized as subformats, SF_FORMAT_MPEG_LAYER
(I,II,III) so that it
might be used by other containers (MPEG1WAVEFORMAT
for example), but also
contains a major format SF_FORMAT_MPEG
for 'mp3 files.'
Encoding Status:
Decoding Status:
New fuzzer for OSS-Fuzz, thanks @DavidKorczynski.
This CHANGELOG.md
. All notable changes to this project will be documented in
this file. The old NEWS
file has been renamed to NEWS.OLD
and is no longer
updated.
Add support for decoding MPEG III Audio in WAV files.
SECURITY.md
file to give people instructions for reporting security
vulnerabilities, thanks @zidingz.
Support for Vcpkg manifest mode.
If you have problems with manifest mode, disable it with VCPKG_MANIFEST_MODE
switch.
CIFuzz fuzzer, thanks to @AdamKorcz (PR #796)
SFC_SET_DITHER_ON_READ
and SFC_SET_DITHER_ON_WRITE
enums comments in
public header, thanks @SmiVan (issue #677).
ENABLE_SNDFILE_WINDOWS_PROTOTYPES
define is deprecated and not needed
anymore.
Previously, in order for the sf_wchar_open
()
function to become available on the Windows platform, it was required to
perform certain actions:
#include <windows.h>
#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1
#including <sndfile.h>
These steps are no longer required and the sf_wchar_open
() function is
always available on the Windows platform.
Use UTF-8 as internal path encoding on Windows platform.
This is an internal change to unify and simplify the handling of file paths.
On the Windows platform, the file path is always converted to UTF-8 and
converted to UTF-16 only for calls to WinAPI functions.
The behavior of the functions for opening files on other platforms does not
change.
Switch to .xz over .bz2 for release tarballs.
Disable static builds using Autotools by default. If you want static
libraries, pass --enable-static to ./configure
Typo in docs/index.md
.
Typo in programs/sndfile-convert.c
, thanks @fjl.
Memory leak in caf_read_header
(), credit to OSS-Fuzz (issue 30375).
Stack overflow in guess_file_type
(), thanks @bobsayshilol, credit to
OSS-Fuzz (issue 29339).
Abort in fuzzer, thanks @bobsayshilol, credit to OSS-Fuzz
(issue 26257).
Infinite loop in svx_read_header
(), thanks @bobsayshilol, credit to OSS-Fuzz
(issue 25442).
GCC and Clang pedantic warnings, thanks @bobsayshilol.
Normalisation issue when scaling floating point data to int
in
replace_read_f2i
(), thanks @bobsayshilol, (issue #702).
Missing samples when doing a partial read of Ogg file from index till the end
of file, thanks @arthurt (issue #643).
sndfile-salvage: Handle files > 4 GB on Windows OS
Undefined shift in dyn_get_32bit
(), credit to OSS-Fuzz
(issue 27366).
Integer overflow in nms_adpcm_update
(), credit to OSS-Fuzz
(issue 25522).
Integer overflow in psf_log_printf
(), credit to OSS-Fuzz
(issue 28441),
(issue 25624).
ABI version incompatibility between Autotools and CMake build on Apple
platforms.
Now ABI must be compatible with Autotools builds. Note that this change
requires CMake >= 3.17 for building dylib on Apple platforms.
Fix build with Autotools + MinGW toolchain on Windows platform.
See https://github.com/msys2/MINGW-packages/issues/5803 for details.
wavlike_ima_decode_block
(), thanks @bobsayshilol,msadpcm_decode_block
(), thanks @bobsayshilol,psf_binheader_readf
(), thanks @bobsayshilol,psf_nms_adpcm_decode_block
(), credit to OSS-Fuzzflac_buffer_copy
(), thanks @yuawn, @bobsayshilol.copyPredictorTo24
(), thanks @bobsayshilol,psf_binheader_readf
(), thanks @shao-hua-li,Published by SoapGentoo over 3 years ago
Note for Autotools users: Please note that the "Source code (zip)" or "Source code (tar.gz)" downloads require you to have the autotools toolchain (autoconf
, autogen
, automake
and libtool
) installed. If you don't want to install it (or don't know what this means), you should probably download the libsndfile-*.tar.bz2
asset instead.
Published by evpobr about 4 years ago
NOTE: libsndfile-1.0.30.tar.bz2
and libsndfile-1.0.30.tar.bz2.asc
files were re-uploaded due to problems with incorrect line endings. Update the hashes if necessary. Sorry for the inconvenience.
close_desc
parameter is TRUE, thanks to @umläute.The GPG signature is at Keybase.IO.
Published by evpobr about 4 years ago
The GPG signature is at Keybase.IO.