volume: fix sample depth typo

https://bugzilla.gnome.org/show_bug.cgi?id=656022
This commit is contained in:
Vincent Penquerc'h 2011-08-05 11:32:09 +01:00 committed by Sebastian Dröge
parent 5580dd6a4d
commit c2ce145e72

View file

@ -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;