Commit 8da4b4fa authored by David Reid's avatar David Reid

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.
parent 554c505f
This diff is collapsed.
...@@ -89,6 +89,9 @@ int main(int argc, char** argv) ...@@ -89,6 +89,9 @@ int main(int argc, char** argv)
return -1; 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);
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment