820 Commits

Author SHA1 Message Date
Chris Robinson
246412bfa6 Rename deprecated -> legacy 2022-02-14 14:22:45 -08:00
Chris Robinson
2212b8d8ad Don't use a generator expression in a CMake option 2022-02-14 05:05:05 -08:00
Chris Robinson
97dbd9a191 Don't search for __android_log_print on non-Android targets
For some reason this check is passing on iOS, causing the build to later fail
because it can't find -llog. Need to investigate why it finds something that
doesn't exist, but this should fix the build error in the mean time.
2022-02-03 00:27:48 -08:00
Chris Robinson
071c9a6758 Output a message when EAX is enabled in CMake 2022-02-01 04:04:24 -08:00
Chris Robinson
96366c1fc1 Output a message when EAX is enabled in CMake 2022-01-30 05:46:29 -08:00
Chris Robinson
816bd8ab30 Move ALSOFT_EAX definition to config.h
And disable it by default for non-Windows targets
2022-01-30 05:42:44 -08:00
Boris I. Bendovsky
19ed994dc3
Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)
* Add EAX extensions (EAX 2.0-5.0, X-RAM)

* Comment out C++17 leftovers

* Remove everything related to patching

* Update alsoftrc.sample

* Rewrite integration

* Fix GCC compilation under Linux

* Always reset EAX effect properties when loading it into FX slot
2022-01-30 04:47:32 -08:00
Chris Robinson
619249371a Remove math_defs.h 2022-01-27 04:04:41 -08:00
Chris Robinson
1bbea9cd30 Start and use a standard-like numbers header 2022-01-27 01:38:39 -08:00
Chris Robinson
6bb9912513 Fix non-runtime linking with pipewire 2021-12-25 16:12:10 -08:00
Chris Robinson
d16b61dffb Move the effects base and effectslot to core 2021-12-17 17:13:59 -08:00
Chris Robinson
35348869a9 Disable MSVC warning 4127
"conditional expression is constant", which C++14 can't do anything about since
'if constexpr' was added in C++17. The checks are necessary since it's dealing
with a templatized type, or a compile-time non-macro constant for the target
system's endian order.
2021-11-08 21:16:33 -08:00
Chris Robinson
602b33fede Always define NOMINMAX on Windows
Clang needs it too, not just MSVC, and it doesn't seem to hurt MinGW.
2021-08-23 11:08:58 -07:00
Chris Robinson
4cc820bb5c Start a PipeWire backend
It's just a copy of the Null backend to start with
2021-08-02 21:03:18 -07:00
Chris Robinson
6406cc6141 Still print a warning when DBus or Qt5 aren't found
This way merely avoids the several lines of spam when the config module isn't
found, which there's otherwise no reasonable way to test for since they're
provided by the package, which you need to use find_package to search for,
which causes the spam. It's still useful to report the packages weren't found
in case they were expected.
2021-07-17 11:47:05 -07:00
Chris Robinson
87894057b2 Silence searching for Qt5 2021-07-17 11:11:26 -07:00
Nick (nift4)
dd659c9815
CMakeLists: add QUIET to Dbus1 find_package()
* Android doesn't have dbus, logspam is annoying
2021-07-17 11:28:37 +02:00
Chris Robinson
955fdebcad Add a utility to encode audio files to UHJ 2021-07-09 09:04:07 -07:00
Anonymous Maarten
9a745292bd
Make OpenALConfig.cmake compatible with CMake's FindOpenAL.cmake (#581)
* Make OpenALConfig.cmake compatible with CMake's FindOpenAL.cmake

* Create and install OpenALConfigVersion.cmake

