Ensure at least the specified ringbuffer size is writable
commit03274a5b95146675c05b5b6a0340f45a7b122c50
authorChris Robinson <chris.kcat@gmail.com>
Fri, 2 Mar 2018 20:46:31 +0000 (2 12:46 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 2 Mar 2018 21:01:11 +0000 (2 13:01 -0800)
tree02c6bec8667f888742c79a5538995e82797e2fd2
parent6f62fed65c4dcdf999a612e258cca59a22355f3c
Ensure at least the specified ringbuffer size is writable

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.
Alc/backends/alsa.c
Alc/backends/coreaudio.c
Alc/backends/dsound.c
Alc/backends/jack.c
Alc/backends/mmdevapi.c
Alc/backends/opensl.c
Alc/backends/oss.c
Alc/backends/winmm.c
Alc/ringbuffer.c
Alc/ringbuffer.h