play-manual-square-wave-instead-of-file (#2)

Remove dependency on external raw audio file.\
Play manual square wave instead.

Reviewed-on: #2
Co-authored-by: bjoernf <bjoern.foersterling@web.de>
Co-committed-by: bjoernf <bjoern.foersterling@web.de>
This commit was merged in pull request #2.
This commit is contained in:
2025-11-15 16:48:16 +01:00
committed by bjoernf
parent 132a7c0788
commit 671f503a41
8 changed files with 101 additions and 13 deletions

7
main.c
View File

@@ -1,9 +1,9 @@
#include "play_raw_audio.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
// debug pulse audio problems
#define PA_DEBUG 0
@@ -59,7 +59,8 @@ int main(int argc, char **argv) {
}
printf ("THE TIME IS UP!\n");
play_raw_audio(audio_file_path);
play_manual_alarm();
return 0;
}