]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r308437 and r308461:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Nov 2016 17:32:22 +0000 (17:32 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Nov 2016 17:32:22 +0000 (17:32 +0000)
commitc3941a08b78e040922101f403241cda3329d8dd2
tree8e9f96d712e42f52ef94fa09bdb61e15c945b6b4
parentc18da22b310fc719691d6b19df804a5bb192de88
MFC r308437 and r308461:
Range check the jitter values to avoid bogus sample rate adjustments.
The expected deviation should not be more than 1Hz per second. The USB
v2.0 specification also mandates this requirement. Refer to chapter
5.12.4.2 about feedback.

Allow higher sample rates to have more jitter than lower ones.

PR: 208791

git-svn-id: svn://svn.freebsd.org/base/stable/9@308573 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/usb/uaudio.c