GORAN RADIVOJEVIC wrote:
>
> Few minutes after I send previous message I remove last two endpoints
> (Iso) and now SetAltInterface working as
> expected (in libusbx and libusbK).

That's revealing.  Are you quite sure that your Atmel device supports
isochronous endpoints?  Which Atmel chip are you using?


> Now I have working Interrupt (for commands) and Bulk endpoints (audio
> stream), both 64 byte but with Iso EP problems returns.

As I recall, you had two interrupt endpoints with 64-byte packets and
two isochronous endpoints with 256-byte packets.  Right?  That's a total
of 640 bytes per frame.  That's 50% of the total available bandwidth for
full-speed devices.  If you had any other interrupt or isochronous
devices reserving bandwidth, that could have been enough to cause your
allocation to fail.  Did I already ask if you were you doing this in a
virtual machine?  Do you happen to have a video camera set up?


> I managed to loop through uC stereo audio stream 48k/24bit using Bulk
> transfer but on higher rates audio is choppy. Atmel controller is only
> full speed capable, is this my problem?

Bulk gets whatever bandwidth is left over after all of the other
reservations.  The timing is unpredictable.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to