From 6fc1073d2d66d7a04d666057c625745067c71ef7 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 03 Aug 2012 00:18:49 +0000 Subject: some pep8 fixes --- (limited to 'espeak.py') diff --git a/espeak.py b/espeak.py index e860494..65edad1 100644 --- a/espeak.py +++ b/espeak.py @@ -32,6 +32,7 @@ RATE_MAX = 200 GObject.threads_init() Gst.init(None) + class BaseAudioGrab(GObject.GObject): __gsignals__ = { 'new-buffer': (GObject.SIGNAL_RUN_FIRST, @@ -118,7 +119,8 @@ class BaseAudioGrab(GObject.GObject): def _new_buffer(self, buf): self.emit("new-buffer", buf) return False - + + def voices(): out = [] result = subprocess.Popen(["espeak", "--voices"], -- cgit v0.9.1