diff options
author | Chris Robinson <[email protected]> | 2019-01-03 15:54:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-03 15:54:18 -0800 |
commit | 21a17620e37dce28295cbc43b692d7fe910efd67 (patch) | |
tree | 871494a574020ae6f638f1d7d018a83381646267 /Alc/ambidefs.h | |
parent | 88c2f11dcf697c4bac43249e1e98b34637988dbc (diff) |
Fix the ringbuffer write limit
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.
Diffstat (limited to 'Alc/ambidefs.h')
0 files changed, 0 insertions, 0 deletions