Merge pull request #334 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus-8khz-fix-init-ptime-40ms to master

* commit '12d240308cd22f824ef30d9d879bdc56e22290fb':
  FS-7785: mod_opus: fix for invalid ptime 30 ms for opus@8000h . Replaced 30 ms with 40 ms.
This commit is contained in:
Mike Jerris 2015-07-07 11:10:23 -05:00
commit 367a7a73b7
1 changed files with 3 additions and 3 deletions

View File

@ -826,9 +826,9 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
switch_opus_decode, /* function to decode encoded data into raw data */
switch_opus_destroy); /* deinitalize a codec handle using this implementation */
bytes += 160;
samples += 480;
mss += 10000;
bytes *= 2;
samples *= 2;
mss *= 2;
}