Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal: retain the sample_rate on create_new #884

Merged
merged 1 commit into from
Oct 3, 2021

Conversation

kadamski
Copy link
Contributor

When using "Create signal from selection" feature, the newly created
signal does not retain sample rate of the original so all the time of
the selection is computed wrong which is very confusing to the user.

This simple patch makes sure the sample_rate of the original Signal is
copied to the newly created one which fixes the problem.

@CLAassistant
Copy link

CLAassistant commented Jun 11, 2021

CLA assistant check
All committers have signed the CLA.

When using "Create signal from selection" feature, the newly created
signal does not retain sample rate of the original so all the time of
the selection is computed wrong which is very confusing to the user.

This simple patch makes sure the sample_rate of the original Signal is
copied to the newly created one which fixes the problem.
@kadamski kadamski force-pushed the signal_create_new_fix branch from d3607f0 to 5050349 Compare June 11, 2021 08:15
@jopohl jopohl merged commit 5c52ffb into jopohl:master Oct 3, 2021
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