From bc66ce58559888e138e480e5f1a3bf98ea23564a Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Tue, 4 Oct 2016 16:50:10 +0200 Subject: [PATCH] wip --- src/beep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beep.c b/src/beep.c index 9d09ce1..64e76e4 100644 --- a/src/beep.c +++ b/src/beep.c @@ -204,13 +204,13 @@ int beep_test(void) static char *device = "hw:0,0"; /* playback device */ snd_output_t *output = NULL; + snd_pcm_t *handle; int beep_test(void) { int err; double p1,p2,f1,f2; unsigned int i,j; - snd_pcm_t *handle; snd_pcm_sframes_t frames;