From 1579692d6447d126552b5fb020a63b26427c9a12 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Mon, 21 Aug 2017 18:27:19 +0300 Subject: lib: Add ALSA library with dedicated helpers This introduces an ALSA library, with dedicated helpers for handling playback and capture. It handles ALSA device identification and configuration as well as a run loop with callback mechanisms for feeding output data and handling input data. This library paves the way for testing audio going through display connectors, such as HDMI. Signed-off-by: Paul Kocialkowski Reviewed-by: Lyude Paul --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 50aa86b5..e66273a4 100644 --- a/configure.ac +++ b/configure.ac @@ -219,6 +219,9 @@ if test "x$enable_chamelium" = xyes; then AC_DEFINE(HAVE_CHAMELIUM, 1, [Enable Chamelium support]) fi +PKG_CHECK_MODULES(ALSA, [alsa], [alsa=yes], [alsa=no]) +AM_CONDITIONAL(HAVE_ALSA, [test "x$alsa" = xyes]) + # ----------------------------------------------------------------------------- # Configuration options # ----------------------------------------------------------------------------- -- cgit v1.2.3