Today Abramo Bagnara wrote:
>Paul Davis wrote:
>>
>> > avail = snd_pcm_avail_update(pcm);
>> > while (avail > 0) {
>> > frames = min(avail, block_size);
>> > snd_pcm_mmap_begin(pcm, areas, &offset, &frames);
>> > process(frames);
>> > snd_pcm_mmap_commit(pcm, offset, frames);
>> > avail -= frames;
>> > }
>
>Then I deduce everything is ok? Paul? Tim?
yes, it's dawning on me now :)
i'd still welcome it if the documentation would be clear on the precise
use of the mmap_begin/_commit parameters.
tim
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel