aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alconfig.cpp
Commit message (Collapse)AuthorAgeFilesLines
* disable unavailable functionality on xbox (#887)Max Bachmann2023-07-261-0/+2
| | | | | * disable unavailable functionality on xbox * use not std version of getenv on xbox
* Improve wasapi backend UWP support (#853)Deal(一线灵)2023-05-311-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Don't bit_cast an array to a pointerChris Robinson2023-05-051-2/+1
|
* Make and use a bit_cast functionChris Robinson2023-05-041-1/+2
| | | | Instead of reinterpret_casting between incompatible types
* Replace al::optional with std::optionalChris Robinson2023-05-041-11/+11
|
* clang-tidy cleanups (#800)Rosen Penev2023-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * clang-tidy: use bool literals Found with modernize-use-bool-literals Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: replace std::bind with lambdas Found with modernize-avoid-bind Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use data() instead of pointer stuff Found with readability-container-data-pointe Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: use empty() Found with readability-container-size-empty Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove static in anon namespace Found with readability-static-definition-in-anonymous-namespace Signed-off-by: Rosen Penev <[email protected]> * clang-tidy: remove const return Found with readability-const-return-type Signed-off-by: Rosen Penev <[email protected]> Signed-off-by: Rosen Penev <[email protected]>
* Avoid unnecessary uses of make_optionalChris Robinson2023-01-131-6/+6
|
* Use a bool type for boolean parametersChris Robinson2022-04-161-1/+1
|
* Don't declare functions outside of where they're usedChris Robinson2021-10-211-80/+66
|
* Move helpers.cpp to coreChris Robinson2021-04-221-1/+1
|
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Remove some hopefully unneeded macrosChris Robinson2020-04-251-9/+1
|
* Avoid sscanf for parsing config linesChris Robinson2019-12-141-36/+37
|
* Move the ifstream wrapper to commonChris Robinson2019-09-221-4/+6
|
* Remove the last uses of the system's str[n]casecmpChris Robinson2019-09-161-6/+7
|
* Enable and fix more warningsChris Robinson2019-09-141-6/+6
|
* Fix more implicit conversionsChris Robinson2019-09-141-1/+1
|
* Add methods to get env vars as an optionalChris Robinson2019-08-121-28/+26
|
* Move the wstr converters to a separate headerChris Robinson2019-08-111-0/+1
|
* Don't store options that are set to blank/defaultChris Robinson2019-08-071-20/+22
|
* Rename Alc to alcChris Robinson2019-07-281-0/+545