[Freeswitch-svn] [commit] r8809 - freeswitch/trunk/src/mod/asr_tts/mod_lumenvox
Freeswitch SVN
brian at freeswitch.org
Wed Jun 18 13:57:32 EDT 2008
Author: brian
Date: Wed Jun 18 13:57:32 2008
New Revision: 8809
Modified:
freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp
Log:
this should also have been fixed when the prototypes were changed to const
Modified: freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp (original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp Wed Jun 18 13:57:32 2008
@@ -178,7 +178,7 @@
}
/*! function to open the asr interface */
-static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, char *codec, int rate, char *dest, switch_asr_flag_t *flags)
+static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, const char *codec, int rate, const char *dest, switch_asr_flag_t *flags)
{
lumenvox_t *lv;
@@ -291,7 +291,7 @@
}
/*! function to load a grammar to the asr interface */
-static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, char *grammar, char *path)
+static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, const char *grammar, const char *path)
{
lumenvox_t *lv = (lumenvox_t *) ah->private_info;
@@ -312,7 +312,7 @@
/*! function to unload a grammar to the asr interface */
-static switch_status_t lumenvox_asr_unload_grammar(switch_asr_handle_t *ah, char *grammar)
+static switch_status_t lumenvox_asr_unload_grammar(switch_asr_handle_t *ah, const char *grammar)
{
lumenvox_t *lv = (lumenvox_t *) ah->private_info;
More information about the Freeswitch-svn
mailing list