From: Takashi Iwai Subject: Re: [PATCH 02/10] alsabat: add standalone mode Date: Tue, 08 Mar 2016 11:18:58 +0100 Message-ID: References: <5c8e6ec9f17e113f77f4ac89b02c51809e377400.1456907242.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 6E9C626066B for ; Tue, 8 Mar 2016 11:18:59 +0100 (CET) In-Reply-To: <5c8e6ec9f17e113f77f4ac89b02c51809e377400.1456907242.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, bernard.gautier@intel.com, edward.c.popescu@intel.com, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Wed, 02 Mar 2016 09:53:12 +0100, han.lu@intel.com wrote: > > From: "Lu, Han" > > Add support for standalone mode where alsabat will run on a > different machine to the one being tested. > In standalone mode, the sound data can be generated, playback and > captured just like in normal mode, but will not be analyzed. > The alsabat being built without libfftw3 support is always work > in standalone mode. > The alsabat in normal mode can also bypass data analysis using > option "--standalone". > > Signed-off-by: Lu, Han > > diff --git a/bat/Makefile.am b/bat/Makefile.am > index 8dfafa9..5646e9a 100644 > --- a/bat/Makefile.am > +++ b/bat/Makefile.am > @@ -6,7 +6,6 @@ EXTRA_DIST = alsabat.1 > alsabat_SOURCES = \ > bat.c \ > common.c \ > - analyze.c \ > signal.c \ > convert.c \ > alsa.c > @@ -15,8 +14,12 @@ noinst_HEADERS = \ > common.h \ > bat-signal.h \ > alsa.h \ > - convert.h \ > - analyze.h > + convert.h > + > +if HAVE_LIBFFTW3 > +alsabat_SOURCES += analyze.c > +noinst_HEADERS += analyze.h > +endif I wonder how "make dist" works if running on a system without fftw3... Does it pack these conditional files, too? Takashi