From: Vincent Penquerc'h Date: Fri, 5 Aug 2011 10:32:09 +0000 (+0100) Subject: volume: fix sample depth typo X-Git-Tag: 1.19.3~511^2~6555^2~732 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2ce145e72fb283c1705dcea12bde47a49a9d666;p=platform%2Fupstream%2Fgstreamer.git volume: fix sample depth typo https://bugzilla.gnome.org/show_bug.cgi?id=656022 --- diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 152943df65..1f40f62d4f 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -263,7 +263,7 @@ volume_choose_func (GstVolume * self) case 8: /* only clamp if the gain is greater than 1.0 */ - if (self->current_vol_i16 > VOLUME_UNITY_INT8) { + if (self->current_vol_i8 > VOLUME_UNITY_INT8) { self->process = volume_process_int8_clamp; } else { self->process = volume_process_int8;