Re: [LAD] ALSA latency and MMAP

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Mon Sep 07 2009 - 17:54:25 EEST

Paul Davis wrote:
> On Mon, Sep 7, 2009 at 4:53 AM, Clemens Ladisch<clemens@email-addr-hidden> wrote:
> > There is no extra buffer for these functions; snd_pcm_write/read* copy
> > the data to/from the same hardware buffer that would be used by the mmap
> > functions.
>
> snd_pcm_write() and snd_pcm_read(), IIRC, allow reads&writes of chunks
> of data that are not period-sized.

Yes. So does snd_pcm_mmap_commit().

> do you have an alternate explanation for louis' timing observations?

Apparently a different algorithm.
Louis, can we see your program?

Best regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Sep 7 20:15:03 2009

This archive was generated by hypermail 2.1.8 : Mon Sep 07 2009 - 20:15:03 EEST