Commit Graph

3065 Commits

Author SHA1 Message Date
evpobr
fc298c9d93 Fix build on UWP platform, closes #824 2022-04-03 12:13:29 +05:00
evpobr
269ae40a3b Fix CMake build from Autotools tarball, closes #816 2022-04-03 12:05:00 +05:00
evpobr
eff5f0a640 cmake: fix LAME dependency search 2022-04-03 11:41:07 +05:00
David Seifert
33e765ccba
Remove obsolete SF_PLATFORM_S64() macro 2022-04-02 20:53:09 +02:00
David Seifert
ea3ac90e98
Release 1.1.0 2022-03-27 13:48:57 +02:00
evpobr
89e7c02464 Prepare to release 2022-03-27 15:31:49 +05:00
David Seifert
ce57da8fd4
Only add -Wno-format-truncation when using GCC
* Clang produces warnings such as
  warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
2022-03-27 13:20:49 +02:00
evpobr
4b01368fd8 Update CHANGELOG.md 2022-03-19 09:32:03 +05:00
evpobr
77acc6d362 cmake: Add config-file package MPEG dependency 2021-12-16 12:57:05 +05:00
evpobr
59f1622c42 cmake: Export targets from the build tree 2021-12-16 12:57:05 +05:00
AdamKorcz
f44c8dbe1d
Fuzzing: Add CIFuzz (#796) 2021-12-14 08:32:18 +05:00
Felix Lange
ca2008903f
sndfile-convert: fix typo in error message (#793)
Co-authored-by: evpobr <evpobr@gmail.com>
2021-11-24 09:52:36 +05:00
evpobr
47383a6cc2 Update CHANGELOG.md 2021-11-24 09:43:36 +05:00
evpobr
759592e4df Add Vcpkg binary caching
Speed up GitHub Actions CI using Vcpkg binary caching feature.

Dependencies are built once and on next run restored from GitHub
packages.
2021-11-21 19:19:26 +05:00
evpobr
0c10913b92 Add support for Vcpkg manifest mode
https://vcpkg.readthedocs.io/en/latest/users/manifests/
2021-11-21 14:49:44 +05:00
evpobr
739bc8cdac Fix unintialized variable in psf_binheader_readf()
Thanks to @shao-hua-li
2021-11-21 12:58:44 +05:00
evpobr
7e2db6e8ef Create SECURITY.md 2021-11-18 09:57:37 +05:00
evpobr
c7b69d7589 Update CHANGELOG.md
Commit 404bf9a also fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25624.
2021-11-09 21:01:06 +05:00
evpobr
b1307c7755 ci: Remove yasm-tools for x64-windows workaround 2021-11-09 14:52:19 +05:00
evpobr
404bf9af79 Fix integer overflow in psf_log_printf()
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28441

Credit to OSS-Fuzz.
2021-11-09 14:28:10 +05:00
David Seifert
f1495b4bcc
Release 1.1.0beta2
Fixes #784
2021-10-24 14:53:12 +02:00
David Seifert
1c407fe823
libtool: don't build static archives by default 2021-10-24 14:53:11 +02:00
David Seifert
4b64fd767a
programs/sndfile-deinterleave.c: fix broken calloc call
Fixes #783
2021-10-24 14:26:31 +02:00
David Seifert
aaac071f60
update CHANGELOG.md for MPEG-III-in-wav 2021-10-24 13:37:08 +02:00
Arthur Taylor
e09e5dd043 mpeg: Move dataoffset check from codec to format init 2021-10-22 23:57:30 -07:00
Arthur Taylor
d1c87ec1c7 mpeg: Disable experimental writing MPEG subformats in WAV 2021-10-22 23:57:30 -07:00
Arthur Taylor
4b8209e650 wav: Add R/W support for MPEG_LAYER_III subformat in wav 2021-10-22 23:57:30 -07:00
Arthur Taylor
c42e41324b wavlike: Add fmt MPEGLAYER3
See Microsoft's documentation for <mmreg.h>.
2021-10-22 23:57:30 -07:00
Arthur Taylor
294eb05633 mpeg: Heed dataoffset to avoid passing RIFF header when reading from pipes. 2021-10-22 23:57:30 -07:00
Arthur Taylor
1a5d40cf21 mpeg: Bug fix for mpeg encode, using frame_size before encoder init. 2021-10-22 23:57:30 -07:00
Arthur Taylor
444d9a4c8a wav: Detect ID3v1 trailers, do not parse as a chunk 2021-10-22 23:57:30 -07:00
David Seifert
d5a036e11a
configure.ac: Remove stack smash protection (#778)
* This is something deployers should enable if they want it.
2021-09-21 14:51:52 +02:00
nia
3ead8d2266
sndfile-play: Add NetBSD support (#776)
* sndfile-play: Use Sun-compatible audio device on NetBSD

Keep the gain unchanged. Avoids distortion from playing sounds
too loudly and preserves the user's existing volume settings.
2021-09-21 14:15:14 +02:00
papadave66
f65e8bc9d1 Fix duplicated case value of ESTRPIPE on BSD 2021-09-08 13:40:59 +05:00
David Seifert
f1bfc717b1
Remove AC_HEADER_STDC
* No point in checking for C89 headers in 2021

Fixes #774
2021-09-05 15:01:10 +02:00
David Seifert
475ddd7a46
Switch release tarballs .bz2 -> .xz
* `.bz2` = 0.86 MiB
* `.xz` = 0.70 MiB
  by switching, we save nearly 20%
2021-09-05 15:01:09 +02:00
David Seifert
5e321c80cf
Update $as_echo_n -> AS_ECHO_N 2021-09-05 15:01:08 +02:00
David Seifert
8aba5d7f5b
Update AC_HELP_STRING -> AS_HELP_STRING 2021-09-05 15:01:07 +02:00
evpobr
2421c8501e sndfile-info: Remove duplicate array 2021-09-01 11:55:31 +05:00
evpobr
0956676eb1 sfprocess: Fix memory leaks 2021-09-01 10:01:43 +05:00
evpobr
b2998c9fc6 sndfile-loopify: Fix memory leak 2021-08-31 13:54:13 +05:00
evpobr
c284c0508a sndfile-loopify: Remove unused struct 2021-08-31 13:51:09 +05:00
evpobr
04ae52469e autotools: Fix missing external libs message
Add libopus to make missing external libraries warning correct.
2021-08-31 13:15:02 +05:00
evpobr
9f5d66e91d
README.md: Fix link to the main repository 2021-08-24 14:59:39 +05:00
Peter Lemenkov
497a177177 docs: Fix link to the main repository
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2021-08-24 14:55:16 +05:00
DavidKorczynski
110e26d9c2
Add new fuzzer for OSS-Fuzz (#769)
Adds a fuzzer targeting sf_read_double, sf_read_int and sf_read_short.

Co-authored-by: evpobr <evpobr@gmail.com>
2021-08-15 09:38:48 +05:00
evpobr
dc1c8c2492 sndfile.h: Fix (really) get/set bitrate commands values 2021-07-17 09:48:43 +05:00
evpobr
3ef35eea25 sndfile.h: Fix get/set bitrate commands values
Numeric values of SFC_GET_BITRATE_MODE and SFC_SET_BITRATE_MODE commands
matched the values ​​of commands SFC_SET_OGG_PAGE_LATENCY_MS and
SFC_SET_OGG_PAGE_LATENCY.
2021-07-09 14:38:24 +05:00
Arthur Taylor
86c9f9eb70 mpeg: decode cleanups of copyright, comments, copyright, unused 2021-07-04 22:01:06 -07:00
evpobr
ccfd37ab92
Use forward for loops (#760)
* Use forward for loops

* mpeg: Rewrite decode read conversion copy loops

Rewrite the mpeg_dec_read_X() conversion copy loops for clarity and bug
fixes.

 - Use two buffers rather than in-place expansion for float -> double
   conversion of mpeg_dec_read_double(). The previous method required a
   less-compiler optimizer friendly backwards looping. This also broke
   strict-aliasing rules as well, (although this could be worked around
   with a union pointer.)

 - Add optional clipping support for float->short and float->int reads.

 - Don't bother deref'ing and passing the otherwise unused
   MPEG_DEC_PRIVATE pointer, instead deref it as needed in
   mpeg_dec_decode().

Co-authored-by: Arthur Taylor <art@ified.ca>
2021-07-05 09:22:11 +05:00