aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alcontext.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename alcontext.h and move some functions to context.cppChris Robinson2021-04-271-162/+0
|
* Move ContextBase and VoiceChange to coreChris Robinson2021-04-271-140/+1
|
* Partially implement an extension to hold sources on disconnectChris Robinson2021-04-261-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 includesChris Robinson2021-04-261-0/+1
|
* Create a base the ALCdevice and ALCcontext structsChris Robinson2021-04-241-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 itChris Robinson2021-04-151-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 formatterChris Robinson2021-03-121-1/+6
|
* Avoid including voice.h in alcontext.hChris Robinson2020-12-271-1/+2
|
* Use smaller types for enumsChris Robinson2020-12-271-1/+1
|
* Reorder some context propertiesChris Robinson2020-12-271-39/+42
|
* Use a uint for a bitfieldChris Robinson2020-12-271-1/+1
|
* Don't link DistanceModel enums to AL valuesChris Robinson2020-12-161-7/+4
|
* Move VoiceChange to a separate headerChris Robinson2020-12-161-12/+1
|
* Use a separate structure for the context/listener paramsChris Robinson2020-12-151-7/+40
|
* Use a separate structure for the active effect slot propertiesChris Robinson2020-11-071-4/+5
|
* Store the wet buffers in the contextChris Robinson2020-11-021-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 variablesChris Robinson2020-10-211-1/+1
|
* Use standard attribute declarationsChris Robinson2020-04-131-2/+1
|
* Use acquire-release semantics for changing deferred updatesChris Robinson2020-04-071-1/+1
|
* Remove use of unnecessary type aliasesChris Robinson2020-03-301-8/+8
|
* Rename ALvoice and related structs to VoiceChris Robinson2020-03-281-8/+8
|
* Avoid AL[C]boolean for internal useChris Robinson2020-03-281-2/+2
|
* Simplify replaying a sourceChris Robinson2020-02-231-0/+1
|
* Use an array of ALvoice pointers for the active voicesChris Robinson2020-02-211-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 deletedChris Robinson2020-02-201-0/+29
|
* Move ALvoice from alu.h to a separate headerChris Robinson2019-10-021-0/+1
|
* Use a normal vector for the voices arrayChris Robinson2019-09-041-4/+1
|
* Use new/delete for context and effectslot propertiesChris Robinson2019-08-131-0/+2
|
* Move the meters per unit property to the listenerChris Robinson2019-08-051-2/+0
|
* Turn a couple more functions into methodsChris Robinson2019-08-021-2/+10
|
* Use a smart pointer for holding the context's deviceChris Robinson2019-08-011-2/+2
|
* Add and use an intrusive_ptr typeChris Robinson2019-08-011-47/+3
|
* Add a common base for auto-deleting ref-counted objectsChris Robinson2019-08-011-6/+3
| | | | Which will also work as the basis for a future intrusive_ptr
* Cleanup alcontext.h includesChris Robinson2019-08-011-21/+20
|
* Move another function to a ALCcontext methodChris Robinson2019-07-301-6/+17
|
* Turn some functions into methodsChris Robinson2019-07-301-6/+16
|
* Properly prefix ALCcontext membersChris Robinson2019-07-301-38/+38
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-291-1/+1
|
* Rename Alc to alcChris Robinson2019-07-281-0/+217