tico 0.1
Mechanical Watch Terminal Timegrapher
Macros
mydefs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARRAY_BUFFER_SIZE   512
 
#define AUTOCOR_LIMIT   1
 
#define AVG_THRESHOLD   1000
 
#define BEAT_WIDTH   5
 
#define BITS_IN_BYTE   8
 
#define BUFFER_SIZE   256
 
#define CLIPSTREAK   10
 
#define DEBUG   0
 
#define DECIMAL   10
 
#define DEFAULT_BPH   21600
 
#define DEFAULT_COLUMNS   80
 
#define DEFAULT_CVALUE   7
 
#define DEFAULT_EVALUE   4
 
#define DEFAULT_FITN   30
 
#define DEFAULT_NN   1000
 
#define DEFAULT_PERIOD   1024
 
#define DEFAULT_RATE   48000
 
#define DEFAULT_SDTHRESHOLD   3.0
 
#define DEFAULT_TEETH   1
 
#define DEFAULT_TIME   30
 
#define DEFAULT_WRITE_INTERVAL   30
 
#define DEFAULT_ZOOM   10
 
#define DOUBLE_BUF   319
 
#define DOUBLE_LIMIT   1e-18
 
#define ERROR_ALLOCATE_MEM   -5
 
#define ERROR_NO_SOURCE   -6
 
#define ERROR_SIGNAL   -6
 
#define EVERY_WIDTH   14
 
#define FALSE   0
 
#define FILE_NAME_LENGTH   256
 
#define FRAME_FALLBACK   64.0
 
#define GAUSSIAN_CONST   .398942280401
 
#define GAUSSPOINTS   5
 
#define HEX_BASE   16
 
#define INIT_ERROR   -2
 
#define INIT_N   4000
 
#define INPUT_FILE_ERROR   -33
 
#define INPUT_OVERFLOW   -4
 
#define INPUT_SOUND_ERROR   -34
 
#define KILO   1000.
 
#define LINE_BUFFER_SIZE   256
 
#define MAX_COLUMNS   1024
 
#define MAX_CVALUE   15
 
#define MAX_DEVICE_LENGTH   80
 
#define MEGA   1000000.
 
#define MILLI   1e-3
 
#define MILLION   1000000L
 
#define NANO   1e-9
 
#define NR_TESTS   5
 
#define PCM_WIDTH   8
 
#define PRESHIFT_THRESHOLD   100
 
#define PRESHIFT_THRESHOLD_ROOT   10
 
#define RATE_WIDTH   8
 
#define READ_FAILED   -1
 
#define REINIT_ERROR   -32
 
#define HALF   0.5
 
#define SECS_DAY   86400
 
#define SECS_HOUR   3600
 
#define THOUSAND   1000
 
#define TRUE   1
 

Macro Definition Documentation

◆ ARRAY_BUFFER_SIZE

#define ARRAY_BUFFER_SIZE   512

◆ AUTOCOR_LIMIT

#define AUTOCOR_LIMIT   1

◆ AVG_THRESHOLD

#define AVG_THRESHOLD   1000

◆ BEAT_WIDTH

#define BEAT_WIDTH   5

◆ BITS_IN_BYTE

#define BITS_IN_BYTE   8

◆ BUFFER_SIZE

#define BUFFER_SIZE   256

◆ CLIPSTREAK

#define CLIPSTREAK   10

◆ DEBUG

#define DEBUG   0

◆ DECIMAL

#define DECIMAL   10

◆ DEFAULT_BPH

#define DEFAULT_BPH   21600

◆ DEFAULT_COLUMNS

#define DEFAULT_COLUMNS   80

◆ DEFAULT_CVALUE

#define DEFAULT_CVALUE   7

◆ DEFAULT_EVALUE

#define DEFAULT_EVALUE   4

◆ DEFAULT_FITN

#define DEFAULT_FITN   30

◆ DEFAULT_NN

#define DEFAULT_NN   1000

◆ DEFAULT_PERIOD

#define DEFAULT_PERIOD   1024

◆ DEFAULT_RATE

#define DEFAULT_RATE   48000

◆ DEFAULT_SDTHRESHOLD

#define DEFAULT_SDTHRESHOLD   3.0

◆ DEFAULT_TEETH

#define DEFAULT_TEETH   1

◆ DEFAULT_TIME

#define DEFAULT_TIME   30

◆ DEFAULT_WRITE_INTERVAL

#define DEFAULT_WRITE_INTERVAL   30

◆ DEFAULT_ZOOM

#define DEFAULT_ZOOM   10

◆ DOUBLE_BUF

#define DOUBLE_BUF   319

◆ DOUBLE_LIMIT

#define DOUBLE_LIMIT   1e-18

◆ ERROR_ALLOCATE_MEM

#define ERROR_ALLOCATE_MEM   -5

◆ ERROR_NO_SOURCE

#define ERROR_NO_SOURCE   -6

◆ ERROR_SIGNAL

#define ERROR_SIGNAL   -6

◆ EVERY_WIDTH

#define EVERY_WIDTH   14

◆ FALSE

#define FALSE   0

◆ FILE_NAME_LENGTH

#define FILE_NAME_LENGTH   256

◆ FRAME_FALLBACK

#define FRAME_FALLBACK   64.0

◆ GAUSSIAN_CONST

#define GAUSSIAN_CONST   .398942280401

◆ GAUSSPOINTS

#define GAUSSPOINTS   5

◆ HALF

#define HALF   0.5

◆ HEX_BASE

#define HEX_BASE   16

◆ INIT_ERROR

#define INIT_ERROR   -2

◆ INIT_N

#define INIT_N   4000

◆ INPUT_FILE_ERROR

#define INPUT_FILE_ERROR   -33

◆ INPUT_OVERFLOW

#define INPUT_OVERFLOW   -4

◆ INPUT_SOUND_ERROR

#define INPUT_SOUND_ERROR   -34

◆ KILO

#define KILO   1000.

◆ LINE_BUFFER_SIZE

#define LINE_BUFFER_SIZE   256

◆ MAX_COLUMNS

#define MAX_COLUMNS   1024

◆ MAX_CVALUE

#define MAX_CVALUE   15

◆ MAX_DEVICE_LENGTH

#define MAX_DEVICE_LENGTH   80

◆ MEGA

#define MEGA   1000000.

◆ MILLI

#define MILLI   1e-3

◆ MILLION

#define MILLION   1000000L

◆ NANO

#define NANO   1e-9

◆ NR_TESTS

#define NR_TESTS   5

◆ PCM_WIDTH

#define PCM_WIDTH   8

◆ PRESHIFT_THRESHOLD

#define PRESHIFT_THRESHOLD   100

◆ PRESHIFT_THRESHOLD_ROOT

#define PRESHIFT_THRESHOLD_ROOT   10

◆ RATE_WIDTH

#define RATE_WIDTH   8

◆ READ_FAILED

#define READ_FAILED   -1

◆ REINIT_ERROR

#define REINIT_ERROR   -32

◆ SECS_DAY

#define SECS_DAY   86400

◆ SECS_HOUR

#define SECS_HOUR   3600

◆ THOUSAND

#define THOUSAND   1000

◆ TRUE

#define TRUE   1