speakup and garbled text

Samuel Thibault samuel.thibault at ens-lyon.org
Thu Mar 28 03:30:39 EDT 2019


Okash Khawaja, le jeu. 28 mars 2019 07:06:37 +0000, a ecrit:
> On Sat, 16 Mar 2019 20:21:07 +0100
> Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
> 
> > Chuck Hallenbeck, le sam. 16 mars 2019 15:14:20 -0400, a ecrit:
> > > 5.1 slow down the display, so it never accumulates a large amount of
> > > unspoken date,  
> > 
> > This should be already done by speakup_stop_ttys().
> > 
> > > or 5.2 don't be surprised if the speech gets garbled due to a buffer
> > > overflow condition somewhere in the speech chain.  
> > 
> > Okash, maybe you could add an overflow warning inside
> > synth_buffer_add() in the synth_buffer_free() <= 1 case.
> Will a printk warning stating the value of synth_buffer_free() be okay?

Only if it's less than 1, yes.

If you notice that it actually happens often, you may have to use
WARN_RATELIMIT to avoid flooding the logs.

Samuel


More information about the Speakup mailing list