Group nodes
This commit is contained in:
@@ -215,4 +215,9 @@ impl GraphBackend for AudioGraphBackend {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn query_template_state(&self, voice_allocator_id: u32) -> Result<String, String> {
|
||||
let mut controller = self.audio_controller.lock().unwrap();
|
||||
controller.query_template_state(self.track_id, voice_allocator_id)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,6 +79,9 @@ pub trait GraphBackend: Send {
|
||||
input_node: BackendNodeId,
|
||||
input_port: usize,
|
||||
) -> Result<(), String>;
|
||||
|
||||
/// Get the state of a VoiceAllocator's template graph as JSON
|
||||
fn query_template_state(&self, voice_allocator_id: u32) -> Result<String, String>;
|
||||
}
|
||||
|
||||
/// Serializable graph state (for presets and save/load)
|
||||
|
||||
@@ -863,7 +863,7 @@ impl NodeTemplateIter for AllNodeTemplates {
|
||||
NodeTemplate::Oscilloscope,
|
||||
// Advanced
|
||||
NodeTemplate::VoiceAllocator,
|
||||
NodeTemplate::Group,
|
||||
// Note: Group is not in the node finder — groups are created via Ctrl+G selection.
|
||||
// Note: TemplateInput/TemplateOutput are excluded from the default finder.
|
||||
// They are added dynamically when editing inside a subgraph.
|
||||
// Outputs
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user