summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-14 00:41:23 -0400
committerXANTRONIX Development2022-03-14 00:41:23 -0400
commit37d07f3f657c879dc2b024ebbb981174ba6ab569 (patch)
treef47ca2d9b136f87c41d24b2a4cf86e76e4db7f0a /include
parent815ee7a10f4af1242bc0cd2d288132274615375a (diff)
downloadxas-37d07f3f657c879dc2b024ebbb981174ba6ab569.tar.gz
xas-37d07f3f657c879dc2b024ebbb981174ba6ab569.tar.bz2
xas-37d07f3f657c879dc2b024ebbb981174ba6ab569.zip
Implement xas_drone_record_sample()
Diffstat (limited to 'include')
-rw-r--r--include/xas/drone.h5
1 files changed, 5 insertions, 0 deletions
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,