diff options
author | Nathan Hjelm <hjelmn@me.com> | 2013-09-12 14:57:01 -0600 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2014-05-06 02:21:57 -0600 |
commit | e16575ceaf3148c389d66686e51af7cc8dff6053 (patch) | |
tree | 9aeb748085695229012e3da1842345ee511d11b0 /libusb/core.c | |
parent | 7200c567ea74ef050eb944ef2eb31fccef605732 (diff) | |
download | libusb-e16575ceaf3148c389d66686e51af7cc8dff6053.tar.gz |
darwin: Add support for bulk stream transfers.
This commit adds support for bulk streams to the darwin backend. I
have not had a chance to fully test this code as I have no access
to any devices that use this interface.
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Diffstat (limited to 'libusb/core.c')
-rw-r--r-- | libusb/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libusb/core.c b/libusb/core.c index f766e62..ffce020 100644 --- a/libusb/core.c +++ b/libusb/core.c @@ -1621,7 +1621,8 @@ int API_EXPORTED libusb_reset_device(libusb_device_handle *dev) * some protocols require that endpoints are setup with similar stream ids. * All endpoints passed in must belong to the same interface. * - * Note this function may return less streams then requested. + * Note this function may return less streams then requested. Also note that the + * same number of streams are allocated for each endpoint in the endpoint array. * * Stream id 0 is reserved, and should not be used to communicate with devices. * If libusb_alloc_streams() returns with a value of N, you may use stream ids |