Re: [LAD] ALSA latency and MMAP

From: Jussi Laako <jussi@email-addr-hidden>
Date: Tue Sep 08 2009 - 20:48:32 EEST

Practically, for mmap'able devices in addition to waiting, _readi()
seems to be doing this inside a loop:
        snd_pcm_mmap_begin(pcm, &pcm_areas, &pcm_offset, &frames);
        snd_pcm_areas_copy(areas, offset,
                           pcm_areas, pcm_offset,
                           pcm->channels,
                           frames, pcm->format);
        result = snd_pcm_mmap_commit(pcm, pcm_offset, frames);

(follow the pcm_mmap.c:snd_pcm_mmap_readi() called through vtable)
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Sep 9 00:15:01 2009

This archive was generated by hypermail 2.1.8 : Wed Sep 09 2009 - 00:15:02 EEST