From: yomguy Date: Thu, 18 Feb 2010 00:54:32 +0000 (+0000) Subject: tests/api/test_pipe.py: fix gain computation X-Git-Tag: 0.3.2~189 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7adf7aa2a238aa5a143d6889c76d4cb19f7bb84a;p=timeside.git tests/api/test_pipe.py: fix gain computation --- diff --git a/tests/api/test_pipe.py b/tests/api/test_pipe.py index 2296f31..1aafd69 100644 --- a/tests/api/test_pipe.py +++ b/tests/api/test_pipe.py @@ -15,7 +15,7 @@ duration = examples.Duration() (decoder | maxlevel | duration).run() gain = 1 -if maxlevel.result() > 0: +if maxlevel.result() > 1: gain = 0.9 / maxlevel.result() print "input maxlevel: %f" % maxlevel.result()