Re: [PATCH i-g-t 2/3] lib: Add ALSA library with dedicated helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <paul.kocialkowski@xxxxxxxxxxxxxxx>
> ---
>  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
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux