diff options
Diffstat (limited to '')
-rw-r--r-- | clak.c | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#include <stdio.h> + +#include <windows.h> + +#include "board/boards.h" + +int main(void) +{ + float volume = 0.05; + DWORD channel_volume = volume * 0xFFFF; + waveOutSetVolume(NULL, (channel_volume << 16) | channel_volume); + while (1) { + PlaySound((const char *) board_mxblue_board_down_wav, NULL, SND_MEMORY | SND_SYNC | SND_NODEFAULT); + Sleep(500); + } + return 0; +}
\ No newline at end of file |