* cmake: drop creating of OpenALConfigVersion.cmake
2021-07-06 00:34:40 -07:00
kcat
4733c9fc37
Merge pull request #564 from halx99/patch-1
Improve cmake to handle tvOS
2021-05-13 15:14:11 -07:00
kcat
8324471b8a
Merge pull request #559 from tatokis/split-sse-sse2
Allow enabling SSE without SSE2
2021-05-13 15:13:00 -07:00
HALX99
66ebc3dc4b
Update CMakeLists.txt 2021-05-13 18:53:26 +08:00
Chris Robinson
1d7ff54f7d Update some comments in CMake 2021-05-13 01:46:09 -07:00
HALX99
44d58bc69c
Fix check_include_file return unexpected result (#563)
Don't overwrite existing CMAKE_TRY_COMPILE_PLATFORM_VARIABLES values.
2021-05-13 01:43:39 -07:00
Tasos Sahanidis
b40272d256
Allow enabling SSE without SSE2 2021-04-30 13:29:39 +03:00
Chris Robinson
e3c0b60cc6 Rename alcontext.h and move some functions to context.cpp 2021-04-27 19:04:45 -07:00
Chris Robinson
06dcfc3fcf Rename alcmain.h to device.h 2021-04-27 16:40:22 -07:00
Chris Robinson
061148072f Update include headers
Don't add alc/ to the include paths.
2021-04-27 16:04:54 -07:00
Chris Robinson
ff380298e4 Move BufferStorage and Voice to core 2021-04-27 08:26:42 -07:00
Chris Robinson
99157f149f Move ContextBase and VoiceChange to core 2021-04-27 08:04:09 -07:00
Chris Robinson
2479483645 Move bformatdec to core 2021-04-25 18:08:08 -07:00
Chris Robinson
8d09d03ed3 Move async_event.h to core 2021-04-25 14:29:21 -07:00
Chris Robinson
0fe38c053d Move some functions to core
And clean up more includes
2021-04-25 11:36:37 -07:00
Chris Robinson
440ce71dce Move GetHFOrderScales to a more appropriate place 2021-04-24 13:46:52 -07:00
Chris Robinson
6d5dfbd09b Move the DeviceBase declaraction to core 2021-04-24 10:46:32 -07:00
Chris Robinson
519672c8e5 Move some more sources to core 2021-04-24 03:47:23 -07:00
Chris Robinson
65b85f7cb9 Move hrtf.cpp/h to core 2021-04-22 10:26:20 -07:00
Chris Robinson
d2f587ee23 Move helpers.cpp to core 2021-04-22 03:15:26 -07:00
Chris Robinson
5165b29b19 Optionally use RTKit/D-Bus to set elevated priority
If pthread_setschedparam fails or is unavailable.
2021-04-18 00:43:01 -07:00
Chris Robinson
35a0f2665f Decode UHJ buffers to B-Format for mixing
This should also have an adjustment for the shelf filter. Although it's not
clear what the appropriate adjustments should be.
2021-03-31 09:37:30 -07:00
Chris Robinson
8ab5e5dba2 Move the UHJ phase shifter to a common header 2021-03-28 06:09:11 -07:00
Chris Robinson
819e0297ff Add the export definitions to the library projects
Instead of the config.h header.
2021-03-28 01:47:27 -07:00
Chris Robinson
c3ee678945 Add a utility to decode UHJ sound files to AMB
Currently only supports 2-channel UHJ, and the produced .amb files shouldn't be
played as normal B-Format (decoded 2-channel UHJ needs to use different shelf
filters).
2021-03-21 02:03:45 -07:00
Chris Robinson
1d57db6836 Move the ComPtr wrapper to a common header 2021-03-08 22:47:50 -08:00
Chris Robinson
ae4eacf147 Release 1.21.1 2021-02-04 11:09:06 -08:00
Chris Robinson
ac5d40e40a Move al::deque to a common header 2021-01-25 09:24:10 -08:00
Chris Robinson
f576a35363 Don't bother checking for std::aligned_alloc 2021-01-22 08:53:44 -08:00
Chris Robinson
1dcc6361fe Fix setting the correct standards flag 2021-01-22 08:42:02 -08:00
Chris Robinson
f9f8b52a40 Ensure the correct standard is set for cmake checks 2021-01-22 08:17:45 -08:00
Chris Robinson
5729e1004d Make the endian test more C++-like 2021-01-21 23:21:18 -08:00