aboutsummaryrefslogtreecommitdiffstats
path: root/al/state.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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