#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 u16 synth_buffer[SYNTH_BUF_SIZE]; /* guess what this is for! */ static u16 *buff_in = synth_buffer; static u16 *buff_out = synth_buffer; static u16 *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 | 72 | 92.31% | 1 | 50.00% |
Greg Kroah-Hartman | 6 | 7.69% | 1 | 50.00% |
Total | 78 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 55 | 88.71% | 1 | 33.33% |
Greg Kroah-Hartman | 6 | 9.68% | 1 | 33.33% |
Christian Colic | 1 | 1.61% | 1 | 33.33% |
Total | 62 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 32 | 86.49% | 1 | 33.33% |
Samuel Thibault | 4 | 10.81% | 1 | 33.33% |
Lijo Antony | 1 | 2.70% | 1 | 33.33% |
Total | 37 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 56 | 96.55% | 1 | 33.33% |
Aleksei Fedotov | 1 | 1.72% | 1 | 33.33% |
Samuel Thibault | 1 | 1.72% | 1 | 33.33% |
Total | 58 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 36 | 94.74% | 1 | 50.00% |
Samuel Thibault | 2 | 5.26% | 1 | 50.00% |
Total | 38 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 19 | 95.00% | 1 | 50.00% |
Samuel Thibault | 1 | 5.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Samuel Thibault | 36 | 100.00% | 1 | 100.00% |
Total | 36 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 13 | 86.67% | 1 | 50.00% |
Burcin Akalin | 2 | 13.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 369 | 83.48% | 1 | 14.29% |
Samuel Thibault | 53 | 11.99% | 1 | 14.29% |
Greg Kroah-Hartman | 12 | 2.71% | 1 | 14.29% |
Lijo Antony | 4 | 0.90% | 1 | 14.29% |
Burcin Akalin | 2 | 0.45% | 1 | 14.29% |
Christian Colic | 1 | 0.23% | 1 | 14.29% |
Aleksei Fedotov | 1 | 0.23% | 1 | 14.29% |
Total | 442 | 100.00% | 7 | 100.00% |