If the underlying backend and device support pausing, this pauses the
stream. SoundIoOutStream::write_callback may be called a few more times if
the 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 from any thread context, including
SoundIoOutStream::write_callback.
Pausing when already paused or unpausing when already unpaused has no
effect and returns #SoundIoErrorNone.
Possible errors:
* #SoundIoErrorBackendDisconnected
* #SoundIoErrorStreaming
* #SoundIoErrorIncompatibleDevice - device does not support
pausing/unpausing. This error code might not be returned even if the
device does not support pausing/unpausing.
* #SoundIoErrorIncompatibleBackend - backend does not support
pausing/unpausing.
* #SoundIoErrorInvalid - outstream not opened and started
If the underlying backend and device support pausing, this pauses the stream. SoundIoOutStream::write_callback may be called a few more times if the 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 from any thread context, including SoundIoOutStream::write_callback. Pausing when already paused or unpausing when already unpaused has no effect and returns #SoundIoErrorNone.
Possible errors: * #SoundIoErrorBackendDisconnected * #SoundIoErrorStreaming * #SoundIoErrorIncompatibleDevice - device does not support pausing/unpausing. This error code might not be returned even if the device does not support pausing/unpausing. * #SoundIoErrorIncompatibleBackend - backend does not support pausing/unpausing. * #SoundIoErrorInvalid - outstream not opened and started