From 23104161a8feeb6a2dad9840f0e0a55b10cb8762 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 14 Sep 2015 04:02:58 -0700 Subject: [PATCH] docs: fix incorrect docs for soundio_instream_pause --- soundio/soundio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soundio/soundio.h b/soundio/soundio.h index e964636..09e2c76 100644 --- a/soundio/soundio.h +++ b/soundio/soundio.h @@ -1005,7 +1005,7 @@ SOUNDIO_EXPORT int soundio_outstream_clear_buffer(struct SoundIoOutStream *outst /// buffer is not full. /// Pausing might put the hardware into a low power state which is ideal if your /// software is silent for some time. -/// This function may be called any thread. +/// This function may be called from any thread. /// Pausing when already paused or unpausing when already unpaused has no /// effect and always returns SoundIoErrorNone. /// @@ -1116,7 +1116,7 @@ SOUNDIO_EXPORT int soundio_instream_end_read(struct SoundIoInStream *instream); /// If the underyling device supports pausing, this pauses the stream and /// prevents SoundIoInStream::read_callback from being called. Otherwise this returns /// #SoundIoErrorIncompatibleDevice. -/// You must call this function only from the SoundIoInStream::read_callback thread context. +/// This function may be called from any thread. /// Pausing when already paused or unpausing when already unpaused has no /// effect and always returns SoundIoErrorNone. ///