bhanu shankar d g
|
Re: the problem of Audio data receive
|
bhanu shankar d g
07/28/2012 6:51 AM
post94487
|
Re: the problem of Audio data receive
hi
Did you find any solution for that i am facing same issue now!
> Good afternoon!
> I'm writing a program about Audio driver(Microphone).
> I met some problems:
> Audio data :(in Audio data receive end callback function)
> i use usbd_urb_status()to got the urb's status ,status is USBD_URB_CMP_ERR
> ,then i got the return of function :5(EIO).
> i use the isco pipe to receive the data ,after i insertion the device.
> i set the urb like this:
> usbd_setup_isochronous(micro_info->urb_in,URB_DIR_IN|URB_ISOCH_ASAP|
> URB_SHORT_XFER_OK,0,rbuf,size);
> is there any problem with my parameter or i need some other settings??
>
> by the way:(if device is a multy devide)
> usbd_select_config ()is used only once in the first insertion or need use it
> by every interface insertion .
>
> I'm waiting for your requestion.
> Thanks a lot!!!
|
|
|