summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-28 10:36:12 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-28 10:36:12 +0000
commit69d7980fe049396c7f44bf5cddd4df16ed904794 (patch)
treeac0c087b69258f20b32ea4e04501cea73d5bd4f6 /configure.ac
parentfba71c0906853090be4621b87fbfa4d44aa1164b (diff)
downloadgst-plugins-bad-69d7980fe049396c7f44bf5cddd4df16ed904794.tar.gz
gst-plugins-bad-69d7980fe049396c7f44bf5cddd4df16ed904794.tar.bz2
gst-plugins-bad-69d7980fe049396c7f44bf5cddd4df16ed904794.zip
Add support for AMR-NB (mobile phone audio format; #155163, #163286).
Original commit message from CVS: * configure.ac: * ext/Makefile.am: * ext/amrnb/Makefile.am: * ext/amrnb/amrnb.c: (plugin_init): * ext/amrnb/amrnbdec.c: (gst_amrnbdec_get_type), (gst_amrnbdec_base_init), (gst_amrnbdec_class_init), (gst_amrnbdec_init), (gst_amrnbdec_link), (gst_amrnbdec_chain), (gst_amrnbdec_state_change): * ext/amrnb/amrnbdec.h: * ext/amrnb/amrnbparse.c: (gst_amrnbparse_get_type), (gst_amrnbparse_base_init), (gst_amrnbparse_class_init), (gst_amrnbparse_init), (gst_amrnbparse_formats), (gst_amrnbparse_querytypes), (gst_amrnbparse_query), (gst_amrnbparse_handle_event), (gst_amrnbparse_reserve), (gst_amrnbparse_loop), (gst_amrnbparse_state_change): * ext/amrnb/amrnbparse.h: Add support for AMR-NB (mobile phone audio format; #155163, #163286). * gst/typefind/gsttypefindfunctions.c: (plugin_init): Add AMR-NB/-WB raw formats. * ext/alsa/gstalsa.c: (gst_alsa_link): Keep valid time when changing format. * gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header), (qtdemux_parse_trak): Add some more format-specific options (#140141, #143555, #155163).
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4fa04b0a..c6e16470 100644
--- a/configure.ac
+++ b/configure.ac
@@ -778,6 +778,16 @@ GST_CHECK_FEATURE(ALSA, [alsa plug-ins], gstalsa, [
])
])
+dnl *** AMR-NB ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_AMRNB, true)
+GST_CHECK_FEATURE(AMRNB, [AMR-NB], amrnbdec amrnbenc, [
+ GST_CHECK_LIBHEADER(AMRNB, amrnb,
+ Decoder_Interface_init, -lm,
+ amrnb/interf_dec.h,
+ AMRNB_LIBS="-lamrnb -lm"
+ AC_SUBST(AMRNB_LIBS))
+])
+
dnl *** arts ***
dnl if mcopidl can't be found there's no use in compiling it
AC_CHECK_PROG(MCOPIDL, mcopidl, yes, no)
@@ -2021,6 +2031,7 @@ ext/Makefile
ext/a52dec/Makefile
ext/aalib/Makefile
ext/alsa/Makefile
+ext/amrnb/Makefile
ext/arts/Makefile
ext/artsd/Makefile
ext/audiofile/Makefile