提交 6fe6d8d7 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3649 --resolve i think this is a build issue try this patch

上级 91ef437b
Wed Mar 17 11:21:56 CDT 2010 Tue Nov 1 11:51:42 CDT 2011
差异被折叠。
...@@ -7,5 +7,5 @@ LOCAL_LIBADD=$(SILK_LA) ...@@ -7,5 +7,5 @@ LOCAL_LIBADD=$(SILK_LA)
include $(BASE)/build/modmake.rules include $(BASE)/build/modmake.rules
$(SILK_LA): $(SILK_DIR)/.update $(SILK_LA): $(SILK_DIR)/.update
cd $(SILK_BUILDDIR) && $(MAKE) cd $(SILK_BUILDDIR) && ./configure --disable-shared && make clean && $(MAKE)
$(TOUCH_TARGET) $(TOUCH_TARGET)
...@@ -271,7 +271,7 @@ void printSilkError(SKP_int16 ret){ ...@@ -271,7 +271,7 @@ void printSilkError(SKP_int16 ret){
message = "unknown"; message = "unknown";
break; break;
} }
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR," Silk Error message= %s\n",message); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR," Silk Error: %s\n",message);
} }
static switch_status_t switch_silk_encode(switch_codec_t *codec, static switch_status_t switch_silk_encode(switch_codec_t *codec,
...@@ -298,6 +298,7 @@ static switch_status_t switch_silk_encode(switch_codec_t *codec, ...@@ -298,6 +298,7 @@ static switch_status_t switch_silk_encode(switch_codec_t *codec,
if (ret) { if (ret) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SKP_Silk_Encode returned %d!\n", ret); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SKP_Silk_Encode returned %d!\n", ret);
printSilkError(ret); printSilkError(ret);
return SWITCH_STATUS_FALSE;
} }
*encoded_data_len += nBytes; *encoded_data_len += nBytes;
samples-=pktsz; samples-=pktsz;
...@@ -332,6 +333,8 @@ static switch_status_t switch_silk_decode(switch_codec_t *codec, ...@@ -332,6 +333,8 @@ static switch_status_t switch_silk_decode(switch_codec_t *codec,
&len); &len);
if (ret){ if (ret){
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SKP_Silk_Decode returned %d!\n", ret); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SKP_Silk_Decode returned %d!\n", ret);
printSilkError(ret);
return SWITCH_STATUS_FALSE;
} }
target += len; target += len;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论