Lines Matching defs:chunk
100 static int sink_process_msg_cb(pa_msgobject *o, int code, void *data, int64_t offset, pa_memchunk *chunk) {
112 return pa_sink_process_msg(o, code, data, offset, chunk);
155 static int source_process_msg_cb(pa_msgobject *o, int code, void *data, int64_t offset, pa_memchunk *chunk) {
186 return pa_source_process_msg(o, code, data, offset, chunk);
250 static void source_output_push_cb(pa_source_output *o, const pa_memchunk *chunk) {
268 same length as chunk provided by source */
271 size_t nbytes = chunk->length;
290 pa_assert(tchunk.length == chunk->length);
295 /* allocate target chunk */
296 /* this could probably be done in-place, but having chunk as both
299 target_chunk.length = chunk->length;
300 pa_assert(target_chunk.length == chunk->length);
311 streams[0].chunk = *chunk;
316 streams[1].chunk = tchunk;
324 target, /* put result in target chunk */
325 chunk->length, /* same length as input */
340 pa_source_post(u->source, chunk);