diff options
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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. |