Bug#686742: linux: speakup: lower default software speech rate
Ben Hutchings, le Mon 10 Sep 2012 04:04:59 +0100, a écrit :
> But I looked at what exactly is done with this 'vars' table and... it
> looks really nasty. This goes into an initialisation string which will
> be the first thing the userland synthesiser gets when it reads the
> softsynth char device, right?
Yes.
> However:
> 1. The last character of the init string will be repeated.
> 2. If the read() caller doesn't provide a big enough buffer for the init
> string, the next read() will get it again from the start, so it can
> never make progress.
Indeed.
> Would you be able to test the attached patch, that should fix those
> bugs?
It looks and works fine for me indeed.
Samuel
Reply to: