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

fix crash enabling PFL after deleting EffectState while PFL is disabled #1468

Merged
merged 5 commits into from Jan 7, 2018

Conversation

Be-ing
Copy link
Contributor

@Be-ing Be-ing commented Jan 4, 2018

@Be-ing Be-ing changed the base branch from master to 2.1 January 4, 2018 23:49
@Be-ing
Copy link
Contributor Author

Be-ing commented Jan 7, 2018

Ping. Can we prioritize this critical bug fix?

// NOTE: Setting this to true will enable string manipulation and calls to
// qDebug() in the audio engine thread. That may cause audio dropouts, so only
// enable this when debugging the effects system.
const bool kEffectDebugOutput = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A constexpr might be more suitable to enforce evaluation (and optimization) at compile time

@uklotzde
Copy link
Contributor

uklotzde commented Jan 7, 2018

The crash is fixed, but replaced by another minor bug: When re-routing the deck to the effect unit with the effect still activated, it is not applied. You need to deactivate and activate the effect once, before it gets applied again.

EngineEffectChain should be responsible for managing routing
switch states, not EngineEffect.
@uklotzde
Copy link
Contributor

uklotzde commented Jan 7, 2018

LGTM. Just waiting for the builds to finish.

@uklotzde uklotzde merged commit 6957060 into mixxxdj:2.1 Jan 7, 2018
@Be-ing Be-ing deleted the effect_debugging branch January 7, 2018 20:40
@daschuer daschuer mentioned this pull request Mar 29, 2022
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.

None yet

2 participants