expose freq and volume as object properties again.

Original commit message from CVS:
expose freq and volume as object properties again.
This commit is contained in:
Steve Baker 2002-04-02 09:05:33 +00:00
parent 9775eafb8d
commit 2d698ba7d2

View file

@ -289,10 +289,12 @@ gst_sinesrc_set_property (GObject *object, guint prop_id, const GValue *value, G
src->buffer_size = g_value_get_int (value); src->buffer_size = g_value_get_int (value);
break; break;
case ARG_FREQ: case ARG_FREQ:
/*gst_dpman_handle_set_prop(src->dpman, "freq", value); */ gst_dpman_bypass_dparam(src->dpman, "freq");
src->freq = g_value_get_float (value);
break; break;
case ARG_VOLUME: case ARG_VOLUME:
/*gst_dpman_handle_set_prop(src->dpman, "volume", value); */ gst_dpman_bypass_dparam(src->dpman, "volume");
src->volume = g_value_get_float (value);
break; break;
default: default:
break; break;