diff options
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; + |