Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | -10/+10 |
| | |||||
* | Don't use ALC error enums for the backend error code | Chris Robinson | 2020-12-17 | 1 | -7/+9 |
| | |||||
* | Move logging to core | Chris Robinson | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | Allow JACK to enumerate custom devices | Chris Robinson | 2020-09-10 | 1 | -4/+75 |
| | | | | Each device being associated with a port name pattern it'll try connecting to. | ||||
* | Change a couple functions into member functions | Chris Robinson | 2020-08-07 | 1 | -2/+2 |
| | |||||
* | Add an option to auto-connect JACK ports | Chris Robinson | 2020-08-05 | 1 | -11/+14 |
| | |||||
* | Use std::array instead of some C-style arrays | Chris Robinson | 2020-08-05 | 1 | -23/+22 |
| | |||||
* | 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 | -15/+8 |
| | |||||
* | Use standard attribute declarations | Chris Robinson | 2020-04-13 | 1 | -0/+1 |
| | |||||
* | 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 | -8/+9 |
| | | | | Rather than using an out parameter. | ||||
* | Remove the mutex from the backend base | Chris Robinson | 2020-03-29 | 1 | -2/+4 |
| | |||||
* | Avoid AL[C]boolean for internal use | Chris Robinson | 2020-03-28 | 1 | -5/+5 |
| | |||||
* | Remove unnecessary locks now that the mixer doesn't require one | Chris Robinson | 2020-02-26 | 1 | -4/+2 |
| | |||||
* | Fix JACK process callback handling | Chris Robinson | 2020-01-12 | 1 | -50/+48 |
| | | | | | | The callback apparently can't be set after activation, but we can't allocate the ring buffer until after activation when the callback is already getting called. An ugly flag it is, then, I guess. | ||||
* | Don't allocate the ring buffer for JACK before activation | Chris Robinson | 2020-01-11 | 1 | -32/+20 |
| | | | | | | | | | | | | | | It seems the JACK server can send buffer size change events during device reset and wait on it, which causes a failure since the change event can't be processed during a reset. It's otherwise impossible to safely disable the change event callback during a reset since the lock is already held and the callback can be waiting to acquire it. The only guarantee we seem to have is the event callback won't be invoked after jack_activate succeeds. So instead, the buffer size can be queried after jack_activate and the ring buffer allocated then, instead of using an event callback. This does mean the buffer size can change with a start() call, but it's better than a failure to start. | ||||
* | Make CreateRingBuffer a static RingBuffer method | Chris Robinson | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | Handle padding between device sample frames | Chris Robinson | 2019-12-21 | 1 | -2/+4 |
| | | | | | | | | 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. | ||||
* | Make C callbacks noexcept | Chris Robinson | 2019-10-09 | 1 | -6/+6 |
| | | | | | No telling what would happen if exceptions managed to get back into presumably C-based callers. | ||||
* | Never return null from CreateRingBuffer | Chris Robinson | 2019-10-08 | 1 | -10/+1 |
| | | | | | 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 | -4/+2 |
| | |||||
* | Avoid raw lock/unlock calls | Chris Robinson | 2019-10-07 | 1 | -6/+4 |
| | |||||
* | Use exceptions for backend open failures | Chris Robinson | 2019-10-07 | 1 | -13/+10 |
| | |||||
* | Return and pass more appropriate types for backends | Chris Robinson | 2019-09-15 | 1 | -11/+11 |
| | |||||
* | Return unsigned values from the FromDevFmt functions | Chris Robinson | 2019-09-13 | 1 | -7/+5 |
| | |||||
* | Move the dynload decls and defs to common | Chris Robinson | 2019-08-10 | 1 | -1/+1 |
| | |||||
* | Rename Alc to alc | Chris Robinson | 2019-07-28 | 1 | -0/+562 |