mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
This commit is contained in:
parent
ff7ac81fd8
commit
49f02b6a0e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue