Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename alcontext.h and move some functions to context.cpp | Chris Robinson | 2021-04-27 | 1 | -1/+1 |
| | |||||
* | Rename alcmain.h to device.h | Chris Robinson | 2021-04-27 | 1 | -6/+6 |
| | |||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -4/+4 |
| | | | | Don't add alc/ to the include paths. | ||||
* | Move BufferStorage and Voice to core | Chris Robinson | 2021-04-27 | 1 | -1/+1 |
| | |||||
* | Partially implement an extension to hold sources on disconnect | Chris Robinson | 2021-04-26 | 1 | -6/+23 |
| | | | | | | | | 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. | ||||
* | Make an inverted atomic flag type and use it | Chris Robinson | 2021-04-15 | 1 | -1/+1 |
| | | | | | | | | The inverted atomic flag replaces test_and_set+clear with test_and_clear+set, essentially inverting the flag status. This makes more logical sense for flagging dirty state, which is less confusing than flagging clean state. The one caveat is ATOMIC_FLAG_INIT (or default construction in C++20) initializes the state to true rather than false. | ||||
* | Avoid including voice.h in alcontext.h | Chris Robinson | 2020-12-27 | 1 | -0/+1 |
| | |||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 1 | -1/+1 |
| | |||||
* | Don't link DistanceModel enums to AL values | Chris Robinson | 2020-12-16 | 1 | -11/+37 |
| | |||||
* | Use a separate structure for the context/listener params | Chris Robinson | 2020-12-15 | 1 | -4/+4 |
| | |||||
* | Replace some more macros with constexpr variables | Chris Robinson | 2020-10-21 | 1 | -5/+5 |
| | |||||
* | Remove deprecated, performance, and error event types | Chris Robinson | 2020-09-20 | 1 | -14/+0 |
| | | | | | These would be better served with a proper debug API, rather than a general audio event API. | ||||
* | Fix up some more uses of [AL[C]]void | Chris Robinson | 2020-04-28 | 1 | -14/+14 |
| | |||||
* | Avoid AL[C]boolean for internal use | Chris Robinson | 2020-03-28 | 1 | -3/+3 |
| | |||||
* | Avoid static constexpr for arrays iterated over at run-time | Chris Robinson | 2019-10-25 | 1 | -1/+1 |
| | |||||
* | Remove noexcept from a function that explicitly throws | Chris Robinson | 2019-09-30 | 1 | -1/+2 |
| | |||||
* | Don't let a function end without a return | Chris Robinson | 2019-09-28 | 1 | -7/+8 |
| | |||||
* | Redo resampler strings to be safer | Chris Robinson | 2019-09-28 | 1 | -18/+33 |
| | | | | | Now the name is guaranteed to match the type, and to be ordered as the enum declares. | ||||
* | Add "fast" variants for the bsinc resamplers | Chris Robinson | 2019-09-28 | 1 | -2/+5 |
| | | | | | | This simply omits the scale factor from the filter, similar to how up-sampling does. The consequence of this is less smooth transitions when ramping the pitch while down-sampling, but otherwise behaves fine. | ||||
* | Make the resampler type an enum class | Chris Robinson | 2019-09-22 | 1 | -7/+8 |
| | |||||
* | Get rid of more implicit conversions | Chris Robinson | 2019-09-12 | 1 | -9/+11 |
| | |||||
* | Avoid C-style casts in C++ | Chris Robinson | 2019-09-11 | 1 | -8/+8 |
| | |||||
* | Use new/delete for context and effectslot properties | Chris Robinson | 2019-08-13 | 1 | -1/+1 |
| | |||||
* | Add methods to get env vars as an optional | Chris Robinson | 2019-08-12 | 1 | -2/+3 |
| | |||||
* | Update some more includes | Chris Robinson | 2019-08-06 | 1 | -0/+1 |
| | |||||
* | Move the meters per unit property to the listener | Chris Robinson | 2019-08-05 | 1 | -2/+0 |
| | |||||
* | Modify LIKELY and UNLIKELY to not need extra parenthesis | Chris Robinson | 2019-08-04 | 1 | -23/+23 |
| | |||||
* | Remove improper include | Chris Robinson | 2019-07-30 | 1 | -1/+0 |
| | |||||
* | Move another function to a ALCcontext method | Chris Robinson | 2019-07-30 | 1 | -29/+28 |
| | |||||
* | Turn some functions into methods | Chris Robinson | 2019-07-30 | 1 | -2/+2 |
| | |||||
* | Properly prefix ALCcontext members | Chris Robinson | 2019-07-30 | 1 | -65/+65 |
| | |||||
* | Rename al/* sources to avoid camel-case | Chris Robinson | 2019-07-29 | 1 | -0/+859 |