From 37d07f3f657c879dc2b024ebbb981174ba6ab569 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 14 Mar 2022 00:41:23 -0400 Subject: Implement xas_drone_record_sample() --- include/xas/drone.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/xas') diff --git a/include/xas/drone.h b/include/xas/drone.h index 70eacfb..f134cdc 100644 --- a/include/xas/drone.h +++ b/include/xas/drone.h @@ -57,6 +57,11 @@ void xas_drone_destroy(xas_drone *drone); xas_spatial_object *xas_drone_get_spatial_object(xas_drone *drone); +ssize_t xas_drone_record_sample(xas_drone *drone, + xas_audio_stream *source, + size_t sample_index, + size_t sample_len); + int xas_drone_speech_import(xas_drone *drone, const char *voice, float speed, -- cgit v1.2.3