summaryrefslogtreecommitdiff
path: root/acme/bin/source/win/main.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-06-21 21:36:50 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-06-21 21:36:50 +0200
commit4fb65ae3e84f536a9b924082b7c59a30d5802e6b (patch)
treef9eb1a77212118e062aa1cb823a8a4f5f050887e /acme/bin/source/win/main.c
parent78a6eb52c8a8b5c05305e847a4cb78360e8dba5d (diff)
downloadplan9front-4fb65ae3e84f536a9b924082b7c59a30d5802e6b.tar.xz
devusb: keep isochronous ep->hz consistent with maxpkt, ntds and pollival
The sample frequency is an artificial parameter used for isochronous out transfers to better match the target frequency (usually, a sound card). when hz is set, devusb adjusts the endpoint's maxpkt to get the requested frequency and a multiple of the samplesize per packet. however, when hz is not set, then we should calculate the frequency from maxpkt, ntds and pollival, so all parameters will be consistent with each other.
Diffstat (limited to 'acme/bin/source/win/main.c')
0 files changed, 0 insertions, 0 deletions