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:
7
main.c
7
main.c
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user