Best example to do isochronous streaming
"jebali.aymen" <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am implementing a solution for continuous ADC sampling using the SAM3U microcontroller from Atmel. In this use case, the SAM3U sends packets of 512 bytes over USB and the PC is reading this data through libusb. the sampling rate is 48000 Hz each sample is 16 bits length. When reading reading the data from USB pipes, I see that sometimes the number of samples is less that what was sent from the SAM3U. Even sometimes more :( . I tried the latest versions of libusb0 and libusbK and both had the same issues, except that with libusbK the problem is less frequent. I use: - a windows 7 32 bits OS. - a C DLL that wraps teh libsub . With the libsubK I tried the available examples: - xfer-stream.c - xfer-iso-read.c - xfer-iso.c and none have fixed the issue. Could anyone recommend please a solution or send me an example of libsub implmentation that could fix this problem? Thanks, Aymen -- View this message in context: http://libusb.6.n5.nabble.com/Best-example-to-do-isochronous-streaming-tp5713552.html Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com. ------------------------------------------------------------------------------