From 7adf7aa2a238aa5a143d6889c76d4cb19f7bb84a Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 18 Feb 2010 00:54:32 +0000 Subject: [PATCH] tests/api/test_pipe.py: fix gain computation --- tests/api/test_pipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5