Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve wasapi backend UWP support (#853) | Deal(一线灵) | 2023-05-31 | 9 | -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 declaration | Chris Robinson | 2023-05-30 | 1 | -2/+2 |
| | |||||
* | Move the function and enum list to a separate file | Chris Robinson | 2023-05-30 | 3 | -864/+879 |
| | |||||
* | Add a callback to report system device changes | Chris Robinson | 2023-05-30 | 6 | -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 capture | Chris Robinson | 2023-05-30 | 1 | -2/+1 |
| | |||||
* | threads: do not use libdispatch where it is not present (#851) | Sergey Fedorov | 2023-05-28 | 2 | -2/+8 |
| | | | Fixes: https://github.com/kcat/openal-soft/issues/850 | ||||
* | Define __STDC_FORMAT_MACROS on systems that need it | Chris Robinson | 2023-05-27 | 1 | -0/+14 |
| | |||||
* | Use [[maybe_unused]] instead of std::ignore | Chris Robinson | 2023-05-27 | 1 | -12/+5 |
| | |||||
* | Update and clarify a comment | Chris Robinson | 2023-05-26 | 1 | -4/+7 |
| | |||||
* | Don't throw when failing to stop Oboe playback | Chris Robinson | 2023-05-25 | 1 | -2/+1 |
| | |||||
* | Avoid duplicate NULL checks | Chris Robinson | 2023-05-25 | 2 | -50/+44 |
| | |||||
* | Improve oboe backend (#848) | Deal(一线灵) | 2023-05-25 | 1 | -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 include | Chris Robinson | 2023-05-24 | 1 | -0/+1 |
| | |||||
* | Use a variant to hold EAX effect properties | Chris Robinson | 2023-05-24 | 14 | -394/+399 |
| | |||||
* | Be a bit more safe with type mangling | Chris Robinson | 2023-05-24 | 6 | -17/+20 |
| | |||||
* | Increment an offset only when it's used | Chris Robinson | 2023-05-24 | 1 | -1/+1 |
| | |||||
* | Add a compat option to change the error value with no context | Chris Robinson | 2023-05-24 | 3 | -1/+39 |
| | |||||
* | Properly forward from alGetFilterivDirect | Chris Robinson | 2023-05-23 | 1 | -1/+1 |
| | |||||
* | Use a variant to call the proper filter handler function | Chris Robinson | 2023-05-23 | 2 | -258/+259 |
| | |||||
* | Use a string_view for handling debug messages | Chris Robinson | 2023-05-23 | 6 | -46/+46 |
| | |||||
* | Use the macros to declare the indirect context thunks | Chris Robinson | 2023-05-23 | 2 | -42/+15 |
| | |||||
* | Make the router API functions noexcept | Chris Robinson | 2023-05-22 | 2 | -28/+28 |
| | |||||
* | Make the API functions noexcept | Chris Robinson | 2023-05-22 | 15 | -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 bindings | Chris Robinson | 2023-05-22 | 1 | -0/+22 |
| | |||||
* | Remove an unnecessary check | Chris Robinson | 2023-05-15 | 1 | -3/+0 |
| | |||||
* | Fix linkage definitions | Chris Robinson | 2023-05-14 | 9 | -129/+125 |
| | |||||
* | Add extension strings for the in-progress direct API | Chris Robinson | 2023-05-14 | 2 | -0/+3 |
| | |||||
* | Don't check for a null context in direct functions | Chris Robinson | 2023-05-14 | 12 | -434/+125 |
| | |||||
* | Implement direct functions for EFX | Chris Robinson | 2023-05-14 | 4 | -195/+228 |
| | |||||
* | Implement direct functions for the debug API | Chris Robinson | 2023-05-14 | 3 | -19/+59 |
| | |||||
* | Implement direct functions for the listener and events | Chris Robinson | 2023-05-14 | 4 | -85/+107 |
| | |||||
* | Add more direct functions to the function table | Chris Robinson | 2023-05-14 | 1 | -0/+66 |
| | |||||
* | Implement direct functions for sources | Chris Robinson | 2023-05-14 | 1 | -277/+272 |
| | |||||
* | Implement direct functions for buffers | Chris Robinson | 2023-05-14 | 3 | -181/+228 |
| | |||||
* | Implement direct functions for extension queries and EAX | Chris Robinson | 2023-05-14 | 4 | -25/+44 |
| | |||||
* | Implement direct functions for context state | Chris Robinson | 2023-05-14 | 5 | -164/+180 |
| | |||||
* | Declare "direct" context functions for a future extension | Chris Robinson | 2023-05-13 | 1 | -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 unnecessarily | Chris Robinson | 2023-05-12 | 26 | -110/+115 |
| | |||||
* | Clean up some more includes | Chris Robinson | 2023-05-12 | 11 | -29/+28 |
| | |||||
* | Remove some old compatibility code | Chris Robinson | 2023-05-12 | 1 | -28/+4 |
| | |||||
* | Clean up some unnecessary includes and types | Chris Robinson | 2023-05-12 | 1 | -11/+3 |
| | |||||
* | Special-case setting a single buffer's mode | Chris Robinson | 2023-05-11 | 1 | -9/+46 |
| | | | | To avoid extraneous allocations and extra work for a common case. | ||||
* | Avoid counting buffers multiple times in EAXSetBufferMode | Chris Robinson | 2023-05-10 | 1 | -29/+28 |
| | |||||
* | Mark some functions noexcept when possible | Chris Robinson | 2023-05-10 | 2 | -15/+4 |
| | |||||
* | Use a variant for AsyncEvent | Chris Robinson | 2023-05-08 | 5 | -108/+129 |
| | |||||
* | Send a debug message when disconnecting | Chris Robinson | 2023-05-08 | 2 | -14/+24 |
| | |||||
* | Use an inline function instead of a macro | Chris Robinson | 2023-05-08 | 1 | -13/+15 |
| | |||||
* | Store extension strings individually | Chris Robinson | 2023-05-08 | 4 | -102/+85 |
| | | | | And dynamically build the full AL_EXTENSIONS string | ||||
* | Make a function constexpr | Chris Robinson | 2023-05-08 | 1 | -1/+1 |
| | |||||
* | Mark some global constexpr variables inline | Chris Robinson | 2023-05-07 | 3 | -26/+26 |
| |