Lines Matching defs:nbytes

980 static int sink_input_pop_cb(pa_sink_input *i, size_t nbytes, pa_memchunk *chunk) {
993 pa_sink_render_full(u->sink, nbytes, chunk);
1010 static void source_output_process_rewind_cb(pa_source_output *o, size_t nbytes) {
1021 pa_source_process_rewind(u->source, nbytes);
1024 pa_memblockq_rewind(u->sink_memblockq, nbytes);
1027 pa_memblockq_seek(u->source_memblockq, -nbytes, PA_SEEK_RELATIVE, true);
1029 pa_log_debug("Source rewind (%lld) %lld", (long long) nbytes,
1034 static void sink_input_process_rewind_cb(pa_sink_input *i, size_t nbytes) {
1044 pa_log_debug("Sink process rewind %lld", (long long) nbytes);
1046 pa_sink_process_rewind(u->sink, nbytes);
1048 pa_asyncmsgq_post(u->asyncmsgq, PA_MSGOBJECT(u->source_output), SOURCE_OUTPUT_MESSAGE_REWIND, NULL, (int64_t) nbytes, NULL, NULL);
1049 u->send_counter -= nbytes;
1160 static void sink_input_update_max_rewind_cb(pa_sink_input *i, size_t nbytes) {
1166 pa_log_debug("Sink input update max rewind %lld", (long long) nbytes);
1170 pa_memblockq_set_maxrewind(u->sink_memblockq, nbytes);
1171 pa_sink_set_max_rewind_within_thread(u->sink, nbytes);
1175 static void source_output_update_max_rewind_cb(pa_source_output *o, size_t nbytes) {
1181 pa_log_debug("Source output update max rewind %lld", (long long) nbytes);
1183 pa_source_set_max_rewind_within_thread(u->source, nbytes);
1187 static void sink_input_update_max_request_cb(pa_sink_input *i, size_t nbytes) {
1193 pa_log_debug("Sink input update max request %lld", (long long) nbytes);
1195 pa_sink_set_max_request_within_thread(u->sink, nbytes);