Lines Matching defs:nbytes
415 /* pa_log_debug("Ate in sum %lu bytes (of %lu)", (unsigned long) ate, (unsigned long) nbytes); */
551 static int sink_input_pop_cb(pa_sink_input *i, size_t nbytes, pa_memchunk *chunk) {
558 request_memblock(o, nbytes);
576 static void sink_input_process_rewind_cb(pa_sink_input *i, size_t nbytes) {
582 pa_memblockq_rewind(o->memblockq, nbytes);
586 static void sink_input_update_max_rewind_cb(pa_sink_input *i, size_t nbytes) {
592 pa_memblockq_set_maxrewind(o->memblockq, nbytes);
596 static void sink_input_update_max_request_cb(pa_sink_input *i, size_t nbytes) {
602 if (pa_atomic_load(&o->max_request) == (int) nbytes)
605 pa_atomic_store(&o->max_request, (int) nbytes);
606 pa_log_debug("Sink input update max request %lu", (unsigned long) nbytes);
643 size_t nbytes;
670 nbytes = pa_sink_input_get_max_request(i);
671 pa_atomic_store(&o->max_request, (int) nbytes);
672 pa_log_debug("attach max request %lu", (unsigned long) nbytes);
1475 size_t nbytes;
1640 nbytes = pa_usec_to_bytes(BLOCK_USEC, &u->sink->sample_spec);
1641 pa_sink_set_max_request(u->sink, nbytes);