1 #ifndef __SRS_ESPEAK_VOICE_H__
2 #define __SRS_ESPEAK_VOICE_H__
4 #include <pulse/mainloop.h>
6 #include "srs/daemon/plugin.h"
7 #include "srs/daemon/voice.h"
10 srs_plugin_t *self; /* our plugin instance */
11 srs_context_t *srs; /* SRS context */
12 srs_voice_actor_t *actors; /* loaded voices */
13 int nactor; /* number of voices */
15 const char *voicedir; /* voice directory */
16 int rate; /* sample rate */
19 srs_voice_notify_t notify; /* voice notification callback */
20 void *notify_data; /* opaque notification data */
22 void *pulse; /* PA streams et al. state */
25 #endif /* __SRS_ESPEAK_VOICE_H__ */