Re: [Alsa-devel] 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: [Alsa-devel] Re: [linux-audio-dev] muse and /dev/rtc
From: Takashi Iwai (tiwai_AT_suse.de)
Date: Mon Nov 22 2004 - 20:54:00 EET


At Mon, 22 Nov 2004 13:21:07 -0500,
Lee Revell wrote:
>
> (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?

Yes, I agree that ALSA timer API would be useful for such a case. The
app can reject to run or do some workaround if the queried timer
resolution is worse than requirements.

Well, my guess for the next reaction is "the lack of documentation" ;)

Takashi


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:56:21 EET