Hi,

I've a question according to the ¨period_size¨ and the ¨periods¨ parameters in
the ¨runtime¨ structure.

my wav file is 34184 bytes long, and my hardware parameter are:

        .rate_min         = 8000,
        .rate_max         = 48000,
        .channels_min     = 1,
        .channels_max     = 2,
        .buffer_bytes_max = 64*1024,
        .period_bytes_min = 1092,
        .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 

I tryed to change
.period_bytes_min = 8192,
.periods_min      = 1, 

but the ¨count¨ parameter, the ¨periode_size¨ and ¨periods¨ remain the same.

Is it possible to change the ¨count¨ parameter in the copy operator?

Thank you very much for your help.
Mathieu Rondonneau



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