提交 98e1cf84 authored 作者: Brian West's avatar Brian West

update the src to reference mod_dahdi_codec

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11669 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 2ea12954
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
* Contributor(s): * Contributor(s):
* Moises Silva <moy@sangoma.com> * Moises Silva <moy@sangoma.com>
* *
* mod_dahdi -- DAHDI Codecs (G729A 8.0kbit, G723.1 5.3kbit) * mod_dahdi_codec -- DAHDI Codecs (G729A 8.0kbit, G723.1 5.3kbit)
* *
* Thanks to Voiceway for sponsoring this module and Neocenter for providing the DAHDI hardware to test * Thanks to Voiceway for sponsoring this module and Neocenter for providing the DAHDI hardware to test
* *
...@@ -53,8 +53,8 @@ static uint32_t total_decoders_usage = 0; ...@@ -53,8 +53,8 @@ static uint32_t total_decoders_usage = 0;
static const char transcoding_device[] = "/dev/dahdi/transcode"; static const char transcoding_device[] = "/dev/dahdi/transcode";
static const char transcoder_name[] = "DAHDI"; static const char transcoder_name[] = "DAHDI";
SWITCH_MODULE_LOAD_FUNCTION(mod_dahdi_load); SWITCH_MODULE_LOAD_FUNCTION(mod_dahdi_codec_load);
SWITCH_MODULE_DEFINITION(mod_dahdi, mod_dahdi_load, NULL, NULL); SWITCH_MODULE_DEFINITION(mod_dahdi_codec, mod_dahdi_codec_load, NULL, NULL);
struct dahdi_context { struct dahdi_context {
int32_t encoding_fd; int32_t encoding_fd;
...@@ -301,7 +301,7 @@ SWITCH_STANDARD_API(dahdi_transcode_usage) ...@@ -301,7 +301,7 @@ SWITCH_STANDARD_API(dahdi_transcode_usage)
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
SWITCH_MODULE_LOAD_FUNCTION(mod_dahdi_load) SWITCH_MODULE_LOAD_FUNCTION(mod_dahdi_codec_load)
{ {
switch_api_interface_t *api_interface; switch_api_interface_t *api_interface;
switch_codec_interface_t *codec_interface; switch_codec_interface_t *codec_interface;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论