]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r308437 and r308461:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Nov 2016 17:36:28 +0000 (17:36 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 12 Nov 2016 17:36:28 +0000 (17:36 +0000)
commit24ac5d771fc699869be0cd3fd031d7623dc163f3
treef316e44c8badad41469493549d0b23878db9061b
parent028d9e66a61dae0d4d5b0b1229f3f04c72b3f597
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/8@308574 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/usb/uaudio.c