#ifndef __FISHTALK_H__
#define __FISHTALK_H__

#include <fishtalk_port.h>
#ifdef _FISHTALK
#include <fishtalk_int.h>
#endif

#define FT_PHONEMES \
	FT_PHONEME(AA) \
	FT_PHONEME(AA0) \
	FT_PHONEME(AA1) \
	FT_PHONEME(AA2) \
	FT_PHONEME(AE) \
	FT_PHONEME(AE0) \
	FT_PHONEME(AE1) \
	FT_PHONEME(AE2) \
	FT_PHONEME(AH) \
	FT_PHONEME(AH0) \
	FT_PHONEME(AH1) \
	FT_PHONEME(AH2) \
	FT_PHONEME(AO) \
	FT_PHONEME(AO0) \
	FT_PHONEME(AO1) \
	FT_PHONEME(AO2) \
	FT_PHONEME(AW) \
	FT_PHONEME(AW0) \
	FT_PHONEME(AW1) \
	FT_PHONEME(AW2) \
	FT_PHONEME(AY) \
	FT_PHONEME(AY0) \
	FT_PHONEME(AY1) \
	FT_PHONEME(AY2) \
	FT_PHONEME(B) \
	FT_PHONEME(CH) \
	FT_PHONEME(D) \
	FT_PHONEME(DH) \
	FT_PHONEME(EH) \
	FT_PHONEME(EH0) \
	FT_PHONEME(EH1) \
	FT_PHONEME(EH2) \
	FT_PHONEME(ER) \
	FT_PHONEME(ER0) \
	FT_PHONEME(ER1) \
	FT_PHONEME(ER2) \
	FT_PHONEME(EY) \
	FT_PHONEME(EY0) \
	FT_PHONEME(EY1) \
	FT_PHONEME(EY2) \
	FT_PHONEME(F) \
	FT_PHONEME(G) \
	FT_PHONEME(HH) \
	FT_PHONEME(IH) \
	FT_PHONEME(IH0) \
	FT_PHONEME(IH1) \
	FT_PHONEME(IH2) \
	FT_PHONEME(IY) \
	FT_PHONEME(IY0) \
	FT_PHONEME(IY1) \
	FT_PHONEME(IY2) \
	FT_PHONEME(JH) \
	FT_PHONEME(K) \
	FT_PHONEME(L) \
	FT_PHONEME(M) \
	FT_PHONEME(N) \
	FT_PHONEME(NG) \
	FT_PHONEME(OW) \
	FT_PHONEME(OW0) \
	FT_PHONEME(OW1) \
	FT_PHONEME(OW2) \
	FT_PHONEME(OY) \
	FT_PHONEME(OY0) \
	FT_PHONEME(OY1) \
	FT_PHONEME(OY2) \
	FT_PHONEME(P) \
	FT_PHONEME(R) \
	FT_PHONEME(S) \
	FT_PHONEME(SH) \
	FT_PHONEME(T) \
	FT_PHONEME(TH) \
	FT_PHONEME(UH) \
	FT_PHONEME(UH0) \
	FT_PHONEME(UH1) \
	FT_PHONEME(UH2) \
	FT_PHONEME(UW) \
	FT_PHONEME(UW0) \
	FT_PHONEME(UW1) \
	FT_PHONEME(UW2) \
	FT_PHONEME(V) \
	FT_PHONEME(W) \
	FT_PHONEME(Y) \
	FT_PHONEME(Z) \
	FT_PHONEME(ZH)

#ifdef __cplusplus
extern "C" {
#endif

FT_HANDLE FishTalkInit(FT_SAMPLE_PROC sample, int rate);
void	  FishTalkBuffer(FT_HANDLE handle, const char* buffer);
void	  FishTalkSync(FT_HANDLE handle);
void	  FishTalkFree(FT_HANDLE handle);

#ifdef __cplusplus
}
#endif

#endif
