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
|
2012-06-08 15:48:11 +00:00
|
|
|
ORC_SOURCE=gstaudiopack
|
|
|
|
include $(top_srcdir)/common/orc.mak
|
|
|
|
|
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
|
|
|
|
2012-06-08 09:28:22 +00:00
|
|
|
built_sources = audio-enumtypes.c
|
|
|
|
built_headers = audio-enumtypes.h
|
2012-06-08 15:48:11 +00:00
|
|
|
BUILT_SOURCES += $(built_sources) $(built_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
|
|
|
|
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
|
|
|
|
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 \
|
2014-12-16 14:13:40 +00:00
|
|
|
gstaudioutilsprivate.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-06-08 15:52:31 +00:00
|
|
|
nodist_libgstaudio_@GST_API_VERSION@_la_SOURCES = $(BUILT_SOURCES)
|
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 = \
|
2014-12-18 09:57:13 +00:00
|
|
|
audio-enumtypes.h
|
|
|
|
|
|
|
|
noinst_HEADERS = gstaudioutilsprivate.h
|
2001-12-22 23:43:34 +00:00
|
|
|
|
2012-06-08 15:48:11 +00:00
|
|
|
libgstaudio_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
|
|
|
|
$(ORC_CFLAGS)
|
2012-04-04 12:20:13 +00:00
|
|
|
libgstaudio_@GST_API_VERSION@_la_LIBADD = \
|
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_API_VERSION@.la \
|
2012-06-08 15:48:11 +00:00
|
|
|
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBM) $(ORC_LIBS)
|
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))
|
2012-06-23 23:28:40 +00:00
|
|
|
gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers))
|
2012-04-04 12:20:13 +00:00
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstaudio_@GST_API_VERSION@_la_SOURCES))
|
2012-06-23 23:28:40 +00:00
|
|
|
gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources))
|
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
|
2015-03-31 09:21:25 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
|
2013-01-16 10:16:27 +00:00
|
|
|
GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" 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 \
|
2012-12-12 17:13:10 +00:00
|
|
|
--c-include "gst/audio/audio.h" \
|
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-10-28 17:59:27 +00:00
|
|
|
--add-include-path="$(top_builddir)/gst-libs/gst/tag/" \
|
2012-10-29 12:47:05 +00:00
|
|
|
--library=libgstaudio-@GST_API_VERSION@.la \
|
2012-10-28 17:59:27 +00:00
|
|
|
--library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \
|
|
|
|
--library-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=libdir gstreamer-base-@GST_API_VERSION@` \
|
|
|
|
--library-path="$(top_builddir)/gst-libs/gst/tag/" \
|
2012-04-04 12:20:13 +00:00
|
|
|
--include=Gst-@GST_API_VERSION@ \
|
|
|
|
--include=GstBase-@GST_API_VERSION@ \
|
2012-10-28 17:59:27 +00:00
|
|
|
--include=GstTag-@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-10-28 17:59:27 +00:00
|
|
|
--includedir="$(top_builddir)/gst-libs/gst/tag/" \
|
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
|