]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r270134:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 14:22:40 +0000 (14:22 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 27 Aug 2014 14:22:40 +0000 (14:22 +0000)
commit4f0c6f8c1ceadb390870fe9d63a7c43a626a5f6d
tree374031396896d2aab30f89fb6e15f8b8648ec7e6
parent98467bf9c11495b1908bb119f186f105cf9864ca
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/10@270717 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/usb/uaudio.c