Add end-to-end test with resampler #103
Labels
good first issue
Good for newcomers
help wanted
Contributions are welcome
tests
Improvements or additions to tests
TestEnd2End_Default is a simple integration test that writes samples to sender, reads them from receiver, and verifies the received stream.
TestEnd2End_Default disables resampler, so that the received stream is only minimally modified, as described in #101.
We should add a new test TestEnd2End_Resampler, that enables resampling on receiver by setting ReceiverConfig.ResamplerBackend and ResamplerProfile.
Since resampler modifies stream in a very complicated way, the acceptance criteria for this test should much more relaxed compared to #101. We can just wait until we accumulate 10'000 non-zero samples, ignoring zeros, and without checking actual sample values. However we still need to use tickers similar to described in #101.
See also: https://roc-streaming.org/toolkit/docs/internals/fe_resampler.html
The text was updated successfully, but these errors were encountered: