]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r270134:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 14:24:00 +0000 (14:24 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 14:24:00 +0000 (14:24 +0000)
commita25516e4d76b8ffb8a6869946244586e25ec05ea
tree9207374cfcde148a99c0c8e2a4987967ba6fda44
parentfbff050247f9c5826e0cf0c8d0a6e3aba598a36c
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/9@270718 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/usb/uaudio.c