aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve wasapi backend UWP support (#853)Deal(一线灵)2023-05-319-208/+620
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve wasapi, support uwp build * Fix compile errors * [UWP] Support ReadALConfig from app roaming * [UWP] Post disconnect event when default device changed * [UWP] Fix appveyor ci * [WIN32] Default device change notification support * Fix warnings * Add event to notify the app when the default device changes - Event type: AL_EVENT_TYPE_DEFAULT_DEVICE_CHANGED_SOFT=0x19A7 - Event callback parameters: void _onALSoftEvent(ALenum eventType, ALuint object, // dataFlow: 0(render), 1(capture) ALuint param, // 0 ALsizei length, // 0 const ALchar* message, // Default device changed:<deviceId> void* userParam); * Fix warnings * Fire default device changed event in mixerProc thread * Fix compile warning * [UWP] Improve cmake * Revert changes * Notify default device change by system event callback * Revert insignificant change * Remove duplicate call
* Fix alc::Event declarationChris Robinson2023-05-301-2/+2
|
* Move the function and enum list to a separate fileChris Robinson2023-05-303-864/+879
|
* Add a callback to report system device changesChris Robinson2023-05-306-24/+184
| | | | | Devices being added or removed, or the default device changing. Not all backends report this (none do currently), but it'll be supported where it can.
* Don't throw when failing to stop Oboe captureChris Robinson2023-05-301-2/+1
|
* threads: do not use libdispatch where it is not present (#851)Sergey Fedorov2023-05-282-2/+8
| | | Fixes: https://github.com/kcat/openal-soft/issues/850
* Define __STDC_FORMAT_MACROS on systems that need itChris Robinson2023-05-271-0/+14
|
* Use [[maybe_unused]] instead of std::ignoreChris Robinson2023-05-271-12/+5
|
* Update and clarify a commentChris Robinson2023-05-261-4/+7
|
* Don't throw when failing to stop Oboe playbackChris Robinson2023-05-251-2/+1
|
* Avoid duplicate NULL checksChris Robinson2023-05-252-50/+44
|
* Improve oboe backend (#848)Deal(一线灵)2023-05-251-1/+9
| | | | | | | * Improve oboe backend This change should handle handphone call event properly and fix crash at stop (because the mStream was disconnected by system when handphone call income) * Invoke mDevice->handleDisconnect when AAudio stream disconnected
* Add missing includeChris Robinson2023-05-241-0/+1
|
* Use a variant to hold EAX effect propertiesChris Robinson2023-05-2414-394/+399
|
* Be a bit more safe with type manglingChris Robinson2023-05-246-17/+20
|
* Increment an offset only when it's usedChris Robinson2023-05-241-1/+1
|
* Add a compat option to change the error value with no contextChris Robinson2023-05-243-1/+39
|
* Properly forward from alGetFilterivDirectChris Robinson2023-05-231-1/+1
|
* Use a variant to call the proper filter handler functionChris Robinson2023-05-232-258/+259
|
* Use a string_view for handling debug messagesChris Robinson2023-05-236-46/+46
|
* Use the macros to declare the indirect context thunksChris Robinson2023-05-232-42/+15
|
* Make the router API functions noexceptChris Robinson2023-05-222-28/+28
|
* Make the API functions noexceptChris Robinson2023-05-2215-877/+819
| | | | | | | | | | | Only relevant for C++, but these functions can't throw as it's a C-based API. Letting the compiler know that helps improve code generation. Extension callbacks must also not let exceptions leave the callback, or else Bad Things can happen. The macro AL_DISABLE_NOEXCEPT may be defined before including the headers to not mark functions as noexcept, but this should only be done if the caller can't otherwise be fixed.
* Update the readme to include a few known language bindingsChris Robinson2023-05-221-0/+22
|
* Remove an unnecessary checkChris Robinson2023-05-151-3/+0
|
* Fix linkage definitionsChris Robinson2023-05-149-129/+125
|
* Add extension strings for the in-progress direct APIChris Robinson2023-05-142-0/+3
|
* Don't check for a null context in direct functionsChris Robinson2023-05-1412-434/+125
|
* Implement direct functions for EFXChris Robinson2023-05-144-195/+228
|
* Implement direct functions for the debug APIChris Robinson2023-05-143-19/+59
|
* Implement direct functions for the listener and eventsChris Robinson2023-05-144-85/+107
|
* Add more direct functions to the function tableChris Robinson2023-05-141-0/+66
|
* Implement direct functions for sourcesChris Robinson2023-05-141-277/+272
|
* Implement direct functions for buffersChris Robinson2023-05-143-181/+228
|
* Implement direct functions for extension queries and EAXChris Robinson2023-05-144-25/+44
|
* Implement direct functions for context stateChris Robinson2023-05-145-164/+180
|
* Declare "direct" context functions for a future extensionChris Robinson2023-05-131-0/+315
| | | | | These functions will allow making AL calls using the specified context, rather than having to set a "current" context for subsequent AL calls to use.
* Avoid using al::vector unnecessarilyChris Robinson2023-05-1226-110/+115
|
* Clean up some more includesChris Robinson2023-05-1211-29/+28
|
* Remove some old compatibility codeChris Robinson2023-05-121-28/+4
|
* Clean up some unnecessary includes and typesChris Robinson2023-05-121-11/+3
|
* Special-case setting a single buffer's modeChris Robinson2023-05-111-9/+46
| | | | To avoid extraneous allocations and extra work for a common case.
* Avoid counting buffers multiple times in EAXSetBufferModeChris Robinson2023-05-101-29/+28
|
* Mark some functions noexcept when possibleChris Robinson2023-05-102-15/+4
|
* Use a variant for AsyncEventChris Robinson2023-05-085-108/+129
|
* Send a debug message when disconnectingChris Robinson2023-05-082-14/+24
|
* Use an inline function instead of a macroChris Robinson2023-05-081-13/+15
|
* Store extension strings individuallyChris Robinson2023-05-084-102/+85
| | | | And dynamically build the full AL_EXTENSIONS string
* Make a function constexprChris Robinson2023-05-081-1/+1
|
* Mark some global constexpr variables inlineChris Robinson2023-05-073-26/+26
|