[riot-notifications] [RIOT-OS/RIOT] drivers/periph_common: dac: add dac_play() (#13908)

benpicco notifications at github.com
Fri Nov 6 23:38:39 CET 2020


@benpicco commented on this pull request.



> +/**
+ * @brief   Play a buffer of (audio) samples on a DAC.
+ *
+ * @param[in] dac           The DAC to play the sample on
+ * @param[in] buf           A buffer with (audio) samples
+ * @param[in] params        Playback parameters
+ */
+void dac_play(dac_t dac, const void *buf, size_t len);

How about `dac_buffer_play()` / `dac_buffer_stop()`? 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13908#discussion_r519039841
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201106/d9ccf4d5/attachment.htm>


More information about the notifications mailing list