gst_plugins_symbian/gst/AudioRecordBin/inc/gstfactorylists.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     1  /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
       
     3 *
       
     4 * This library is free software; you can redistribute it and/or
       
     5 * modify it under the terms of the GNU Lesser General Public
       
     6 * License as published by the Free Software Foundation; either
       
     7 * version 2 of the License, or (at your option) any later version.
       
     8 *
       
     9 * This library is distributed in the hope that it will be useful,
       
    10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    12 * Lesser General Public License for more details.
       
    13 *
       
    14 * You should have received a copy of the GNU Lesser General Public
       
    15 * License along with this library; if not, write to the
       
    16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    17 * Boston, MA 02111-1307, USA.
       
    18 *
       
    19 * Description:
       
    20 *
       
    21 */
       
    22  
       
    23 
       
    24  #ifndef __GST_FACTORY_LISTS_H__
       
    25  #define __GST_FACTORY_LISTS_H__
       
    26  
       
    27 #include <gst/gst.h>
       
    28  
       
    29 G_BEGIN_DECLS
       
    30  
       
    31 typedef enum {
       
    32 	
       
    33 	  GST_FACTORY_LIST_DECODER = (1 << 0),
       
    34    GST_FACTORY_LIST_ENCODER = (1 << 1),
       
    35    GST_FACTORY_LIST_SINK    = (1 << 2),
       
    36   GST_FACTORY_LIST_SRC     = (1 << 3),
       
    37    GST_FACTORY_LIST_MUXER   = (1 << 4)
       
    38  } GstFactoryListType;
       
    39  
       
    40  gboolean      gst_factory_list_is_type      (GstElementFactory *factory, GstFactoryListType type);
       
    41  GValueArray * gst_factory_list_get_elements (GstFactoryListType type);
       
    42  
       
    43  void          gst_factory_list_debug        (GValueArray *array);
       
    44  
       
    45  GValueArray * gst_factory_list_filter       (GValueArray *array, const GstCaps *caps, GstPadDirection direction);
       
    46  
       
    47  G_END_DECLS
       
    48  
       
    49  #endif /* __GST_FACTORY_LISTS_H__ */