diff options
Diffstat (limited to 'include/xas')
-rw-r--r-- | include/xas/drone.h | 1 | ||||
-rw-r--r-- | include/xas/vox.h | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/xas/drone.h b/include/xas/drone.h index df16040..a7a2d4f 100644 --- a/include/xas/drone.h +++ b/include/xas/drone.h @@ -9,7 +9,6 @@ #include <xas/vox.h> #include <xas/seq.h> -#define XAS_DRONE_VOX_BUFFER_SIZE 735 #define XAS_DRONE_VOX_TEXT2WAVE_PATH "/usr/bin/text2wave" #define XAS_DRONE_CHAMBER_BASS_FREQUENCY 20 /* Hz */ diff --git a/include/xas/vox.h b/include/xas/vox.h index b3ea0ed..71a312d 100644 --- a/include/xas/vox.h +++ b/include/xas/vox.h @@ -8,7 +8,8 @@ #include <xas/object.h> #include <xas/audio.h> -#define XAS_VOX_DEFAULT_GAIN 1.0f +#define XAS_VOX_DEFAULT_GAIN 1.0f +#define XAS_VOX_DEFAULT_BUFFER_SIZE 20480 #define XAS_VOX_SETTINGS_TMP_PATH "/tmp/xas-vox.XXXXXX" #define XAS_VOX_SETTINGS_TMP_PATHLEN 64 @@ -44,13 +45,11 @@ typedef struct _xas_vox { } xas_vox; xas_vox *xas_vox_new_args(xas_audio_format format, - size_t buffer_size, const char *text2wave_path, int argn, char **args); xas_vox *xas_vox_new(xas_audio_format format, - size_t buffer_size, const char *text2wave_path); void xas_vox_destroy(xas_vox *vox); |