From 49f02b6a0efbebae4011148db0ff19adcb5fb828 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Sun, 5 May 2002 15:42:48 +0000 Subject: [PATCH] make the volume range a more sensible 0 -> 4 instead of -4 -> 4 Original commit message from CVS: make the volume range a more sensible 0 -> 4 instead of -4 -> 4 --- gst/volume/gstvolume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 0084f56b95..263d477614 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -213,7 +213,7 @@ volume_class_init (GstVolumeClass *klass) g_object_class_install_property(G_OBJECT_CLASS(klass), ARG_VOLUME, g_param_spec_float("volume","volume","volume", - -4.0,4.0,1.0,G_PARAM_READWRITE)); + 0.0,4.0,1.0,G_PARAM_READWRITE)); gobject_class->set_property = volume_set_property; gobject_class->get_property = volume_get_property; @@ -247,7 +247,7 @@ volume_init (GstVolume *filter) gst_dpman_add_required_dparam_callback ( filter->dpman, g_param_spec_float("volume","Volume","Volume of the audio", - -4.0, 4.0, 1.0, G_PARAM_READWRITE), + 0.0, 4.0, 1.0, G_PARAM_READWRITE), "scalar", volume_update_volume, filter