Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get the correct audio client interface with UWP | Chris Robinson | 2023-06-07 | 1 | -24/+16 |
| | |||||
* | Remove a seemingly unnecessary C++/CLI wrapper | Chris Robinson | 2023-06-06 | 1 | -18/+9 |
| | |||||
* | Directly inline a couple functions | Chris Robinson | 2023-06-06 | 1 | -189/+174 |
| | |||||
* | Avoid explicit definitions of some IIDs | Chris Robinson | 2023-06-05 | 2 | -7/+3 |
| | |||||
* | Fix return value for UWP builds | Chris Robinson | 2023-06-05 | 1 | -3/+3 |
| | |||||
* | Handle device added/removed events with WASAPI | Chris Robinson | 2023-06-05 | 1 | -90/+181 |
| | | | | | Non-UWP only for now. The device list is managed dynamically now so it doesn't need to be probed for each enumeration query. | ||||
* | Better protect the WASAPI device list with a mutex | Chris Robinson | 2023-06-04 | 1 | -48/+82 |
| | |||||
* | Use inline variables to avoid separate definitions | Chris Robinson | 2023-06-03 | 2 | -7/+2 |
| | |||||
* | Clean up some unnecessary includes | Chris Robinson | 2023-06-03 | 1 | -22/+9 |
| | |||||
* | Use the correct IID for the interface we use | Chris Robinson | 2023-06-03 | 1 | -7/+9 |
| | |||||
* | Try again to fix UWP builds | Chris Robinson | 2023-06-02 | 1 | -2/+2 |
| | |||||
* | Fix UWP builds | Chris Robinson | 2023-06-02 | 1 | -26/+20 |
| | |||||
* | Fix comment typo | Chris Robinson | 2023-06-02 | 1 | -1/+1 |
| | |||||
* | Start the WASAPI COM thread when initializing the backend | Chris Robinson | 2023-06-02 | 1 | -125/+38 |
| | | | | | | | | | | | | | COM doesn't make this easy. We want to be able to get device change notifications without an open device, but we need an IMMDeviceEnumerator object to register the notification client, which requires COM to be initialized. COM must then stay initialized while we have the IMMDeviceEnumerator object, which we can't assume for the calling thread so it has to be done in the COM thread. Consequently, the COM thread must stay alive and can't quit while the DLL is loaded if we want to get those notifications without an open device, and as there's no reliable way to make the thread quit during DLL unload, the DLL must stay pinned until process exit. | ||||
* | Don't initialize in alcGetProcAddress or alcGetEnumValue | Chris Robinson | 2023-06-02 | 1 | -2/+0 |
| | |||||
* | Remove an unused lambda | Chris Robinson | 2023-06-01 | 1 | -8/+2 |
| | |||||
* | Use cinttypes instead of inttypes.h in C++ | Chris Robinson | 2023-06-01 | 4 | -4/+4 |
| | |||||
* | Rename threads.cpp/h to alsem.cpp/h | Chris Robinson | 2023-06-01 | 14 | -18/+12 |
| | |||||
* | Move althrd_setname to its own source | Chris Robinson | 2023-06-01 | 16 | -77/+96 |
| | |||||
* | Define FORCE_ALIGN in config.h | Chris Robinson | 2023-06-01 | 4 | -16/+14 |
| | |||||
* | Fix ios crash at sem_init fail with errno=78(function not implemented) (#855) | Deal(一线灵) | 2023-06-01 | 2 | -3/+5 |
| | |||||
* | Specify the device type for the event callback | Chris Robinson | 2023-06-01 | 7 | -45/+86 |
| | |||||
* | Fix a type conversion warning | Chris Robinson | 2023-06-01 | 1 | -2/+1 |
| | |||||
* | 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 | ||||
* | Add ios ci (#854) | Deal(一线灵) | 2023-05-31 | 1 | -0/+12 |
| | |||||
* | 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 | 2 | -7/+11 |
| | |||||
* | 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 | 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 |
| |