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

effect_granular.cpp AudioEffectGranular::beginFreeze_int : problem in if statement #471

Open
messinm opened this issue Feb 5, 2024 · 0 comments

Comments

@messinm
Copy link

messinm commented Feb 5, 2024

void AudioEffectGranular::beginFreeze_int(int grain_samples)
{
__disable_irq();
grain_mode = 1;
if (grain_samples < max_sample_len) {
freeze_len = grain_samples;
} else {
freeze_len = grain_samples;
}

The assignment in else clause should be freeze_len = max_sample_len ?

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

No branches or pull requests

1 participant