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 \
|
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 = \
|
2005-11-29 01:25:31 +00:00
|
|
|
libgstaudio-@GST_MAJORMINOR@.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
|
|
|
|
2011-09-05 14:01:09 +00:00
|
|
|
# FIXME 0.11: rename GstBaseAudioSink to GstAudioBaseSink or merge with GstAudioSink
|
2006-01-09 09:38:34 +00:00
|
|
|
libgstaudio_@GST_MAJORMINOR@_la_SOURCES = \
|
|
|
|
audio.c \
|
2011-11-11 10:33:15 +00:00
|
|
|
gstaudioringbuffer.c \
|
2006-01-09 09:38:34 +00:00
|
|
|
gstaudioclock.c \
|
2011-11-30 06:57:02 +00:00
|
|
|
mixer.c \
|
|
|
|
mixeroptions.c \
|
|
|
|
mixertrack.c \
|
2006-01-09 09:38:34 +00:00
|
|
|
mixerutils.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
|
|
|
|
2005-04-25 07:06:09 +00:00
|
|
|
nodist_libgstaudio_@GST_MAJORMINOR@_la_SOURCES = $(built_sources) $(built_headers)
|
2001-12-22 23:43:34 +00:00
|
|
|
|
2005-04-25 00:23:06 +00:00
|
|
|
libgstaudio_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/audio
|
|
|
|
libgstaudio_@GST_MAJORMINOR@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 \
|
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
|
|
|
mixer.h \
|
|
|
|
mixeroptions.h \
|
|
|
|
mixertrack.h \
|
2006-01-09 09:38:34 +00:00
|
|
|
mixerutils.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
|
|
|
|
|
|
|
nodist_libgstaudio_@GST_MAJORMINOR@include_HEADERS = \
|
2008-12-31 11:20:26 +00:00
|
|
|
audio-enumtypes.h
|
2001-12-22 23:43:34 +00:00
|
|
|
|
2010-03-19 01:00:36 +00:00
|
|
|
libgstaudio_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
2011-11-07 17:36:44 +00:00
|
|
|
libgstaudio_@GST_MAJORMINOR@_la_LIBADD = \
|
2011-09-24 18:22:11 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
|
2011-11-07 17:36:44 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
|
|
|
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
2005-11-27 16:18:50 +00:00
|
|
|
libgstaudio_@GST_MAJORMINOR@_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
|
|
|
|
BUILT_GIRSOURCES = GstAudio-@GST_MAJORMINOR@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_MAJORMINOR@include_HEADERS))
|
2009-09-05 11:46:58 +00:00
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstaudio_@GST_MAJORMINOR@include_HEADERS))
|
2009-09-05 08:50:48 +00:00
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_MAJORMINOR@_la_SOURCES))
|
2009-09-05 11:46:58 +00:00
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstaudio_@GST_MAJORMINOR@_la_SOURCES))
|
2009-09-05 08:50:48 +00:00
|
|
|
gir_cincludes=$(patsubst %,--c-include='gst/audio/%',$(libgstaudio_@GST_MAJORMINOR@include_HEADERS))
|
2009-09-05 09:31:48 +00:00
|
|
|
gir_cincludes+=$(patsubst %,--c-include='gst/audio/%',$(nodist_libgstaudio_@GST_MAJORMINOR@include_HEADERS))
|
2009-09-05 08:50:48 +00:00
|
|
|
|
|
|
|
GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMINOR@.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 \
|
2009-09-05 08:50:48 +00:00
|
|
|
--nsversion=@GST_MAJORMINOR@ \
|
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) \
|
|
|
|
--add-include-path=$(builddir)/../interfaces \
|
2011-03-30 19:57:32 +00:00
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
|
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_MAJORMINOR@` \
|
|
|
|
--library=libgstaudio-@GST_MAJORMINOR@.la \
|
|
|
|
--include=Gst-@GST_MAJORMINOR@ \
|
|
|
|
--include=GstBase-@GST_MAJORMINOR@ \
|
|
|
|
--include=GstInterfaces-@GST_MAJORMINOR@ \
|
2009-09-05 08:50:48 +00:00
|
|
|
--libtool="$(top_builddir)/libtool" \
|
2011-03-30 19:57:32 +00:00
|
|
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
|
|
|
--pkg gstreamer-base-@GST_MAJORMINOR@ \
|
|
|
|
--pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
|
|
|
|
--pkg-export gstreamer-audio-@GST_MAJORMINOR@ \
|
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) \
|
|
|
|
--includedir=$(builddir)/../interfaces \
|
2011-03-30 19:57:32 +00:00
|
|
|
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_MAJORMINOR@` \
|
|
|
|
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
|
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)
|
|
|
|
androgenizer -:PROJECT libgstaudio -:SHARED libgstaudio-@GST_MAJORMINOR@ \
|
|
|
|
-:TAGS eng debug \
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
|
|
|
-:SOURCES $(libgstaudio_@GST_MAJORMINOR@_la_SOURCES) \
|
|
|
|
$(nodist_libgstaudio_@GST_MAJORMINOR@_la_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstaudio_@GST_MAJORMINOR@_la_CFLAGS) \
|
|
|
|
-:LDFLAGS $(libgstaudio_@GST_MAJORMINOR@_la_LDFLAGS) \
|
|
|
|
$(libgstaudio_@GST_MAJORMINOR@_la_LIBADD) \
|
|
|
|
-ldl \
|
|
|
|
-:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/tag \
|
|
|
|
-:HEADERS $(libgstaudio_@GST_MAJORMINOR@include_HEADERS) \
|
|
|
|
$(nodist_libgstaudio_@GST_MAJORMINOR@include_HEADERS) \
|
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
> $@
|