summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/speech.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/speech.h b/include/asterisk/speech.h
index e4d0c76d5..54e9c69ac 100644
--- a/include/asterisk/speech.h
+++ b/include/asterisk/speech.h
@@ -88,7 +88,7 @@ struct ast_speech_engine {
/*! Write audio to the speech engine */
int (*write)(struct ast_speech *speech, void *data, int len);
/*! Signal DTMF was received */
- int (*dtmf)(struct ast_speech *speech, char dtmf);
+ int (*dtmf)(struct ast_speech *speech, const char *dtmf);
/*! Prepare engine to accept audio */
int (*start)(struct ast_speech *speech);
/*! Change an engine specific setting */
@@ -137,7 +137,7 @@ int ast_speech_destroy(struct ast_speech *speech);
/*! \brief Write audio to the speech engine */
int ast_speech_write(struct ast_speech *speech, void *data, int len);
/*! \brief Signal to the engine that DTMF was received */
-int ast_speech_dtmf(struct ast_speech *speech, char dtmf);
+int ast_speech_dtmf(struct ast_speech *speech, const char *dtmf);
/*! \brief Change an engine specific attribute */
int ast_speech_change(struct ast_speech *speech, char *name, const char *value);
/*! \brief Change the type of results we want */