mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
resample-peaks: fix peaks resampler
Keep separate variable to check if we searched a complete chunk.
This commit is contained in:
parent
0a27040c9a
commit
a331779a28
2 changed files with 8 additions and 10 deletions
|
|
@ -818,9 +818,9 @@ static int impl_node_process(struct spa_node *node)
|
|||
|
||||
resample_process(&this->resample, i, src, &in_len, dst, &out_len);
|
||||
|
||||
spa_log_trace(this->log, NAME " %p: in %d/%ld %d out %d/%ld %d",
|
||||
this, in_len, size / sizeof(float), inport->offset,
|
||||
out_len, maxsize / sizeof(float), outport->offset);
|
||||
spa_log_trace(this->log, NAME " %p: in %d/%d %ld %d out %d/%d %ld %d",
|
||||
this, pin_len, in_len, size / sizeof(float), inport->offset,
|
||||
pout_len, out_len, maxsize / sizeof(float), outport->offset);
|
||||
|
||||
db->datas[i].chunk->offset = 0;
|
||||
db->datas[i].chunk->size = outport->offset + (out_len * sizeof(float));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue