7730 Commits

Author SHA1 Message Date
Chris Robinson
8d868ff33f Fix setting the channel distance compensation buffers 2021-05-20 23:48:43 -07:00
Chris Robinson
0ec549ae7a Fix short initial packet preparation in alffplay 2021-05-20 23:48:43 -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
2516fdee66
Handle tvOS case 2021-05-13 19:05:47 +08: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
Chris Robinson
bab6e92980 Avoid shadowing a variable name 2021-05-13 01:44:06 -07:00
Chris Robinson
6aff0715a1 Don't fail fast on github CI 2021-05-13 01:44:06 -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
2f0e37bc24 Add back some more missing includes 2021-04-27 23:03:24 -07:00
Chris Robinson
1195bba833 Add back a missing include 2021-04-27 19:46:33 -07:00
Chris Robinson
e3c0b60cc6 Rename alcontext.h and move some functions to context.cpp 2021-04-27 19:04:45 -07:00
Chris Robinson
3d8e705107 Move some functions to a more appropriate place 2021-04-27 17:01:27 -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
2571d9bbc4 Update some license notices
Permission to relicense was granted via email.
2021-04-27 11:56:29 -07:00
Chris Robinson
d06209ef5a Update includes 2021-04-27 08:39:17 -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
26c8c50c26 Partially implement an extension to hold sources on disconnect
Rather than stopping voices/sources when the device becomes disconnected, the
context can be set to leave them alone. As a consequence, their state will
remain as playing and they'll keep their last known sample offset indefinately.
For applications mindful of this behavior, it will allow resetting or reopening
the device to reconnect and automatically resume where it left off.
2021-04-26 20:25:24 -07:00
Chris Robinson
22a8ebff80 Move GetChannelIdxByName and clean up some more includes 2021-04-26 08:04:50 -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
9b65ca4556 More include cleanup 2021-04-24 15:52:53 -07:00
Chris Robinson
440ce71dce Move GetHFOrderScales to a more appropriate place 2021-04-24 13:46:52 -07:00
Chris Robinson
f10cc1e1ac Update some more includes 2021-04-24 12:09:18 -07:00
Chris Robinson
fc7d55be4b Don't bother with al string types 2021-04-24 11:50:49 -07:00
Chris Robinson
e0e4a8c35d Update some includes 2021-04-24 11:45:50 -07:00
Chris Robinson
6d5dfbd09b Move the DeviceBase declaraction to core 2021-04-24 10:46:32 -07:00
Chris Robinson
581174ef98 Use the DeviceBase for the backend 2021-04-24 09:03:14 -07:00
Chris Robinson
b54bb388a3 Create a base the ALCdevice and ALCcontext structs
A base that contains the API-agnostic data, with ALCdevice and ALCcontext being
for AL-specific data.
2021-04-24 08:28:13 -07:00
Chris Robinson
519672c8e5 Move some more sources to core 2021-04-24 03:47:23 -07:00
Chris Robinson
7387148006 Use the root mean square for the HRTF B-Format HF scale
For the second-order decoder. Since the delays are adjusted to avoid most high
frequency phase cancelation, the energy-based scaling with the number of
channels used creates a significant HF increase. Using the RMS-based scaling
seems to create a more level response, though it's not perfect either. More
testing and measurements may be needed.
2021-04-24 03:12:05 -07:00
Chris Robinson
65b85f7cb9 Move hrtf.cpp/h to core 2021-04-22 10:26:20 -07:00
Chris Robinson
d6d6fd7378 Avoid using config methods in hrtf.cpp 2021-04-22 10:13:49 -07:00
Chris Robinson
6ae12d0b85 Avoid over-long lines 2021-04-22 10:13:09 -07:00
Chris Robinson
d2f587ee23 Move helpers.cpp to core 2021-04-22 03:15:26 -07:00
Chris Robinson
f0154c4366 Move declarations to a more appropriate header 2021-04-22 03:00:05 -07:00
Chris Robinson
8f8e9aa913 Print an error when starting the backend fails 2021-04-20 22:03:56 -07:00
Chris Robinson
37730927ef Lower RLIMIT_RTTIME to allow RTKit to give RT priority 2021-04-20 07:35:42 -07:00
Chris Robinson
22818b3e83 Force an effect slot update when implicitly starting 2021-04-19 18:45:46 -07:00
Chris Robinson
4754c60602 Don't flag the auxslot dirty when setting the current value 2021-04-19 05:10:49 -07:00
Chris Robinson
ccb1355cc8 Fill the PulseAudio buffer before uncorking playback 2021-04-19 04:42:28 -07:00
Chris Robinson
2b64008b3e Fix dirty flag check 2021-04-18 16:21:25 -07:00
Chris Robinson
9e5e6f3b16 Don't require RTKit for Xenial CI
It apparently doesn't have DBus1Config.cmake in its libdbus-1-dev package.
2021-04-18 01:52:22 -07:00
Chris Robinson
4a152e9d9d Require RTKit for Linux CI 2021-04-18 01:24:00 -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