Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename alcontext.h and move some functions to context.cpp | Chris Robinson | 2021-04-27 | 1 | -162/+0 |
| | |||||
* | Move ContextBase and VoiceChange to core | Chris Robinson | 2021-04-27 | 1 | -140/+1 |
| | |||||
* | Partially implement an extension to hold sources on disconnect | Chris Robinson | 2021-04-26 | 1 | -0/+3 |
| | | | | | | | | 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. | ||||
* | Move GetChannelIdxByName and clean up some more includes | Chris Robinson | 2021-04-26 | 1 | -0/+1 |
| | |||||
* | Create a base the ALCdevice and ALCcontext structs | Chris Robinson | 2021-04-24 | 1 | -34/+44 |
| | | | | | A base that contains the API-agnostic data, with ALCdevice and ALCcontext being for AL-specific data. | ||||
* | 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. | ||||
* | Workaround mingw complaining about the %z formatter | Chris Robinson | 2021-03-12 | 1 | -1/+6 |
| | |||||
* | Avoid including voice.h in alcontext.h | Chris Robinson | 2020-12-27 | 1 | -1/+2 |
| | |||||
* | Use smaller types for enums | Chris Robinson | 2020-12-27 | 1 | -1/+1 |
| | |||||
* | Reorder some context properties | Chris Robinson | 2020-12-27 | 1 | -39/+42 |
| | |||||
* | Use a uint for a bitfield | Chris Robinson | 2020-12-27 | 1 | -1/+1 |
| | |||||
* | Don't link DistanceModel enums to AL values | Chris Robinson | 2020-12-16 | 1 | -7/+4 |
| | |||||
* | Move VoiceChange to a separate header | Chris Robinson | 2020-12-16 | 1 | -12/+1 |
| | |||||
* | Use a separate structure for the context/listener params | Chris Robinson | 2020-12-15 | 1 | -7/+40 |
| | |||||
* | Use a separate structure for the active effect slot properties | Chris Robinson | 2020-11-07 | 1 | -4/+5 |
| | |||||
* | Store the wet buffers in the context | Chris Robinson | 2020-11-02 | 1 | -0/+14 |
| | | | | | | This is rather ugly, but we need the wet buffers to remain allocated after its effect slot is deleted, because a voice can still use it for its final fade-out mix. | ||||
* | Replace some more macros with constexpr variables | Chris Robinson | 2020-10-21 | 1 | -1/+1 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -2/+1 |
| | |||||
* | Use acquire-release semantics for changing deferred updates | Chris Robinson | 2020-04-07 | 1 | -1/+1 |
| | |||||
* | Remove use of unnecessary type aliases | Chris Robinson | 2020-03-30 | 1 | -8/+8 |
| | |||||
* | Rename ALvoice and related structs to Voice | Chris Robinson | 2020-03-28 | 1 | -8/+8 |
| | |||||
* | Avoid AL[C]boolean for internal use | Chris Robinson | 2020-03-28 | 1 | -2/+2 |
| | |||||
* | Simplify replaying a source | Chris Robinson | 2020-02-23 | 1 | -0/+1 |
| | |||||
* | Use an array of ALvoice pointers for the active voices | Chris Robinson | 2020-02-21 | 1 | -2/+21 |
| | | | | | | This allows growing the array atomically with the mixer since the ALvoice objects themselves don't move, and a new larger array of them can be swapped in without blocking the mixer. | ||||
* | Asynchronously stop voices if its source is being deleted | Chris Robinson | 2020-02-20 | 1 | -0/+29 |
| | |||||
* | Move ALvoice from alu.h to a separate header | Chris Robinson | 2019-10-02 | 1 | -0/+1 |
| | |||||
* | Use a normal vector for the voices array | Chris Robinson | 2019-09-04 | 1 | -4/+1 |
| | |||||
* | Use new/delete for context and effectslot properties | Chris Robinson | 2019-08-13 | 1 | -0/+2 |
| | |||||
* | Move the meters per unit property to the listener | Chris Robinson | 2019-08-05 | 1 | -2/+0 |
| | |||||
* | Turn a couple more functions into methods | Chris Robinson | 2019-08-02 | 1 | -2/+10 |
| | |||||
* | Use a smart pointer for holding the context's device | Chris Robinson | 2019-08-01 | 1 | -2/+2 |
| | |||||
* | Add and use an intrusive_ptr type | Chris Robinson | 2019-08-01 | 1 | -47/+3 |
| | |||||
* | Add a common base for auto-deleting ref-counted objects | Chris Robinson | 2019-08-01 | 1 | -6/+3 |
| | | | | Which will also work as the basis for a future intrusive_ptr | ||||
* | Cleanup alcontext.h includes | Chris Robinson | 2019-08-01 | 1 | -21/+20 |
| | |||||
* | Move another function to a ALCcontext method | Chris Robinson | 2019-07-30 | 1 | -6/+17 |
| | |||||
* | Turn some functions into methods | Chris Robinson | 2019-07-30 | 1 | -6/+16 |
| | |||||
* | Properly prefix ALCcontext members | Chris Robinson | 2019-07-30 | 1 | -38/+38 |
| | |||||
* | Rename al/* sources to avoid camel-case | Chris Robinson | 2019-07-29 | 1 | -1/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+217 |