aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update GitHub Actions CI (#873)Dirk Stolle2023-07-042-3/+3
| | | | | The following updates are performed: * update actions/checkout to v3 * update actions/upload-artifact to v3.1.2
* Fix a comment typoChris Robinson2023-07-041-1/+1
|
* Don't use an import target for OpenSLChris Robinson2023-07-042-8/+7
|
* Add mention of OpenTK for C# bindingsChris Robinson2023-07-021-0/+5
|
* Add a function to set a callback for log messagesChris Robinson2023-07-025-26/+92
|
* Don't pass the file handle to al_printChris Robinson2023-07-013-17/+20
|
* Specify a callback using a lambdaChris Robinson2023-06-291-3/+2
|
* [UWP] Fix crash when probe capture device fail (#868)Deal(一线灵)2023-06-281-1/+4
| | | | | * [UWP] Fix crash when probe capture device fail * [UWP] Also check openDevice to avoid crash
* Set the correct dev format when autodetecting 7.1.4 in WASAPIChris Robinson2023-06-271-1/+1
|
* Use inline variables instead of functions with static variablesChris Robinson2023-06-146-178/+139
|
* Trace the surround decoder being usedChris Robinson2023-06-121-9/+20
|
* Fix disabling debug eventsChris Robinson2023-06-121-1/+1
|
* Always use Windows' GUID definition on WindowsChris Robinson2023-06-111-8/+6
|
* Add gtest integration (#860)hsdk1232023-06-125-3/+64
| | | | | | | | | | | | | | | | | * Add gtest integration * Update gtest fetch * Add ctest * Update CI * Update CI * enable testing * Make tests off by default * Update gitignore
* Get the correct audio client interface with UWPChris Robinson2023-06-071-24/+16
|
* Remove a seemingly unnecessary C++/CLI wrapperChris Robinson2023-06-061-18/+9
|
* Directly inline a couple functionsChris Robinson2023-06-061-189/+174
|
* Avoid explicit definitions of some IIDsChris Robinson2023-06-052-7/+3
|
* Fix return value for UWP buildsChris Robinson2023-06-051-3/+3
|
* Handle device added/removed events with WASAPIChris Robinson2023-06-051-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 mutexChris Robinson2023-06-041-48/+82
|
* Use inline variables to avoid separate definitionsChris Robinson2023-06-032-7/+2
|
* Clean up some unnecessary includesChris Robinson2023-06-031-22/+9
|
* Use the correct IID for the interface we useChris Robinson2023-06-031-7/+9
|
* Try again to fix UWP buildsChris Robinson2023-06-021-2/+2
|
* Fix UWP buildsChris Robinson2023-06-021-26/+20
|
* Fix comment typoChris Robinson2023-06-021-1/+1
|
* Start the WASAPI COM thread when initializing the backendChris Robinson2023-06-021-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 alcGetEnumValueChris Robinson2023-06-021-2/+0
|
* Remove an unused lambdaChris Robinson2023-06-011-8/+2
|
* Use cinttypes instead of inttypes.h in C++Chris Robinson2023-06-014-4/+4
|
* Rename threads.cpp/h to alsem.cpp/hChris Robinson2023-06-0114-18/+12
|
* Move althrd_setname to its own sourceChris Robinson2023-06-0116-77/+96
|
* Define FORCE_ALIGN in config.hChris Robinson2023-06-014-16/+14
|
* Fix ios crash at sem_init fail with errno=78(function not implemented) (#855)Deal(一线灵)2023-06-012-3/+5
|
* Specify the device type for the event callbackChris Robinson2023-06-017-45/+86
|
* Fix a type conversion warningChris Robinson2023-06-011-2/+1
|
* Handle device added/removed events with PulseAudioChris Robinson2023-06-011-0/+42
|
* Add a context to PulseMainloopChris Robinson2023-06-011-84/+64
|
* Add a comment explaining the DeviceAdded logic for PipeWireChris Robinson2023-06-011-1/+10
|
* Report device change events from CoreAudio (#856)Deal(一线灵)2023-06-011-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-311-0/+12
|
* Include IOAudioTypes.h only when neededChris Robinson2023-05-311-4/+3
|
* Report device change events from PipeWireChris Robinson2023-05-311-34/+91
|
* Initialize the WASAPI device helper earlierChris Robinson2023-05-312-7/+11
|
* Don't register per-device default change handlersChris Robinson2023-05-311-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-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.