theallelectricsmartgrid

Desktop-first initialization comparison — September 11

User priority: SmartGrid desktop is the stronger working comparison because it retains the app workload. SonoBus is simpler; its clean hour remains useful but failure to reproduce there should not veto a shared-backend/workload interaction. Deprioritize proposed hub substitution and another matched SonoBus exposure. No new test/build/deployment was started in this comparison.

Verified source and archived behavior

Proposed sequence reflecting user priority

  1. Keep normal SmartGrid DSP/UI/MIDI,48k/512,zero inputs,current hardware and capture conditions. Set only JUCE_IOS_AUDIO_EXPLICIT_SAMPLERATES=48000 for all relevant compilation units. Verify startup traces contain no exploratory sample-rate requests, actual48k/512 and normal workload. Compare against existing failing setup, then reverse the change to verify any apparent benefit. This is an initialization/workload interaction test; it is not presented as copying a unique SonoBus remedy.
  2. If probing removal has no reproducible benefit, separately test unnecessary session activation/deactivation and temporary RemoteIO units. Preserve final settings and workload; check actual settings after activation since the temporary unit exists to work around asynchronous iOS updates. Specify which operation changes before building; do not bundle all lifecycle changes blindly.
  3. Keep actual iOS-only fork differences (HFP startup option, IAA publication) as concrete but currently weak mechanism candidates. Prefer findings from the preceding tests over blindly transplanting the fork. Keep both sporadic failures and sustained periodic artifacts as independent outcomes.

This is a hypothesis ranking, not a claim that initialization caused the errors. Completed native traces already exclude measured callback overruns and app-driven steady-state restarts in the latest window; they do not exclude a persistent state established during startup.