gst_plugins_good/gst/autodetect/gstautoaudiosrc.h
changeset 27 d43ce56a1534
parent 23 29ecd5cb86b3
child 31 aec498aab1d3
equal deleted inserted replaced
23:29ecd5cb86b3 27:d43ce56a1534
     1 /* GStreamer
       
     2  * (c) 2005 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
       
     3  * (c) 2008 Stefan Kost <ensonic@users.sf.net>
       
     4  *
       
     5  * This library is free software; you can redistribute it and/or
       
     6  * modify it under the terms of the GNU Library General Public
       
     7  * License as published by the Free Software Foundation; either
       
     8  * version 2 of the License, or (at your option) any later version.
       
     9  *
       
    10  * This library is distributed in the hope that it will be useful,
       
    11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    13  * Library General Public License for more details.
       
    14  *
       
    15  * You should have received a copy of the GNU Library General Public
       
    16  * License along with this library; if not, write to the
       
    17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    18  * Boston, MA 02111-1307, USA.
       
    19  */
       
    20 
       
    21 #ifndef __GST_AUTO_AUDIO_SRC_H__
       
    22 #define __GST_AUTO_AUDIO_SRC_H__
       
    23 
       
    24 #include <gst/gst.h>
       
    25 
       
    26 G_BEGIN_DECLS
       
    27 
       
    28 #define GST_TYPE_AUTO_AUDIO_SRC \
       
    29   (gst_auto_audio_src_get_type ())
       
    30 #define GST_AUTO_AUDIO_SRC(obj) \
       
    31   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_AUTO_AUDIO_SRC, \
       
    32                                GstAutoAudioSrc))
       
    33 #define GST_AUTO_AUDIO_SRC_CLASS(klass) \
       
    34   (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_AUTO_AUDIO_SRC, \
       
    35                             GstAutoAudioSrcClass))
       
    36 #define GST_IS_AUTO_AUDIO_SRC(obj) \
       
    37   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_AUTO_AUDIO_SRC))
       
    38 #define GST_IS_AUTO_AUDIO_SRC_CLASS(klass) \
       
    39   (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_AUTO_AUDIO_SRC))
       
    40 
       
    41 typedef struct _GstAutoAudioSrc {
       
    42   GstBin parent;
       
    43 
       
    44   /* explicit pointers to stuff used */
       
    45   GstPad *pad;
       
    46   GstElement *kid;
       
    47   GstCaps *filter_caps;
       
    48 } GstAutoAudioSrc;
       
    49 
       
    50 typedef struct _GstAutoAudioSrcClass {
       
    51   GstBinClass parent_class;
       
    52 } GstAutoAudioSrcClass;
       
    53 
       
    54 #ifdef __SYMBIAN32__
       
    55 IMPORT_C
       
    56 #endif
       
    57 GType   gst_auto_audio_src_get_type    (void);
       
    58 
       
    59 G_END_DECLS
       
    60 
       
    61 #endif /* __GST_AUTO_AUDIO_SRC_H__ */