Lines Matching defs:data

73           "save_aec=<save AEC data in /tmp> "
102 /* Null, Dummy echo canceller (just copies data) */
154 * The data sent to the new sink is kept in a memblockq before being
157 * Data read from source_master is matched against the saved sink data and
158 * echo canceled data is then pushed onto the new source.
160 * Both source and sink masters have their own threads to push/pull data
400 static int source_process_msg_cb(pa_msgobject *o, int code, void *data, int64_t offset, pa_memchunk *chunk) {
412 *((int64_t*) data) = 0;
416 *((int64_t*) data) =
426 *((int64_t*) data) += pa_resampler_get_delay_usec(u->source_output->thread_info.resampler);
435 return pa_source_process_msg(o, code, data, offset, chunk);
439 static int sink_process_msg_cb(pa_msgobject *o, int code, void *data, int64_t offset, pa_memchunk *chunk) {
451 *((int64_t*) data) = 0;
455 *((int64_t*) data) =
464 *((int64_t*) data) += pa_resampler_get_delay_usec(u->sink_input->thread_info.resampler);
469 return pa_sink_process_msg(o, code, data, offset, chunk);
748 * pd: amount of data consumed since last time
749 * rd: amount of data consumed since last time
827 * capture data. If playback is currently inactive, we just push silence.
845 /* we ran out of played data and pchunk has been filled with silence bytes */
892 /* forward the (echo-canceled) data to the virtual source */
925 /* Let's not do anything else till we have enough data to process */
938 * We do this because the source data is coming at a fixed rate, which
1023 /* go back on read side, we need to use older sink data for this */
1077 static int source_output_process_msg_cb(pa_msgobject *obj, int code, void *data, int64_t offset, pa_memchunk *chunk) {
1111 struct snapshot *snapshot = (struct snapshot *) data;
1123 return pa_source_output_process_msg(obj, code, data, offset, chunk);
1127 static int sink_input_process_msg_cb(pa_msgobject *obj, int code, void *data, int64_t offset, pa_memchunk *chunk) {
1135 struct snapshot *snapshot = (struct snapshot *) data;
1156 return pa_sink_input_process_msg(obj, code, data, offset, chunk);
2367 pa_log("All capture data was not consumed");
2369 pa_log("All playback data was not consumed");