aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove DEF_NEWDELChris Robinson2023-12-161-2/+0
| | | | | C++17 provides alignment-aware allocators for us, so we don't need to use our own to make sure classes/structs are properly aligned.
* Track the device state for being properly configuredChris Robinson2023-12-121-3/+3
| | | | And don't allow resuming if the backend device isn't properly set up.
* Fix some clang-tidy warningsChris Robinson2023-12-081-1/+1
|
* fix printf format for MinGW (#942)Rosen Penev2023-12-031-2/+2
| | | | | | With gcc, mingw uses gnu_printf. With clang, printf is used as it does not support gnu_printf. Use the internal header to match this properly. Signed-off-by: Rosen Penev <[email protected]>
* Make some global and static member variables inlineChris Robinson2023-09-111-10/+1
| | | | | This also seems to work around the problematic MinGW code generation, so the indirection to access it can be removed.
* Add AL_EXT_debug functions to set/get object namesChris Robinson2023-08-111-0/+3
|
* Use a string_view for handling debug messagesChris Robinson2023-05-231-3/+3
|
* Avoid using al::vector unnecessarilyChris Robinson2023-05-121-3/+3
|
* Store extension strings individuallyChris Robinson2023-05-081-4/+3
| | | | And dynamically build the full AL_EXTENSIONS string
* Implement a context debug flagChris Robinson2023-05-031-1/+8
| | | | | Setting the debug flag at context creation enables more debug messages for the created context, and enables debug messages by default.
* Rename AL_SOFT_debug to AL_EXT_DEBUGChris Robinson2023-05-031-1/+1
|
* Reduce code duplication for context queriesChris Robinson2023-05-011-0/+1
|
* Define a struct where it's neededChris Robinson2023-05-011-1/+18
|
* Implement pushing/popping debug groupsChris Robinson2023-05-011-3/+4
|
* Put the debug filters into a groupChris Robinson2023-05-011-52/+8
|
* Use a 64-bit value for tracking ID filtersChris Robinson2023-05-011-1/+1
|
* Implement debug message filtering for IDsChris Robinson2023-05-011-0/+2
|
* Implement debug log storageChris Robinson2023-04-301-0/+19
|
* Separate the internal debug enums from the API valuesChris Robinson2023-04-301-27/+27
|
* Implement non-ID based debug message filteringChris Robinson2023-04-301-0/+9
|
* Add a missing includeChris Robinson2023-04-291-0/+1
|
* Start a debug API extensionChris Robinson2023-04-291-0/+41
|
* Add a compat option to restore AL_SOFT_buffer_sub_dataChris Robinson2023-03-171-2/+2
|
* Rename some member functions and variables for consistencyChris Robinson2023-03-161-32/+32
|
* Commit deferred EAX properties in alcProcessContextChris Robinson2023-03-161-4/+4
|
* Don't change the context's EAX version on every set/get callChris Robinson2023-03-111-4/+0
|
* Use a simple spinlock to protect the current global contextChris Robinson2022-12-301-0/+1
| | | | | This will be much for efficient than a recursive mutex, given the amount of contention will be very low.
* Avoid using a macro to set a context error and returnChris Robinson2022-12-241-6/+0
|
* [EAX_CONTEXT] Fix defaults for current propertiesBoris I. Bendovsky2022-07-171-2/+5
|
* [EAX_CONTEXT] Fix committing of a property valueBoris I. Bendovsky2022-07-171-1/+3
|
* [EAX_FX_SLOT] Mark sources as changed instead of commiting them to catch up ↵Boris I. Bendovsky2022-07-171-1/+0
| | | | with changes in FX slot
* Don't pass an EaxCall to initialize_fx_slotsChris Robinson2022-07-151-2/+2
|
* Don't store and manage wet buffers separatelyChris Robinson2022-07-151-3/+0
|
* Don't track dirty flags per EAX versionChris Robinson2022-07-131-16/+7
| | | | | Only the current version's flags are used, and they're all reset when changing versions, making it unnecessary to track non-current version flags.
* [EAX] Add separate context state for each version (#731)Boris I. Bendovsky2022-07-131-152/+250
|
* [EAX] Use separate FX slot state for each version (#730)Boris I. Bendovsky2022-07-121-4/+0
| | | | | | | * [EAX] Use separate FX slot state for each version [EAX] Don't defer FX slot properties * [EAX_FXSLOT] Use mPropsDirty to defer update [EAX_CONTEXT] Commit all updates on first initialization
* Remove an unused structChris Robinson2022-07-051-9/+1
| | | | And minor formatting cleanup
* [EAX] Add separate source state for each version (#720)Boris I. Bendovsky2022-06-181-15/+2
|
* [EAX] Add separate effect state for each version (#705)Boris I. Bendovsky2022-05-241-44/+24
| | | | | * [EAX] Add separate effect state for each version * [EAX] Don't use EAX call as data member
* Move EAX files to their own sub-directoryChris Robinson2022-05-161-4/+4
|
* Ensure deferred EAX effect properties are committedChris Robinson2022-03-041-0/+2
|
* Use a simpler loop to enumerate sourcesChris Robinson2022-02-211-62/+0
|
* Avoid a variable limit on EAX filtersChris Robinson2022-02-181-5/+0
| | | | | | I'll assume for now that the limits for the EAX properties will keep the filter gain from getting out of hand. The filter's gainhf is relative to the gain and is limited to 0dB max.
* Avoid more unnecessary atomicsChris Robinson2022-02-131-5/+4
|
* Commit source EAX properties when not deferringChris Robinson2022-02-131-1/+0
| | | | And make sure they get committed when resuming processing.
* Inline some more simple gettersChris Robinson2022-02-081-9/+9
|
* Handle AirAbsorptionGainHF as a native context propertyChris Robinson2022-02-081-4/+1
|
* Apply updates for EAX context propertiesChris Robinson2022-02-081-1/+11
|
* Ensure sources update together from EAX commitsChris Robinson2022-02-081-1/+2
| | | | ... when a listener property change forces a commit.
* Hold mPropLock when deferring updatesChris Robinson2022-02-081-3/+7
|