summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vox.c b/src/vox.c
index 3433121..6739ee0 100644
--- a/src/vox.c
+++ b/src/vox.c
@@ -211,6 +211,10 @@ int xas_vox_stop(xas_vox *vox) {
return vox_stop(vox);
}
+int xas_vox_active(xas_vox *vox) {
+ return vox->flags & XAS_VOX_ACTIVE;
+}
+
int xas_vox_generate(xas_vox *vox) {
xas_audio_stream *output;
@@ -267,10 +271,6 @@ int xas_vox_say(xas_vox *vox, const char *message) {
return xas_vox_sayf(vox, "%s", message);
}
-int xas_vox_active(xas_vox *vox) {
- return vox->flags & XAS_VOX_ACTIVE;
-}
-
xas_audio_stream *xas_vox_stream_new(xas_vox *vox) {
return xas_audio_stream_new_source((xas_audio_fill)vox_fill,
(xas_audio_cleanup)vox_cleanup,