summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/PLUGIN_API.new8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/PLUGIN_API.new b/docs/PLUGIN_API.new
index c7fb6551f1..7e597eed58 100644
--- a/docs/PLUGIN_API.new
+++ b/docs/PLUGIN_API.new
@@ -1690,10 +1690,10 @@ bool pcm_is_playing(void)
1690void pcm_play_data(pcm_more_callback_type get_more, unsigned char* start, size_t size) 1690void pcm_play_data(pcm_more_callback_type get_more, unsigned char* start, size_t size)
1691 \group sound 1691 \group sound
1692 \conditions (CONFIG_CODEC == SWCODEC) 1692 \conditions (CONFIG_CODEC == SWCODEC)
1693 \param get_more 1693 \param get_more Optional callback
1694 \param start 1694 \param start is the address of raw 16-16, interleaved PCM data
1695 \param size 1695 \param size is the size of the data to play
1696 \description 1696 \description May be used without the callback parameter in order to play a single clip. If you wish to play sound continuously, then use the callback instead and return the buffer address and size to be played from that callback. Every time that a buffer is played out, the callback is asked for the next buffer to play but without stopping and starting playback. The callback is called asynchronously in interrupt context so what you may do in there is limited.
1697 1697
1698void pcm_play_lock(void) 1698void pcm_play_lock(void)
1699 \group sound 1699 \group sound