soundio_outstream_get_latency

Obtain the total number of seconds that the next frame written after the last frame written with ::soundio_outstream_end_write will take to become audible. This includes both software and hardware latency. In other words, if you call this function directly after calling ::soundio_outstream_end_write, this gives you the number of seconds that the next frame written will take to become audible.

This function must be called only from within SoundIoOutStream::write_callback.

Possible errors: * #SoundIoErrorStreaming

extern (C) @nogc nothrow
int
soundio_outstream_get_latency

Meta