From 4af400141af0c97c4e4bcd47acf78107a17eafbe Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 3 Jan 2025 10:31:38 +0100 Subject: Separated class files --- config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..8c6f1ce --- /dev/null +++ b/config.h @@ -0,0 +1,11 @@ +#pragma once + +#include + +// Config +static const int CLICK_NOTE = 37; +static const int CLICK_CHANNEL = 4; +extern const char *device; // playback device +const snd_pcm_sframes_t nframes = 1024; // ~1/44th sec buffer size +const unsigned int f_sample = 44100; + -- cgit v1.2.3