summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpiutil.c
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2009-12-04 20:50:59 +0000
committerjakemsr <jakemsr@openbsd.org>2009-12-04 20:50:59 +0000
commitea4046e892aa7dd076bf5c2ef6a3920492761af6 (patch)
tree5e8326ce6ccb834e9f33632e17e008eaa1e2c373 /sys/dev/acpi/acpiutil.c
parentinstead of returning a structure, return the only member of the (diff)
downloadwireguard-openbsd-ea4046e892aa7dd076bf5c2ef6a3920492761af6.tar.xz
wireguard-openbsd-ea4046e892aa7dd076bf5c2ef6a3920492761af6.zip
calculate the number of frames per usb xfer only once, and take into
account possible "fractional samples" which occur when the usb frame rate is not a whole number factor of the audio sample rate, such as with 44.1 kHz audio sample rate and full-speed usb (1 kHz frame rate).
Diffstat (limited to 'sys/dev/acpi/acpiutil.c')
0 files changed, 0 insertions, 0 deletions