From ea7c199885e7295cfa6b6038f3a9865fee9e7f7b Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Tue, 14 Jul 2009 09:44:01 +0000 Subject: Fix run in XO-767 environment --- (limited to 'Speak.activity') 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 -- cgit v0.9.1