From 9557eb7b60e16964ef3f48e4a77587030e901859 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 23 Oct 2016 16:38:21 -0400 Subject: [PATCH] docs: move ring buffer docs to work around doxygen limitation closes #113 --- soundio/soundio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/soundio/soundio.h b/soundio/soundio.h index 6aa8359..e5b8c8d 100644 --- a/soundio/soundio.h +++ b/soundio/soundio.h @@ -1163,11 +1163,12 @@ SOUNDIO_EXPORT int soundio_instream_get_latency(struct SoundIoInStream *instream double *out_latency); +struct SoundIoRingBuffer; + /// A ring buffer is a single-reader single-writer lock-free fixed-size queue. /// libsoundio ring buffers use memory mapping techniques to enable a /// contiguous buffer when reading or writing across the boundary of the ring /// buffer's capacity. -struct SoundIoRingBuffer; /// `requested_capacity` in bytes. /// Returns `NULL` if and only if memory could not be allocated. /// Use ::soundio_ring_buffer_capacity to get the actual capacity, which might