Re: Line6 TonePort

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Markus: I use USB Snoopy Pro and I'm sure that packet sizes are ok, I'm just trying to do as the Windows' driver does.

Clemens:
> No USB device supports DMA transfers.  USB devices support USB transfers.
> The host controller supports DMA transfers.  Yours does, too.
Well, I thought so. But I even modified snd-usb-audio driver (quirks + other code) to support this card and what I get out of it is the same thing I got when I tried with DMA on my own: a kind of buzz sound that sometimes continues after stopping the playback.
As you can see from the code I posted I'm not going this way, I'm copying the data from runtime->dma_area into the URB transfer_buffer I allocate.

> You should copy the data just before you submit the URB.  In other words,
> yes.
I copy and send in the same function, is it right?

> How do you determine how much data to send in each USB frame?
I use fixed sizes (as the windows' driver do). In snd_toneport.h each size is specified according to the different altsettings. Each URB has 2 isoch. packets of the same size.

Stefano

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux