Chris Robinson
00dced1c96
Set policies to exclude /W3 and /GR on MSVC
...
We set /W4, and /GR is the default.
2022-06-15 02:29:38 -07:00
Chris Robinson
f3092e286e
Search for Oboe config modules first
2022-06-01 10:44:29 -07:00
Boris I. Bendovsky
074dbef2e3
[EAX] Add separate effect state for each version ( #705 )
...
* [EAX] Add separate effect state for each version
* [EAX] Don't use EAX call as data member
2022-05-24 02:19:14 -07:00
Chris Robinson
65e4c20c27
Move EAX files to their own sub-directory
2022-05-16 02:08:18 -07:00
ilya-fedin
0bf2abae9b
Fix pkg-config file when libdir/bindir/includedir specified as absolute paths ( #696 )
...
Currently it makes the pkg-config file unusable as prefix is specified twice.
FULL variables do the necessary parsing and automatically prepend the prefix if needed.
2022-05-13 15:39:43 -07:00
ilya-fedin
e0d26ba25a
Search the installation data directory ( #693 )
...
That allows the logic to work on non-FHS distros like NixOS
2022-05-13 13:55:17 -07:00
Chris Robinson
c870e550fa
Don't enable RTKit/D-Bus support on Windows
2022-05-09 12:38:12 -07:00
Chris Robinson
22e6c0df60
Check for a minimum PipeWire version
...
The backend is apparently using some stuff that wasn't in earlier headers, but
it's not clear what was introduced in which versions. 0.3.23 should work,
though it may need to be higher or it could go a bit lower.
2022-04-27 01:25:15 -07:00
ilya-fedin
2ea5bb9168
Fallback to pkg-config for dbus ( #689 )
2022-04-25 17:32:01 -07:00
Chris Robinson
c1c63a27de
Release 1.22.0
2022-04-22 18:46:14 -07:00
Chris Robinson
bdf18d60db
Be more careful about checking compiler flags
...
Certain combinations of MSVC and CMake seem to allow all compiler flag checks
to pass, which was causing certain GCC attributes to be used on MSVC.
2022-03-23 23:40:54 -07:00
Chris Robinson
625b0d380a
Use function overloading to handle pthread_setname_np differences
2022-02-23 05:56:29 -08:00
Chris Robinson
d22699d9bd
Add a OpenAL::OpenAL cmake target alias
...
For when built as a sub-project, to clarify it's a target instead of a library.
2022-02-22 08:25:40 -08:00
Chris Robinson
d3d9f8ca3d
Clean up some cmake output formatting
2022-02-22 08:06:39 -08:00
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