Commit Graph

416 Commits

Author SHA1 Message Date
David Seifert
bc11600986
configure.ac: fix broken --enable-ossfuzzers option
* Passing `--disable-ossfuzzers` would actually enable fuzzers.
2022-09-13 10:30:28 +02:00
Jörn Heusipp
bd951f9a47 Make sndfile.h independent of build system variables
Fixes <https://github.com/libsndfile/libsndfile/issues/868>.
2022-09-12 10:39:37 +02:00
Michael Cho
e4fdaeefdd configure.ac: substitute EXTERNAL_MPEG_LIBS in sndfile.pc 2022-04-18 13:36:44 +05:00
David Seifert
ea3ac90e98
Release 1.1.0 2022-03-27 13:48:57 +02: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
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
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
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
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
Arthur Taylor
682eee35f3 configure.ac: Handle 'beta' suffix in WIN_RC_VERSION generation 2021-06-18 11:00:17 +05:00
David Seifert
dfdad63ff2
Release 1.1.0beta1 2021-06-13 15:33:10 +02:00
evpobr
85aea74e57 Update sndfile.pc for MPEG support 2021-05-25 16:17:04 +05:00
evpobr
494a6d633e autotools: Use ABI version for symbol scripts 2021-05-21 15:27:37 +05:00
Arthur Taylor
663a59aa6e mpeg: Add MPEG Encode, Decode and Tests
Use SF_FORMAT_MP3 major and SF_FORMAT_MPEG_LAYER_(I|II|III) subformats.
2021-03-25 10:26:15 -07:00
evpobr
1875f49bbf common: Allow to use C99 bool 2021-03-18 15:10:35 +05:00
David Seifert
d60deb5d86
Release 1.0.31
Fixes #693
2021-01-24 13:22:23 +01:00
evpobr
e7f5137b47 Implement fast SSE2 lrint and lrintf, closes #660
lrint() and lrintf() are ridiculously slow when libsndfile is built
using Visual C++.

On x86 and AMD64 platforms this patch adds SSE2 optimized versions.

It is safe to assume that non-SSE2 processors are no longer available to
avoid unnecessary checks.
2020-12-08 10:42:26 +05:00
Tom Stellard
91128fcd60 configure: Use version-script when compiling with clang on unix
This fixes incompatibilities with the clang and gcc builds, and also
matches what is done in the CMake builds.
2020-11-21 16:55:14 +05:00
evpobr
942acc65bf Update site documentation
* Use GitHub's Jekyll static site generator.
* Move all documentation to docs/ directory.
* Convert HTML to Markdown.
2020-10-19 16:52:27 +05:00
evpobr
4a253ba0dc Update documentaton links 2020-10-05 12:21:19 +05:00
evpobr
68958f9c91 Release 1.0.30 2020-09-19 11:48:47 +05:00
Max Dymond
20c65fecd9 Add ossfuzz support for libsndfile
Fixes #476

Add a fuzzer (`sndfile_fuzzer`) which can be compiled and run
by the OSS-Fuzz infrastructure.
2020-08-28 14:41:37 +05:00
evpobr
acfcd147da Move public headers to include directory 2020-08-26 11:59:26 +05:00
evpobr
ccb75f4829 Version 1.0.29 2020-08-15 10:50:52 +05:00
Jean Pierre Cimalando
a7e9fb5f7c List pkgconfig dependencies in Requires.private 2020-03-08 13:02:42 +11:00
Erik de Castro Lopo
6978654319 configure.ac: 1.0.29rc2 2019-06-13 19:19:10 +10:00
David Seifert
d5531723a0 Ignore -Wformat-truncation warnings
* These are spurious and pollute logs unnecessarily.
2019-04-08 11:06:01 +10:00
Erik de Castro Lopo
7c5da26b70 static-deps-build.mk: Add opus to build 2019-02-26 20:22:14 +11:00
Arthur Taylor
326e4533f3 Opus file support
Ogg: Introduce new functions ogg_sync_fseek(), ogg_ftell(), ogg_next_page(),
ogg_stream_next_page(), ogg_sync_last_page_before(), and
ogg_stream_unpack_page(). Use ogg_sync_* for ogg_read_first_page(). Bump libogg
version requirement from 1.1.3 to 1.3.0 as LibOgg 1.3.0 is required for
ogg_stream_pageout_fill() and ogg_stream_flush_fill().

Opus: Add opus support. Document added commands
SFC_(GET|SET)_ORIGINAL_SAMPLERATE. Added or extended tests ogg_opus_test,
compression_size_test, floating_point_test, lossy_comp_test, string_test,
external_libs_test. Change Opus to non-experimental.
2019-02-20 19:30:30 +11:00
evpobr
1e4e839008
Update configure.ac
We use C99, so no we don't need -Wdeclaration-after-statement warning

Related to: #357
2018-09-14 09:29:38 +05:00
Erik de Castro Lopo
adc0d425f9 configure.ac: Report whether building Octave interface 2018-01-07 12:14:46 +11:00
Jan Starý
d1c591aea2 configure.ac: Fix --enable-octave doc string
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2018-01-07 11:50:52 +11:00
Erik de Castro Lopo
5d4d1feca0 Remove redundant libsndfile.def.in 2017-10-31 18:42:40 +11:00
Erik de Castro Lopo
af9d26411b Scripts/build-test-tarball.mk.in: Updates 2017-10-28 16:17:55 +11:00
Erik de Castro Lopo
ac5b66a447 configure.ac: Add -mstackrealign to CFLAGS for mingw* 2017-10-27 19:35:21 +11:00
Ghabry
3f8d728f01 configure.ac: Fix configure for vitasdk
Closes: https://github.com/erikd/libsndfile/issues/310
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2017-09-30 20:28:14 +10:00
David Seifert
e6c42ff027 Make build system completely non-recursive 2017-09-26 19:35:56 +10:00
Erik de Castro Lopo
c144d78fd4 Fix sf_count_t detection on android
Closes: https://github.com/erikd/libsndfile/issues/295
2017-07-03 06:22:01 +10:00
David Seifert
7b099b2370 Remove echo-install-dirs script and inline echo statements
* Using AX_RECURSIVE_EVAL to determine the full absolute path
  and printing it inline in the configure script is less
  brittle than calling another script from configure.
2017-06-06 08:19:21 +10:00
David Seifert
7264aefd09 Use AM_PATH_PYTHON to handle python
* AM_PATH_PYTHON is more versatile and allows the
  user to specify the python interpreter to use.
2017-06-06 08:19:21 +10:00
David Seifert
d607b78f02 Produce bzip tarballs
* bzip tarballs are significantly smaller than gzip
  tarballs and preferred by distributions nowadays.
2017-06-06 08:19:21 +10:00
David Seifert
2e24132b84 Do not add Makefile.am in M4/ dir 2017-06-06 06:41:55 +10:00
David Seifert
ccbba1957d Replace some MN_* macros by AX_* macros 2017-06-06 06:41:55 +10:00
David Seifert
a274030cc0 Cleanup configure.ac to use modern Autoconf idioms 2017-06-06 06:41:55 +10:00
evpobr
3d8399dfde Fix broken ABI
Unfortunately ABI was broken when symbols files were removed
in favour of new visibility control of exported functions.

Visibility control with -fvisibility works fine, but symbol
scripts had another feature - versioned symbols. And we lost it.

Since we can not make our symbols to be versioned  with the new
approach, it's decided to return everything back.

* CMake: Restore symbol files generation
* CMake: Python is required to build shared libraries
* Autotools: Restore symbol files generation

Closes: https://github.com/erikd/libsndfile/issues/268
2017-05-26 06:16:42 +10:00
evpobr
5c6129fce6 Autotools: Implement symbols visibility control
* Use symbol file under Win32 with MinGW only
* Use unified visibility control for other platforms
* Add recommended win32-dll option to LT_INIT macro

Closes: https://github.com/erikd/libsndfile/issues/213
2017-04-28 18:01:09 +10:00
evpobr
356a8c8fe3 configure.ac: Remove useless LIBTOOL_DEPS macro
It is not required when using libtool with automake, as we do.

Proof: http://tinf2.vub.ac.be/~dvermeir/manual/autobook/autobook-1.2/autobook_87.html

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2017-04-05 19:35:27 +10:00
Erik de Castro Lopo
170a10ab8d configure.ac: Test if -Wvla is supported before adding it 2017-04-03 18:48:38 +10:00