ftmod_isdn: Fix per-channel teletone buffer offset wraparound.
Do a "soft" wraparound with modulo, removes the ~0.5s tone glitch.
(Multiply ts.rate (samples) by two to match the offset unit (bytes, 2 per sample).)
Signed-off-by:
Stefan Knoblich <stkn@openisdn.net>
正在显示
请
注册
或者
登录
后发表评论