mirror of
https://github.com/Ryujinx/libsoundio.git
synced 2025-01-03 15:05:31 +00:00
docs: fix incorrect docs for soundio_instream_pause
This commit is contained in:
parent
4ce3429bdd
commit
23104161a8
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue