mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
9775eafb8d
commit
2d698ba7d2
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
break;
|
||||
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;
|
||||
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;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue