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.
14 lines
263 B
C
14 lines
263 B
C
#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
|