Chris Robinson
3a5a9e90d0
Fix installing alsoft-config
2020-04-15 00:09:45 -07:00
Chris Robinson
8ef8b5e215
Combine utility target installs
2020-04-14 23:37:48 -07:00
Chris Robinson
cd6908fd19
Always define install targets for the main library
...
Examples and utilities now have separate install options.
2020-04-14 23:25:47 -07:00
Chris Robinson
930cda39cd
Simplify some indentation
2020-04-14 22:02:59 -07:00
Chris Robinson
ac54ab8a3e
Remove some unnecessary cmake checks
2020-04-14 18:25:22 -07:00
Chris Robinson
78e789bf7b
Silence a type conversion warning with GCC
2020-04-14 12:05:54 -07:00
Chris Robinson
6ac5816354
Avoid inlining some potentially costly calls
2020-04-14 11:50:59 -07:00
Chris Robinson
7f81eec1a6
Avoid a function call to get the frame step
2020-04-13 23:36:05 -07:00
Chris Robinson
02d7fbfa0c
Use standard attribute declarations
2020-04-13 23:27:56 -07:00
Chris Robinson
1d8ac4d61f
Throw exceptions for errors in the effect getters/setters
2020-04-10 20:23:20 -07:00
Chris Robinson
13153bab60
Add an effect_exception for handling effect properties
2020-04-10 18:26:08 -07:00
Chris Robinson
f7380a44d4
Use a common base for a couple exceptions
2020-04-10 15:12:57 -07:00
Chris Robinson
611a0155cd
Ignore "attribute '...' is not recognized" MSVC warning
2020-04-10 15:12:57 -07:00
kcat
fc140db781
Merge pull request #414 from ArthurSonzogni/master
...
Add missing <cstdarg>
2020-04-10 15:01:38 -07:00
ArthurSonzogni
7548c235bd
Add missing <cstdarg>
...
OpenAL-Soft fails to compile on some GCC version:
https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162
It has regressed likely after:
c83609277b
va_start is defined in:
- <stdarg.h>
- <cstdarg>
The repository is using it from:
- al/error.cpp
- al/filter.cpp
- alc/alu.cpp
- alc/helpers.cpp
- common/alexcpt.cpp
- utils/makemhr/loaddef.cpp
- utils/openal-info.c
This patch is adding its definition in the files missing it:
- common/alexcpt.cpp
- utils/makemhr/loaddef.cpp
- utils/openal-info.c
Bug: https://travis-ci.com/github/ArthurSonzogni/smk/jobs/318304162
2020-04-10 23:36:19 +02:00
Chris Robinson
e123fa0ec3
Apply some alloc and alignment attributes
2020-04-10 11:05:25 -07:00
Chris Robinson
8bddf3e6ab
Report invalid filter values
2020-04-10 09:16:08 -07:00
Chris Robinson
8713bb8afb
Add missing include
2020-04-10 09:04:40 -07:00
Chris Robinson
ae173ba863
Remove an unused cmake variable
2020-04-10 08:59:22 -07:00
Chris Robinson
0dc9b0392d
Apply static-link flags directly to the target
2020-04-10 08:43:59 -07:00
Chris Robinson
35a2b0e5f8
Simplify generating chorus delays a bit
2020-04-09 21:00:37 -07:00
Chris Robinson
c83609277b
Use exceptions for filter errors
2020-04-09 19:36:37 -07:00
Chris Robinson
97c11577cd
Make a default/empty constructor noexcept
2020-04-09 19:32:02 -07:00
Chris Robinson
d67cba99bd
Clean up some more unnecessary uses of AL types
2020-04-08 10:15:43 -07:00
Chris Robinson
8a5153ce0d
Avoid ALfloat and ALint in the effects
2020-04-08 07:28:07 -07:00
Chris Robinson
55539787fb
Avoid ALfloat in some places
2020-04-08 06:17:04 -07:00
Chris Robinson
024112a53a
Use acquire-release semantics for changing deferred updates
2020-04-07 12:46:35 -07:00
Chris Robinson
0077a01667
Don't yield the CPU when waiting for updates to finish
2020-04-07 12:36:44 -07:00
Chris Robinson
f628ab2151
Use better values for a couple in-progress enums
2020-04-07 12:24:20 -07:00
Chris Robinson
efed431237
Use a unique_ptr for constructing the bsinc table coefficients
2020-04-07 08:30:37 -07:00
Chris Robinson
2fcc3f3887
Dynamically allocate the temporary bsinc filter table
2020-04-06 17:12:39 -07:00
Chris Robinson
7a324231a3
Combine the late reverb feedback and modulator delay lines
2020-04-06 16:14:13 -07:00
Chris Robinson
6ff5339112
Include the average modulation delay for the late reverb feedback
2020-04-06 15:46:14 -07:00
Chris Robinson
baf14aad2a
Pass the BSincHeader by reference instead of value
2020-04-05 23:08:02 -07:00
Chris Robinson
ab6afd6fa0
Reimplement the modulation stage for reverb
...
This seems to be quite close recordings from real hardware, so it's probably
good enough.
2020-04-05 12:00:45 -07:00
Chris Robinson
192b1a1f65
Require Qt5 for alsoft-config
2020-04-05 01:41:36 -07:00
kcat
de2599b70b
Merge pull request #167 from aaronmjacobs/build-version-option
...
Add option to disable "build_version" cmake target
2020-04-05 00:02:54 -07:00
Chris Robinson
25464b2210
Avoid storing the bsinc coefficient deltas before output
...
This cuts the majority of stack use when generating the coefficients.
2020-04-04 22:04:59 -07:00
Chris Robinson
8084d08cf9
Get rid of the Android cross-compile toolchain
...
It has problems, and the Android NDK provides one that works fine.
2020-04-04 10:58:43 -07:00
Chris Robinson
9b11029af9
Remove the now-unused native tools
2020-04-04 08:58:06 -07:00
Chris Robinson
431d01cc7f
Use a cmake script to convert a binary file to a header file
2020-04-04 08:46:18 -07:00
Chris Robinson
a0b7638d63
Add an extension to change a buffer's unpack ambisonic order
2020-04-04 03:10:01 -07:00
Chris Robinson
fc906c97f5
Track a buffer's ambisonic order
2020-04-04 01:52:29 -07:00
Chris Robinson
902f5a0dd2
Add an ambisonic order parameter to the buffer channel count
2020-04-03 21:43:57 -07:00
Chris Robinson
bd50601f15
Remove a couple outdated comments
2020-04-03 10:07:43 -07:00
Chris Robinson
8f47013e43
Some more ALfloat->float cleanup
2020-04-03 08:49:15 -07:00
Chris Robinson
1130597562
Use structs for the mixer and resampler tags
2020-04-03 03:52:23 -07:00
Chris Robinson
d9225083b4
Avoid using ALfloat in the mixer functions
2020-04-03 03:11:32 -07:00
Chris Robinson
236564b54a
Another small cleanup
2020-04-03 02:57:51 -07:00
Chris Robinson
8adbde90f5
Jump to the target gain if the fade amount is small
2020-04-03 02:48:35 -07:00