Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/espeak_gst.py
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-06-29 21:25:58 (GMT)
committer Rafael Ortiz <rafael@activitycentral.com>2012-06-30 04:13:22 (GMT)
commit4e2df4e10931eac04393c3cc8abe99953b17dcc6 (patch)
tree2248b9dda4744b1b9e1a2e48e2f1eb325c887ea9 /espeak_gst.py
parenta8630e53fe8077e684652b240c236ccba807838d (diff)
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 <francis@sugarlabs.org>
Diffstat (limited to 'espeak_gst.py')
-rw-r--r--espeak_gst.py2
1 files changed, 2 insertions, 0 deletions
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 = []