// SPDX-License-Identifier: GPL-2.0 #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 | 68 | 91.89% | 1 | 50.00% |
Greg Kroah-Hartman | 6 | 8.11% | 1 | 50.00% |
Total | 74 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
William Hubbs | 52 | 89.66% | 1 | 50.00% |
Greg Kroah-Hartman | 6 | 10.34% | 1 | 50.00% |
Total | 58 | 100.00% | 2 | 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 | 88.89% | 1 | 16.67% |
Samuel Thibault | 6 | 9.52% | 4 | 66.67% |
Aleksei Fedotov | 1 | 1.59% | 1 | 16.67% |
Total | 63 | 100.00% | 6 | 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 | 362 | 82.27% | 1 | 10.00% |
Samuel Thibault | 58 | 13.18% | 4 | 40.00% |
Greg Kroah-Hartman | 13 | 2.95% | 2 | 20.00% |
Lijo Antony | 4 | 0.91% | 1 | 10.00% |
Burcin Akalin | 2 | 0.45% | 1 | 10.00% |
Aleksei Fedotov | 1 | 0.23% | 1 | 10.00% |
Total | 440 | 100.00% | 10 | 100.00% |