tico
0.1
Mechanical Watch Terminal Timegrapher
inc
mydefs.h
Go to the documentation of this file.
1
#pragma once
2
3
#define ARRAY_BUFFER_SIZE 512
4
#define AUTOCOR_LIMIT 1
5
#define AVG_THRESHOLD 1000
6
#define BEAT_WIDTH 5
7
#define BITS_IN_BYTE 8
8
#define BUFFER_SIZE 256
9
#define CLIPSTREAK 10
10
#define DEBUG 0
11
#define DECIMAL 10
12
#define DEFAULT_BPH 21600
13
#define DEFAULT_COLUMNS 80
14
#define DEFAULT_CVALUE 7
15
#define DEFAULT_EVALUE 4
16
#define DEFAULT_FITN 30
17
#define DEFAULT_NN 1000
18
#define DEFAULT_PERIOD 1024
19
#define DEFAULT_RATE 48000
20
#define DEFAULT_SDTHRESHOLD 3.0
21
#define DEFAULT_TEETH 1
22
#define DEFAULT_TIME 30
23
#define DEFAULT_WRITE_INTERVAL 30
24
#define DEFAULT_ZOOM 10
25
#define DOUBLE_BUF 319
26
#define DOUBLE_LIMIT 1e-18
27
#define ERROR_ALLOCATE_MEM -5
28
#define ERROR_NO_SOURCE -6
29
#define ERROR_SIGNAL -6
30
#define EVERY_WIDTH 14
31
#define FALSE 0
32
#define FILE_NAME_LENGTH 256
33
#define FRAME_FALLBACK 64.0
34
#define GAUSSIAN_CONST .398942280401
35
#define GAUSSPOINTS 5
36
#define HEX_BASE 16
37
#define INIT_ERROR -2
38
#define INIT_N 4000
39
#define INPUT_FILE_ERROR -33
40
#define INPUT_OVERFLOW -4
41
#define INPUT_SOUND_ERROR -34
42
#define KILO 1000.
43
#define LINE_BUFFER_SIZE 256
44
#define MAX_COLUMNS 1024
45
#define MAX_CVALUE 15
46
#define MAX_DEVICE_LENGTH 80
47
#define MEGA 1000000.
48
#define MILLI 1e-3
49
#define MILLION 1000000L
50
#define NANO 1e-9
51
#define NR_TESTS 5
52
#define PCM_WIDTH 8
53
#define PRESHIFT_THRESHOLD 100
54
#define PRESHIFT_THRESHOLD_ROOT 10
55
#define RATE_WIDTH 8
56
#define READ_FAILED -1
57
#define REINIT_ERROR -32
58
#define HALF 0.5
59
#define SECS_DAY 86400
60
#define SECS_HOUR 3600
61
#define THOUSAND 1000
62
#define TRUE 1
Generated by
1.9.4