summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-10-27 22:29:56 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-10-27 22:29:56 +0000
commit04e0c89c8e7a0afd4c5f1f3c49134785bdd078fc (patch)
tree00f9855a41fbadfe033c7eb2cdb53ac20aa4200e
parent3bb804773912a5977b99dc6efdd8f3e81fb8c1ec (diff)
downloadgstreamer-plugins-base-04e0c89c8e7a0afd4c5f1f3c49134785bdd078fc.tar.gz
Fix some broken param_specs
Original commit message from CVS: Fix some broken param_specs
-rw-r--r--gst/sine/gstsinesrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/sine/gstsinesrc.c b/gst/sine/gstsinesrc.c
index bf6c87e5e..3fc4c000e 100644
--- a/gst/sine/gstsinesrc.c
+++ b/gst/sine/gstsinesrc.c
@@ -136,10 +136,10 @@ gst_sinesrc_class_init (GstSineSrcClass *klass)
*/
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SAMPLERATE,
g_param_spec_int ("samplerate","Sample Rate","Sample Rate (in Hz)",
- 1, G_MAXINT, 0, G_PARAM_READWRITE));
+ 8000, 48000, 44100, G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_TABLESIZE,
g_param_spec_int ("tablesize", "tablesize", "tablesize",
- 1, G_MAXINT, 0, G_PARAM_READWRITE));
+ 1, G_MAXINT, 1024, G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass),
ARG_SAMPLES_PER_BUFFER,
g_param_spec_int ("samplesperbuffer", "Samples per buffer",