Chris Robinson
ecafa19bcf
Support loading sofa files in makehrtf
...
The makehrtf utility now requires libmysofa to build. This isn't necessay for
the OpenAL Soft library itself.
2019-01-22 11:24:57 -08:00
Chris Robinson
b4a2532ffc
Partially allow loading of multi-field HRTFs
...
Only the first field actually gets used, but all the data is processed when
loading.
2019-01-22 10:27:04 -08:00
Chris Robinson
1565d7e276
Add a sofa-info utility to check sofa files
2019-01-21 10:23:17 -08:00
Chris Robinson
c239ae44f8
Add a FindMySOFA cmake module
2019-01-21 10:21:13 -08:00
Chris Robinson
d1a8607515
Handle a missing default WASAPI device ID
2019-01-18 17:23:46 -08:00
Chris Robinson
40c6f74bb7
Add front and back methods to FlexArray
2019-01-17 02:23:57 -08:00
Chris Robinson
101be788e1
Replace a couple more C math calls
2019-01-14 22:30:18 -08:00
Chris Robinson
867161d55f
Constify some parameters
2019-01-12 21:08:34 -08:00
Chris Robinson
5b382a69b6
Avoid implicit conversions from signed to unsigned
2019-01-12 18:08:43 -08:00
Chris Robinson
d64eaba322
Use a flexible array for DirectHrtfState and ALvoice
2019-01-12 01:25:33 -08:00
Chris Robinson
ab16671466
Use a flexible array for HrtfHandle and SampleConverter
2019-01-11 22:09:57 -08:00
Chris Robinson
f8c2e54b47
Make the min/max/clamp functions constexpr
2019-01-11 21:04:50 -08:00
Chris Robinson
77447fcd54
Add placement operator delete
2019-01-11 20:06:23 -08:00
Chris Robinson
852c5005ab
Add a missing include
2019-01-11 08:07:25 -08:00
Chris Robinson
81e7222633
Use a flexible array for the active effect slots
2019-01-11 07:28:44 -08:00
Chris Robinson
8aedaea5fb
Add a flexible array template container
2019-01-11 06:00:41 -08:00
Chris Robinson
e7d77f5caa
Use a vector for ALeffectslotArray
2019-01-09 18:29:22 -08:00
kcat
30184613a5
Merge pull request #264 from ShFil119/impr/cleanup
...
Cleanup continuation
2019-01-09 17:16:28 -08:00
Filip Gawin
f7fe15e1ce
Use = default to define trivial dtor/ctor
2019-01-09 19:57:35 +01:00
Filip Gawin
6ddb2c36fc
Remove redundant void argument list in function def
2019-01-09 19:43:54 +01:00
Filip Gawin
4169c6f37d
Use c++ headers
2019-01-09 19:42:40 +01:00
Chris Robinson
8f35f464a1
Change a true/false ALenum atomic into a bool
2019-01-09 01:06:19 -08:00
Chris Robinson
b49c45d3a4
Add prefixes for ALCdevice and ALCcontext
2019-01-09 00:31:57 -08:00
Chris Robinson
673983dc5d
Make Create methods for structs with flexible array members ...
...
... that are used with unique_ptr.
2019-01-08 23:44:08 -08:00
Chris Robinson
bc1eeb5df0
Avoid calling unique_ptr::reset with a raw pointer
2019-01-08 23:15:58 -08:00
Chris Robinson
173c97c2db
Remove an unused macro
2019-01-08 21:51:56 -08:00
Chris Robinson
a46f1f810d
Rename ALC_SOFT_loopback2 and renumber its enums
2019-01-08 20:02:36 -08:00
Chris Robinson
d7eee03272
Replace a couple more C-style casts
2019-01-08 19:08:03 -08:00
Chris Robinson
0763dfa954
Apply the all-pass separately from the upsampling mix
2019-01-08 18:34:45 -08:00
Chris Robinson
edba7da8ab
Avoid macros for indexing HF and LF fequency bands
2019-01-08 17:21:22 -08:00
Chris Robinson
0c3662d8b2
Fix some comments and reduce indentation
2019-01-08 17:21:22 -08:00
kcat
009d738c1e
Merge pull request #261 from ShFil119/avoid_old_style_casts
...
Avoid using old style casts
2019-01-08 17:19:15 -08:00
Filip Gawin
0d3a0635d9
Avoid using old style casts
...
To think about:
examples/alffplay.cpp:600
OpenAL32/Include/alMain.h:295
2019-01-08 19:42:44 +01:00
kcat
2a7f27ca58
Merge pull request #260 from ShFil119/impr/nullptr
...
Use nullptr in cpp files
2019-01-07 04:36:50 -08:00
Chris Robinson
4d047e2bc1
Use user-defined literals for 64-bit literals
2019-01-07 04:06:40 -08:00
Filip Gawin
0537414baf
Use nullptr in cpp files
2019-01-07 12:37:13 +01:00
Chris Robinson
67c9cf8174
Define logging calls to be unlikely
2019-01-07 01:13:06 -08:00
Chris Robinson
648b76ed65
Move some macros to a common header
2019-01-07 01:12:09 -08:00
Chris Robinson
20a5306bdf
Clean up some initializers and use of C methods
2019-01-06 21:16:08 -08:00
Chris Robinson
fababe76c4
Don't use the dual-band upsampler for basic ambisonic decoding
2019-01-06 17:45:44 -08:00
Chris Robinson
f5b6d761ff
Apply an all-pass on the existing output when upsampling ambisonics
2019-01-06 06:50:58 -08:00
Chris Robinson
13056b45b0
Revert back to using a band-splitter to increase the HF response
...
Unfortunately the shelf filter causes issues due to the shelf gain magnitude
creating a varying phase offset. The splitter also creates phase offsets, but
it's consistent regardless of gain.
2019-01-06 05:15:11 -08:00
Chris Robinson
d2e34e509b
Make the band-splitter and splitter-allpass filters templated
...
With float and double explicit instantiations
2019-01-06 04:45:35 -08:00
Chris Robinson
da3a916042
Replace macros with constexpr inline functions
2019-01-06 04:16:51 -08:00
Chris Robinson
98f3e6a162
Remove an unnecessary undef
2019-01-06 02:49:24 -08:00
Chris Robinson
e645d25b62
Use double-precision biquads for the HRTF shelf filters
2019-01-06 00:54:39 -08:00
Chris Robinson
607e778344
Make BiquadFilter a templated class
...
With explicit instantiations for float and double
2019-01-06 00:53:02 -08:00
Chris Robinson
03aeb7edf6
Use a shelf filter for the HRTF B-Format decoder HF scale
2019-01-06 00:23:15 -08:00
Chris Robinson
3b91010e21
Pass the normalized crossover frequency to the reset method
2019-01-05 22:31:13 -08:00
Chris Robinson
aa29bf5933
Remove unnecessary structs and buffers
2019-01-05 22:24:38 -08:00