diff options
author | XANTRONIX Development | 2022-02-03 18:01:27 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-03 18:01:27 -0500 |
commit | 7a948af192343548e0407d7e1cecf9c620e015bb (patch) | |
tree | 06834fe0c92ec6ab3c23ee8ebfc982ac51f17710 | |
parent | 9782e3da5596e1bca69fa332d500f1fbef9be833 (diff) | |
download | xas-7a948af192343548e0407d7e1cecf9c620e015bb.tar.gz xas-7a948af192343548e0407d7e1cecf9c620e015bb.tar.bz2 xas-7a948af192343548e0407d7e1cecf9c620e015bb.zip |
love too move stuff around for no reason
-rw-r--r-- | include/xas/vox.h | 4 | ||||
-rw-r--r-- | src/vox.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/xas/vox.h b/include/xas/vox.h index 43a41dd..85d8d20 100644 --- a/include/xas/vox.h +++ b/include/xas/vox.h @@ -38,6 +38,8 @@ void xas_vox_destroy(xas_vox *vox); int xas_vox_stop(xas_vox *vox); +int xas_vox_active(xas_vox *vox); + int xas_vox_generate(xas_vox *vox); int xas_vox_vsayf(xas_vox *vox, const char *message, va_list args); @@ -46,8 +48,6 @@ 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 */ @@ -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, |