]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r270134:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 14:25:18 +0000 (14:25 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 14:25:18 +0000 (14:25 +0000)
commitb34832cf482bbbb290588847b8b54cedc85442f6
treeef0ad7944a50c81ea29de1c3fcbfe175bb10594b
parent0e4276578ca6de352b47bdb91a3dd5664ea19924
MFC r270134:
Use the "bSubslotSize" and "bSubFrameSize" fields to obtain the actual
sample size. According to the USB audio frame format specification
from USB.org, the value in the "bBitResolution" field can be less than
the actual sample size, depending on the actual hardware, and should
not be used for this computation.

PR: 192755

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