gst_element_class_set_details_simple (gstelement_class,
"Festival Text-to-Speech synthesizer", "Filter/Effect/Audio",
"Synthesizes plain text into audio",
- "Wim Taymans <wim.taymans@chello.be>");
+ "Wim Taymans <wim.taymans@gmail.com>");
}
static void
}
fprintf (fd, "(tts_textall \"");
- gst_buffer_map (buf, &info, GST_MAP_WRITE);
+ gst_buffer_map (buf, &info, GST_MAP_READ);
p = info.data;
- ep = p + gst_buffer_get_size (buf);
+ ep = p + info.size;
for (; p < ep && (*p != '\0'); p++) {
if ((*p == '"') || (*p == '\\')) {
putc ('\\', fd);
}
fprintf (fd, "\" \"%s\")\n", festival->info->text_mode);
fclose (fd);
+ gst_buffer_unmap (buf, &info);
GST_DEBUG_OBJECT (festival, "issued tts_textall command");