aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/sndio.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-03 15:54:18 -0800
committerChris Robinson <[email protected]>2019-01-03 15:54:18 -0800
commit21a17620e37dce28295cbc43b692d7fe910efd67 (patch)
tree871494a574020ae6f638f1d7d018a83381646267 /Alc/backends/sndio.cpp
parent88c2f11dcf697c4bac43249e1e98b34637988dbc (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/backends/sndio.cpp')
0 files changed, 0 insertions, 0 deletions