|
From: abdullah u. <abd...@ya...> - 2014-04-15 05:52:58
|
Dear Tim, I read you answers again, firstly thank you for your time. In the beginning I had no idea about USB communication, found something in web including explanations about interrupt, isochronous... modes. Then I followed tutorials, discussions, forms etc. and then applied some examples. I had never heard something related to "libusb_set_interface_alt_setting", I am going to check that, because it might be neccessary later in another project. By the way, might I ask how I could specify the length of a buffer, by checking the length of desciriptor in bytes? Because I am still trying to understand better. Thanks, Abdullah On Monday, April 14, 2014 4:37 PM, abdullah unutmaz <abd...@ya...> wrote: Dear Friends, Thank you for your answers and your time. I have given up using libusb for this specific purpose, instead I developed my program using asoundlib.h, ALSA this morning.I have successfully received data. In my further projects, planning to take a look at kernel drivers and related libraries,I am sure, at least for me, it would be much faster. Thanks, Abdullah On Monday, April 14, 2014 4:13 PM, Kustaa Nyholm <Kus...@pl...> wrote: > If it looks like an audio device, you should use the audio APIs. > Seriously. > It is simply a waste of time to reinvent all of that > hard-fought and well-tested code in the standard audio class driver. I'm sure you are right, but what would then be a good standard device to use if the OP is serious about learning to do ISOC? br Kusti This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on or as of transmission of this e-mail in general. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ libusb-devel mailing list lib...@li... https://lists.sourceforge.net/lists/listinfo/libusb-devel |