aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
Commit message (Collapse)AuthorAgeFilesLines
* Store effect slots in groups of 64Chris Robinson2019-02-201-5/+17
| | | | | Now that their wet buffers are allocated dynamically, the ALeffectslot object itself is rather small.
* Move some number-related stuff to a separate headerChris Robinson2019-02-111-2/+3
|
* Fix compiling problems on VS2019 with vc142 toolsetMinmin Gong2019-02-041-1/+1
| | | | Msvc142 in VS2019 preview 2 doesn't allow std::atomic_flag to be initialized by a bool. Call test_and_set in the constructors instead.
* Use a flexible array for the active effect slotsChris Robinson2019-01-111-1/+1
|
* Use a vector for ALeffectslotArrayChris Robinson2019-01-091-1/+1
|
* Change a true/false ALenum atomic into a boolChris Robinson2019-01-091-1/+1
|
* Add prefixes for ALCdevice and ALCcontextChris Robinson2019-01-091-0/+1
|
* Rename ALCdevice_struct and ALCcontext_structChris Robinson2019-01-011-5/+5
| | | | | | | | | | | 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 a unique_ptr for the AsyncEvents ringbufferChris Robinson2018-12-271-1/+1
|
* Clean up the ring buffer struct and use member functionsChris Robinson2018-12-261-2/+2
|
* Make and use a semaphore classChris Robinson2018-11-271-1/+1
|
* Swap context references in the move assignmentChris Robinson2018-11-271-6/+1
|
* Use a standard mutex for the source and effect slot locksChris Robinson2018-11-261-2/+2
|
* Use a standard mutex for the proplockChris Robinson2018-11-261-1/+1
|
* Avoid using the ATOMIC() macroChris Robinson2018-11-261-11/+11
|
* Atuomatically clean up sources with its sublist's destructionChris Robinson2018-11-251-0/+10
|
* Properly initialize the sublists' freemaskChris Robinson2018-11-251-1/+1
|
* Make GetContextRef return a ContextRefChris Robinson2018-11-241-1/+2
|
* Make the context VoiceCount atomicChris Robinson2018-11-231-1/+1
|
* Always use RAII with EffectSlotLockChris Robinson2018-11-211-5/+0
|
* Make VerifyContext return a context referenceChris Robinson2018-11-211-0/+9
|
* Rename a method to be clearer about its behaviorChris Robinson2018-11-211-3/+3
|
* Use a standard mutex for the event callback lockChris Robinson2018-11-201-1/+3
|
* Use atomic_flags and atomic<bools>s where appropriateChris Robinson2018-11-201-2/+2
|
* Store effect slots as unique_ptrsChris Robinson2018-11-201-1/+1
|
* Use a unique_ptr for the default effect slotChris Robinson2018-11-201-2/+3
|
* Use a std::thread for the event threadChris Robinson2018-11-181-1/+3
|
* Use cleaner constructor/destructor calls for ALCcontextChris Robinson2018-11-181-32/+38
| | | | | Note that the actual type name is ALCcontext_struct, because of how it's defined in AL/alc.h (ALCcontext is just an alias to struct ALCcontext_struct).
* Remove an unused typedefChris Robinson2018-11-181-1/+0
|
* Avoid naming a struct member the same as an enum typeChris Robinson2018-11-181-2/+2
|
* Use a normal vector for auxiliary effect slotsChris Robinson2018-11-181-1/+1
|
* Use a proper vector for the source sublistsChris Robinson2018-11-181-4/+3
|
* Use new/delete for ALCcontext objectsChris Robinson2018-11-181-0/+3
|
* Store the listener directly in the contextChris Robinson2018-11-171-5/+3
|
* Move the ALCcontext definition to its own headerChris Robinson2018-11-171-0/+180