Update sink on change #1
Labels
No labels
bug
documentation
duplicate
enhancement
hardware controller
help wanted
invalid
question
sampler
ui
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alexandradeas/vibez#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the sink is set once, if this changes at runtime the entire application needs to be restarted. Instead we should implement a way to update the sink at runtime if a different sink becomes the running sink.
Simple implementation would be to just poll in a subprocess and send a message to the sampler to create a new recorder, complexity comes with how to handover between the recorders. Stopping then starting again would be an option, otherwise interpolate between the last non-zero value and the new recorder's first most recent non-zero value.
Consideration should be taken to ensure resources from the previous recorder are cleaned up so that memory isn't leaked