Add support for timing operations to the node graph system.

This is needed for scheduling frame-exact starting and stopping of
nodes, in addition to any kind of time-based effects required by custom
nodes, such as fading.
This commit is contained in:
David Reid
2021-01-10 10:56:44 +10:00
parent 554c505f9c
commit 8da4b4fa8b
2 changed files with 290 additions and 68 deletions
+3
View File
@@ -89,6 +89,9 @@ int main(int argc, char** argv)
return -1;
}
ma_node_set_state_time(&g_dataSourceNode, ma_node_state_started, 48000*1);
ma_node_set_state_time(&g_dataSourceNode, ma_node_state_stopped, 48000*5);
/*