[gst-devel] [gst-cvs] slomo gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst/volume/ gst-plugins-base/tests/check/elements/

Andy Wingo wingo at pobox.com
Fri Sep 7 17:33:46 CEST 2007


Hi Slomo,

On Wed 05 Sep 2007 23:20, slomo at kemper.freedesktop.org writes:

> CVS Root:       /cvs/gstreamer
> Module:         gst-plugins-base
> Changes by:     slomo
> Date:           Wed Sep 05 2007  21:20:27 UTC
>
> Log message:
> * gst/volume/gstvolume.c: (volume_choose_func),
> (volume_process_double), (volume_process_double_clamp),
> (volume_process_float_clamp):
> Correctly clamp float/double samples in the [-1.0,1.0] range to
> prevent weird effects.

Is this correct? I would think "probably not". When converting back to
int, the values should be clamped, but I don't see the need for it when
overdriving the volume. 1.0f is 0dB, but higher values are possible.

Regards,

Andy.
-- 
http://wingolog.org/




More information about the gstreamer-devel mailing list