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
Daniel G
e318801588
Fix the typo ( #763 )
2021-07-02 13:59:07 +05:00
evpobr
16b089a8a2
m4/add_fortify_source.m4: Update to fix MinGW bug
...
See https://github.com/msys2/MINGW-packages/issues/5803 for details.
2021-06-18 11:26:10 +05:00
Arthur Taylor
682eee35f3
configure.ac: Handle 'beta' suffix in WIN_RC_VERSION generation
2021-06-18 11:00:17 +05:00
evpobr
d948e9b13a
mpeg: Fix pedantic warning
...
ISO C does not allow extra ';' outside of a function [-Wpedantic].
2021-06-16 12:22:38 +05:00
evpobr
e46c4b9eb2
mpeg: Fix int overflow, closes #756
2021-06-16 12:20:41 +05:00
Ioseb Laghidze
01628f48b9
Add cmake build instructions for Android ( #751 )
...
Co-authored-by: I.Laghidze <developer@artisan-one.com>
Co-authored-by: evpobr <evpobr@gmail.com>
2021-06-15 21:29:22 +05:00
David Seifert
dfdad63ff2
Release 1.1.0beta1
2021-06-13 15:33:10 +02:00
evpobr
62b7fb3b35
Define ALWAYS_INLINE to __forceinline for MSVC
2021-06-06 16:24:44 +05:00
evpobr
5300a9e18c
Update CHANGELOG.md
2021-06-01 10:25:51 +05:00
evpobr
8cb0169f58
cmake: Support pre-release versions
2021-05-25 17:10:29 +05:00
evpobr
85aea74e57
Update sndfile.pc for MPEG support
2021-05-25 16:17:04 +05:00
evpobr
383e6e90e4
cmake: Read ABI version from configure.ac
2021-05-25 15:31:11 +05:00
evpobr
494a6d633e
autotools: Use ABI version for symbol scripts
2021-05-21 15:27:37 +05:00
evpobr
0cbfc93a3e
cmake: Fix shared library ABI on Apple platforms
...
Now ABI version must be compatible with Autotools builds. Note that
this change requires CMake >= 3.17 for building dylib on Apple
platforms.
2021-05-16 14:51:32 +05:00
evpobr
eddac7625d
ci: Fix Ubuntu builds
2021-05-12 09:07:39 +05:00
bobsayshilol
949c89122d
ALAC: Enable release check from original code
...
The original code that this was copied from only disabled this check in
debug builds as described in the comment, however doing so also allows
`channelIndex` to increase without bounds and can lead to writing past
the end of the output buffer.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27503
2021-04-26 09:46:58 +05:00
evpobr
f1db22760b
Update CHANGELOG.md
2021-04-20 13:26:37 +05:00
yuan
ced91d7b97
flac: Fix improper buffer reusing ( #732 )
2021-04-20 13:16:32 +05:00
evpobr
34bd39b9b5
[mpeg] Restore MPG123_NO_FRANKENSTEIN
2021-04-12 11:32:28 +05:00
evpobr
9349a566e2
[cmake] Separate API and ABI versions
2021-04-04 21:49:51 +05:00
Arthur Taylor
e79f45dac7
ogg_opus: Fix tabs messing up printf alignment.
2021-04-03 13:56:09 -07:00
Arthur Taylor
fe51e9b093
programs: Add MPEG related handling, other misc Ogg handling fixes.
...
- Add MPEG major and minor formats to string printing routines.
- Don't warn when adding a broadcast chunk to a MPEG WAV.
- sndfile-convert: Infer that ".ogg" suffix means Ogg+Vorbis. This
aligns with Xiph.org
- sndfile-info: Properly calculate the dB of Vorbis and Opus files. The
handling of the allowable sample range of these files may need to be
investigated in future.
2021-04-03 13:56:09 -07:00
evpobr
d820a2d257
[mpeg] Temporarily disable MPG123_NO_FRANKENSTEIN flag
...
Related to #499 , microsoft/vcpkg#16910 .
2021-03-31 13:00:15 +05:00
evpobr
cad58f39ca
[mpeg] Fix MPG123_NO_FRANKENSTEIN mode
2021-03-28 13:33:19 +05:00
evpobr
7fde60ac68
cmake: Fix package properties
2021-03-27 12:31:29 +05:00
evpobr
0d79fbef8b
Update README.md
2021-03-27 12:27:32 +05:00
evpobr
16251b2d11
mpeg: Fix Windows build
...
Windows MSBuild builds of mpg123 have wrong MPG123_API_VERSION.
2021-03-27 11:56:27 +05:00
evpobr
b7c22419b6
cmake: Improve mpg123 handling
...
mpg123 has official imported target name.
2021-03-27 11:53:51 +05:00
evpobr
89214bdf05
cmake: Fix undefined HAVE_MPEG
2021-03-26 12:32:45 +05:00
evpobr
72521cf4f7
doc: Add information about MPEG support
2021-03-26 12:10:48 +05:00
Arthur Taylor
f97fa5e6ba
id3: Remember id3v2 Header Info. Do Call mpeg_decode() Twice.
2021-03-25 10:26:15 -07:00
Arthur Taylor
b00db8b15c
Add mpeg_init() for initializing the codec without file assumptions.
...
Future proofing for MPEG in WAV support.
2021-03-25 10:26:15 -07:00