From 775ec8a78052e1e84087c3a95ffe146471d677b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Wed, 24 Feb 2021 10:44:26 +0100 Subject: [PATCH] API: fix volume functions descriptions --- lib/gst/clapper/gstclapper.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/gst/clapper/gstclapper.c b/lib/gst/clapper/gstclapper.c index 0e44f71b..c026bd75 100644 --- a/lib/gst/clapper/gstclapper.c +++ b/lib/gst/clapper/gstclapper.c @@ -3482,9 +3482,9 @@ gst_clapper_get_duration (GstClapper * self) * gst_clapper_get_volume: * @clapper: #GstClapper instance * - * Returns the current volume level, as a percentage between 0 and 1. + * Returns the current volume level, as a percentage between 0 and 1.5 * - * Returns: the volume as percentage between 0 and 1. + * Returns: the cubic volume as percentage between 0 and 1.5 */ gdouble gst_clapper_get_volume (GstClapper * self) @@ -3501,9 +3501,10 @@ gst_clapper_get_volume (GstClapper * self) /** * gst_clapper_set_volume: * @clapper: #GstClapper instance - * @val: the new volume level, as a percentage between 0 and 1 + * @val: the new volume level, as a percentage between 0 and 1.5 * - * Sets the volume level of the stream as a percentage between 0 and 1. + * Sets the volume level of the stream as a percentage between 0 and 1.5 + * Volume operates on a cubic scale. */ void gst_clapper_set_volume (GstClapper * self, gdouble val)