mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
Kernel+Userland: Add support for using the PCSpeaker with various tones
This commit is contained in:
parent
2d27c98659
commit
11a7e21c2a
Notes:
sideshowbarker
2024-07-17 07:35:03 +09:00
Author: https://github.com/supercomputer7
Commit: 11a7e21c2a
Pull-request: https://github.com/SerenityOS/serenity/pull/17687
Reviewed-by: https://github.com/AtkinsSJ
9 changed files with 26 additions and 12 deletions
|
@ -924,9 +924,9 @@ int gettid()
|
|||
return cached_tid;
|
||||
}
|
||||
|
||||
int sysbeep()
|
||||
int sysbeep(int tone)
|
||||
{
|
||||
int rc = syscall(SC_beep);
|
||||
int rc = syscall(SC_beep, tone);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue