mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
ffmpeg audiodecoders after version 1.1 deliver audio samples in planar formats by default instead of packed as before. Additionally, the AC3 decoder delivers now in planar float. Use libswresample for sample format conversion, this will work with old (where it hopefully does nothing) and new ffmpeg versions. Later on, also sample rate and channel layout conversion could be implemented if desired. Tested with ffmpeg versions 1.0.6 and 1.2.1.
45 lines
962 B
Plaintext
45 lines
962 B
Plaintext
AC_INIT(libstb-hal,0.1.1)
|
|
AM_INIT_AUTOMAKE(libstb-hal,0.1.1)
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_GNU_SOURCE
|
|
LT_INIT
|
|
|
|
## ugly, disables shared library build (not wanted yet)
|
|
enable_shared=no
|
|
|
|
TUXBOX_APPS
|
|
TUXBOX_APPS_DIRECTORY
|
|
TUXBOX_APPS_PKGCONFIG
|
|
TUXBOX_BOXTYPE
|
|
|
|
AC_PROG_CC
|
|
AC_PROG_CXX
|
|
AC_DISABLE_STATIC
|
|
AC_SYS_LARGEFILE
|
|
AM_PROG_LIBTOOL
|
|
|
|
if test x"$BOXTYPE" = x"tripledragon"; then
|
|
TUXBOX_APPS_LIB_PKGCONFIG(DIRECTFB, directfb)
|
|
fi
|
|
|
|
if test x$BOXTYPE = xgeneric; then
|
|
PKG_CHECK_MODULES([AVFORMAT], [libavformat >= 53.21.1])
|
|
PKG_CHECK_MODULES([AVCODEC], [libavcodec >= 54.28.0])
|
|
# don't know which version is exactly needed here...
|
|
PKG_CHECK_MODULES([AVUTIL], [libavutil])
|
|
PKG_CHECK_MODULES([SWSCALE], [libswscale])
|
|
PKG_CHECK_MODULES([SWRESAMPLE], [libswresample])
|
|
fi
|
|
AC_OUTPUT([
|
|
Makefile
|
|
common/Makefile
|
|
libeplayer3/Makefile
|
|
azbox/Makefile
|
|
generic-pc/Makefile
|
|
libtriple/Makefile
|
|
libspark/Makefile
|
|
tools/Makefile
|
|
])
|
|
|