Surround sound support.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_loop), (plugin_init):
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_channels),
(gst_dtsdec_renegotiate), (gst_dtsdec_loop), (plugin_init):
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_sinkconnect),
(gst_faad_srcgetcaps), (gst_faad_srcconnect), (gst_faad_chain),
(gst_faad_change_state), (plugin_init):
* ext/faad/gstfaad.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c: (plugin_init):
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c: (main):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_getcaps),
(gst_audio_convert_parse_caps), (gst_audio_convert_link),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/audioconvert/plugin.c: (plugin_init):
Surround sound support.
2004-11-25 20:36:29 +00:00
|
|
|
# variables used for enum/marshal generation
|
2008-12-31 11:20:26 +00:00
|
|
|
glib_enum_headers= \
|
2011-12-16 09:55:13 +00:00
|
|
|
audio.h \
|
2012-06-08 08:10:08 +00:00
|
|
|
audio-format.h \
|
|
|
|
audio-channels.h \
|
|
|
|
audio-info.h \
|
2011-11-11 10:33:15 +00:00
|
|
|
gstaudioringbuffer.h
|
2008-12-31 11:20:26 +00:00
|
|
|
|
2009-10-16 07:18:45 +00:00
|
|
|
glib_enum_define = GST_AUDIO
|
2009-10-16 07:56:56 +00:00
|
|
|
glib_gen_prefix = gst_audio
|
2009-10-16 07:18:45 +00:00
|
|
|
glib_gen_basename = audio
|
Surround sound support.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_loop), (plugin_init):
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_channels),
(gst_dtsdec_renegotiate), (gst_dtsdec_loop), (plugin_init):
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_sinkconnect),
(gst_faad_srcgetcaps), (gst_faad_srcconnect), (gst_faad_chain),
(gst_faad_change_state), (plugin_init):
* ext/faad/gstfaad.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c: (plugin_init):
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c: (main):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_getcaps),
(gst_audio_convert_parse_caps), (gst_audio_convert_link),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/audioconvert/plugin.c: (plugin_init):
Surround sound support.
2004-11-25 20:36:29 +00:00
|
|
|
|
2011-11-30 06:57:02 +00:00
|
|
|
built_sources = audio-enumtypes.c audio-marshal.c
|
|
|
|
built_headers = audio-enumtypes.h audio-marshal.h
|
Surround sound support.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_loop), (plugin_init):
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_channels),
(gst_dtsdec_renegotiate), (gst_dtsdec_loop), (plugin_init):
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_sinkconnect),
(gst_faad_srcgetcaps), (gst_faad_srcconnect), (gst_faad_chain),
(gst_faad_change_state), (plugin_init):
* ext/faad/gstfaad.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c: (plugin_init):
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c: (main):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_getcaps),
(gst_audio_convert_parse_caps), (gst_audio_convert_link),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/audioconvert/plugin.c: (plugin_init):
Surround sound support.
2004-11-25 20:36:29 +00:00
|
|
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
|
|
|
|
2005-10-16 13:54:44 +00:00
|
|
|
lib_LTLIBRARIES = \
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstaudio-@GST_API_VERSION@.la
|
2001-12-22 23:43:34 +00:00
|
|
|
|
2011-11-30 10:33:41 +00:00
|
|
|
EXTRA_DIST = audio-marshal.list
|
|
|
|
|
2008-08-11 14:51:58 +00:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2004-01-16 00:55:29 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstaudio_@GST_API_VERSION@_la_SOURCES = \
|
2006-01-09 09:38:34 +00:00
|
|
|
audio.c \
|
2012-06-08 08:10:08 +00:00
|
|
|
audio-format.c \
|
|
|
|
audio-channels.c \
|
|
|
|
audio-info.c \
|
2011-11-11 10:33:15 +00:00
|
|
|
gstaudioringbuffer.c \
|
2006-01-09 09:38:34 +00:00
|
|
|
gstaudioclock.c \
|
2011-09-24 18:22:11 +00:00
|
|
|
gstaudiocdsrc.c \
|
2011-09-05 14:01:09 +00:00
|
|
|
gstaudiodecoder.c \
|
|
|
|
gstaudioencoder.c \
|
2011-11-11 11:00:52 +00:00
|
|
|
gstaudiobasesink.c \
|
|
|
|
gstaudiobasesrc.c \
|
2009-09-05 11:08:19 +00:00
|
|
|
gstaudiofilter.c \
|
2011-12-20 11:02:25 +00:00
|
|
|
gstaudiometa.c \
|
2009-09-05 11:08:19 +00:00
|
|
|
gstaudiosink.c \
|
2011-03-07 15:19:16 +00:00
|
|
|
gstaudiosrc.c \
|
2011-11-30 06:57:02 +00:00
|
|
|
streamvolume.c \
|
2011-03-07 15:19:16 +00:00
|
|
|
gstaudioiec61937.c
|
2011-11-30 06:57:02 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES = $(built_sources) $(built_headers)
|
2001-12-22 23:43:34 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstaudio_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/audio
|
|
|
|
libgstaudio_@GST_API_VERSION@include_HEADERS = \
|
Surround sound support.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_loop), (plugin_init):
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_channels),
(gst_dtsdec_renegotiate), (gst_dtsdec_loop), (plugin_init):
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_sinkconnect),
(gst_faad_srcgetcaps), (gst_faad_srcconnect), (gst_faad_chain),
(gst_faad_change_state), (plugin_init):
* ext/faad/gstfaad.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c: (plugin_init):
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c: (main):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_getcaps),
(gst_audio_convert_parse_caps), (gst_audio_convert_link),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/audioconvert/plugin.c: (plugin_init):
Surround sound support.
2004-11-25 20:36:29 +00:00
|
|
|
audio.h \
|
2012-06-08 08:10:08 +00:00
|
|
|
audio-format.h \
|
|
|
|
audio-channels.h \
|
|
|
|
audio-info.h \
|
2011-11-11 10:33:15 +00:00
|
|
|
gstaudioringbuffer.h \
|
2005-04-28 16:15:42 +00:00
|
|
|
gstaudioclock.h \
|
Surround sound support.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels), (gst_a52dec_push),
(gst_a52dec_reneg), (gst_a52dec_loop), (plugin_init):
* ext/alsa/gstalsa.c: (gst_alsa_get_caps):
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/dts/gstdtsdec.c: (gst_dtsdec_channels),
(gst_dtsdec_renegotiate), (gst_dtsdec_loop), (plugin_init):
* ext/faad/gstfaad.c: (gst_faad_init), (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_sinkconnect),
(gst_faad_srcgetcaps), (gst_faad_srcconnect), (gst_faad_chain),
(gst_faad_change_state), (plugin_init):
* ext/faad/gstfaad.h:
* ext/vorbis/vorbis.c: (plugin_init):
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
* gst-libs/gst/audio/Makefile.am:
* gst-libs/gst/audio/audio.c: (plugin_init):
* gst-libs/gst/audio/multichannel.c:
(gst_audio_check_channel_positions),
(gst_audio_get_channel_positions),
(gst_audio_set_channel_positions),
(gst_audio_set_structure_channel_positions_list),
(add_list_to_struct), (gst_audio_set_caps_channel_positions_list),
(gst_audio_fixate_channel_positions):
* gst-libs/gst/audio/multichannel.h:
* gst-libs/gst/audio/testchannels.c: (main):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init), (gst_audio_convert_init),
(gst_audio_convert_dispose), (gst_audio_convert_getcaps),
(gst_audio_convert_parse_caps), (gst_audio_convert_link),
(gst_audio_convert_fixate), (gst_audio_convert_channels):
* gst/audioconvert/plugin.c: (plugin_init):
Surround sound support.
2004-11-25 20:36:29 +00:00
|
|
|
gstaudiofilter.h \
|
2011-09-24 18:22:11 +00:00
|
|
|
gstaudiocdsrc.h \
|
2011-09-05 14:01:09 +00:00
|
|
|
gstaudiodecoder.h \
|
|
|
|
gstaudioencoder.h \
|
2011-11-11 11:00:52 +00:00
|
|
|
gstaudiobasesink.h \
|
|
|
|
gstaudiobasesrc.h \
|
2011-12-20 11:02:25 +00:00
|
|
|
gstaudiometa.h \
|
2009-09-05 11:08:19 +00:00
|
|
|
gstaudiosink.h \
|
|
|
|
gstaudiosrc.h \
|
2011-11-30 06:57:02 +00:00
|
|
|
streamvolume.h \
|
2011-03-07 15:19:16 +00:00
|
|
|
gstaudioiec61937.h
|
2005-07-13 19:28:39 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
nodist_libgstaudio_@GST_API_VERSION@include_HEADERS = \
|
2008-12-31 11:20:26 +00:00
|
|
|
audio-enumtypes.h
|
2001-12-22 23:43:34 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstaudio_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
|
|
libgstaudio_@GST_API_VERSION@_la_LIBADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
|
2012-02-27 14:06:36 +00:00
|
|
|
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstaudio_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2003-12-22 01:47:09 +00:00
|
|
|
|
2009-10-16 07:18:45 +00:00
|
|
|
include $(top_srcdir)/common/gst-glib-gen.mak
|
2009-09-05 08:50:48 +00:00
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
2012-04-04 12:20:13 +00:00
|
|
|
BUILT_GIRSOURCES = GstAudio-@GST_API_VERSION@.gir
|
2009-09-05 08:50:48 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstaudio_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES))
|
|
|
|
gir_cincludes=$(patsubst %,--c-include='gst/audio/%',$(libgstaudio_@GST_API_VERSION@include_HEADERS))
|
|
|
|
gir_cincludes+=$(patsubst %,--c-include='gst/audio/%',$(nodist_libgstaudio_@GST_API_VERSION@include_HEADERS))
|
2009-09-05 08:50:48 +00:00
|
|
|
|
2012-04-04 12:20:13 +00:00
|
|
|
GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VERSION@.la
|
2010-08-14 18:02:44 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
2011-04-16 10:00:31 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
|
2009-09-12 12:01:20 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstAudio \
|
2012-04-04 12:20:13 +00:00
|
|
|
--nsversion=@GST_API_VERSION@ \
|
2011-08-18 17:15:03 +00:00
|
|
|
--warn-all \
|
2009-09-05 10:31:47 +00:00
|
|
|
--strip-prefix=Gst \
|
2009-09-05 11:46:58 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
2009-09-05 08:50:48 +00:00
|
|
|
$(gir_cincludes) \
|
2012-05-05 22:26:20 +00:00
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
|
|
|
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
2012-04-02 06:59:58 +00:00
|
|
|
--library=$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
|
2012-04-04 12:20:13 +00:00
|
|
|
--library=libgstaudio-@GST_API_VERSION@.la \
|
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
|
|
|
--include=GstBase-@GST_API_VERSION@ \
|
2009-09-05 08:50:48 +00:00
|
|
|
--libtool="$(top_builddir)/libtool" \
|
2012-04-04 12:20:13 +00:00
|
|
|
--pkg gstreamer-@GST_API_VERSION@ \
|
|
|
|
--pkg gstreamer-base-@GST_API_VERSION@ \
|
|
|
|
--pkg-export gstreamer-audio-@GST_API_VERSION@ \
|
2011-03-09 11:51:14 +00:00
|
|
|
--add-init-section="gst_init(NULL,NULL);" \
|
2009-09-05 08:50:48 +00:00
|
|
|
--output $@ \
|
|
|
|
$(gir_headers) \
|
|
|
|
$(gir_sources)
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
|
|
|
|
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2011-01-08 02:10:03 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_COMPILER) \
|
2010-03-30 18:56:56 +00:00
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=$(builddir) \
|
2012-05-05 22:26:20 +00:00
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
|
|
|
|
--includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
|
2010-03-30 18:56:56 +00:00
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 08:50:48 +00:00
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|
2011-01-27 16:28:51 +00:00
|
|
|
|
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
2012-04-04 12:20:13 +00:00
|
|
|
androgenizer -:PROJECT libgstaudio -:SHARED libgstaudio-@GST_API_VERSION@ \
|
2011-01-27 16:28:51 +00:00
|
|
|
-:TAGS eng debug \
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
2012-04-04 12:20:13 +00:00
|
|
|
-:SOURCES $(libgstaudio_@GST_API_VERSION@_la_SOURCES) \
|
|
|
|
$(nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstaudio_@GST_API_VERSION@_la_CFLAGS) \
|
|
|
|
-:LDFLAGS $(libgstaudio_@GST_API_VERSION@_la_LDFLAGS) \
|
|
|
|
$(libgstaudio_@GST_API_VERSION@_la_LIBADD) \
|
2011-01-27 16:28:51 +00:00
|
|
|
-ldl \
|
2012-04-04 12:20:13 +00:00
|
|
|
-:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/tag \
|
|
|
|
-:HEADERS $(libgstaudio_@GST_API_VERSION@include_HEADERS) \
|
|
|
|
$(nodist_libgstaudio_@GST_API_VERSION@include_HEADERS) \
|
2011-01-27 16:28:51 +00:00
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
> $@
|