aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-13 21:57:20 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-13 21:57:20 +0000
commit4f174cc84bdeb13ea13e2659d7dfa2e6e13aa416 (patch)
tree7169eb1dd40f02e9014d25e69957468ab0fa5a11 /include
parentd8dd30cfc56c73911570ec2c336733763b939833 (diff)
Instead of accepting a single DTMF character accept a full string.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79334 f38db490-d61c-443f-a65b-d21fe96a405b
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 85a351485..6e6432342 100644
--- a/include/asterisk/speech.h
+++ b/include/asterisk/speech.h
@@ -84,7 +84,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 */
@@ -133,7 +133,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 */