Re: speakup and garbled text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]

  Powered by Linux