Review nits: name pulse-settle constant, fix stale comments
Non-blocking cleanups from the clean review pass: - EngineConfigView.startEngine: collapse the redundant early-return in the sample-rate-mismatch branch into the shared tail. - InputMuteButton: hoist the 0.2s settle duration to a named pulseSettleDuration. - InputMuteTests: correct a stale "input defaults muted" comment (library default is audible; the test mutes explicitly). - Plan doc: setInputMuted(true) runs before engine.start(), not after; note the addBoard priming. 464 tests pass; macOS app builds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -213,9 +213,6 @@ public struct EngineConfigView: View {
|
||||
abs(hardware - shoeGaze.engine.sampleRate) > EngineConfigView.rateEpsilon {
|
||||
shoeGaze.engine.stop()
|
||||
presentMismatch(requested: shoeGaze.engine.sampleRate, hardware: hardware)
|
||||
transportTick.toggle()
|
||||
onConfigApplied()
|
||||
return
|
||||
}
|
||||
transportTick.toggle()
|
||||
onConfigApplied()
|
||||
|
||||
Reference in New Issue
Block a user