fix: use pointer to dispatcher state in process callback for real-time access

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-04 22:25:33 +00:00
parent 4eed81ae06
commit d4ba1589ff
4 changed files with 18 additions and 5 deletions

View File

@@ -21,6 +21,8 @@ typedef struct {
bool running;
CarlaHost carla_host; // Carla host state for plugin management
AppState *state; // Pointer to dispatcher's state (for real-time access)
} Engine;
int engine_init(Engine *engine, const char *client_name, DispatchFn dispatch);