You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/py_sems/IvrAudio.h

34 lines
468 B

#ifndef IvrAudio_h
#define IvrAudio_h
// Python stuff
#include <Python.h>
#include "structmember.h"
#include "AmAudio.h"
#define AUDIO_READ 1
#define AUDIO_WRITE 2
#ifdef IVR_WITH_TTS
#include "flite.h"
#endif
// Data definition
typedef struct {
PyObject_HEAD
AmAudioFile* af;
#ifdef IVR_WITH_TTS
cst_voice* tts_voice;
string* filename;
bool del_file;
#endif
} IvrAudioFile;
extern PyTypeObject IvrAudioFileType;
#endif