diff --git a/src/xpdev/genwrap.c b/src/xpdev/genwrap.c index ca87e028f03c8b5076f5240746693c3c45d058e8..64dbedd648783f4d2c00fc1b69699d7a46eceb30 100644 --- a/src/xpdev/genwrap.c +++ b/src/xpdev/genwrap.c @@ -223,7 +223,7 @@ void DLLCALL unix_beep(int freq, int dur) speaker_fd = open("/dev/speaker", O_WRONLY|O_APPEND); if(speaker_fd != -1) { tone.frequency=freq; - tone.duration=dur; + tone.duration=dur/10; ioctl(speaker_fd,SPKRTONE,&tone); close(speaker_fd); return;