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

benpicco notifications at github.com
Sat Nov 7 23:23:20 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);

Ok, I changed the name.
I also moved it to a module as that makes dependency resolution less awkward. 

-- 
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_r519226871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201107/9beeb4f3/attachment.htm>


More information about the notifications mailing list