Skip to content

UI updates#230

Draft
OpenSauce wants to merge 3 commits intomainfrom
fix-ui-updates
Draft

UI updates#230
OpenSauce wants to merge 3 commits intomainfrom
fix-ui-updates

Conversation

@OpenSauce
Copy link
Copy Markdown
Owner

No description provided.

- Combine ChangeOversampling + LoadPreset into single background task
  to fix ordering race where preset could load at wrong sample rate
- Split into requested/active oversampling atomics so chain rebuilds
  match actual sampler state (fixes GUI rebuild-before-samplers race)
- Persist oversampling changes to settings in standalone mode
- Notify DAW host when oversampling changes (marks session dirty)
- Remove dead SettingsMessage::OversamplingFactorChanged variant
- Add debug_assert for power-of-two validation on oversampling factor
- Replace oversampling_exp (exponent) with oversampling_factor (direct)
  throughout plugin, matching standalone and UI conventions
- Change persist key from "oversampling" to "oversampling_factor" to
  avoid silent misinterpretation of legacy project data
- Rebuild chain from gui_stages (in-session edits) instead of reloading
  from disk preset, which would wipe user stage modifications
- Normalize persisted oversampling factor to nearest valid power-of-two
  on restore (handles corrupted/legacy values)
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