blob: b1ee6a4ddbbbb3263c801895a36c61ddb7e9b638 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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;
const int log_lines = 10;
|