[Bug 282474] bell: unable to enable bell
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 282474] bell: unable to enable bell"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Nov 2024 10:34:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282474 --- Comment #8 from Yusuf Yaman <nxjoseph@protonmail.com> --- I have made change below but now the vt bell doesn't ring anymore. That's releng/14.1 source code branch and that's the only change i have made. # git diff . diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index 797af56e5..4c02a9ec8 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -119,7 +119,7 @@ static const struct terminal_class vt_termclass = { /* Bell pitch/duration. */ #define VT_BELLDURATION (SBT_1S / 20) -#define VT_BELLPITCH (1193182 / 800) /* Approx 1491Hz */ +#define VT_BELLPITCH 800 #define VT_UNIT(vw) ((vw)->vw_device->vd_unit * VT_MAXWINDOWS + \ (vw)->vw_number) -- You are receiving this mail because: You are the assignee for the bug.