Add libusb_get_max_iso_packet_size()
authorDaniel Drake <dsd@gentoo.org>
Sun, 28 Jun 2009 18:49:10 +0000 (19:49 +0100)
committerDaniel Drake <dsd@gentoo.org>
Sun, 28 Jun 2009 18:49:10 +0000 (19:49 +0100)
commit0334ee642b47dfe1ca9db64b22e7702ea14b3f09
treef7f8f8450575efcd05537e5e0ef47720178b6acd
parent615f18e64e96ae4ecc8e43d0de00933059a5209a
Add libusb_get_max_iso_packet_size()

As pointed out by Dennis Muhlestein, libusb_get_max_packet_size()
doesn't really do what the documentation might suggest because it
does not consider the number of transaction opportunities per
microframe.

Add a new function to do what is useful for isochronous I/O.
libusb/core.c
libusb/io.c