aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use deduction guides instead of helper functions for spansChris Robinson2023-05-0513-50/+44
|
* Remove custom stuff for standardChris Robinson2023-05-0410-69/+44
|
* Avoid defining separate wrapper functionsChris Robinson2023-05-041-32/+16
|
* Use std::byte instead of a custom al::byteChris Robinson2023-05-0433-224/+191
|
* Make and use a bit_cast functionChris Robinson2023-05-0414-19/+40
| | | | Instead of reinterpret_casting between incompatible types
* Update ComPtr and use an out_ptr() functionChris Robinson2023-05-043-76/+101
|
* Replace al::optional with std::optionalChris Robinson2023-05-0436-167/+143
|
* Use std::optional instead of a custom implementationChris Robinson2023-05-044-352/+25
|
* Update to C++17Chris Robinson2023-05-041-2/+2
|
* Implement a context debug flagChris Robinson2023-05-036-30/+76
| | | | | Setting the debug flag at context creation enables more debug messages for the created context, and enables debug messages by default.
* Ignore logBufSize if logBuf is nullChris Robinson2023-05-031-4/+7
|
* Rename AL_SOFT_debug to AL_EXT_DEBUGChris Robinson2023-05-036-156/+199
|
* Reduce code duplication for context queriesChris Robinson2023-05-012-420/+180
|
* Define a struct where it's neededChris Robinson2023-05-012-19/+18
|
* Implement pushing/popping debug groupsChris Robinson2023-05-017-122/+197
|
* Put the debug filters into a groupChris Robinson2023-05-016-69/+98
|
* Use a 64-bit value for tracking ID filtersChris Robinson2023-05-013-35/+19
|
* Fix some debug message length limit checksChris Robinson2023-05-012-8/+14
|
* Avoid assigning to existing optional<string>Chris Robinson2023-05-011-8/+2
| | | | | | Reduces the amount inlining the compiler has to do, though the uhj/filter config option is no longer recognized (it has been deprecated, amd I don't think it was in an actual release).
* Implement debug message filtering for IDsChris Robinson2023-05-013-22/+62
|
* Mask a value to the proper size when setting a bitfieldChris Robinson2023-05-011-2/+2
| | | | Silences a GCC warning about assigning a uint value to a uint:24 bitfield.
* Fix shadowing warnings and add another missing includeChris Robinson2023-04-301-27/+28
|
* Add some missing includesChris Robinson2023-04-301-0/+3
|
* Add an extension string for the in-progress debug extensionChris Robinson2023-04-301-0/+1
|
* Implement debug log storageChris Robinson2023-04-307-2/+220
|
* Unlock the debug lock when calling the callbackChris Robinson2023-04-301-3/+8
| | | | | | There's no full guarantee about calling AL functions in a debug callback, due to a risk of deadlocks from an AL call that tries to take a lock that's already held at the time the callback is invoked, but this helps more work.
* Remove an unnecessary type nameChris Robinson2023-04-301-2/+2
|
* Fix debug message control logicChris Robinson2023-04-301-2/+2
| | | | A flag set being in mDebugFilters is considered disabled, not enabled.
* Improve some debug error handlingChris Robinson2023-04-302-7/+10
|
* Separate the internal debug enums from the API valuesChris Robinson2023-04-303-117/+133
|
* Move debug functions to their own sourceChris Robinson2023-04-304-166/+192
|
* Implement non-ID based debug message filteringChris Robinson2023-04-304-1/+179
|
* Avoid duplicating queriesChris Robinson2023-04-301-209/+118
|
* Provide some more debug messagesChris Robinson2023-04-292-15/+46
|
* Add another missing headerChris Robinson2023-04-291-0/+1
|
* Add a missing includeChris Robinson2023-04-291-0/+1
|
* Start a debug API extensionChris Robinson2023-04-296-7/+196
|
* Don't try to access null pointersChris Robinson2023-04-285-0/+15
|
* Unset sLocalContext when releasing itChris Robinson2023-04-281-1/+1
|
* Use a static_cast for older versions of MSVCChris Robinson2023-04-271-2/+3
|
* Use std::transform to cast doubles to floatsChris Robinson2023-04-271-2/+4
|
* Cast a value to the expected type for MSVCChris Robinson2023-04-261-2/+2
|
* Handle signed int values holding FourCC codesChris Robinson2023-04-261-0/+1
|
* Print CoreAudio errors as FourCC codes when possibleChris Robinson2023-04-261-43/+58
|
* Check the correct device property to detect headphonesChris Robinson2023-04-251-3/+3
|
* Try to detect headphones with CoreAudioChris Robinson2023-04-241-0/+18
|
* Make sure extension functions are properly aligned on 32-bitChris Robinson2023-04-122-4/+5
|
* Release 1.23.1Chris Robinson2023-04-113-2/+33
|
* Add a version script for non-Windows/macOS systemsChris Robinson2023-04-102-4/+204
| | | | | | | | | | | | | | | To more aggressively control library exports. Despite the -fvisibility=hidden flag that should hide everything by default, GNU's libstdc++ forces default visibility for generated std namespace symbols (from template functions that don't inline, for example), adding some standard C++ symbols to the exported symbol list. This can cause ABI problems if an app links to OpenAL and uses one of those symbols, as a future internal change can cause the function to not be generated and make the symbol no longer available. There seems to be no way to prevent this, aside from this version script. This has the added advantage of ensuring future extension functions don't accidentally get exported due to the ALC_API or AL_API macros making them visible.
* Reorder some struct fields for consistencyChris Robinson2023-04-082-19/+16
|