Skip to content

Decouple tracks from the Mixer#8317

Open
sakertooth wants to merge 13 commits intoLMMS:masterfrom
sakertooth:decouple-mixer-track
Open

Decouple tracks from the Mixer#8317
sakertooth wants to merge 13 commits intoLMMS:masterfrom
sakertooth:decouple-mixer-track

Conversation

@sakertooth
Copy link
Contributor

@sakertooth sakertooth commented Mar 19, 2026

Mixer was coupled to tracks when their respective LCD's needed to update, or if they needed to be checked to see if the channels were in use. This PR is a refactoring effort to decouple the Mixer from the individual tracks using Qt signals and slots.

Changes:

  1. Introduces a new MixerChannelLcdModel class that inherits from IntModel to automatically track mixer channel updates (either when new channels are created, removed, swapped, assigned, or unassigned)
  2. A member function oldValue() was added to AutomatableModel (needed for accessing the old value when channels become unassigned)

@sakertooth sakertooth marked this pull request as ready for review March 19, 2026 21:17
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.

1 participant