From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422645AbXCNPPQ (ORCPT ); Wed, 14 Mar 2007 11:15:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422649AbXCNPPP (ORCPT ); Wed, 14 Mar 2007 11:15:15 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:1749 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1422645AbXCNPPN (ORCPT ); Wed, 14 Mar 2007 11:15:13 -0400 Date: Wed, 14 Mar 2007 08:41:55 +0000 From: Pavel Machek To: Lee Revell Cc: Jan Engelhardt , Ingo Molnar , Linus Torvalds , Jeremy Fitzhardinge , Zachary Amsden , Thomas Gleixner , john stultz , akpm@linux-foundation.org, LKML , Rusty Russell , Andi Kleen , Chris Wright , Alan Cox Subject: alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT Message-ID: <20070314084155.GA3993@ucw.cz> References: <20070309180230.GA17988@elte.hu> <20070309192420.GA27747@elte.hu> <75b66ecd0703091450l26bdc12es4091018f2d87f0d3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75b66ecd0703091450l26bdc12es4091018f2d87f0d3@mail.gmail.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > >I think the sound example to the right really shows it. > >/dev/dsp has a > >consistent ABI on a ton of systems. The API below it, > >varies. Linux got > >file_operations and ALSA. Solaris/BSD may have its > >vnode-and-so-on-functions and some sort of OSS. > > I think this is a poor example as applications lose a > lot of > functionality (multiple stream mixing, software volume > control, etc) > by going through the legacy /dev/dsp interface vs. using > native ALSA. OTOH /dev/dsp is nice, clean, unixy interface, while alsa creates ugly ABI you should not even use unless you are libalsa. ouch. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html