Skip to content

Commit

Permalink
Pc speaker beep on linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuscu committed Oct 8, 2024
1 parent f51a428 commit 8b7daf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/audio/source/common/AudioUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ namespace l::audio {
#else
#include <stdio.h>
void PCBeep(int32_t, int32_t) {
system("echo -e "\007" >/dev/tty10");
char d = (char)(7);
printf("%c\n", d);
//system("echo -e "\007" >/dev/tty10");
}
#endif
}
Expand Down

0 comments on commit 8b7daf7

Please sign in to comment.