Original commit message from CVS:
sorry
This commit is contained in:
Thomas Vander Stichele 2002-10-01 20:45:29 +00:00
parent 7917c63f5d
commit 122dd88f69
2 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -71,7 +71,7 @@ struct _GstSineSrc {
gint table_lookup_next;
/* audio parameters */
gint format;
gint width;
gint samplerate;
gint samples_per_buffer;