[commit] r7469 - in freeswitch/trunk/src/mod/codecs: mod_l16 mod_speex
Author: mikej Date: Fri Feb 1 14:43:06 2008 New Revision: 7469 Modified: freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c Log: use right type. Modified: freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c ============================================================================== --- freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c (original) +++ freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c Fri Feb 1 14:43:06 2008 @@ -91,7 +91,7 @@ { switch_codec_interface_t *codec_interface; 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 */ *module_interface = switch_loadable_module_create_module_interface(pool, modname); Modified: freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c ============================================================================== --- freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c (original) +++ freeswitch/trunk/src/mod/codecs/mod_speex/mod_speex.c Fri Feb 1 14:43:06 2008 @@ -265,7 +265,7 @@ { switch_codec_interface_t *codec_interface; 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 }; /* connect my internal structure to the blank pointer passed to me */ *module_interface = switch_loadable_module_create_module_interface(pool, modname);
participants (1)
-
Freeswitch SVN