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

Update batteur.c. Don't use sample_rate from LV2_Options #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fragfz
Copy link
Contributor

@fragfz fragfz commented Dec 9, 2022

//self->sample_rate = (float)opt->value;

Otherwise short click and double click is not detected after newer mod-host commit.

Looks now that mod-host uses atom_float_uri, sample_rate gets a wrong value. mod-audio/mod-host@0d16999

Otherwise short click and double click is not detected after mod-host commit.

//self->sample_rate = (float)opt->value;

Looks now that mod-host uses atom_float_uri, sample_rate gets a wrong value. mod-audio/mod-host@0d16999
@falkTX
Copy link

falkTX commented Dec 9, 2022

oh dang, that is a very crappy copy&paste bug. g_block_length is obviously not the sample rate.
will fix for 1.12.1 update

@paulfd
Copy link
Owner

paulfd commented Dec 10, 2022

@falkTX do you mean it's rather mod-host not sending the proper value?

@falkTX
Copy link

falkTX commented Dec 10, 2022

yes 100%. and it is not even a float pointer

@falkTX
Copy link

falkTX commented Dec 14, 2022

Fixed in mod-audio/mod-host@3d39e56
Coming in the next v1.12.1 next week

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