Activity Team/gst-plugins-espeak: Difference between revisions

Line 45: Line 45:
       if message.type in (gst.MESSAGE_EOS, gst.MESSAGE_ERROR):
       if message.type in (gst.MESSAGE_EOS, gst.MESSAGE_ERROR):
           pipe.set_state(gst.STATE_NULL)<br>
           pipe.set_state(gst.STATE_NULL)<br>
   pipeline = 'espeak text="Hello world!" ! autoaudiosink'
   pipeline = 'espeak text="Hello, World!" ! autoaudiosink'
   pipe = gst.parse_launch(pipeline)<br>
   pipe = gst.parse_launch(pipeline)<br>
   bus = pipe.get_bus()
   bus = pipe.get_bus()