Clean up some old documentation.

Public issue https://github.com/mackron/miniaudio/issues/386
This commit is contained in:
David Reid
2021-12-30 06:37:50 +10:00
parent 8ed545ae56
commit 19006256e0
+1 -2
View File
@@ -2214,12 +2214,11 @@ The volume of an output bus can be configured on a per-bus basis:
In the code above we're using the splitter node from before and changing the volume of each of the In the code above we're using the splitter node from before and changing the volume of each of the
copied streams. copied streams.
You can start, stop and mute a node with the following: You can start and stop a node with the following:
```c ```c
ma_node_set_state(&splitterNode, ma_node_state_started); // The default state. ma_node_set_state(&splitterNode, ma_node_state_started); // The default state.
ma_node_set_state(&splitterNode, ma_node_state_stopped); ma_node_set_state(&splitterNode, ma_node_state_stopped);
ma_node_set_state(&splitterNode, ma_node_state_muted);
``` ```
By default the node is in a started state, but since it won't be connected to anything won't By default the node is in a started state, but since it won't be connected to anything won't