win-wasapi: Subtract frame duration from timestamp
It would appear that the timestamp values returned by devices are not perfectly accurate, and in some cases may be calculated on the spot -- to combat that, it's best to subtract the audio segment's duration from the current audio segment's timestamp to ensure the timing is as accurate as possible.
Showing
想要评论请 注册 或 登录