1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Bell can now play an arbitrary sound file.

[originally from svn r1041]
This commit is contained in:
Simon Tatham
2001-04-14 11:37:47 +00:00
parent f6ea0f9396
commit a9c6997326
4 changed files with 63 additions and 8 deletions

View File

@ -217,11 +217,14 @@ typedef struct {
int lfhascr;
int cursor_type; /* 0=block 1=underline 2=vertical */
int blink_cur;
int beep; /* 0=none 1=defaultsound 2=visual */
enum {
BELL_DISABLED, BELL_DEFAULT, BELL_VISUAL, BELL_WAVEFILE
} beep;
int bellovl; /* bell overload protection active? */
int bellovl_n; /* number of bells to cause overload */
int bellovl_t; /* time interval for overload (seconds) */
int bellovl_s; /* period of silence to re-enable bell (s) */
char bell_wavefile[FILENAME_MAX];
int scrollbar;
int locksize;
int bce;