summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3424af7..070ddb4 100644
--- a/README.md
+++ b/README.md
@@ -107,6 +107,17 @@ Resume a channel.
This function has no effect if the channel is already playing.
+### `void mossrose_channel_stop(int channel)` ###
+
+Stop a channel.
+
+ * `channel` - the index of the channel.
+
+Stopped channels cannot be resumed and are made available for new samples to
+be loaded into them.
+
+
+
### `void mossrose_channel_set_callback(int channel, mossrose_channel_callback_t callback, void *userdata)` ###
Set a callback to run each time playback of audio on a channel completes.