mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-3649 --resolve i think this is a build issue try this patch
This commit is contained in:
@@ -7,5 +7,5 @@ LOCAL_LIBADD=$(SILK_LA)
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(SILK_LA): $(SILK_DIR)/.update
|
||||
cd $(SILK_BUILDDIR) && $(MAKE)
|
||||
cd $(SILK_BUILDDIR) && ./configure --disable-shared && make clean && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
|
@@ -271,7 +271,7 @@ void printSilkError(SKP_int16 ret){
|
||||
message = "unknown";
|
||||
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,
|
||||
@@ -298,6 +298,7 @@ static switch_status_t switch_silk_encode(switch_codec_t *codec,
|
||||
if (ret) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SKP_Silk_Encode returned %d!\n", ret);
|
||||
printSilkError(ret);
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
*encoded_data_len += nBytes;
|
||||
samples-=pktsz;
|
||||
@@ -332,6 +333,8 @@ static switch_status_t switch_silk_decode(switch_codec_t *codec,
|
||||
&len);
|
||||
if (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;
|
||||
|
Reference in New Issue
Block a user