Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/waveform_mouth.py
diff options
context:
space:
mode:
Diffstat (limited to 'waveform_mouth.py')
-rw-r--r--waveform_mouth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/waveform_mouth.py b/waveform_mouth.py
index c3a4ba5..51c47f4 100644
--- a/waveform_mouth.py
+++ b/waveform_mouth.py
@@ -49,7 +49,7 @@ class WaveformMouth(Mouth):
#Create context, disable antialiasing
self.context = context
- self.context.set_antialias(cairo.ANTIALIAS_NONE)
+ #self.context.set_antialias(cairo.ANTIALIAS_NONE)
#set a clip region for the expose event.
#This reduces redrawing work (and time)
@@ -78,7 +78,7 @@ class WaveformMouth(Mouth):
peak = 0
x = count / buflen * bounds.width
- self.context.line_to(x, bounds. height - peak)
+ self.context.line_to(x, bounds.height - peak)
count += 1
self.context.set_source_rgb(0, 0, 0)