blob: 6b73ae98d97dbcd9b411bcf0ca7038c278a38ce8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef _XAS_VOX_H
#define _XAS_VOX_H
#include <sys/types.h>
#include <xas/audio.h>
#define XAS_VOX_VOICE_IDLE 0
#define XAS_VOX_VOICE_ACTIVE (1 << 0)
typedef struct _xas_vox_voice {
const char *text2wave_path;
size_t sample_size,
sample_rate;
void *ctx;
int flags;
int pid,
stdout;
} xas_vox_voice;
xas_audio_stream *xas_vox_new(const char *text2wave_path,
size_t sample_size,
size_t sample_rate,
size_t buffer_size,
void *ctx);
#endif /* _XAS_VOX_H */
|