#include <linux/console.h> #include <linux/types.h> #include <linux/wait.h> #include "speakup.h" #include "spk_priv.h" #define SYNTH_BUF_SIZE 8192 /* currently 8K bytes */ static u_char synth_buffer[SYNTH_BUF_SIZE]; /* guess what this is for! */ static u_char *buff_in = synth_buffer; static u_char *buff_out = synth_buffer; static u_char *buffer_end = synth_buffer + SYNTH_BUF_SIZE - 1; /* These try to throttle applications by stopping the TTYs * Note: we need to make sure that we will restart them eventually, which is * usually not possible to do from the notifiers. TODO: it should be possible * starting from linux 2.6.26. * * So we only stop when we know alive == 1 (else we discard the data anyway), * and the alive synth will eventually call start_ttys from the thread context. */
void speakup_start_ttys(void) { int i; for (i = 0; i < MAX_NR_CONSOLES; i++) { if (speakup_console[i] && speakup_console[i]->tty_stopped) continue; if ((vc_cons[i].d) && (vc_cons[i].d->port.tty)) start_tty(vc_cons[i].d->port.tty); } }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 72 | 92.31% | 1 | 50.00% |
greg kroah-hartman | greg kroah-hartman | 6 | 7.69% | 1 | 50.00% |
Total | 78 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 55 | 88.71% | 1 | 33.33% |
greg kroah-hartman | greg kroah-hartman | 6 | 9.68% | 1 | 33.33% |
christian colic | christian colic | 1 | 1.61% | 1 | 33.33% |
Total | 62 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 32 | 86.49% | 1 | 50.00% |
lijo antony | lijo antony | 5 | 13.51% | 1 | 50.00% |
Total | 37 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 57 | 98.28% | 1 | 50.00% |
aleksei fedotov | aleksei fedotov | 1 | 1.72% | 1 | 50.00% |
Total | 58 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 38 | 100.00% | 1 | 100.00% |
Total | 38 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 13 | 86.67% | 1 | 50.00% |
burcin akalin | burcin akalin | 2 | 13.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
william hubbs | william hubbs | 377 | 94.01% | 1 | 16.67% |
greg kroah-hartman | greg kroah-hartman | 12 | 2.99% | 1 | 16.67% |
lijo antony | lijo antony | 8 | 2.00% | 1 | 16.67% |
burcin akalin | burcin akalin | 2 | 0.50% | 1 | 16.67% |
aleksei fedotov | aleksei fedotov | 1 | 0.25% | 1 | 16.67% |
christian colic | christian colic | 1 | 0.25% | 1 | 16.67% |
Total | 401 | 100.00% | 6 | 100.00% |