From b3938f5a5e3a16863c809d84fdeee972fe456ccb Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 16:53:37 +0200 Subject: [PATCH] wip --- src/beep.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/beep.c b/src/beep.c index fcb7674..98c5f2a 100644 --- a/src/beep.c +++ b/src/beep.c @@ -208,7 +208,11 @@ snd_output_t *output = NULL; int beep_test(void) { - double p1,p2,f1,f2; + } + +int beep(double freq_hz, double duration_sec) +{ + double p1,p2,f1,f2; unsigned int i,j; snd_pcm_sframes_t frames; @@ -239,10 +243,7 @@ int beep_test(void) printf("Short write (expected %li, wrote %li)\n", FRAMES, (long)frames); } return 0; -} -int beep(double freq_hz, double duration_sec) -{ } int beep_init() {