From: Takashi Iwai Subject: Re: [PATCH V2 6/6] alsabat: add tinyalsa support Date: Tue, 22 Mar 2016 16:20:40 +0100 Message-ID: References: <7833c314bbeb4cfdd9a67365586623e738fa18d9.1458655876.git.han.lu@intel.com> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 69366261585 for ; Tue, 22 Mar 2016 16:20:43 +0100 (CET) In-Reply-To: <7833c314bbeb4cfdd9a67365586623e738fa18d9.1458655876.git.han.lu@intel.com> 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: han.lu@intel.com Cc: liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, 22 Mar 2016 15:31:38 +0100, han.lu@intel.com wrote: > > diff --git a/bat/alsabat.1 b/bat/alsabat.1 > index 5f41669..9b969c2 100644 > --- a/bat/alsabat.1 > +++ b/bat/alsabat.1 > @@ -33,6 +33,9 @@ analog loopback :- > > https://source.android.com/devices/audio/loopback.html > > +If tinyalsa lib is installed in system, ALSABAT will use tinyalsa lib instead > +of ALSA lib. > + This text doesn't match with the behavior of your latest version. Forgot to update? > diff --git a/configure.ac b/configure.ac > index d712872..bd39c6f 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -58,6 +58,16 @@ AM_CONDITIONAL(HAVE_UCM, test "$have_ucm" = "yes") > AM_CONDITIONAL(HAVE_TOPOLOGY, test "$have_topology" = "yes") > AM_CONDITIONAL(HAVE_SAMPLERATE, test "$have_samplerate" = "yes") > > +dnl Use tinyalsa > +tinyalsa= > +AC_ARG_ENABLE(tinyalsa, > + AS_HELP_STRING([--disable-tinyalsa], [Use tinyalsa instead of ALSA]), > + [case "${enableval}" in > + yes) tinyalsa=true ;; > + no) tinyalsa=false ;; > + *) AC_MSG_ERROR(bad value ${enableval} for --enable-tinyalsa) ;; > + esac],[tinyalsa=false]) This doesn't look consistent. The default is false while the description shows --disable-tinyalsa. thanks, Takashi