From 23044950ddda47604d30fd81127647707dcce09c Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 2 Feb 2022 00:46:14 -0500 Subject: Implement xas_vox_active() Implement xas_vox_active() to return true if the voice module is currently active --- include/xas/vox.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/xas') diff --git a/include/xas/vox.h b/include/xas/vox.h index 3a940d5..43a41dd 100644 --- a/include/xas/vox.h +++ b/include/xas/vox.h @@ -46,6 +46,8 @@ int xas_vox_sayf(xas_vox *vox, const char *message, ...); int xas_vox_say(xas_vox *vox, const char *message); +int xas_vox_active(xas_vox *vox); + xas_audio_stream *xas_vox_stream_new(xas_vox *vox); #endif /* _XAS_VOX_H */ -- cgit v1.2.3