Skip to content

Conversation

@eduarduseldorf
Copy link
Contributor

@eduarduseldorf eduarduseldorf commented Oct 16, 2025

Reseting only internal operators right after a single message comes out of the pipeline, the prior version is expecting to complete the input buffer execution before checking for a posible output although it is better to check on every iteration given that only one message is required to produce output, so there is no need to wait for the whole input queue to be executed. The current behavior causes issues in cases where a resampler connected to the pipeline emits more than once due to the occasional restart of a device, so it upsamples.

Reseting only internal operators right after a single message comes out of the pipeline, the prior version was expecting to complete the input buffer execution although it is better to check on every iteration because only one message is required to produce output, so no need to wait for the whole input queue to be executed, the current behavior causes issues in cases where a resampler connected to the pipeline outputs more than one messages becuase a device restarted.
Like in the case of including a resampler inside the Pipeline
@eduarduseldorf eduarduseldorf merged commit e6e68c3 into master Oct 16, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants