Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #264 from ShFil119/impr/cleanup | kcat | 2019-01-09 | 36 | -122/+117 |
|\ | | | | | Cleanup continuation | ||||
| * | Use `= default` to define trivial dtor/ctor | Filip Gawin | 2019-01-09 | 2 | -8/+3 |
| | | |||||
| * | Remove redundant void argument list in function def | Filip Gawin | 2019-01-09 | 19 | -29/+29 |
| | | |||||
| * | Use c++ headers | Filip Gawin | 2019-01-09 | 34 | -85/+85 |
|/ | |||||
* | Change a true/false ALenum atomic into a bool | Chris Robinson | 2019-01-09 | 2 | -3/+3 |
| | |||||
* | Add prefixes for ALCdevice and ALCcontext | Chris Robinson | 2019-01-09 | 2 | -0/+2 |
| | |||||
* | Make Create methods for structs with flexible array members ... | Chris Robinson | 2019-01-08 | 3 | -8/+19 |
| | | | | ... that are used with unique_ptr. | ||||
* | Avoid calling unique_ptr::reset with a raw pointer | Chris Robinson | 2019-01-08 | 1 | -7/+7 |
| | |||||
* | Remove an unused macro | Chris Robinson | 2019-01-08 | 1 | -4/+0 |
| | |||||
* | Rename ALC_SOFT_loopback2 and renumber its enums | Chris Robinson | 2019-01-08 | 1 | -10/+10 |
| | |||||
* | Replace a couple more C-style casts | Chris Robinson | 2019-01-08 | 2 | -4/+3 |
| | |||||
* | Apply the all-pass separately from the upsampling mix | Chris Robinson | 2019-01-08 | 2 | -15/+14 |
| | |||||
* | Avoid macros for indexing HF and LF fequency bands | Chris Robinson | 2019-01-08 | 2 | -24/+23 |
| | |||||
* | Fix some comments and reduce indentation | Chris Robinson | 2019-01-08 | 1 | -35/+32 |
| | |||||
* | Merge pull request #261 from ShFil119/avoid_old_style_casts | kcat | 2019-01-08 | 32 | -313/+319 |
|\ | | | | | Avoid using old style casts | ||||
| * | Avoid using old style casts | Filip Gawin | 2019-01-08 | 32 | -313/+319 |
|/ | | | | | | To think about: examples/alffplay.cpp:600 OpenAL32/Include/alMain.h:295 | ||||
* | Merge pull request #260 from ShFil119/impr/nullptr | kcat | 2019-01-07 | 9 | -38/+38 |
|\ | | | | | Use nullptr in cpp files | ||||
| * | Use nullptr in cpp files | Filip Gawin | 2019-01-07 | 9 | -38/+38 |
| | | |||||
* | | Use user-defined literals for 64-bit literals | Chris Robinson | 2019-01-07 | 9 | -51/+34 |
| | | |||||
* | | Define logging calls to be unlikely | Chris Robinson | 2019-01-07 | 1 | -4/+6 |
| | | |||||
* | | Move some macros to a common header | Chris Robinson | 2019-01-07 | 3 | -35/+41 |
| | | |||||
* | | Clean up some initializers and use of C methods | Chris Robinson | 2019-01-06 | 5 | -140/+118 |
|/ | |||||
* | Don't use the dual-band upsampler for basic ambisonic decoding | Chris Robinson | 2019-01-06 | 3 | -25/+49 |
| | |||||
* | Apply an all-pass on the existing output when upsampling ambisonics | Chris Robinson | 2019-01-06 | 3 | -11/+35 |
| | |||||
* | Revert back to using a band-splitter to increase the HF response | Chris Robinson | 2019-01-06 | 3 | -82/+59 |
| | | | | | | 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. | ||||
* | Make the band-splitter and splitter-allpass filters templated | Chris Robinson | 2019-01-06 | 2 | -34/+47 |
| | | | | With float and double explicit instantiations | ||||
* | Replace macros with constexpr inline functions | Chris Robinson | 2019-01-06 | 17 | -48/+66 |
| | |||||
* | Remove an unnecessary undef | Chris Robinson | 2019-01-06 | 1 | -1/+0 |
| | |||||
* | Use double-precision biquads for the HRTF shelf filters | Chris Robinson | 2019-01-06 | 1 | -7/+7 |
| | |||||
* | Make BiquadFilter a templated class | Chris Robinson | 2019-01-06 | 2 | -36/+51 |
| | | | | With explicit instantiations for float and double | ||||
* | Use a shelf filter for the HRTF B-Format decoder HF scale | Chris Robinson | 2019-01-06 | 1 | -37/+50 |
| | |||||
* | Pass the normalized crossover frequency to the reset method | Chris Robinson | 2019-01-05 | 3 | -5/+4 |
| | |||||
* | Remove unnecessary structs and buffers | Chris Robinson | 2019-01-05 | 2 | -23/+18 |
| | |||||
* | Simplify MixParams and AmbiUpsampler | Chris Robinson | 2019-01-05 | 6 | -216/+78 |
| | | | | Since the dry buffer is always an ambisonic target now | ||||
* | Use BFormatDec for custom and built-in ambisonic decoding | Chris Robinson | 2019-01-05 | 3 | -104/+178 |
| | |||||
* | Enable simplified upsampling for AmbiUpsampler | Chris Robinson | 2019-01-05 | 2 | -32/+66 |
| | |||||
* | Simplify the BFormatDec upsampler | Chris Robinson | 2019-01-04 | 2 | -74/+35 |
| | | | | | | | Since the only difference applied is a scalar on the high-frequency response, a B-Format-to-B-Format transcode can be accomplished with a high-shelf filter. A similar thing can be done with AmbiUpsampler, but only when outputing to periphonic B-Format. | ||||
* | Make sure the OpenSL capture buffer queue has the correct size | Chris Robinson | 2019-01-03 | 1 | -68/+71 |
| | | | | | | | The ring buffer size may round up and have more queueable elements than OpenSL was allocated with, leading to errors when queueing those extra elements. Now OpenSL allocates the same number of elements that can be written to the ring buffer. | ||||
* | Fix the ringbuffer write limit | Chris Robinson | 2019-01-03 | 2 | -22/+15 |
| | | | | | | | Previously it just limited the returned write space, irrespective of how much had already been written. The buffer could still be filled up by doing multiple writes. Now the size is limited by adjusting the read pointer by the real vs limited difference when calculating the writable space. | ||||
* | Use DeviceRef and ContextRef when creating a new device and context | Chris Robinson | 2019-01-01 | 1 | -29/+22 |
| | |||||
* | Rename ALCdevice_struct and ALCcontext_struct | Chris Robinson | 2019-01-01 | 4 | -20/+18 |
| | | | | | | | | | | | A (possibly contentious?) change in the public headers. Those names were never part of any specification, and I don't know why the struct names differed from the actual type name. But with C++, which takes the original struct declaration as the original name, it was affecting the type's internal symbols. This shouldn't affect user code since ALCdevice_struct and ALCcontext_struct were never part of the spec. If issues arise from this change, it should be reported. | ||||
* | Use standard unique_lock and lock_guard for the backend lock | Chris Robinson | 2019-01-01 | 3 | -55/+34 |
| | |||||
* | Add and use a make_unique function | Chris Robinson | 2019-01-01 | 6 | -15/+21 |
| | |||||
* | Avoid unnecessary extra buffers for filter chains | Chris Robinson | 2019-01-01 | 3 | -44/+46 |
| | |||||
* | Don't make BiquadFilter's src and dst restrict | Chris Robinson | 2019-01-01 | 2 | -11/+10 |
| | | | | | There's no technical reason they can't be the same since IIR filters can't be auto-vectorized anyway. | ||||
* | Handle all input channels in MixDirectHrtf | Chris Robinson | 2018-12-31 | 4 | -36/+39 |
| | |||||
* | Add a missing include | Chris Robinson | 2018-12-31 | 1 | -0/+1 |
| | |||||
* | Remove some C-isms from makehrtf | Chris Robinson | 2018-12-31 | 1 | -467/+260 |
| | | | | | Remove unnecessary typedefs, use C++11 stamndard types and values, avoid explicit allocations. | ||||
* | Compile makehrtf as C++ | Chris Robinson | 2018-12-31 | 3 | -9/+9 |
| | |||||
* | Pass a reference to an array instead of a pointer | Chris Robinson | 2018-12-31 | 1 | -1/+1 |
| |