Re: USB asynchronous mode feedback format

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

 



On Fri, 2010-10-15 at 15:04 +0200, Julian Scheel wrote:

> Ah right, thanks.
> Well now I swapped data[1] and data[2]. When monitoring the amount of data I 
> get per read, it is constant at 192bytes, which would be expected for feedback 
> ratio of 48, right? But if I have 0x06 to 0x07 for example I do still get 
> exactly 192bytes per read, shouldn't I get less data in that case? (I always 
> try to read up to MAXPACKETSIZE which is 512, btw)

Suggest:

(1) The feedback rate has to fall withing +/- 10% of the nominal rate.
Otherwise it is ignored.

(2) You need to find out exactly how many samples the host sends you.
Look at my sdr-widget code, for example.  Then you read what the host
sends you.

(3) Do a > dmesg | tail 
    after unplugging and plugging your USB device in.  Then you can see
whether there are any errors in your syncpipe

btw, what is your Linux kernel version?

Alex


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/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