blob: 8c6f1ce97c71091034dcf1b9ecf43a76a1c83cfa (
plain)
1
2
3
4
5
6
7
8
9
10
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;
|