add voice allocator node

This commit is contained in:
Skyler Lehmkuhl
2026-02-15 23:10:00 -05:00
parent 0a27e4d328
commit 72f10db64d
10 changed files with 866 additions and 235 deletions
@@ -125,9 +125,13 @@ impl GraphBackend for AudioGraphBackend {
Ok(())
}
fn get_state(&self) -> Result<GraphState, String> {
fn get_state_json(&self) -> Result<String, String> {
let mut controller = self.audio_controller.lock().unwrap();
let json = controller.query_graph_state(self.track_id)?;
controller.query_graph_state(self.track_id)
}
fn get_state(&self) -> Result<GraphState, String> {
let json = self.get_state_json()?;
// Parse the GraphPreset JSON from backend
let preset: daw_backend::audio::node_graph::GraphPreset =