From 122dd88f69a9609fc22f71537b5c74d4b8399395 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 1 Oct 2002 20:45:29 +0000 Subject: [PATCH] sorry Original commit message from CVS: sorry --- gst/sine/gstsinesrc.c | 4 ++++ gst/sine/gstsinesrc.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gst/sine/gstsinesrc.c b/gst/sine/gstsinesrc.c index 974d468438..bf6c87e5e4 100644 --- a/gst/sine/gstsinesrc.c +++ b/gst/sine/gstsinesrc.c @@ -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; diff --git a/gst/sine/gstsinesrc.h b/gst/sine/gstsinesrc.h index aeb032f978..5e4ec87400 100644 --- a/gst/sine/gstsinesrc.h +++ b/gst/sine/gstsinesrc.h @@ -71,7 +71,7 @@ struct _GstSineSrc { gint table_lookup_next; /* audio parameters */ - gint format; + gint width; gint samplerate; gint samples_per_buffer;