Lines Matching refs:sleep_time
167 int64_t sleep_time = bytes * 1000000LL / audio_stream_out_frame_size(stream) /
169 if (sleep_time > 0) {
170 usleep(sleep_time);
173 sleep_time = 0;
175 out->last_write_time_us = now + sleep_time;
312 int64_t sleep_time = bytes * 1000000LL / audio_stream_in_frame_size(stream) /
314 if (sleep_time > 0) {
315 usleep(sleep_time);
317 sleep_time = 0;
319 in->last_read_time_us = now + sleep_time;