Determine the total stream latency. This function is based on
* pa_stream_get_time(). The returned time is in the sound card clock
* domain, which usually runs at a slightly different rate than the
* system clock.
*
* The latency is stored in \a *r_usec. In case the stream is a
* monitoring stream the result can be negative, i.e. the captured
* samples are not yet played. In this case \a *negative is set to 1.
*
* If no timing information has been received yet, this call will
* return -PA_ERR_NODATA. On success, it will return 0.
*
* For more details see pa_stream_get_timing_info() and
* pa_stream_get_time().
Determine the total stream latency. This function is based on * pa_stream_get_time(). The returned time is in the sound card clock * domain, which usually runs at a slightly different rate than the * system clock. * * The latency is stored in \a *r_usec. In case the stream is a * monitoring stream the result can be negative, i.e. the captured * samples are not yet played. In this case \a *negative is set to 1. * * If no timing information has been received yet, this call will * return -PA_ERR_NODATA. On success, it will return 0. * * For more details see pa_stream_get_timing_info() and * pa_stream_get_time().