From 9efa0b9278c788360733663cff100fbf696bf818 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Fri, 28 Mar 2008 21:23:51 +0000 Subject: + cleaned up build a bit, removed class_sethelpsymbol() svn path=/trunk/externals/moocow/; revision=9638 --- flite/flite.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'flite/flite.c') diff --git a/flite/flite.c b/flite/flite.c index 9493a38..a3bb662 100644 --- a/flite/flite.c +++ b/flite/flite.c @@ -22,8 +22,8 @@ #endif #include -#include -#include +#include +#include "flite/cst_wave.h" /*-------------------------------------------------------------------- * DEBUG @@ -45,8 +45,10 @@ static cst_voice *voice; * Structures and Types *=====================================================================*/ -static char *flite_description = - "flite: Text-to-Speech external v%s by Bryan Jurish"; +static const char *flite_description = + "flite: Text-to-Speech external v" PACKAGE_VERSION " by Bryan Jurish\n" + "flite: compiled on " PDFLITE_COMPILED_ON " by " PDFLITE_COMPILED_BY "\n" + ; //static char *flite_acknowledge = "flite: based on code by "; //static char *flite_version = "flite: PD external v%s by Bryan Jurish"; @@ -237,7 +239,7 @@ static void flite_free(t_flite *x) { *--------------------------------------------------------------------*/ void flite_setup(void) { post(""); - post(flite_description, PACKAGE_VERSION); + post(flite_description); post(""); // --- setup synth @@ -260,5 +262,5 @@ void flite_setup(void) { class_addmethod(flite_class, (t_method)flite_synth, gensym("synth"), 0); // --- help patch - class_sethelpsymbol(flite_class, gensym("flite-help.pd")); + //class_sethelpsymbol(flite_class, gensym("flite-help.pd")); /* breaks pd-extended help lookup */ } -- cgit v1.2.1