Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Rename threads.cpp/h to alsem.cpp/h | Chris Robinson | 2023-06-01 | 1 | -1/+1 |
| | |||||
* | Improve wasapi backend UWP support (#853) | Deal(一线灵) | 2023-05-31 | 3 | -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 mangling | Chris Robinson | 2023-05-24 | 3 | -8/+12 |
| | |||||
* | Avoid using al::vector unnecessarily | Chris Robinson | 2023-05-12 | 4 | -32/+32 |
| | |||||
* | Clean up some more includes | Chris Robinson | 2023-05-12 | 3 | -11/+9 |
| | |||||
* | Remove some old compatibility code | Chris Robinson | 2023-05-12 | 1 | -28/+4 |
| | |||||
* | Clean up some unnecessary includes and types | Chris Robinson | 2023-05-12 | 1 | -11/+3 |
| | |||||
* | Use a variant for AsyncEvent | Chris Robinson | 2023-05-08 | 3 | -53/+59 |
| | |||||
* | Make a function constexpr | Chris Robinson | 2023-05-08 | 1 | -1/+1 |
| | |||||
* | Mark some global constexpr variables inline | Chris Robinson | 2023-05-07 | 1 | -9/+9 |
| | |||||
* | Use more appropriate types for some enums | Chris Robinson | 2023-05-06 | 1 | -3/+4 |
| | |||||
* | Use some more standard functions | Chris Robinson | 2023-05-05 | 2 | -5/+5 |
| | |||||
* | Use deduction guides instead of helper functions for spans | Chris Robinson | 2023-05-05 | 4 | -8/+8 |
| | |||||
* | Remove custom stuff for standard | Chris Robinson | 2023-05-04 | 2 | -2/+2 |
| | |||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 7 | -43/+38 |
| | |||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 1 | -1/+2 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | Replace al::optional with std::optional | Chris Robinson | 2023-05-04 | 9 | -23/+22 |
| | |||||
* | Use std::optional instead of a custom implementation | Chris Robinson | 2023-05-04 | 3 | -12/+21 |
| | |||||
* | Mask a value to the proper size when setting a bitfield | Chris Robinson | 2023-05-01 | 1 | -2/+2 |
| | | | | Silences a GCC warning about assigning a uint value to a uint:24 bitfield. | ||||
* | Use a static_cast for older versions of MSVC | Chris Robinson | 2023-04-27 | 1 | -2/+3 |
| | |||||
* | Cast a value to the expected type for MSVC | Chris Robinson | 2023-04-26 | 1 | -2/+2 |
| | |||||
* | Reorder some struct fields for consistency | Chris Robinson | 2023-04-08 | 1 | -9/+6 |
| | |||||
* | Remove an unused variable | Chris Robinson | 2023-04-07 | 1 | -5/+0 |
| | |||||
* | Simplify effect state buffer handling some | Chris Robinson | 2023-04-04 | 1 | -6/+1 |
| | |||||
* | Hold the buffer sample pointer separate from the vector | Chris Robinson | 2023-04-03 | 1 | -0/+3 |
| | |||||
* | Make sure delayed-start voices are properly stopped | Chris Robinson | 2023-03-29 | 1 | -1/+10 |
| | |||||
* | Log the buffer format when queueing mismatched buffers | Chris Robinson | 2023-03-22 | 2 | -0/+40 |
| | |||||
* | Make the resampler enum a byte | Chris Robinson | 2023-03-07 | 1 | -1/+1 |
| | |||||
* | Use macros for the likely/unlikely attributes | Chris Robinson | 2023-03-01 | 10 | -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 size | Chris Robinson | 2023-02-24 | 1 | -4/+4 |
| | |||||
* | Track the callback buffer base separately | Chris Robinson | 2023-02-18 | 2 | -8/+6 |
| | | | | | Instead of recalculating it all the time, even for sources that don't use callback buffers. | ||||
* | Decode IMA4 blocks with fewer loops | Chris Robinson | 2023-02-16 | 1 | -35/+30 |
| | | | | | Rather than decoding samples in chunks of 8, calculate the read offset from an incrementing index. | ||||
* | Combine and simplify some loops | Chris Robinson | 2023-02-15 | 1 | -24/+14 |
| | |||||
* | Skip ADPCM samples in a separate loop before writing | Chris Robinson | 2023-02-15 | 1 | -59/+83 |
| | |||||
* | Rename some variables for clarity | Chris Robinson | 2023-02-15 | 1 | -19/+19 |
| | |||||
* | Add comments describing the MSADPCM decode | Chris Robinson | 2023-02-14 | 1 | -0/+13 |
| | |||||
* | Fix write offset for loading FmtIMA4 samples | Chris Robinson | 2023-02-14 | 1 | -2/+2 |
| | |||||
* | Support MSADPCM samples in the mixer | Chris Robinson | 2023-02-14 | 3 | -0/+109 |
| | |||||
* | Support IMA4 ADPCM as a mixing voice format | Chris Robinson | 2023-02-14 | 4 | -32/+158 |
| | |||||
* | Simplify copying the all-pass filter state | Chris Robinson | 2023-02-13 | 2 | -15/+7 |
| | |||||
* | Pass a boolean for the decoder to update its state | Chris Robinson | 2023-02-13 | 3 | -51/+57 |
| | |||||
* | Explicitly cast a constexpr value to passify MSVC | Chris Robinson | 2023-02-12 | 1 | -3/+3 |
| | |||||
* | Use to_address to pass a pointer-like iterator as a real pointer | Chris Robinson | 2023-02-12 | 1 | -4/+5 |
| | |||||
* | The decoders don't need space for resampling | Chris Robinson | 2023-02-12 | 2 | -16/+13 |
| | |||||
* | Separate decoding and mixing from resampling | Chris Robinson | 2023-02-12 | 3 | -286/+305 |
| | |||||
* | Explicitly cast a size_t to double | Chris Robinson | 2023-02-11 | 1 | -1/+1 |
| | |||||
* | Always write samples to the destination when resampling | Chris Robinson | 2023-02-11 | 8 | -72/+53 |
| | |||||
* | Check for the voice being beyond the loop end point earlier | Chris Robinson | 2023-02-11 | 1 | -5/+11 |
| |