summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/vox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xas/vox.h b/include/xas/vox.h
index 9d63bba..b3ea0ed 100644
--- a/include/xas/vox.h
+++ b/include/xas/vox.h
@@ -8,6 +8,8 @@
#include <xas/object.h>
#include <xas/audio.h>
+#define XAS_VOX_DEFAULT_GAIN 1.0f
+
#define XAS_VOX_SETTINGS_TMP_PATH "/tmp/xas-vox.XXXXXX"
#define XAS_VOX_SETTINGS_TMP_PATHLEN 64
@@ -22,6 +24,8 @@ typedef struct _xas_vox {
xas_audio_format format;
size_t buffer_size;
+ float gain;
+
const char *text2wave_path;
int argn;
char **args;
@@ -51,6 +55,8 @@ xas_vox *xas_vox_new(xas_audio_format format,
void xas_vox_destroy(xas_vox *vox);
+void xas_vox_set_gain(xas_vox *vox, float gain);
+
int xas_vox_set_voice(xas_vox *vox, const char *voice);
int xas_vox_set_parameter(xas_vox *vox,