Re: [linux-audio-dev] muse and /dev/rtc

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] muse and /dev/rtc
From: Lee Revell (rlrevell_AT_joe-job.com)
Date: Mon Nov 22 2004 - 20:21:07 EET


(added alsa-devel to cc)

On Mon, 2004-11-22 at 18:53 +0100, Alfons Adriaensen wrote:
> Which leads to the following question I've been asking myself for some time:
>
> the ALSA sequencer API seems to allow *timestamped* events - you put such
> an event in a queue and it will appear at the other end at the right moment.
> If this is true, and if ALSA has an high precision timer available to
> implement it, why should apps like MusE bother to do the fine timing
> themselves ?

Yes, my thoughts exactly. You don't even have to use the ALSA sequencer
API, you can use the ALSA timer API directly. You get multiple timer
sources (system, RTC, sound card). It should also be more portable.
For example if your sound card's timer is supported by your ALSA driver
like emu10k1 and ymfpci then I think you can use this timer to give
better sync with the hardware.

ALSA devs, is this correct?

Lee


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Nov 22 2004 - 20:23:23 EET