Node graph improvements and fixes

This commit is contained in:
Skyler Lehmkuhl
2025-10-28 08:51:53 -04:00
parent d2354e4864
commit 9d6eaa5bba
9 changed files with 555 additions and 29 deletions
+4
View File
@@ -207,6 +207,8 @@ pub enum Query {
GetGraphState(TrackId),
/// Get a voice allocator's template graph state as JSON (track_id, voice_allocator_id)
GetTemplateState(TrackId, u32),
/// Get oscilloscope data from a node (track_id, node_id, sample_count)
GetOscilloscopeData(TrackId, u32, usize),
}
/// Responses to synchronous queries
@@ -214,4 +216,6 @@ pub enum Query {
pub enum QueryResponse {
/// Graph state as JSON string
GraphState(Result<String, String>),
/// Oscilloscope data samples
OscilloscopeData(Result<Vec<f32>, String>),
}