mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
sorry
Original commit message from CVS: sorry
This commit is contained in:
parent
7917c63f5d
commit
122dd88f69
2 changed files with 5 additions and 1 deletions
|
@ -283,10 +283,12 @@ gst_sinesrc_set_property (GObject *object, guint prop_id,
|
|||
src = GST_SINESRC (object);
|
||||
|
||||
switch (prop_id) {
|
||||
/*
|
||||
case ARG_WIDTH:
|
||||
src->width = g_value_get_int (value);
|
||||
src->newcaps = TRUE;
|
||||
break;
|
||||
*/
|
||||
case ARG_SAMPLERATE:
|
||||
src->samplerate = g_value_get_int (value);
|
||||
gst_dpman_set_rate (src->dpman, src->samplerate);
|
||||
|
@ -325,9 +327,11 @@ gst_sinesrc_get_property (GObject *object, guint prop_id,
|
|||
src = GST_SINESRC(object);
|
||||
|
||||
switch (prop_id) {
|
||||
/*
|
||||
case ARG_WIDTH:
|
||||
g_value_set_int (value, src->width);
|
||||
break;
|
||||
*/
|
||||
case ARG_SAMPLERATE:
|
||||
g_value_set_int (value, src->samplerate);
|
||||
break;
|
||||
|
|
|
@ -71,7 +71,7 @@ struct _GstSineSrc {
|
|||
gint table_lookup_next;
|
||||
|
||||
/* audio parameters */
|
||||
gint format;
|
||||
gint width;
|
||||
gint samplerate;
|
||||
|
||||
gint samples_per_buffer;
|
||||
|
|
Loading…
Reference in a new issue