Home
last modified time | relevance | path

Searched refs:left_to_record (Results 1 – 1 of 1) sorted by relevance

/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c508 size_t left_to_record; in check_left_to_record() local
518 left_to_record = rec_space - n_bytes; in check_left_to_record()
522 left_to_record = 0; in check_left_to_record()
534 …pa_log_debug("%0.2f ms left to record", (double) pa_bytes_to_usec(left_to_record, &u->source->samp… in check_left_to_record()
540 if (overrun || left_to_record < u->watermark_inc_threshold) in check_left_to_record()
542 else if (left_to_record > u->watermark_dec_threshold) { in check_left_to_record()
557 return left_to_record; in check_left_to_record()
564 size_t left_to_record; in mmap_read() local
594 left_to_record = check_left_to_record(u, n_bytes, on_timeout); in mmap_read()
599 … pa_bytes_to_usec(left_to_record, &u->source->sample_spec) > process_usec+max_sleep_usec/2) { in mmap_read()
[all …]