From b386b20a515e43674b3a233df6256e88fdf31563 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 14 Mar 2022 01:06:51 -0400 Subject: Implement xas_drone_sample_import() Implement xas_drone_sample_import() to import a RIFF WAVE file to a drone's sample bank --- include/xas/drone.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/xas/drone.h b/include/xas/drone.h index 1af22be..1f329ae 100644 --- a/include/xas/drone.h +++ b/include/xas/drone.h @@ -62,6 +62,11 @@ ssize_t xas_drone_sample_record(xas_drone *drone, size_t sample_index, size_t sample_len); + +ssize_t xas_drone_sample_import(xas_drone *drone, + const char *file, + size_t sample_index); + int xas_drone_speech_import(xas_drone *drone, const char *voice, float speed, -- cgit v1.2.3