summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-05 11:32:09 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-05 13:37:05 +0200
commitc2ce145e72fb283c1705dcea12bde47a49a9d666 (patch)
treebc5ee3b9a57f13b7187f67c8d1c8650926b95dc5
parent5580dd6a4d0519a3e634fdd6702c3e945cd78a02 (diff)
volume: fix sample depth typo
https://bugzilla.gnome.org/show_bug.cgi?id=656022
-rw-r--r--gst/volume/gstvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c
index 152943df6..1f40f62d4 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;