From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Re: [linux-audio-dev] muse and /dev/rtc Date: Mon, 22 Nov 2004 19:54:00 +0100 Message-ID: References: <200411202259.57503.lad@koloro.de> <20041122150120.GB20860@bth05w.ABSp.alcatel.be> <200411221813.23092.rj@spamatica.se> <20041122175312.GA20957@bth05w.ABSp.alcatel.be> <1101147668.2873.29.camel@krustophenia.net> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1101147668.2873.29.camel@krustophenia.net> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: The Linux Audio Developers' Mailing List , alsa-devel List-Id: alsa-devel@alsa-project.org 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/