提交 1a83fa7f authored 作者: Michael Jerris's avatar Michael Jerris

use right type.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7469 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 79cf768e
...@@ -91,7 +91,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_l16_load) ...@@ -91,7 +91,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_l16_load)
{ {
switch_codec_interface_t *codec_interface; switch_codec_interface_t *codec_interface;
int mpf = 10000, spf = 80, bpf = 160, ebpf = 160, bps = 128000, rate = 8000, counta, countb; int mpf = 10000, spf = 80, bpf = 160, ebpf = 160, bps = 128000, rate = 8000, counta, countb;
int ianacode[4] = { 0, 10, 117, 119 }; switch_payload_t ianacode[4] = { 0, 10, 117, 119 };
/* connect my internal structure to the blank pointer passed to me */ /* connect my internal structure to the blank pointer passed to me */
*module_interface = switch_loadable_module_create_module_interface(pool, modname); *module_interface = switch_loadable_module_create_module_interface(pool, modname);
......
...@@ -265,7 +265,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load) ...@@ -265,7 +265,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_speex_load)
{ {
switch_codec_interface_t *codec_interface; switch_codec_interface_t *codec_interface;
int mpf = 10000, spf = 80, bpf = 160, ebpf = 0, rate = 8000, counta, countb; int mpf = 10000, spf = 80, bpf = 160, ebpf = 0, rate = 8000, counta, countb;
int ianacode[4] = { 0, 98, 99, 103}; switch_payload_t ianacode[4] = { 0, 98, 99, 103};
int bps[4] = { 0, 24600, 42200, 44000 }; int bps[4] = { 0, 24600, 42200, 44000 };
/* connect my internal structure to the blank pointer passed to me */ /* connect my internal structure to the blank pointer passed to me */
*module_interface = switch_loadable_module_create_module_interface(pool, modname); *module_interface = switch_loadable_module_create_module_interface(pool, modname);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论