diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-02-28 17:23:15 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-02-28 17:23:15 +0000 |
commit | f6b78c32dc9eddf17473d899afedfce320703608 (patch) | |
tree | 47ed63016899826a83fbbc10b56bb53c1b6d65cd /lib/libusb/libusb20.3 | |
parent | 45caeec249c564cc0b81c13ced7f6a677a9216e9 (diff) | |
download | FreeBSD-src-f6b78c32dc9eddf17473d899afedfce320703608.zip FreeBSD-src-f6b78c32dc9eddf17473d899afedfce320703608.tar.gz |
- Add support for software pre-scaling of ISOCHRONOUS transfers.
MFC after: 14 days
Approved by: thompsa (mentor)
Diffstat (limited to 'lib/libusb/libusb20.3')
-rw-r--r-- | lib/libusb/libusb20.3 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libusb/libusb20.3 b/lib/libusb/libusb20.3 index a6dc890..93dfe18 100644 --- a/lib/libusb/libusb20.3 +++ b/lib/libusb/libusb20.3 @@ -261,6 +261,16 @@ The actual buffer size can be greater than and is returned by .Fn libusb20_tr_get_max_total_length . . +If +.Fa max_frame_count +is OR'ed with LIBUSB20_MAX_FRAME_PRE_SCALE the remaining part of the +argument is converted from milliseconds into the actual number of +frames rounded up, when this function returns. +This flag is only valid for ISOCHRONOUS transfers and has no effect +for other transfer types. +The actual number of frames setup is found by calling +.Fn libusb20_tr_get_max_frames . +. This function returns zero upon success. . Non-zero return values indicate a LIBUSB20_ERROR value. |