From 4e2df4e10931eac04393c3cc8abe99953b17dcc6 Mon Sep 17 00:00:00 2001 From: Daniel Francis Date: Fri, 29 Jun 2012 21:25:58 +0000 Subject: A lot of pep8 corrections I'm porting Speak Activity to Gtk3, this patch is the first step. I have these pending steps to do: . Remove the toolkit modules and migrate the activity to sugar-toolkit . Migrate from Hippo to Gtk . Convert the activity to PyGI; Gtk3 Port Start . Use gi.repository.Gst in the place of pygst . Extra corrections; Finishing port Signed-off-by: Daniel Francis --- (limited to 'espeak_gst.py') diff --git a/espeak_gst.py b/espeak_gst.py index a492cf6..4da4f9d 100644 --- a/espeak_gst.py +++ b/espeak_gst.py @@ -23,6 +23,7 @@ import espeak PITCH_MAX = 200 RATE_MAX = 200 + class AudioGrabGst(espeak.BaseAudioGrab): def speak(self, status, text): # XXX workaround for http://bugs.sugarlabs.org/ticket/1801 @@ -46,6 +47,7 @@ class AudioGrabGst(espeak.BaseAudioGrab): self.restart_sound_device() + def voices(): out = [] -- cgit v0.9.1