summaryrefslogtreecommitdiff
path: root/drivers/staging/speakup/speakup.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-05-02 02:56:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-06 19:02:37 -0700
commit2610df41489f548e235171b86895d4b49e6acb1f (patch)
tree8a4d1bd2640299f6260c2ab2feec781882087c11 /drivers/staging/speakup/speakup.h
parenta67cfe3905a374b309353a235fd6bfba6ad367e4 (diff)
staging: speakup: Add pause command used on switching to graphical mode
For software speech syntheses to be able to manage concurrent audio card access, they need to know when speakup stops emitting text to be spoken because the console has switched to graphical mode. This introduces a PAUSE command to do so. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup.h')
-rw-r--r--drivers/staging/speakup/speakup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup.h b/drivers/staging/speakup/speakup.h
index 3d8bda8b9620..e4f4f00be2dc 100644
--- a/drivers/staging/speakup/speakup.h
+++ b/drivers/staging/speakup/speakup.h
@@ -94,7 +94,8 @@ extern struct spk_synth *synth;
extern char spk_pitch_buff[];
extern u_char *spk_our_keys[];
extern short spk_punc_masks[];
-extern char spk_str_caps_start[], spk_str_caps_stop[];
+extern char spk_str_caps_start[], spk_str_caps_stop[], spk_str_pause[];
+extern bool spk_paused;
extern const struct st_bits_data spk_punc_info[];
extern u_char spk_key_buf[600];
extern char *spk_characters[];