Update documentation.

This commit is contained in:
David Reid
2021-01-06 21:27:41 +10:00
parent fb1e61cb06
commit 79845b5ec6
+4 -4
View File
@@ -417,10 +417,10 @@ The code above connects the data source node directly to the endpoint. Since the
has only a single output bus, the index will always be 0. Likewise, the endpoint only has a single has only a single output bus, the index will always be 0. Likewise, the endpoint only has a single
input bus which means the input bus index will also always be 0. input bus which means the input bus index will also always be 0.
To detach a specific output bus, use `ma_node_detach_output_bus()`. To do a complete detachment To detach a specific output bus, use `ma_node_detach_output_bus()`. To detach all output buses, use
where all output buses and all input attachments are detached, use `ma_node_detach_full()`. If you want `ma_node_detach_all_output_buses()`. If you want to just move the output bus from one attachment to
to just move the output bus from one attachment to another, you do not need to detach first. You another, you do not need to detach first. You can just call `ma_node_attach_output_bus()` and it'll
can just call `ma_node_attach_output_bus()` and it'll deal with it for you. deal with it for you.
Less frequently you may want to create a specialized node. This will be a node where you implement Less frequently you may want to create a specialized node. This will be a node where you implement
your own processing callback to apply a custom effect of some kind. This is similar to initalizing your own processing callback to apply a custom effect of some kind. This is similar to initalizing