gst_plugins_base/gst/audiorate/gstaudiorate.c
branchRCL_3
changeset 29 567bb019e3e3
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
6:9b2c3c7a1a9c 29:567bb019e3e3
   135     GstStateChange transition);
   135     GstStateChange transition);
   136 
   136 
   137 static GstElementClass *parent_class = NULL;
   137 static GstElementClass *parent_class = NULL;
   138 
   138 
   139 /*static guint gst_audio_rate_signals[LAST_SIGNAL] = { 0 }; */
   139 /*static guint gst_audio_rate_signals[LAST_SIGNAL] = { 0 }; */
   140 #ifdef __SYMBIAN32__
       
   141 EXPORT_C
       
   142 #endif
       
   143 
   140 
   144 
   141 
   145 static GType
   142 static GType
   146 gst_audio_rate_get_type (void)
   143 gst_audio_rate_get_type (void)
   147 {
   144 {
   190   object_class->set_property = gst_audio_rate_set_property;
   187   object_class->set_property = gst_audio_rate_set_property;
   191   object_class->get_property = gst_audio_rate_get_property;
   188   object_class->get_property = gst_audio_rate_get_property;
   192 
   189 
   193   g_object_class_install_property (object_class, ARG_IN,
   190   g_object_class_install_property (object_class, ARG_IN,
   194       g_param_spec_uint64 ("in", "In",
   191       g_param_spec_uint64 ("in", "In",
   195           "Number of input samples", 0, G_MAXUINT64, 0, G_PARAM_READABLE));
   192           "Number of input samples", 0, G_MAXUINT64, 0,
       
   193           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   196   g_object_class_install_property (object_class, ARG_OUT,
   194   g_object_class_install_property (object_class, ARG_OUT,
   197       g_param_spec_uint64 ("out", "Out",
   195       g_param_spec_uint64 ("out", "Out", "Number of output samples", 0,
   198           "Number of output samples", 0, G_MAXUINT64, 0, G_PARAM_READABLE));
   196           G_MAXUINT64, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   199   g_object_class_install_property (object_class, ARG_ADD,
   197   g_object_class_install_property (object_class, ARG_ADD,
   200       g_param_spec_uint64 ("add", "Add",
   198       g_param_spec_uint64 ("add", "Add", "Number of added samples", 0,
   201           "Number of added samples", 0, G_MAXUINT64, 0, G_PARAM_READABLE));
   199           G_MAXUINT64, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   202   g_object_class_install_property (object_class, ARG_DROP,
   200   g_object_class_install_property (object_class, ARG_DROP,
   203       g_param_spec_uint64 ("drop", "Drop",
   201       g_param_spec_uint64 ("drop", "Drop", "Number of dropped samples", 0,
   204           "Number of dropped samples", 0, G_MAXUINT64, 0, G_PARAM_READABLE));
   202           G_MAXUINT64, 0, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   205   g_object_class_install_property (object_class, ARG_SILENT,
   203   g_object_class_install_property (object_class, ARG_SILENT,
   206       g_param_spec_boolean ("silent", "silent",
   204       g_param_spec_boolean ("silent", "silent",
   207           "Don't emit notify for dropped and duplicated frames",
   205           "Don't emit notify for dropped and duplicated frames", DEFAULT_SILENT,
   208           DEFAULT_SILENT, G_PARAM_READWRITE));
   206           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   209 
   207 
   210   element_class->change_state = gst_audio_rate_change_state;
   208   element_class->change_state = gst_audio_rate_change_state;
   211 }
   209 }
   212 
   210 
   213 static void
   211 static void