aboutsummaryrefslogtreecommitdiffstats
path: root/core/async_event.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix some clang-tidy warningsChris Robinson2023-12-081-1/+2
|
* Improve wasapi backend UWP support (#853)Deal(一线灵)2023-05-311-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Be a bit more safe with type manglingChris Robinson2023-05-241-2/+6
|
* Use a variant for AsyncEventChris Robinson2023-05-081-42/+47
|
* Use a bitset for the enabled event flagsChris Robinson2022-12-161-10/+10
|
* Avoid manually prefixing EventType_ enumsChris Robinson2021-10-101-11/+11
| | | | And use a better fitting type that matches how it's used
* Move async_event.h to coreChris Robinson2021-04-251-0/+55