Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932117AbWAJNwy (ORCPT ); Tue, 10 Jan 2006 08:52:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932097AbWAJNwy (ORCPT ); Tue, 10 Jan 2006 08:52:54 -0500 Received: from host1.compusonic.fi ([195.238.198.242]:11381 "EHLO minor.compusonic.fi") by vger.kernel.org with ESMTP id S932095AbWAJNww (ORCPT ); Tue, 10 Jan 2006 08:52:52 -0500 Date: Tue, 10 Jan 2006 15:50:15 +0200 (EET) From: Hannu Savolainen X-X-Sender: hannu@zeus.compusonic.fi To: Jaroslav Kysela Cc: Joern Nettingsmeier , Olivier Galibert , Tomasz K?oczko , Pete Zaitcev , Alistair John Strachan , Adrian Bunk , Tomasz Torcz , Jan Engelhardt , Andi Kleen , ALSA development , James@superbug.demon.co.uk, sailer@ife.ee.ethz.ch, linux-sound@vger.kernel.org, zab@zabbo.net, kyle@parisc-linux.org, parisc-linux@lists.parisc-linux.org, jgarzik@pobox.com, Thorsten Knabe , zwane@commfireservices.com, LKML Subject: Re: [OT] ALSA userspace API complexity In-Reply-To: Message-ID: References: <20050726150837.GT3160@stusta.de> <20060103193736.GG3831@stusta.de> <20060104030034.6b780485.zaitcev@redhat.com> <43BDA02F.5070103@folkwang-hochschule.de> <20060105234951.GA10167@dspnet.fr.eu.org> <43BDB858.5060500@folkwang-hochschule.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1342 Lines: 31 On Tue, 10 Jan 2006, Jaroslav Kysela wrote: > On Fri, 6 Jan 2006, Hannu Savolainen wrote: > > > The fact is that there is nothing the audio subsystem can do to recover > > the situation. For this very simple reason the OSS API lacks everything > > that would be necessary to cope with this kind of problems. > > Applications should be notified that something is broken. If you have > a professional environment, you really need to know, if the output > survived all scheduling peaks and the audio data are delivered from/to > I/O in time. This is exactly how OSS API works. The application can check if there were any errors so far. It can do it after finishing the playback or whenever it likes. It can then show a dialog box saying that playback/recording was not 100% error free. Alternatively it can show error counters on the status line. Or most applications just don't care. Best regards, Hannu ----- Hannu Savolainen (hannu@opensound.com) http://www.opensound.com (Open Sound System (OSS)) http://www.compusonic.fi (Finnish OSS pages) OH2GLH QTH: Karkkila, Finland LOC: KP20CM - 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/