Ignoring hardware latency, this is the number of seconds it takes for a
captured sample to become available for reading.
After you call ::soundio_instream_open, this value is replaced with the
actual software latency, as near to this value as possible.
A higher value means less CPU usage. Defaults to a large value,
potentially upwards of 2 seconds.
If the device has unknown software latency min and max values, you may
still set this, but you might not get the value you requested.
For PulseAudio, if you set this value to non-default, it sets
PA_STREAM_ADJUST_LATENCY and is the value used for fragsize.
For JACK, this value is always equal to
SoundIoDevice::software_latency_current
Ignoring hardware latency, this is the number of seconds it takes for a captured sample to become available for reading. After you call ::soundio_instream_open, this value is replaced with the actual software latency, as near to this value as possible. A higher value means less CPU usage. Defaults to a large value, potentially upwards of 2 seconds. If the device has unknown software latency min and max values, you may still set this, but you might not get the value you requested. For PulseAudio, if you set this value to non-default, it sets PA_STREAM_ADJUST_LATENCY and is the value used for fragsize. For JACK, this value is always equal to SoundIoDevice::software_latency_current