aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Use inline variables to avoid separate definitionsChris Robinson2023-06-032-7/+2
|
* Clean up some unnecessary includesChris Robinson2023-06-031-22/+9
|
* Rename threads.cpp/h to alsem.cpp/hChris Robinson2023-06-011-1/+1
|
* Improve wasapi backend UWP support (#853)Deal(一线灵)2023-05-313-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-243-8/+12
|
* Avoid using al::vector unnecessarilyChris Robinson2023-05-124-32/+32
|
* Clean up some more includesChris Robinson2023-05-123-11/+9
|
* Remove some old compatibility codeChris Robinson2023-05-121-28/+4
|
* Clean up some unnecessary includes and typesChris Robinson2023-05-121-11/+3
|
* Use a variant for AsyncEventChris Robinson2023-05-083-53/+59
|
* Make a function constexprChris Robinson2023-05-081-1/+1
|
* Mark some global constexpr variables inlineChris Robinson2023-05-071-9/+9
|
* Use more appropriate types for some enumsChris Robinson2023-05-061-3/+4
|
* Use some more standard functionsChris Robinson2023-05-052-5/+5
|
* Use deduction guides instead of helper functions for spansChris Robinson2023-05-054-8/+8
|
* Remove custom stuff for standardChris Robinson2023-05-042-2/+2
|
* Use std::byte instead of a custom al::byteChris Robinson2023-05-047-43/+38
|
* 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-049-23/+22
|
* Use std::optional instead of a custom implementationChris Robinson2023-05-043-12/+21
|
* Mask a value to the proper size when setting a bitfieldChris Robinson2023-05-011-2/+2
| | | | Silences a GCC warning about assigning a uint value to a uint:24 bitfield.
* Use a static_cast for older versions of MSVCChris Robinson2023-04-271-2/+3
|
* Cast a value to the expected type for MSVCChris Robinson2023-04-261-2/+2
|
* Reorder some struct fields for consistencyChris Robinson2023-04-081-9/+6
|
* Remove an unused variableChris Robinson2023-04-071-5/+0
|
* Simplify effect state buffer handling someChris Robinson2023-04-041-6/+1
|
* Hold the buffer sample pointer separate from the vectorChris Robinson2023-04-031-0/+3
|
* Make sure delayed-start voices are properly stoppedChris Robinson2023-03-291-1/+10
|
* Log the buffer format when queueing mismatched buffersChris Robinson2023-03-222-0/+40
|
* Make the resampler enum a byteChris Robinson2023-03-071-1/+1
|
* Use macros for the likely/unlikely attributesChris Robinson2023-03-0110-32/+32
| | | | | The syntax parser for GCC 8 (and earlier?) fails when these attributes are in certain places.
* Clamp the MS ADPCM block predictor to the correct sizeChris Robinson2023-02-241-4/+4
|
* Track the callback buffer base separatelyChris Robinson2023-02-182-8/+6
| | | | | Instead of recalculating it all the time, even for sources that don't use callback buffers.
* Decode IMA4 blocks with fewer loopsChris Robinson2023-02-161-35/+30
| | | | | Rather than decoding samples in chunks of 8, calculate the read offset from an incrementing index.
* Combine and simplify some loopsChris Robinson2023-02-151-24/+14
|
* Skip ADPCM samples in a separate loop before writingChris Robinson2023-02-151-59/+83
|
* Rename some variables for clarityChris Robinson2023-02-151-19/+19
|
* Add comments describing the MSADPCM decodeChris Robinson2023-02-141-0/+13
|
* Fix write offset for loading FmtIMA4 samplesChris Robinson2023-02-141-2/+2
|
* Support MSADPCM samples in the mixerChris Robinson2023-02-143-0/+109
|
* Support IMA4 ADPCM as a mixing voice formatChris Robinson2023-02-144-32/+158
|
* Simplify copying the all-pass filter stateChris Robinson2023-02-132-15/+7
|
* Pass a boolean for the decoder to update its stateChris Robinson2023-02-133-51/+57
|
* Explicitly cast a constexpr value to passify MSVCChris Robinson2023-02-121-3/+3
|
* Use to_address to pass a pointer-like iterator as a real pointerChris Robinson2023-02-121-4/+5
|
* The decoders don't need space for resamplingChris Robinson2023-02-122-16/+13
|
* Separate decoding and mixing from resamplingChris Robinson2023-02-123-286/+305
|
* Explicitly cast a size_t to doubleChris Robinson2023-02-111-1/+1
|
* Always write samples to the destination when resamplingChris Robinson2023-02-118-72/+53
|
* Check for the voice being beyond the loop end point earlierChris Robinson2023-02-111-5/+11
|