I managed to fix the issue with the last part not being played and posted a patch with the port. I still think returning an arbitrary size buffer is wrong and should be fixed at some point.
On 10 August 2012 20:40, Daniel Narvaez <dwnarv...@gmail.com> wrote: > I got this to work somewhat, it fails to play the last word for some > reason though. > > I'm not convinced the original code is correct. It returns a GstBuffer > which is normally bigger than the one requested by the GstBaseSrc > create method. And according to the documentation that's not allowed. > Though I know very little about gstreamer and nothing about espeak, so > I could be very well wrong! > > On 8 August 2012 22:47, Daniel Narvaez <dwnarv...@gmail.com> wrote: >> Hello, >> >> I made good progress on porting gst-plugins-espeak to gstreamer 1.0. >> Unfortunately I can't quite get it to work. If I save the raw audio >> with the filesink it's exactly the same as with gstream 0.10. But I >> can't get it to play with >> >> gst-launch-1.0 espeak text="Hello world" ! autoaudiosink >> >> It just sits there without playing any sound. >> >> I'll keep looking into it but if someone has ideas that would be cool >> (I'm attaching the patch). >> >> -- >> Daniel Narvaez > > > > -- > Daniel Narvaez -- Daniel Narvaez _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel