391 Commits

Author SHA1 Message Date
Chris Robinson
427f484e01 Print separate messages for building sdl_sound and ffmpeg examples 2017-02-12 08:37:42 -08:00
Chris Robinson
6b030999cb Don't require SDL_sound for alffplay
Also explicitly link with libz for alffplay, since static ffmpeg libs need it.
2017-02-11 12:56:13 -08:00
Chris Robinson
3ba03c5a29 Also log to __android_log_print on Android 2017-01-26 18:15:19 -08:00
Chris Robinson
6e806848eb Use C++11 for alsoft-config 2017-01-12 13:38:21 -08:00
Chris Robinson
40f359d159 Rename the version target for systems that have a version lib 2016-12-21 21:56:51 -08:00
Chris Robinson
1b104dd77b More robustly generate the git commit ID and branch 2016-12-21 11:41:45 -08:00
Chris Robinson
bcb6dfee71 Trace the commit ID and branch the library was built from 2016-12-21 01:12:47 -08:00
rdb
f0c2c23ad1 Explicitly disable use of GNU89 inline semantics 2016-12-20 22:34:00 +01:00
Chris Robinson
fcb669f803 Set the windows subsystem for DLLs on MSVC and GCC on Windows 2016-11-22 15:47:46 -08:00
Chris Robinson
49fd154829 Update cmake scripts to handle policy 0054 2016-11-22 14:50:55 -08:00
Chris Robinson
b743bc1c1b Remove the temporary stub files after the output object is made 2016-11-11 13:19:45 -08:00
Chris Robinson
e69af7ab92 Fixes for embedded HRTFs on OSX
Use an empty source file to build a stub object file, instead of /dev/null. Use
_mh_dylib_header to retrieve the data on 10.7+, instead of _mh_execute_header.
And shorten the names to fit in the 16-character limit.

Thanks to Anna Cheremnykh for the fixes!
2016-11-11 13:14:02 -08:00
Chris Robinson
9ef7719734 Try to make embedded HRTF data sets work on OSX 2016-11-10 21:51:45 -08:00
septag
d142ba1ab4 Added cmake FindWindowsSDK for FindDSound module and fixed FindDSound.cmake 2016-11-03 00:37:09 +03:30
Chris Robinson
bb6fba2183 Properly check for struct timespec 2016-10-04 17:19:47 -07:00
kcat
2f1f7f4c6a Merge pull request #63 from adrianbroher/gnuinstalldir
Use GNUInstallDirs to place the build artifacts properly
2016-09-14 09:48:03 -07:00
Chris Robinson
af5fb3d6e7 Fix the libatomic check 2016-09-13 12:11:52 -07:00
Chris Robinson
a004ccfa1a Check for libatomic, in case C11 atomics need it 2016-09-12 12:42:11 -07:00
Chris Robinson
46b3e1d08c Check if -mfpu=neon is available for compiling the NEON mixer 2016-09-12 11:31:59 -07:00
Thomas Petazzoni
27916ce3db Build NEON code with -mfpu=neon
The ARM-specific NEON code needs to be built with -mfpu=neon to avoid
build failures when a difference FPU is used by default by the
compiler.

Fixes issue #54.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-06 22:19:14 +02:00
Marcel Metz
3481cf6fba Use GNUInstallDirs for generated pkg-config file
Continuation of 6387933
2016-09-06 21:52:05 +02:00
Marcel Metz
6387933f8b Use GNUInstallDirs to place the build artifacts properly
CMake 2.8.5 added the GNUInstallDirs module, which provides various
variables following the CMAKE_INSTALL_*DIR pattern to allow users a more
flexible installation setup and to provide sensible defaults while
respecting distribution specific install locations like lib64 for RPM
based linux distributions or debian multiarch tuples.
2016-09-06 21:43:01 +02:00
Chris Robinson
25d1b7bdba Remove broken autowah effect code
It's been disabled forever, and I have no idea how to make it work properly.
Better to just redo it when making something that works.
2016-07-26 03:45:25 -07:00
Chris Robinson
e8202b915d Fix indentation 2016-07-12 19:05:56 -07:00
Chris Robinson
b4cb0e9bf5 Fix a copy-paste message error 2016-07-12 19:05:21 -07:00
Chris Robinson
4898234da8 Add a cmake option to embed the HRTF data 2016-07-12 14:22:17 -07:00
Chris Robinson
fdee577940 Provide a decoder preset for 5.1 Surround output 2016-04-24 21:11:24 -07:00
Chris Robinson
c2dec5008b Install the ambdec preset files 2016-04-23 17:29:51 -07:00
Chris Robinson
2ccc1d1d8a Move the aligned malloc functions to the common lib 2016-03-29 00:44:58 -07:00
Chris Robinson
53fadf5497 Add a dual-band ambisonic decoder
This uses a virtual B-Format buffer for mixing, and then uses a dual-band
decoder for improved positional quality. This currently only works with first-
order output since first-order input (from the AL_EXT_BFROMAT extension) would
not sound correct when fed through a second- or third-order decoder.

This also does not currently implement near-field compensation since near-field
rendering effects are not implemented.
2016-03-15 05:08:05 -07:00
Chris Robinson
919b35295e Add a loader for ambdec files 2016-03-14 20:13:50 -07:00
Chris Robinson
67f086d1d4 Add a function to encode 2-channel UHJ from B-Format 2016-02-26 14:51:56 -08:00
Chris Robinson
0189b923a2 Release 1.17.2 2016-01-24 19:12:39 -08:00
Chris Robinson
5761aa9400 Remove unneeded check for io.h 2016-01-24 01:51:43 -08:00
Chris Robinson
ddc885604d Clear SSE3 switch before testing if one's recognized 2016-01-24 01:35:09 -08:00
Chris Robinson
87b6c30932 Reorder some cmake checks 2016-01-21 21:51:20 -08:00
Chris Robinson
fb599b5b83 Lower the _POSIX_C_SOURCE and _XOPEN_SOURCE version requirements 2016-01-21 17:18:08 -08:00
Chris Robinson
26f5d385d5 Only set cmake policy CMP0042 if it's valid 2016-01-21 06:18:54 -08:00
Chris Robinson
0a9e9858f9 Always define _XOPEN_SOURCE if _POSIX_C_SOURCE is too 2016-01-21 06:08:18 -08:00
Chris Robinson
bb0ac26ce1 Explicit check if pthread_setname_np accepts only one parameter 2016-01-21 02:33:45 -08:00
Chris Robinson
9c05a16c9a Fix for systems that don't have strnlen 2016-01-21 02:09:32 -08:00
Chris Robinson
3395b361fa Silence a CMake warning on OSX about MACOSX_RPATH 2016-01-20 18:42:23 -08:00
Chris Robinson
0bb838bbaf Add an option to static-link libgcc
Mainly just for MinGW to make OpenAL32.dll not rely on libgcc_s_sjlj-1.dll.
2016-01-17 15:45:42 -08:00
Niels Ole Salscheider
d93398a361 Allow to override the share install dir
This is needed for multiarch layouts where the prefix is /usr/${host} but
where arch-independet files are installed to /usr/share.
2015-12-19 17:54:47 +01:00
Chris Robinson
e034afe107 Check if _XOPEN_SOURCE needs to be set 2015-12-11 09:41:46 -08:00
Chris Robinson
14df326876 Release 1.17.1 2015-12-10 04:45:30 -08:00
Chris Robinson
48447e2864 Also install the HRTF example 2015-12-04 19:51:48 -08:00
Chris Robinson
482372577e Avoid using usleep in the examples
We already have an al_nssleep wrapper in the common lib we can use.
2015-12-04 19:09:48 -08:00
Chris Robinson
4e6acfa0d5 Only set _POSIX_C_SOURCE if needed 2015-12-04 18:52:46 -08:00
v4hn
8ac8830478 include correct libraries in case jack support is requested and found
It just doesn't make sense to add pulseaudio libraries here...
Also it breaks in case jack is requested, but pulseaudio is disabled :)
2015-11-20 14:33:44 +01:00