Graph Node
data class GraphNode(val nodeId: String, val nodeType: String, val displayName: String, val instanceId: Int, val bypassed: Boolean, val latencyInSamples: UInt, val tailLengthInSeconds: Double, val hasAudioBuses: Boolean, val hasEventInputs: Boolean, val hasEventOutputs: Boolean, val audioInputBuses: List<GraphAudioBus>, val audioOutputBuses: List<GraphAudioBus>, val mainInputBusIndex: Int, val mainOutputBusIndex: Int)
One node of a track graph: uapmd_graph::AudioGraphNode plus the remidy::PluginAudioBuses facade it exposes.
Every bus is here, enabled or not. Whether a disabled bus gets a pin is the editor's decision — uapmd-app skips them — not this type's.
A node hosting no plugin instance (a built-in node such as the track's gain) reports instanceId -1 and hasAudioBuses false, and has no buses of its own; the graph's own layout on GraphNodesResult is the fallback for those.
Constructors
Link copied to clipboard
constructor(nodeId: String, nodeType: String, displayName: String, instanceId: Int, bypassed: Boolean, latencyInSamples: UInt, tailLengthInSeconds: Double, hasAudioBuses: Boolean, hasEventInputs: Boolean, hasEventOutputs: Boolean, audioInputBuses: List<GraphAudioBus>, audioOutputBuses: List<GraphAudioBus>, mainInputBusIndex: Int, mainOutputBusIndex: Int)