From: Takashi Iwai Subject: Re: [PATCH 2/3] Show a warning if the alsa wrapper failed. Date: Thu, 16 May 2013 10:08:56 +0200 Message-ID: References: <1368637087-28860-1-git-send-email-jordi@debian.org> <1368637087-28860-3-git-send-email-jordi@debian.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 94CD8265300 for ; Thu, 16 May 2013 10:09:02 +0200 (CEST) In-Reply-To: <1368637087-28860-3-git-send-email-jordi@debian.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Jordi Mallach Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 15 May 2013 18:58:06 +0200, Jordi Mallach wrote: > > If /proc/asound is not found, throw a warning and continue without > any wrapping. The purpose of aoss is to make OSS apps working *transparently*. So spewing a warning at each time is a bad idea, IMO. If a warning is justified, why don't you give a joyful success message at each time if aoss can wrap the call? :) Takashi > > Signed-off-by: Jordi Mallach > --- > alsa/aoss.in | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/alsa/aoss.in b/alsa/aoss.in > index d8e1d6d..564eed9 100644 > --- a/alsa/aoss.in > +++ b/alsa/aoss.in > @@ -9,6 +9,7 @@ if [ -d /proc/asound ]; then > libdir=@libdir@ > LD_PRELOAD=${libdir}/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@" > else > + echo "Warning: /proc/asound not found. Running without ALSA wrapper." > exec "$@" > fi > exit 1 > -- > 1.7.10.4 > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >