diff options
-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 |