Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move althrd_setname to its own source | Chris Robinson | 2023-06-01 | 11 | -9/+12 | |
| | ||||||
* | Define FORCE_ALIGN in config.h | Chris Robinson | 2023-06-01 | 1 | -3/+9 | |
| | ||||||
* | Specify the device type for the event callback | Chris Robinson | 2023-06-01 | 7 | -45/+86 | |
| | ||||||
* | Handle device added/removed events with PulseAudio | Chris Robinson | 2023-06-01 | 1 | -0/+42 | |
| | ||||||
* | Add a context to PulseMainloop | Chris Robinson | 2023-06-01 | 1 | -84/+64 | |
| | ||||||
* | Add a comment explaining the DeviceAdded logic for PipeWire | Chris Robinson | 2023-06-01 | 1 | -1/+10 | |
| | ||||||
* | Report device change events from CoreAudio (#856) | Deal(一线灵) | 2023-06-01 | 1 | -1/+50 | |
| | | | | | | | | | * Report device change events from CoreAudio * Fix compile error * Use optional * Use optional, no unique_ptr | |||||
* | Include IOAudioTypes.h only when needed | Chris Robinson | 2023-05-31 | 1 | -4/+3 | |
| | ||||||
* | Report device change events from PipeWire | Chris Robinson | 2023-05-31 | 1 | -34/+91 | |
| | ||||||
* | Initialize the WASAPI device helper earlier | Chris Robinson | 2023-05-31 | 1 | -2/+3 | |
| | ||||||
* | Don't register per-device default change handlers | Chris Robinson | 2023-05-31 | 1 | -128/+83 | |
| | | | | | It's global state with a global callback. No need to associate it with each open device. | |||||
* | Improve wasapi backend UWP support (#853) | Deal(一线灵) | 2023-05-31 | 2 | -171/+528 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -864/+878 | |
| | ||||||
* | Add a callback to report system device changes | Chris Robinson | 2023-05-30 | 5 | -24/+182 | |
| | | | | | 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 | |
| | ||||||
* | Don't throw when failing to stop Oboe playback | Chris Robinson | 2023-05-25 | 1 | -2/+1 | |
| | ||||||
* | 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 | |||||
* | Be a bit more safe with type mangling | Chris Robinson | 2023-05-24 | 1 | -4/+2 | |
| | ||||||
* | Use a string_view for handling debug messages | Chris Robinson | 2023-05-23 | 2 | -5/+5 | |
| | ||||||
* | Make the API functions noexcept | Chris Robinson | 2023-05-22 | 2 | -444/+381 | |
| | | | | | | | | | | | 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. | |||||
* | Add extension strings for the in-progress direct API | Chris Robinson | 2023-05-14 | 2 | -0/+3 | |
| | ||||||
* | Implement direct functions for EFX | Chris Robinson | 2023-05-14 | 1 | -0/+34 | |
| | ||||||
* | Implement direct functions for the debug API | Chris Robinson | 2023-05-14 | 2 | -0/+19 | |
| | ||||||
* | Implement direct functions for the listener and events | Chris Robinson | 2023-05-14 | 1 | -0/+15 | |
| | ||||||
* | Add more direct functions to the function table | Chris Robinson | 2023-05-14 | 1 | -0/+66 | |
| | ||||||
* | Implement direct functions for buffers | Chris Robinson | 2023-05-14 | 1 | -0/+8 | |
| | ||||||
* | Implement direct functions for extension queries and EAX | Chris Robinson | 2023-05-14 | 2 | -14/+21 | |
| | ||||||
* | Implement direct functions for context state | Chris Robinson | 2023-05-14 | 1 | -0/+22 | |
| | ||||||
* | 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 | 16 | -60/+63 | |
| | ||||||
* | Clean up some more includes | Chris Robinson | 2023-05-12 | 8 | -18/+19 | |
| | ||||||
* | Use a variant for AsyncEvent | Chris Robinson | 2023-05-08 | 1 | -15/+16 | |
| | ||||||
* | Send a debug message when disconnecting | Chris Robinson | 2023-05-08 | 1 | -9/+6 | |
| | ||||||
* | Store extension strings individually | Chris Robinson | 2023-05-08 | 2 | -91/+82 | |
| | | | | And dynamically build the full AL_EXTENSIONS string | |||||
* | Use more appropriate types for some enums | Chris Robinson | 2023-05-06 | 1 | -1/+2 | |
| | ||||||
* | Use some more standard functions | Chris Robinson | 2023-05-05 | 1 | -6/+6 | |
| | ||||||
* | Don't bit_cast an array to a pointer | Chris Robinson | 2023-05-05 | 1 | -2/+1 | |
| | ||||||
* | Use deduction guides instead of helper functions for spans | Chris Robinson | 2023-05-05 | 2 | -5/+5 | |
| | ||||||
* | Remove custom stuff for standard | Chris Robinson | 2023-05-04 | 5 | -11/+11 | |
| | ||||||
* | Avoid defining separate wrapper functions | Chris Robinson | 2023-05-04 | 1 | -32/+16 | |
| | ||||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 18 | -63/+57 | |
| | ||||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 9 | -14/+21 | |
| | | | | Instead of reinterpret_casting between incompatible types | |||||
* | Update ComPtr and use an out_ptr() function | Chris Robinson | 2023-05-04 | 2 | -50/+32 | |
| | ||||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 12 | -60/+58 | |
| | ||||||
* | Implement a context debug flag | Chris Robinson | 2023-05-03 | 4 | -17/+51 | |
| | | | | | Setting the debug flag at context creation enables more debug messages for the created context, and enables debug messages by default. | |||||
* | Rename AL_SOFT_debug to AL_EXT_DEBUG | Chris Robinson | 2023-05-03 | 4 | -81/+81 | |
| | ||||||
* | Reduce code duplication for context queries | Chris Robinson | 2023-05-01 | 1 | -0/+1 | |
| | ||||||
* | Define a struct where it's needed | Chris Robinson | 2023-05-01 | 1 | -1/+18 | |
| | ||||||
* | Implement pushing/popping debug groups | Chris Robinson | 2023-05-01 | 4 | -117/+29 | |
| |