G3.1: dedicated bridge heartbeat — watchdog liveness independent of audio loop

This commit is contained in:
2026-08-16 10:04:16 +07:00
parent b59e416566
commit 30fa98a441
6 changed files with 186 additions and 31 deletions
+1
View File
@@ -65,6 +65,7 @@ int main() {
// 5. Layout stability — MUST match Rust src-tauri/src/shm.rs
assert(sizeof(SharedAudioBufferIPC::MidiEventIPC) == 12);
assert(sizeof(SharedAudioBufferIPC::ControlEventIPC) == 1040);
assert(sizeof(SharedAudioBufferIPC) == 11168); // G3.1: +4 heartbeat
std::printf("SHM self-check OK (sizeof struct = %zu bytes)\n", sizeof(SharedAudioBufferIPC));
shm_close(h);