mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 19:52:41 +00:00
move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5343 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
50fe6fbac8
commit
b67f9c5b2a
34 files changed
+161
-113
No files matched your search
@@ -51,7 +51,8 @@
|
||||
#undef SWIFT_FAILED
|
||||
#define SWIFT_FAILED(r) ((void *)(r) < (void *)0)
|
||||
|
||||
static const char modname[] = "mod_cepstral";
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_cepstral_load);
|
||||
SWITCH_MODULE_DEFINITION(mod_cepstral, mod_cepstral_load, NULL, NULL);
|
||||
|
||||
static swift_engine *engine;
|
||||
|
||||
@@ -426,7 +427,7 @@ static const switch_loadable_module_interface_t cepstral_module_interface = {
|
||||
/*.directory_interface */ NULL
|
||||
};
|
||||
|
||||
switch_status_t switch_module_load(const switch_loadable_module_interface_t **module_interface, char *filename)
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_cepstral_load)
|
||||
{
|
||||
|
||||
/* Open the Swift TTS Engine */
|
||||
|
||||
Reference in new issue
Block a user