gst_plugins_good/gst/autodetect/gstautoaudiosink.h
changeset 0 0e761a78d257
equal deleted inserted replaced
-1:000000000000 0:0e761a78d257
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 /* GStreamer
       
    18  * (c) 2005 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
       
    19  *
       
    20  * This library is free software; you can redistribute it and/or
       
    21  * modify it under the terms of the GNU Library General Public
       
    22  * License as published by the Free Software Foundation; either
       
    23  * version 2 of the License, or (at your option) any later version.
       
    24  *
       
    25  * This library is distributed in the hope that it will be useful,
       
    26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    28  * Library General Public License for more details.
       
    29  *
       
    30  * You should have received a copy of the GNU Library General Public
       
    31  * License along with this library; if not, write to the
       
    32  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    33  * Boston, MA 02111-1307, USA.
       
    34  */
       
    35 
       
    36 #ifndef __GST_AUTO_AUDIO_SINK_H__
       
    37 #define __GST_AUTO_AUDIO_SINK_H__
       
    38 
       
    39 #include <gst/gst.h>
       
    40 
       
    41 G_BEGIN_DECLS
       
    42 
       
    43 #define GST_TYPE_AUTO_AUDIO_SINK \
       
    44   (gst_auto_audio_sink_get_type ())
       
    45 #define GST_AUTO_AUDIO_SINK(obj) \
       
    46   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_AUTO_AUDIO_SINK, \
       
    47                                GstAutoAudioSink))
       
    48 #define GST_AUTO_AUDIO_SINK_CLASS(klass) \
       
    49   (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_AUTO_AUDIO_SINK, \
       
    50                             GstAutoAudioSinkClass))
       
    51 #define GST_IS_AUTO_AUDIO_SINK(obj) \
       
    52   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_AUTO_AUDIO_SINK))
       
    53 #define GST_IS_AUTO_AUDIO_SINK_CLASS(klass) \
       
    54   (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_AUTO_AUDIO_SINK))
       
    55 
       
    56 typedef struct _GstAutoAudioSink {
       
    57   GstBin parent;
       
    58 
       
    59   /* explicit pointers to stuff used */
       
    60   GstPad *pad;
       
    61   GstElement *kid;
       
    62   GstCaps *filter_caps;
       
    63 } GstAutoAudioSink;
       
    64 
       
    65 typedef struct _GstAutoAudioSinkClass {
       
    66   GstBinClass parent_class;
       
    67 } GstAutoAudioSinkClass;
       
    68 #ifdef __SYMBIAN32__
       
    69 IMPORT_C
       
    70 #endif
       
    71 
       
    72 
       
    73 GType   gst_auto_audio_sink_get_type    (void);
       
    74 
       
    75 G_END_DECLS
       
    76 
       
    77 #endif /* __GST_AUTO_AUDIO_SINK_H__ */