Changeset 109 for fm_server/trunk/src/fm_effect.c
- Timestamp:
- 09/02/06 23:16:15 (6 years ago)
- Files:
-
- 1 modified
-
fm_server/trunk/src/fm_effect.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fm_server/trunk/src/fm_effect.c
r58 r109 46 46 static void fm_effect_class_init (FmEffectClass *class); 47 47 static void fm_effect_init (FmEffect *effect); 48 static void fm_effect_set_property (GObject *object,49 guint prop_id,50 const GValue *value,51 GParamSpec *pspec);52 static void fm_effect_get_property (GObject *object,53 guint prop_id,54 GValue *value,55 GParamSpec *pspec);56 48 57 49 static FmElementClass *parent_class = NULL; … … 94 86 fm_effect_class_init (FmEffectClass *class) 95 87 { 96 GObjectClass *gobject_class = G_OBJECT_CLASS (class);88 //GObjectClass *gobject_class = G_OBJECT_CLASS (class); 97 89 //FmElementClass *element_class = FM_ELEMENT_CLASS (class); 98 90 //FmEffectClass *effect_class; … … 100 92 parent_class = g_type_class_peek_parent (class); 101 93 102 gobject_class->set_property = fm_effect_set_property;103 gobject_class->get_property = fm_effect_get_property;104 105 94 /*element_class->get_buffer = fm_effect_get_buffer; 106 95 element_class->start = fm_effect_start;*/ 107 108 g_object_class_install_property (gobject_class,109 PROP_FILENAME,110 g_param_spec_string ("filename",111 _("Filename"),112 _("The name of the file to play"),113 NULL,114 G_PARAM_READWRITE));115 116 117 96 } 118 97 … … 136 115 sink_port->peer = NULL; 137 116 element->sink_ports = g_list_append (element->sink_ports, sink_port); 138 }139 140 141 static void142 fm_effect_set_property (GObject *object,143 guint prop_id,144 const GValue *value,145 GParamSpec *pspec)146 {147 // FmEffect *effect = FM_EFFECT (object);148 149 switch (prop_id) {150 case PROP_FILENAME:151 break;152 default:153 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);154 break;155 }156 }157 158 159 static void160 fm_effect_get_property (GObject *object,161 guint prop_id,162 GValue *value,163 GParamSpec *pspec)164 {165 // FmEffect *effect = FM_EFFECT (object);166 167 switch (prop_id) {168 case PROP_FILENAME:169 break;170 default:171 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);172 break;173 }174 117 } 175 118
