gst_plugins_symbian/gst/devsound/gstdevsoundsrc.h
branchRCL_3
changeset 29 567bb019e3e3
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
6:9b2c3c7a1a9c 29:567bb019e3e3
    52 gboolean  rightbalanceupdate;
    52 gboolean  rightbalanceupdate;
    53 gboolean  preferenceupdate;
    53 gboolean  preferenceupdate;
    54 gboolean  priorityupdate;
    54 gboolean  priorityupdate;
    55 };
    55 };
    56 
    56 
       
    57 typedef enum
       
    58 {
       
    59     kUnInitialized = -1,
       
    60     kPausedToPlaying,
       
    61     kPlayBufferPreRoll,
       
    62     kPlayed
       
    63 } ;
    57 struct _GstDevsoundSrc {
    64 struct _GstDevsoundSrc {
    58     GstPushSrc    src;
    65     GstPushSrc    src;
    59 
    66 
    60   void *handle;	
    67   void *handle;	
    61   gchar *device;
    68   gchar *device;
    75   gint   leftbalance;
    82   gint   leftbalance;
    76   gint   rightbalance;
    83   gint   rightbalance;
    77   gint   samplesrecorded; 
    84   gint   samplesrecorded; 
    78   GList*  fmt;
    85   GList*  fmt;
    79   GList*  supportedbitrates;
    86   GList*  supportedbitrates;
       
    87   gboolean eosreceived;
    80   
    88   
    81   guint speechbitrate;
    89   guint speechbitrate;
    82   gboolean speechvadmode;
    90   gboolean speechvadmode;
    83   gint g711encodemode;
    91   gint g711encodemode;
    84   gboolean g711vadmode;
    92   gboolean g711vadmode;
    85   gboolean g729vadmode;
    93   gboolean g729vadmode;
    86   gint ilbcencodemode;
    94   gint ilbcencodemode;
    87   gboolean ilbcvadmode;
    95   gboolean ilbcvadmode;
    88 
    96   gint firstTimeInit;
       
    97   guint prevbuffersize;
    89   
    98   
    90 };
    99 };
    91 
   100 
    92 struct _GstDevsoundSrcClass {
   101 struct _GstDevsoundSrcClass {
    93 GstPushSrcClass parent_class;
   102 GstPushSrcClass parent_class;