Commit 19006256 authored by David Reid's avatar David Reid

Clean up some old documentation.

Public issue https://github.com/mackron/miniaudio/issues/386
parent 8ed545ae
...@@ -2214,12 +2214,11 @@ The volume of an output bus can be configured on a per-bus basis: ...@@ -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
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