diff options
author | sanine <sanine.not@pm.me> | 2022-09-05 19:57:38 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-09-05 19:57:38 -0500 |
commit | ad468a64f20d82b15fe3512bdea7914a20cac283 (patch) | |
tree | b84a4d8e9a7dfde0cc64c378b33a38fec2ada259 /README.md | |
parent | be94297366c4a016a23f428613f65da0957df1b4 (diff) |
Diffstat (limited to 'README.md')
-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. |