mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
test-resample: fix unit test
Caller should not have to resubmit old samples anymore. Fixes #551
This commit is contained in:
parent
0c2b4df8e5
commit
540011f1e3
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ static void pull_blocks(struct resample *r, uint32_t size)
|
||||||
in_len, pin_len, out_len, pout_len,
|
in_len, pin_len, out_len, pout_len,
|
||||||
resample_in_len(r, size));
|
resample_in_len(r, size));
|
||||||
|
|
||||||
spa_assert(in_len == pin_len + (resample_delay(r) * 2));
|
spa_assert(in_len == pin_len);
|
||||||
spa_assert(out_len == pout_len);
|
spa_assert(out_len == pout_len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue