Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265471AbTIJS1L (ORCPT ); Wed, 10 Sep 2003 14:27:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265479AbTIJS1K (ORCPT ); Wed, 10 Sep 2003 14:27:10 -0400 Received: from ns.suse.de ([195.135.220.2]:4589 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S265471AbTIJS1I (ORCPT ); Wed, 10 Sep 2003 14:27:08 -0400 Date: Wed, 10 Sep 2003 20:27:06 +0200 Message-ID: From: Takashi Iwai To: Chris Meadors Cc: Russ Garrett , root@chaos.analogic.com, Jaroslav Kysela , linux-kernel@vger.kernel.org Subject: Re: Audio skipping with alsa In-Reply-To: <1063217788.2251.51.camel@clubneon.priv.hereintown.net> References: <1063116861.852.50.camel@russell> <1063216041.1208.10.camel@russell> <1063217788.2251.51.camel@clubneon.priv.hereintown.net> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 13) (Rational FORTRAN) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1179 Lines: 28 At 10 Sep 2003 14:16:28 -0400, Chris Meadors wrote: > > I'll agree that larger buffers are not the answer. I sometimes mess > with live audio effects. That is recording some audio, processing it in > some way, and then playing it back. If the buffer is too large, a > noticeable delay would be introduced. Takashi and Jaroslav I'm pretty > sure know the problem this causes with musicians, who need to hear what > they played or sang in a very short period of time, or it messes with > the brain. to handle the data in a short period can be never guaranteed if the process runs without the real-time priority. the simple and only solution is to run such an application with RT scheduling, IMO. (the playback of xmms is a slightly different problem because it's not designed (purposed) as a real-time process.) -- Takashi Iwai SuSE Linux AG - www.suse.de ALSA Developer ALSA Project - www.alsa-project.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/