mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
improve debug
This commit is contained in:
parent
c658574c01
commit
7febf7ea25
6 changed files with 16 additions and 4 deletions
|
|
@ -903,6 +903,9 @@ static int impl_node_process(void *object)
|
|||
db->datas[i].chunk->size = n_samples * outport->stride;
|
||||
}
|
||||
|
||||
spa_log_trace_fp(this->log, NAME " %p: n_src:%d n_dst:%d n_samples:%d p:%d",
|
||||
this, n_src_datas, n_dst_datas, n_samples, is_passthrough);
|
||||
|
||||
if (!is_passthrough)
|
||||
channelmix_process(&this->mix, n_dst_datas, dst_datas,
|
||||
n_src_datas, src_datas, n_samples);
|
||||
|
|
|
|||
|
|
@ -1006,9 +1006,11 @@ static int impl_node_process(void *object)
|
|||
dbuf->buf->datas[i].data = dst_datas[i];
|
||||
dbuf->buf->datas[i].chunk->offset = 0;
|
||||
dbuf->buf->datas[i].chunk->size = n_samples * outport->stride;
|
||||
spa_log_trace_fp(this->log, NAME " %p %p %d", this, dst_datas[i],
|
||||
n_samples * outport->stride);
|
||||
}
|
||||
|
||||
spa_log_trace_fp(this->log, NAME " %p: n_src:%d n_dst:%d n_samples:%d max:%d p:%d", this,
|
||||
n_src_datas, n_dst_datas, n_samples, maxsize, this->is_passthrough);
|
||||
|
||||
if (!this->is_passthrough)
|
||||
convert_process(&this->conv, dst_datas, src_datas, n_samples);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue