Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the ringbuffer write limit | Chris Robinson | 2019-01-03 | 1 | -1/+1 |
| | | | | | | | Previously it just limited the returned write space, irrespective of how much had already been written. The buffer could still be filled up by doing multiple writes. Now the size is limited by adjusting the read pointer by the real vs limited difference when calculating the writable space. | ||||
* | Return unique_ptrs instead of raw pointers | Chris Robinson | 2018-12-27 | 1 | -4/+2 |
| | | | | For the ring buffer, channel converter, and sample converter. | ||||
* | Clean up the ring buffer struct and use member functions | Chris Robinson | 2018-12-26 | 1 | -60/+62 |
| | |||||
* | Use a normal delete instead of ll_ringbuffer_free | Chris Robinson | 2018-12-22 | 1 | -21/+32 |
| | | | | And use RingBufferPtr in more places | ||||
* | Add a unique_ptr alias for the ringbuffer | Chris Robinson | 2018-11-27 | 1 | -0/+8 |
| | |||||
* | Return the ringbuffer data pointers as a pair | Chris Robinson | 2018-11-19 | 1 | -18/+16 |
| | |||||
* | Make ll_ringbuffer_write/read take void*/const void* | Chris Robinson | 2018-11-19 | 1 | -3/+3 |
| | |||||
* | Add extern "C" to some headers | Chris Robinson | 2018-03-09 | 1 | -0/+8 |
| | |||||
* | Ensure at least the specified ringbuffer size is writable | Chris Robinson | 2018-03-02 | 1 | -4/+44 |
| | | | | | | Previously, all but one of the specified size could be written (so for a size of n, only n-1 was guaranteed writable). All users pretty much compensated for this, but it makes more sense to fix it at the source. | ||||
* | Add an option to limit the write size of the ringbuffer | Chris Robinson | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | Move the ringbuffer declarations to a separate header | Chris Robinson | 2018-01-11 | 1 | -0/+29 |
And rename alcRing.c to ringbuffer.c for consistency. |