Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163366099
D32594.id97270.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
569 B
Referenced Files
None
Subscribers
None
D32594.id97270.diff
View Options
Index: sys/dev/vt/vt_core.c
===================================================================
--- sys/dev/vt/vt_core.c
+++ sys/dev/vt/vt_core.c
@@ -119,7 +119,7 @@
/* Bell pitch/duration. */
#define VT_BELLDURATION ((5 * hz + 99) / 100)
-#define VT_BELLPITCH 800
+#define VT_BELLPITCH 880
#define VT_UNIT(vw) ((vw)->vw_device->vd_unit * VT_MAXWINDOWS + \
(vw)->vw_number)
@@ -1100,7 +1100,7 @@
if (vd->vd_flags & VDF_QUIET_BELL)
return;
- sysbeep(1193182 / VT_BELLPITCH, VT_BELLDURATION);
+ sysbeep(VT_BELLPITCH, VT_BELLDURATION);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 1:35 PM (6 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35403669
Default Alt Text
D32594.id97270.diff (569 B)
Attached To
Mode
D32594: vt: Fix frequency calcuation for bell
Attached
Detach File
Event Timeline
Log In to Comment