aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use macros for the likely/unlikely attributesChris Robinson2023-03-011-23/+23
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Avoid unnecessary uses of make_optionalChris Robinson2023-01-131-7/+7
|
* Avoid using a macro to wrap standard attributesChris Robinson2022-12-061-23/+23
|
* Avoid LIKELY/UNLIKELY macrosChris Robinson2022-12-051-23/+23
|
* Move EAX files to their own sub-directoryChris Robinson2022-05-161-2/+2
|
* Properly set the air absorption gain baseChris Robinson2022-05-101-0/+1
|
* Avoid some explicit extern "C"s on function definitionsChris Robinson2022-03-311-3/+3
|
* Fix X-RAM trackingChris Robinson2022-03-061-1/+1
|
* Avoid more unnecessary atomicsChris Robinson2022-02-131-7/+7
|
* Combine listener and context updatesChris Robinson2022-02-081-0/+8
|
* Hold mPropLock when deferring updatesChris Robinson2022-02-081-0/+2
|
* Move ALSOFT_EAX definition to config.hChris Robinson2022-01-301-2/+2
| | | | And disable it by default for non-Windows targets
* Add EAX extensions (EAX 2.0-5.0, X-RAM) (#632)Boris I. Bendovsky2022-01-301-0/+42
| | | | | | | | | | | | | | | * Add EAX extensions (EAX 2.0-5.0, X-RAM) * Comment out C++17 leftovers * Remove everything related to patching * Update alsoftrc.sample * Rewrite integration * Fix GCC compilation under Linux * Always reset EAX effect properties when loading it into FX slot
* Rename alcontext.h and move some functions to context.cppChris Robinson2021-04-271-1/+1
|
* Rename alcmain.h to device.hChris Robinson2021-04-271-6/+6
|
* Update include headersChris Robinson2021-04-271-4/+4
| | | | Don't add alc/ to the include paths.
* Move BufferStorage and Voice to coreChris Robinson2021-04-271-1/+1
|
* Partially implement an extension to hold sources on disconnectChris Robinson2021-04-261-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 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.
* Avoid including voice.h in alcontext.hChris Robinson2020-12-271-0/+1
|
* Move alexcpt to coreChris Robinson2020-12-241-1/+1
|
* Don't link DistanceModel enums to AL valuesChris Robinson2020-12-161-11/+37
|
* Use a separate structure for the context/listener paramsChris Robinson2020-12-151-4/+4
|
* Replace some more macros with constexpr variablesChris Robinson2020-10-211-5/+5
|
* Remove deprecated, performance, and error event typesChris Robinson2020-09-201-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]]voidChris Robinson2020-04-281-14/+14
|
* Avoid AL[C]boolean for internal useChris Robinson2020-03-281-3/+3
|
* Avoid static constexpr for arrays iterated over at run-timeChris Robinson2019-10-251-1/+1
|
* Remove noexcept from a function that explicitly throwsChris Robinson2019-09-301-1/+2
|
* Don't let a function end without a returnChris Robinson2019-09-281-7/+8
|
* Redo resampler strings to be saferChris Robinson2019-09-281-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 resamplersChris Robinson2019-09-281-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 classChris Robinson2019-09-221-7/+8
|
* Get rid of more implicit conversionsChris Robinson2019-09-121-9/+11
|
* Avoid C-style casts in C++Chris Robinson2019-09-111-8/+8
|
* Use new/delete for context and effectslot propertiesChris Robinson2019-08-131-1/+1
|
* Add methods to get env vars as an optionalChris Robinson2019-08-121-2/+3
|
* Update some more includesChris Robinson2019-08-061-0/+1
|
* Move the meters per unit property to the listenerChris Robinson2019-08-051-2/+0
|
* Modify LIKELY and UNLIKELY to not need extra parenthesisChris Robinson2019-08-041-23/+23
|
* Remove improper includeChris Robinson2019-07-301-1/+0
|
* Move another function to a ALCcontext methodChris Robinson2019-07-301-29/+28
|
* Turn some functions into methodsChris Robinson2019-07-301-2/+2
|
* Properly prefix ALCcontext membersChris Robinson2019-07-301-65/+65
|
* Rename al/* sources to avoid camel-caseChris Robinson2019-07-291-0/+859