teiresias    14/07/05 14:42:07

  Modified:             eflite-0.4.1-flite14.patch
  Log:
  Fix truncation of speech with flite 1.4.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x6521e06d)

Revision  Changes    Path
1.2                  app-accessibility/eflite/files/eflite-0.4.1-flite14.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch?r1=1.1&r2=1.2

Index: eflite-0.4.1-flite14.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- eflite-0.4.1-flite14.patch  5 Jul 2014 07:26:14 -0000       1.1
+++ eflite-0.4.1-flite14.patch  5 Jul 2014 14:42:07 -0000       1.2
@@ -10,3 +10,15 @@
  
  tone.o: tone.c
        $(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $<
+diff -Naur eflite-0.4.1/fs.c eflite-0.4.1.new/fs.c
+--- eflite-0.4.1/fs.c  2007-01-18 16:01:09.000000000 -0800
++++ eflite-0.4.1.new/fs.c      2013-09-08 09:31:57.417262688 -0700
+@@ -523,7 +523,7 @@
+   int playlen, skip;
+   if (type == SPEECH)
+   {
+-      skip = (187 * wptr->sample_rate) / speed;
++      skip = 0;
+       playlen = wptr->num_samples - (skip * 2);
+       if (playlen > 0 && playlen < 500) playlen += (skip * 2) / 3;
+   }




Reply via email to