You may not call this function from the SoundIoOutStream::write_callback thread context.
See Implementation
You may not call this function from the SoundIoOutStream::write_callback thread context.