mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 12:37:26 +00:00
FS-5230 --resolve this was actually a bug in the -1 val in send_silence_when_idle
This commit is contained in:
parent
8efaea29af
commit
eed868af6c
@ -191,7 +191,7 @@ SWITCH_DECLARE(void) switch_generate_sln_silence(int16_t *data, uint32_t samples
|
|||||||
assert(divisor);
|
assert(divisor);
|
||||||
|
|
||||||
if (divisor == (uint32_t)-1) {
|
if (divisor == (uint32_t)-1) {
|
||||||
memset(data, 0, sizeof(*data));
|
memset(data, 0, samples * 2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user