Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update include headers | Chris Robinson | 2021-04-27 | 1 | -3/+3 | |
| | | | | Don't add alc/ to the include paths. | |||||
* | Use the DeviceBase for the backend | Chris Robinson | 2021-04-24 | 1 | -4/+4 | |
| | ||||||
* | Move some more sources to core | Chris Robinson | 2021-04-24 | 1 | -1/+1 | |
| | ||||||
* | Move helpers.cpp to core | Chris Robinson | 2021-04-22 | 1 | -1/+1 | |
| | ||||||
* | Don't activate the WASAPI device when initially opening it | Chris Robinson | 2021-03-17 | 1 | -17/+2 | |
| | ||||||
* | Avoid returning objects with a reference parameter | Chris Robinson | 2021-03-16 | 1 | -13/+13 | |
| | ||||||
* | Check that CoCreateInstance succeeds | Chris Robinson | 2021-03-16 | 1 | -13/+17 | |
| | ||||||
* | Move the ComPtr wrapper to a common header | Chris Robinson | 2021-03-08 | 1 | -63/+1 | |
| | ||||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -132/+130 | |
| | | | | | | | | | | | It will not be called while the device is running. If the first call succeeds, a subsequent call that happens to fail must leave the existing device state as it was so it can be resumed. This is a rough first pass. It will fail when trying to re-open the same device which can only be opened once (for instance, with direct hardware access, on hardware that doesn't do its own mixing). Some backends won't guarantee the new device is usable until the reset() or start() call. | |||||
* | Make PopCount and CountTrailingZeros more standard-like | Chris Robinson | 2021-01-22 | 1 | -1/+2 | |
| | ||||||
* | Use a standard bitset for bitfield flags | Chris Robinson | 2021-01-22 | 1 | -2/+2 | |
| | ||||||
* | Move alexcpt to core | Chris Robinson | 2020-12-24 | 1 | -1/+0 | |
| | ||||||
* | Avoid AL/ALC types in the backends | Chris Robinson | 2020-12-17 | 1 | -17/+17 | |
| | ||||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -7/+11 | |
| | ||||||
* | Don't return an enum from captureSamples | Chris Robinson | 2020-12-17 | 1 | -9/+6 | |
| | | | | It's always no_error | |||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 | |
| | ||||||
* | Use inline functions for popcnt and ctz instead of macros | Chris Robinson | 2020-10-13 | 1 | -1/+1 | |
| | ||||||
* | Be more robust with to-mono channel conversions | Chris Robinson | 2020-10-05 | 1 | -16/+52 | |
| | ||||||
* | Fix a variable name | Chris Robinson | 2020-10-05 | 1 | -53/+53 | |
| | ||||||
* | Round (and clamp) the reftime instead of ceiling it | Chris Robinson | 2020-09-12 | 1 | -3/+3 | |
| | ||||||
* | Avoid repeating string literals | Chris Robinson | 2020-09-11 | 1 | -5/+7 | |
| | ||||||
* | Use an RAII wrapper to manage COM object references | Chris Robinson | 2020-09-05 | 1 | -87/+111 | |
| | ||||||
* | Avoid duplicate WASAPI devices by matching GUIDs | Chris Robinson | 2020-09-04 | 1 | -33/+31 | |
| | ||||||
* | Use a wait predicate instead of a while loop | Chris Robinson | 2020-08-12 | 1 | -2/+1 | |
| | ||||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -6/+6 | |
| | ||||||
* | Set channel labels from WFX channel masks | Chris Robinson | 2020-06-15 | 1 | -13/+11 | |
| | ||||||
* | Move a couple related functions to the backend base | Chris Robinson | 2020-06-12 | 1 | -1/+1 | |
| | ||||||
* | Don't return a bool from the backend start method | Chris Robinson | 2020-04-28 | 1 | -8/+10 | |
| | ||||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -1/+2 | |
| | ||||||
* | Clean up some more unnecessary uses of AL types | Chris Robinson | 2020-04-08 | 1 | -1/+1 | |
| | ||||||
* | Get rid of a redundant enum | Chris Robinson | 2020-03-30 | 1 | -3/+3 | |
| | ||||||
* | Return the enumerated device names from the backend | Chris Robinson | 2020-03-30 | 1 | -3/+6 | |
| | | | | Rather than using an out parameter. | |||||
* | Remove the mutex from the backend base | Chris Robinson | 2020-03-29 | 1 | -2/+4 | |
| | ||||||
* | Clear the WASAPI device list when enumerating | Chris Robinson | 2020-03-24 | 1 | -15/+12 | |
| | ||||||
* | Don't send close messages for unopened WASAPI devices | Chris Robinson | 2020-03-24 | 1 | -2/+10 | |
| | ||||||
* | Avoid some pre-C++14 workarounds | Chris Robinson | 2020-03-22 | 1 | -10/+9 | |
| | ||||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -5/+6 | |
| | ||||||
* | Make CreateRingBuffer a static RingBuffer method | Chris Robinson | 2020-01-10 | 1 | -1/+1 | |
| | ||||||
* | Make a duration type to handle WASAPI reference times | Chris Robinson | 2019-12-22 | 1 | -34/+36 | |
| | ||||||
* | Print the unhandled subformat | Chris Robinson | 2019-12-22 | 1 | -54/+54 | |
| | ||||||
* | Try harder to find a matching WASAPI configuration | Chris Robinson | 2019-12-22 | 1 | -92/+110 | |
| | | | | | | As long as the lowest channel bits match the enabled bits for a given configuration, higher bits from any extra channels can be ignored since they can be skipped. | |||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 1 | -18/+25 | |
| | | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist. | |||||
* | Never return null from CreateRingBuffer | Chris Robinson | 2019-10-08 | 1 | -5/+0 | |
| | | | | | Allocation failure would already throw a bad_alloc anyway, now a size overflow throws an exception too. | |||||
* | Clean up some exception messages and avoid duplicate log messages | Chris Robinson | 2019-10-08 | 1 | -2/+0 | |
| | ||||||
* | Avoid raw lock/unlock calls | Chris Robinson | 2019-10-07 | 1 | -4/+3 | |
| | ||||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -13/+12 | |
| | ||||||
* | Use FastBSinc24 for WASAPI and CoreAudio capture | Chris Robinson | 2019-09-28 | 1 | -1/+1 | |
| | | | | Given a fixed rate, there's no downside to the fast version. | |||||
* | Make the resampler type an enum class | Chris Robinson | 2019-09-22 | 1 | -1/+1 | |
| | ||||||
* | Fix some Windows warnings | Chris Robinson | 2019-09-18 | 1 | -9/+9 | |
| | ||||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -11/+11 | |
| |