feat(include): add system volume following support

Implement configurable system volume following and replace JSON IPC with binary struct.

- New Feature: Introduce `system_volume_following` CLI and runtime option.
- Enhancement: Extend CLI options, reload, and user‑config APIs to propagate the new flag.
- Enhancement: Add `VbxEvent` binary IPC struct and logging macros for better performance.
- Enhancement: Add helper to persist system volume following state.
- Bug Fix: Remove stale `parse_keyboard_event` prototype.
This commit is contained in:
sankalp committed 2026-02-22 02:08:46 +05:45
1 parent c44ae01226
commit f70e13dd70
9 files changed
+57 -6

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#ifndef VBX_IPC_H
#define VBX_IPC_H
#include <stdint.h>
// Lightweight binary structure for IPC between vbx-input and vbx-audio
// Replaces the heavy JSON parsing
typedef struct {
uint32_t key_code;
uint8_t is_pressed;
} VbxEvent;
#endif // VBX_IPC_H