Commit cfd17d7
authored
Apply structural-param side effects on host automation (#366)
Audio-thread CLAP param events updated the param value but skipped the
reapplyControlSettings / resetSoloState dispatch that the UI path runs,
so automating play mode, polyphony, MPE, sample rate strategy, the
output filters, bit rate, or solo silently failed to reconfigure the
engine. Extract the side-effect block into handleAudioThreadParamSideEffects
and call it from both the UI message path and the CLAP event path. Match
the UI path's int-vs-float discipline so discrete params snap before the
side-effect call sees them.
Assisted-By: Claude Opus 4.71 parent 2ee4e3e commit cfd17d7
3 files changed
Lines changed: 36 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
| 701 | + | |
721 | 702 | | |
722 | 703 | | |
723 | 704 | | |
| |||
1075 | 1056 | | |
1076 | 1057 | | |
1077 | 1058 | | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1081 | 1072 | | |
1082 | 1073 | | |
1083 | 1074 | | |
1084 | 1075 | | |
1085 | 1076 | | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1086 | 1098 | | |
1087 | 1099 | | |
1088 | 1100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
| |||
0 commit comments