aboutsummaryrefslogtreecommitdiffstats
path: root/alc
Commit message (Collapse)AuthorAgeFilesLines
* UWP: migrate C++/CX to C++/WinRT (#916)Deal2023-09-222-67/+66
|
* Try to get the device period for spatial audio streamsChris Robinson2023-09-211-30/+52
|
* Don't assume the size of AudioObjectTypeChris Robinson2023-09-211-1/+1
|
* Again try to fix handling an enum typeChris Robinson2023-09-201-1/+2
|
* Don't assume an enum's underlying typeChris Robinson2023-09-201-1/+1
|
* Fix MSVC compilationChris Robinson2023-09-201-0/+2
| | | | MinGW's headers don't seem to define operator| for AudioObjectType.
* Preliminary implementation of WASAPI spatial audio playbackChris Robinson2023-09-201-161/+538
|
* Replace some more unnecessary angles with vectorsChris Robinson2023-09-181-47/+77
|
* Store channel positions as vectors instead of anglesChris Robinson2023-09-146-128/+173
| | | | To avoid extraneous conversions between angles and vectors
* Use a span instead of an auto&& to arrayChris Robinson2023-09-131-7/+7
|
* Add a alcGetProcAddress2 functionChris Robinson2023-09-123-0/+8
| | | | | | | | | | | | | | | | This is essentially just a copy of alcGetProcAddress. It's purpose is to bypass Creative's router's alcGetProcAddress implementation, which returns its own functions even if given a device handle. When combined with it also wrapping the drivers' device and context handles, that prevents any extention function that needs a recognizable device or context handle from working, like the *Direct functions, as there's no way for the app to get a device or context handle the driver can know about). An alternate function to get function pointers allows a driver to return its own implementation for standard and extension functions, which an application can use to "bootstrap" audio to use a particular driver directly, enabling use of extensions that the router gets in the way of (and also avoid the overhead of the router, however small that may be).
* Make some global and static member variables inlineChris Robinson2023-09-112-18/+1
| | | | | This also seems to work around the problematic MinGW code generation, so the indirection to access it can be removed.
* Approximate sin for the reverb modulator LFOChris Robinson2023-09-111-2/+7
| | | | | | | Reverb needs to prioritize efficiency since it's expected that an app may use multiple reverb effects simultaneously, and each individual effect may process twice during a pipeline transition. Approximating sin helps by replacing a per- sample libc call that we don't need to be perfectly accurate.
* Combine multiple divisions into oneChris Robinson2023-09-101-8/+11
|
* Include the early and late reverb gain for the decay fade timerChris Robinson2023-09-051-3/+30
|
* Don't use a custom config for the pipewire event loopChris Robinson2023-09-031-1/+1
|
* Avoid putting strings in fixed arrays of char arraysChris Robinson2023-09-021-21/+22
|
* Handle a null string in DeviceHelper::OnDefaultDeviceChangedChris Robinson2023-08-311-6/+6
|
* Combine separate loops into oneChris Robinson2023-08-301-5/+6
|
* Use a more accurate ring modulator waveform generatorChris Robinson2023-08-291-37/+76
| | | | | | This restricts available frequencies to fit an integer number of samples per cycle, but ensures no unintended harmonics from misaligned samples w.r.t. sawtooth and square waveforms.
* Avoid some large stack buffersChris Robinson2023-08-281-27/+18
|
* Allow querying AL_EFFECTSLOT_EFFECTChris Robinson2023-08-251-1/+1
| | | | | | | This doesn't make much sense since the effect associated with the ID may be modified and not represent the effect being played, or was even deleted and isn't a valid effect ID, but Generic Software allows querying it so it should be queryable for compatibility if nothing else.
* Clear errno prior to the call that may set itChris Robinson2023-08-211-0/+1
|
* Use a string instead of a c_str for a string_viewChris Robinson2023-08-181-1/+1
|
* Make ALC_SOFT_system_events publicChris Robinson2023-08-183-19/+8
|
* Don't null check the context in the direct EAX functionsChris Robinson2023-08-131-41/+13
|
* Make AL(C)_EXT_debug publicChris Robinson2023-08-113-68/+2
|
* Track the current/active format for pipewire nodesChris Robinson2023-08-111-55/+85
|
* Add AL_EXT_debug functions to set/get object namesChris Robinson2023-08-114-8/+40
|
* Use a string_view for the backend open methodChris Robinson2023-08-0620-190/+237
|
* Don't use pipewire user data storage for native proxy objectsChris Robinson2023-08-041-110/+83
|
* Move some direct context function declarations to the extensionChris Robinson2023-08-031-15/+17
|
* 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
* Catch exceptions from constructing ALCcontextsChris Robinson2023-07-241-1/+15
|
* Use a lambda to forward a C callbackChris Robinson2023-07-201-6/+6
|
* Make C callback functions noexceptChris Robinson2023-07-201-15/+15
|
* Use a type alias for ALC event bit masksChris Robinson2023-07-102-2/+3
|
* Better order some functions in the export listChris Robinson2023-07-071-3/+4
|
* Return noErr from DeviceListenerProc (#875)captainurist2023-07-071-0/+1
|
* Fix some typos (#872)Dirk Stolle2023-07-045-7/+7
|
* Fix a comment typoChris Robinson2023-07-041-1/+1
|
* Add a function to set a callback for log messagesChris Robinson2023-07-023-1/+10
|
* Don't pass the file handle to al_printChris Robinson2023-07-011-7/+0
|
* 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-143-46/+46
|
* Trace the surround decoder being usedChris Robinson2023-06-121-9/+20
|
* Fix disabling debug eventsChris Robinson2023-06-121-1/+1
|
* Get the correct audio client interface with UWPChris Robinson2023-06-071-24/+16
|