On Thu, Aug 17, 2017 at 07:05:56PM +0300, Paul Kocialkowski wrote:
> 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 <[email protected]>
> ---
>  configure.ac                                       |   3 +
>  .../intel-gpu-tools/intel-gpu-tools-docs.xml       |   1 +
>  lib/Makefile.am                                    |   7 +
>  lib/igt.h                                          |   1 +
>  lib/igt_alsa.c                                     | 624 
> +++++++++++++++++++++
>  lib/igt_alsa.h                                     |  60 ++
>  6 files changed, 696 insertions(+)
>  create mode 100644 lib/igt_alsa.c
>  create mode 100644 lib/igt_alsa.h
> 
> 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])

please mention the new dependency in the README
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to