diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-03 10:31:38 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-03 10:31:38 +0100 |
commit | 4af400141af0c97c4e4bcd47acf78107a17eafbe (patch) | |
tree | cd919376466679f4177d68cf6c14bdf9a0f80595 /config.h | |
parent | 7b9e5cb03b530458b7f9df1fee678e2ba3a746da (diff) |
Separated class files
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <alsa/asoundlib.h> + +// 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; + |