summaryrefslogtreecommitdiffstats
path: root/include/xas/vox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xas/vox.h')
-rw-r--r--include/xas/vox.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/xas/vox.h b/include/xas/vox.h
index 917eda1..641fe3a 100644
--- a/include/xas/vox.h
+++ b/include/xas/vox.h
@@ -7,20 +7,22 @@
#include <xas/audio.h>
-#define XAS_VOX_IDLE 0
-#define XAS_VOX_ACTIVE (1 << 0)
typedef struct _xas_vox {
+enum xas_vox_state {
+ XAS_VOX_IDLE,
+ XAS_VOX_ACTIVE
+};
xas_audio_format format;
size_t buffer_size;
- int flags;
const char *text2wave_path;
int argn;
char **args;
+ enum xas_vox_state state;
int pid,
stdin,