hi,

the curframesize member of struct snd_usb_substream
seams not to be initialized to something different
from 0.

thus the code sequence 

subs->transfer_sched += subs->curframesize;
if (subs->transfer_sched >= runtime->period_size) {
        subs->transfer_sched -= runtime->period_size;
        break;
}

in static int prepare_capture_urb() doesn't make sense
to me. 
should curframesize be initialized with the minimum
estimated number of frames per 1ms?
like 44 for 44100?

karsten


__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to