Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset rate estimator whenever iodev is opened
Rate estimator is not cleaned up when iodev is closed. This may result in certain sample rate estimation using stale data. To solve the issue, always reset the rate estimator whenever iodev is opened. BUG=b:315782367 TEST=unit tests Change-Id: I30cccca08102105e50d8bfefe5cdceb2e03f1919 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5138639 Reviewed-by: Li-Yu Yu <aaronyu@google.com> Commit-Queue: Li-Yu Yu <aaronyu@google.com> Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com> Auto-Submit: Baili Deng <bailideng@google.com>
- Loading branch information