Selon Clemens Ladisch <[EMAIL PROTECTED]>:

> Mathieu Rondonneau wrote:
> >     .period_bytes_min = 1024,
> >     .period_bytes_max = 32768,
> >     .periods_min      = 8,
> >     .periods_max      = 512,
> >
> > When i start to send a file, I Don't know why:
> > runtime->period_size = 8192
> > runtime->periods: 8
> > and the ¨count¨ parameter in the copy operator is 1024
> 
> These values fit into the constraints defined above.

Thank you for your help Clemens.
Now, I understand a part of my problem.
According to the constraints values, I totaly agree with you. 
But i miss something about the count parameter.  
Why the count parameter is not equal to the size of the period in the runtime
pointer (i.e. in my example above: 8192) in the copy operator?

I tried with new parameter:

        .period_bytes_min = 16*1024,
        .period_bytes_max = 64*1024,
        .periods_min      = 2,
        .periods_max      = 4,

and the result were:
runtime->period_size: 16*1024
runtime->periods: 4

I agree that values fit into constraints but the count parameter is always 1024.
I don't understand why count is 1024 ? 
why count is not equal to runtime->period_size (i.e. 16*1024)?

I'm shure i miss something.
Maybe you can help me.
I thank you very much for your help.

regards,
Mathieu


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to