soundio_instream_pause

If the underyling device supports pausing, this pauses the stream and prevents SoundIoInStream::read_callback from being called. Otherwise this returns #SoundIoErrorIncompatibleDevice. This function may be called from any thread. Pausing when already paused or unpausing when already unpaused has no effect and always returns #SoundIoErrorNone.

Possible errors: * #SoundIoErrorBackendDisconnected * #SoundIoErrorStreaming * #SoundIoErrorIncompatibleDevice - device does not support pausing/unpausing

extern (C) @nogc nothrow
int
soundio_instream_pause

Meta