diff options
Diffstat (limited to 'src/bnetz/bnetz.c')
-rw-r--r-- | src/bnetz/bnetz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bnetz/bnetz.c b/src/bnetz/bnetz.c index 7829590..fc4b113 100644 --- a/src/bnetz/bnetz.c +++ b/src/bnetz/bnetz.c @@ -862,7 +862,7 @@ void call_rx_audio(int callref, int16_t *samples, int count) return; if (bnetz->dsp_mode == DSP_MODE_AUDIO) { - int16_t up[count * bnetz->sender.srstate.factor]; + int16_t up[(int)((double)count * bnetz->sender.srstate.factor + 0.5) + 10]; count = samplerate_upsample(&bnetz->sender.srstate, samples, count, up); jitter_save(&bnetz->sender.audio, up, count); } |