FS-3224 this is comfort noise. i guess its not comforting, i'll remove it.
This commit is contained in:
parent
12310fa32a
commit
8bf9133fee
|
@ -3629,7 +3629,8 @@ static switch_status_t file_string_file_read(switch_file_handle_t *handle, void
|
||||||
}
|
}
|
||||||
|
|
||||||
context->samples -= *len;
|
context->samples -= *len;
|
||||||
switch_generate_sln_silence((int16_t *) data, *len, 400);
|
//switch_generate_sln_silence((int16_t *) data, *len, 400);
|
||||||
|
memset(data, 255, *len *2);
|
||||||
status = SWITCH_STATUS_SUCCESS;
|
status = SWITCH_STATUS_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
status = switch_core_file_read(&context->fh, data, len);
|
status = switch_core_file_read(&context->fh, data, len);
|
||||||
|
|
Loading…
Reference in New Issue