• Sebastian Dröge's avatar
    gst/volume/gstvolume.c: Correctly clamp float/double samples in the [-1.0,1.0]... · 6d7debb0
    Sebastian Dröge authored
    gst/volume/gstvolume.c: Correctly clamp float/double samples in the [-1.0,1.0] range to prevent weird effects.
    
    Original commit message from CVS:
    * 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.
    * tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
    Add unit tests for all samples types that had none before.
    6d7debb0
volume.c 46.6 KB