From: Paul Brossier Date: Thu, 18 Feb 2010 00:49:03 +0000 (+0000) Subject: tests/api/test_lolevel.py: fix gain computation X-Git-Tag: 0.3.2~190 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ff5ab51a3ab0c56e2e250b1454c6f53d0e270e7a;p=timeside.git tests/api/test_lolevel.py: fix gain computation --- diff --git a/tests/api/test_lolevel.py b/tests/api/test_lolevel.py index 8f34b93..e5457fa 100644 --- a/tests/api/test_lolevel.py +++ b/tests/api/test_lolevel.py @@ -35,7 +35,7 @@ print "Creating encoder with id=%s for: %s" % (Encoder.id(), destination) encoder = Encoder(destination) gain = 1 -if max_level > 0: +if max_level > 1: gain = 0.9 / max_level effect = examples.Gain(gain)