From bda3b5839ae2c899afb4719a4dab4b62a7c7f8dd Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Sat, 6 Jan 2007 10:41:46 +0000 Subject: gst/real/: Added RealAudio wrapper elementfactory. Original commit message from CVS: Patch by: Lutz Mueller * gst/real/Makefile.am: * gst/real/gstreal.c: (plugin_init): * gst/real/gstrealaudiodec.c: (gst_real_audio_dec_chain), (gst_real_audio_dec_setcaps), (gst_real_audio_dec_init), (gst_real_audio_dec_base_init), (gst_real_audio_dec_change_state), (gst_real_audio_dec_finalize), (gst_real_audio_dec_set_property), (gst_real_audio_dec_get_property), (gst_real_audio_dec_class_init): * gst/real/gstrealaudiodec.h: Added RealAudio wrapper elementfactory. Modified structures so it can also work on x86_64 using the adequate .so . --- gst/real/gstrealaudiodec.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 gst/real/gstrealaudiodec.h (limited to 'gst/real/gstrealaudiodec.h') diff --git a/gst/real/gstrealaudiodec.h b/gst/real/gstrealaudiodec.h new file mode 100644 index 00000000..517b077f --- /dev/null +++ b/gst/real/gstrealaudiodec.h @@ -0,0 +1,40 @@ +/* GStreamer + * + * Copyright (C) 2006 Lutz Mueller + * + * 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_REAL_AUDIO_DEC_H__ +#define __GST_REAL_AUDIO_DEC_H__ + +#include +#include + +G_BEGIN_DECLS + +#define GST_TYPE_REAL_AUDIO_DEC (gst_real_audio_dec_get_type()) +#define GST_REAL_AUDIO_DEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDec)) +#define GST_REAL_AUDIO_DEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REAL_AUDIO_DEC,GstRealAudioDecClass)) + +typedef struct _GstRealAudioDec GstRealAudioDec; +typedef struct _GstRealAudioDecClass GstRealAudioDecClass; + +GType gst_real_audio_dec_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __GST_REAL_AUDIO_DEC_H__ */ -- cgit v1.2.1