gst_plugins_symbian/gst/amrmux/gstamrmux.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     1 /*
       
     2  *  Copyright © 2010 Nokia Corporation.
       
     3  *  This material, including documentation and any related
       
     4  *  computer progrs, is protected by copyright controlled by
       
     5  *  Nokia Corporation. All rights are reserved. Copying,
       
     6  *  including reproducing, storing, adapting or translating, any
       
     7  *  or all of this material requires the prior written consent of
       
     8  *  Nokia Corporation. This material also contains confidential
       
     9  *  information which may not be disclosed to others without the
       
    10  *  prior written consent of Nokia Corporation.
       
    11  * ============================================================================
       
    12  */
       
    13 
       
    14 
       
    15 #ifndef __GST_AMRMUX_H__
       
    16 #define __GST_AMRMUX_H__
       
    17 
       
    18 
       
    19 #include <gst/gst.h>
       
    20 #include <gst/gst_global.h>
       
    21 
       
    22 
       
    23 G_BEGIN_DECLS
       
    24 
       
    25 #define GST_TYPE_AMRMUX \
       
    26   (gst_amrmux_get_type())
       
    27 #define GST_AMRMUX(obj) \
       
    28   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AMRMUX,GstAmrMux))
       
    29 #define GST_AMRMUX_CLASS(klass) \
       
    30   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AMRMUX,GstAmrMuxClass))
       
    31 #define GST_IS_AMRMUX(obj) \
       
    32   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AMRMUX))
       
    33 #define GST_IS_AMRMUX_CLASS(klass) \
       
    34   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AMRMUX))
       
    35 
       
    36 
       
    37 typedef struct _GstAmrMux GstAmrMux;
       
    38 typedef struct _GstAmrMuxClass GstAmrMuxClass;
       
    39 
       
    40 /**
       
    41  * GstAmrMux:
       
    42  *
       
    43  * 
       
    44  */
       
    45 struct _GstAmrMux {
       
    46   GstElement parent;
       
    47 
       
    48   /* pads */
       
    49   GstPad *sinkpad,*srcpad;
       
    50     
       
    51   /* Flag to decide whether to write amr header or not */
       
    52   gboolean writeheader;  
       
    53 };
       
    54 
       
    55 struct _GstAmrMuxClass {
       
    56   GstElementClass parent_class;
       
    57 };
       
    58 
       
    59 GType gst_amrmux_get_type(void);
       
    60 
       
    61 G_END_DECLS
       
    62 
       
    63 #endif /* __GST_AMRMUX_H__ */