Tasmota/lib/lib_audio/ESP8266SAM/src/sam.h
2020-10-26 12:51:06 +00:00

29 lines
424 B
C

#ifndef SAM_H
#define SAM_H
#ifdef __cplusplus
extern "C" {
#endif
void SetInput(char *_input);
void SetSpeed(unsigned char _speed);
void SetPitch(unsigned char _pitch);
void SetMouth(unsigned char _mouth);
void SetThroat(unsigned char _throat);
void EnableSingmode(int x);
int SAMMain( void (*cb)(void *, unsigned char), void *cbdata );
int GetBufferLength();
int SAMPrepare();
#ifdef __cplusplus
}
#endif
#endif