Commit 6bab7c93 authored by David Schleef's avatar David Schleef

configure.ac: Move massink to gst-rotten

Original commit message from CVS:
* configure.ac:  Move massink to gst-rotten
* ext/Makefile.am:
* ext/mas/Makefile.am:
* ext/mas/massink.c:
* ext/mas/massink.h:
parent 18a480ef
2004-02-18 David Schleef <ds@schleef.org>
* configure.ac: Move massink to gst-rotten
* ext/Makefile.am:
* ext/mas/Makefile.am:
* ext/mas/massink.c:
* ext/mas/massink.h:
2004-02-18 David Schleef <ds@schleef.org>
* ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): Disable gdk_pixbuf
......
......@@ -811,15 +811,6 @@ GST_CHECK_FEATURE(DVDNAV, [dvdnav library], dvdnavsrc, [
AS_SCRUB_INCLUDE(DVDNAV_CFLAGS)
])
dnl *** MAS ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MAS, true)
GST_CHECK_FEATURE(MAS, [mas library], massink, [
translit(dnm, m, l) AC_SUBST(MAS_LIBS)
translit(dnm, m, l) AC_SUBST(MAS_CFLAGS)
GST_CHECK_CONFIGPROG(MAS, mas-config)
AS_SCRUB_INCLUDE(MAS_CFLAGS)
])
dnl **** ESound ****
translit(dnm, m, l) AM_CONDITIONAL(USE_ESD, true)
GST_CHECK_FEATURE(ESD, [esound plug-ins], esdsink esdmon, [
......@@ -1652,7 +1643,6 @@ ext/libfame/Makefile
ext/libpng/Makefile
ext/librfb/Makefile
ext/mad/Makefile
ext/mas/Makefile
ext/mikmod/Makefile
ext/mpeg2dec/Makefile
ext/mpeg2enc/Makefile
......
......@@ -64,12 +64,6 @@ else
ESD_DIR=
endif
if USE_MAS
MAS_DIR=mas
else
MAS_DIR=
endif
if USE_FAAC
FAAC_DIR=faac
else
......@@ -347,7 +341,6 @@ SUBDIRS=\
$(LIBPNG_DIR) \
$(LIBRFB_DIR) \
$(MAD_DIR) \
$(MAS_DIR) \
$(MIKMOD_DIR) \
$(MPEG2DEC_DIR) \
$(MPEG2ENC_DIR) \
......@@ -401,7 +394,6 @@ DIST_SUBDIRS=\
libpng \
librfb \
mad \
mas \
mikmod \
mpeg2dec \
mpeg2enc \
......
plugin_LTLIBRARIES = libgstmassink.la
libgstmassink_la_SOURCES = massink.c
libgstmassink_la_CFLAGS = $(GST_CFLAGS) $(MAS_CFLAGS)
libgstmassink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(MAS_LIBS)
noinst_HEADERS = massink.h
This diff is collapsed.
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_MASSINK_H__
#define __GST_MASSINK_H__
#include <gst/gst.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mas/mas.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GST_TYPE_MASSINK \
(gst_massink_get_type())
#define GST_MASSINK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MASSINK,GstMassink))
#define GST_MASSINK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MASSINK,GstMassink))
#define GST_IS_MASSINK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MASSINK))
#define GST_IS_MASSINK_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MASSINK))
typedef enum {
GST_MASSINK_OPEN = GST_ELEMENT_FLAG_LAST,
GST_MASSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstMasSinkFlags;
typedef struct _GstMassink GstMassink;
typedef struct _GstMassinkClass GstMassinkClass;
struct _GstMassink {
GstElement element;
GstPad *sinkpad;
gboolean mute;
gint format;
gint depth;
gint channels;
gint frequency;
gchar *host;
mas_channel_t audio_channel;
mas_port_t mix_sink;
mas_port_t srate_source, srate_sink;
mas_port_t audio_source, audio_sink;
mas_port_t endian_sink, endian_source;
mas_port_t squant_sink, squant_source;
mas_port_t open_source; /* (!) */
mas_device_t endian;
mas_device_t srate;
mas_device_t squant;
struct mas_data *data;
GstClock *clock;
};
struct _GstMassinkClass {
GstElementClass parent_class;
};
GType gst_massink_get_type(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GST_MASSINK_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment