diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-14 09:44:01 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-14 09:44:01 (GMT) |
commit | ea7c199885e7295cfa6b6038f3a9865fee9e7f7b (patch) | |
tree | b3e0831c6fe13822eb181d3de17c33f969937b13 /Speak.activity | |
parent | dca98acfe21d32183807059ef835a0e67f13dad1 (diff) |
Fix run in XO-767 environment
Diffstat (limited to 'Speak.activity')
-rw-r--r-- | Speak.activity/activity.py | 2 | ||||
-rw-r--r-- | Speak.activity/espeak.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Speak.activity/activity.py b/Speak.activity/activity.py index a0d4813..68746ca 100644 --- a/Speak.activity/activity.py +++ b/Speak.activity/activity.py @@ -227,7 +227,7 @@ class SpeakActivity(SharedActivity): # voicebar.insert(button, -1) # button.show() - self.voice_combo = widgets.Voices() + self.voice_combo = widgets.Voices(self.face) self.voice_combo.select(name=self.face.status.voice.friendlyname) combotool = ToolComboBox(self.voice_combo) voicebar.insert(combotool, -1) diff --git a/Speak.activity/espeak.py b/Speak.activity/espeak.py index d3cbab3..389045d 100644 --- a/Speak.activity/espeak.py +++ b/Speak.activity/espeak.py @@ -59,10 +59,10 @@ class BaseAudioGrab(gobject.GObject): cmd + ' ' \ '! decodebin ' \ '! tee name=tee ' \ - 'tee.! queue ' \ + 'tee.! audioconvert ' \ '! alsasink ' \ 'tee.! queue ' \ - '! fakesink name=sink') + '! audioconvert ! fakesink name=sink') def on_buffer(element, buffer, pad): # we got a new buffer of data, ask for another |