namespace stt {
class SttException : public std::runtime_error {
-
public :
SttException(int code, const char *reason)
: std::runtime_error(reason)
, ecode(code) { };
int GetEcode() {
-
return ecode;
};
const char *ErrorString(int ecode);
stt_state_e GetCurrent(void) {
-
stt_state_e cur;
stt_get_state(handle, &cur);
static void PrintErrorState(stt_error_e reason);
static void PrintState(stt_state_e previous, stt_state_e current);
static void PrintResultState(stt_result_event_e result_type);
+ static void ReleaseSoundFocus();
};
}} /** end of is::stt */