Re: [pyusb-users] Isochronous Transfer (iso_write) implementation for libusb-win32

2012-07-13 Thread Wander Lairson Costa
2012/7/13 Spencer Hardin : > I'm working with a soundcard and I'm trying to implement the isochronous > write function (libusb-win32 backend). It's not pretty, but here's what I > have so far. > I haven't gone into details of libusb-win32 async API yet, so take my comments with care... :) > > #

[pyusb-users] Isochronous Transfer (iso_write) implementation for libusb-win32

2012-07-13 Thread Spencer Hardin
I'm working with a soundcard and I'm trying to implement the isochronous write function (libusb-win32 backend). It's not pretty, but here's what I have so far. #def iso_write(self, dev_handle, ep, intf, data, timeout): # pass # int usb_isochronous_setup_async(usb_dev_handle *dev, void *