[alsa-devel] [PATCH 02/10] alsabat: add standalone mode
Takashi Iwai
tiwai at suse.de
Tue Mar 8 11:18:58 CET 2016
On Wed, 02 Mar 2016 09:53:12 +0100,
han.lu at intel.com wrote:
>
> From: "Lu, Han" <han.lu at intel.com>
>
> 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 <han.lu at intel.com>
>
> 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
More information about the Alsa-devel
mailing list