Hi Karsten,

At Tue, 10 Sep 2002 00:47:16 +0200 (CEST),
karsten wiese wrote:
> 
> hi,
> 
> the curframesize member of struct snd_usb_substream
> seams not to be initialized to something different
> from 0.

oops, thanks for spotting.
fixed on cvs now.

> 
> 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?

this is just the size in frames of curpacksize, i.e. the urb packet
size in bytes.
the non-integer packet size problem (44.1kHz) is not solved yet.


ciao,

Takashi


-------------------------------------------------------
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