提交 e8d68668 authored 作者: Anthony Minessale's avatar Anthony Minessale

use the more reliable offset_pos counter in file position parsing for seek in scripts

上级 59e71341
......@@ -3434,7 +3434,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_process_fh(switch_core_session_t *ses
}
samps = step * (fhp->native_rate / 1000);
target = (int32_t)fhp->pos + samps;
target = (int32_t)fhp->offset_pos + samps;
if (target < 0) {
target = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论