Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up some gotos and non-optimal casts | Chris Robinson | 2023-12-26 | 1 | -64/+67 |
| | |||||
* | Fix implicit widening after multiplication | Chris Robinson | 2023-12-23 | 1 | -2/+2 |
| | |||||
* | Ensure struct members are initialized | Chris Robinson | 2023-12-20 | 1 | -1/+1 |
| | |||||
* | Remove DEF_NEWDEL | Chris Robinson | 2023-12-16 | 1 | -4/+0 |
| | | | | | C++17 provides alignment-aware allocators for us, so we don't need to use our own to make sure classes/structs are properly aligned. | ||||
* | Mostly finish cleanup for backends | Chris Robinson | 2023-12-11 | 1 | -10/+11 |
| | | | | Except CoreAudio and Solaris backends | ||||
* | Fix some clang-tidy warnings | Chris Robinson | 2023-12-08 | 1 | -1/+1 |
| | |||||
* | Use a string_view for the backend open method | Chris Robinson | 2023-08-06 | 1 | -12/+12 |
| | |||||
* | Fix some typos (#872) | Dirk Stolle | 2023-07-04 | 1 | -1/+1 |
| | |||||
* | Use cinttypes instead of inttypes.h in C++ | Chris Robinson | 2023-06-01 | 1 | -1/+1 |
| | |||||
* | Move althrd_setname to its own source | Chris Robinson | 2023-06-01 | 1 | -1/+1 |
| | |||||
* | Use std::byte instead of a custom al::byte | Chris Robinson | 2023-05-04 | 1 | -8/+8 |
| | |||||
* | Make sure sio_write and sio_read return valid values | Chris Robinson | 2022-11-07 | 1 | -5/+12 |
| | |||||
* | Avoid a shadow declaration warning | Chris Robinson | 2022-03-30 | 1 | -7/+7 |
| | |||||
* | Use a local unique_ptr array instead of a struct member | Chris Robinson | 2021-09-01 | 1 | -6/+5 |
| | | | | For the sndio poll fds. | ||||
* | Fix crashes in SndioCapture::recordProc (#594) | Andrew Krasavin | 2021-09-01 | 1 | -0/+9 |
| | | | | | | * Fix crashes while capturing audio using openal with sndio backend. * Proper function for mFds preallocation. Now it is checked whether the returned value of the sin_nfds() function is not a negative number. | ||||
* | Use non-block mode for sndio capture | Chris Robinson | 2021-07-30 | 1 | -47/+76 |
| | |||||
* | Simplify channel handling in the sndio backend | Chris Robinson | 2021-07-29 | 1 | -89/+63 |
| | |||||
* | 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 | -3/+3 |
| | |||||
* | Move helpers.cpp to core | Chris Robinson | 2021-04-22 | 1 | -1/+1 |
| | |||||
* | Move declarations to a more appropriate header | Chris Robinson | 2021-04-22 | 1 | -0/+1 |
| | |||||
* | Allow calling BackendBase::open multiple times on playback devices | Chris Robinson | 2021-03-08 | 1 | -2/+6 |
| | | | | | | | | | | | 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. | ||||
* | 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 | -9/+9 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -15/+18 |
| | |||||
* | 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 | -2/+2 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -4/+4 |
| | |||||
* | Move a couple related functions to the backend base | Chris Robinson | 2020-06-12 | 1 | -2/+2 |
| | |||||
* | Check the returned sample endianess with sndio | Chris Robinson | 2020-06-07 | 1 | -0/+6 |
| | |||||
* | Fix a return value | Chris Robinson | 2020-06-07 | 1 | -1/+1 |
| | |||||
* | Use a safer layout if sndio changes the channel count | Chris Robinson | 2020-06-07 | 1 | -61/+78 |
| | |||||
* | sndio: Support more than 2 channels | Daniel Gibson | 2020-06-07 | 1 | -2/+32 |
| | | | | | | | So far the sndio backend only supports Mono and Stereo, but sndio supports up to 16 channels (64 in their current git code). This adds support for all the openal-soft formats (DevFmt*). I tested this on Linux with 5.1 surround speakers. | ||||
* | Don't return a bool from the backend start method | Chris Robinson | 2020-04-28 | 1 | -24/+12 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -0/+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 | -6/+8 |
| | | | | Rather than using an out parameter. | ||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -4/+1 |
| | |||||
* | Make CreateRingBuffer a static RingBuffer method | Chris Robinson | 2020-01-10 | 1 | -1/+1 |
| | |||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 1 | -1/+2 |
| | | | | | | | | 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 | -1/+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 | -34/+13 |
| | |||||
* | Avoid raw lock/unlock calls | Chris Robinson | 2019-10-07 | 1 | -3/+4 |
| | |||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -41/+44 |
| | |||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -18/+18 |
| | |||||
* | Return unsigned values from the FromDevFmt functions | Chris Robinson | 2019-09-13 | 1 | -7/+6 |
| | |||||
* | Avoid C-style casts in C++ | Chris Robinson | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+495 |