Sebastian Zagrodzki
d4d7011a44
Don't assume libusb headers are always in libusb-1.0.
...
Use pkg-config to add correct include paths for libusb regardless of the
platform.
2017-02-13 17:08:46 +01:00
Sebastian Zagrodzki
66a1f45cd9
Remove the artificial limit. The worst case is a longer timeout for the
...
transfer is required.
2017-02-08 23:29:17 +01:00
Sebastian Zagrodzki
c27a77b547
Pass the max buffer size down to the alloc_transfer. Use the number
...
of iso packets matching the buffer size. This guarantees that the
transfer size is smaller or equal to the buffer.
Device will transfer less data if iso transfer response does not utilize the
maximum available number of iso packets per microframe or doesn't fill
the packets entirely.
2017-02-08 23:02:08 +01:00
Sebastian Zagrodzki
beb4fdbac5
Update copyright notes for multiple contributors.
2017-02-07 07:37:57 +01:00
Sebastian Zagrodzki
f13728c6e1
Set the MaxIsoPacket field in the endpoint info if the endpoint is
...
an isochronous endpoint. Use MaxIsoPacket as the iso packet size
when preparing the iso transfer.
2017-02-05 16:20:58 +01:00
Sebastian Zagrodzki
4319ef2cc2
Revert "Use the calculated max iso packet size."
...
The libusb_get_max_iso_packet_size ignores the endpoint information and
will return the same size for all endpoints, even if the current
alternative configuration does not support given size.
This reverts commit a6e284610b
.
2017-02-05 16:00:53 +01:00
Sebastian Zagrodzki
a6e284610b
Use the calculated max iso packet size.
2017-02-05 04:16:57 +01:00
Kyle Lemons
96f1a0a774
Update LICENSE
2013-08-14 19:22:55 -07:00
Kyle Lemons
67ecea5706
Update readme with instructions for darwin
2013-04-07 12:32:53 -07:00
Kyle Lemons
8d73a5775d
Fix GC race condition with callback pointer
2012-07-25 00:40:54 -07:00
Kyle Lemons
1723f5a08d
gofmt
2012-07-22 23:40:25 -07:00
Kyle Lemons
e5fd0ba6e3
Fix double free issues
2012-07-22 23:36:03 -07:00
Kyle Lemons
96ca30cdbb
Fix ordering of config
2012-04-15 22:43:55 -04:00
Kyle Lemons
1e5170b125
Working on iso
2012-04-15 18:58:18 -07:00
Kyle Lemons
9849a972c6
Added isochronous transfer
2012-04-12 20:15:30 -07:00
Kyle Lemons
71bbb57904
Checkpoint
2012-04-09 17:37:25 -07:00