From: | "Christopher Brannon (teiresias)" <teiresias@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-accessibility/eflite/files: eflite-0.4.1-flite14.patch |
Date: | Sat, 05 Jul 2014 14:42:10 |
Message-Id: | 20140705144207.BE0862004F@flycatcher.gentoo.org |
1 | teiresias 14/07/05 14:42:07 |
2 | |
3 | Modified: eflite-0.4.1-flite14.patch |
4 | Log: |
5 | Fix truncation of speech with flite 1.4. |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x6521e06d) |
8 | |
9 | Revision Changes Path |
10 | 1.2 app-accessibility/eflite/files/eflite-0.4.1-flite14.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch?rev=1.2&view=markup |
13 | 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 |
14 | 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 |
15 | |
16 | Index: eflite-0.4.1-flite14.patch |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- eflite-0.4.1-flite14.patch 5 Jul 2014 07:26:14 -0000 1.1 |
23 | +++ eflite-0.4.1-flite14.patch 5 Jul 2014 14:42:07 -0000 1.2 |
24 | @@ -10,3 +10,15 @@ |
25 | |
26 | tone.o: tone.c |
27 | $(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $< |
28 | +diff -Naur eflite-0.4.1/fs.c eflite-0.4.1.new/fs.c |
29 | +--- eflite-0.4.1/fs.c 2007-01-18 16:01:09.000000000 -0800 |
30 | ++++ eflite-0.4.1.new/fs.c 2013-09-08 09:31:57.417262688 -0700 |
31 | +@@ -523,7 +523,7 @@ |
32 | + int playlen, skip; |
33 | + if (type == SPEECH) |
34 | + { |
35 | +- skip = (187 * wptr->sample_rate) / speed; |
36 | ++ skip = 0; |
37 | + playlen = wptr->num_samples - (skip * 2); |
38 | + if (playlen > 0 && playlen < 500) playlen += (skip * 2) / 3; |
39 | + } |